diff --git a/pilot/openapi/api_v1/api_v1.py b/pilot/openapi/api_v1/api_v1.py index 3af082026..45d00c13c 100644 --- a/pilot/openapi/api_v1/api_v1.py +++ b/pilot/openapi/api_v1/api_v1.py @@ -251,6 +251,7 @@ async def params_load( ### refresh messages return Result.succ(get_hist_messages(conv_uid)) except Exception as e: + logger.error("excel load error!", e) return Result.faild(code="E000X", msg=f"File Load Error {e}") diff --git a/pilot/out_parser/base.py b/pilot/out_parser/base.py index abd4d304b..1d6ab03be 100644 --- a/pilot/out_parser/base.py +++ b/pilot/out_parser/base.py @@ -207,7 +207,7 @@ class BaseOutputParser(ABC): cleaned_output.strip() .replace("\\n", " ") .replace("\n", " ") - .replace("\\", " ") + # .replace("\\", " ") ) cleaned_output = self.__illegal_json_ends(cleaned_output) return cleaned_output diff --git a/pilot/scene/chat_dashboard/out_parser.py b/pilot/scene/chat_dashboard/out_parser.py index 78f0318a3..cc31fe2bd 100644 --- a/pilot/scene/chat_dashboard/out_parser.py +++ b/pilot/scene/chat_dashboard/out_parser.py @@ -30,7 +30,7 @@ class ChatDashboardOutputParser(BaseOutputParser): for item in response: chart_items.append( ChartItem( - item["sql"], item["title"], item["thoughts"], item["showcase"] + item["sql"].replace("\\", " "), item["title"], item["thoughts"], item["showcase"] ) ) return chart_items diff --git a/pilot/scene/chat_data/chat_excel/excel_analyze/out_parser.py b/pilot/scene/chat_data/chat_excel/excel_analyze/out_parser.py index 88cce3d68..f627a80c1 100644 --- a/pilot/scene/chat_data/chat_excel/excel_analyze/out_parser.py +++ b/pilot/scene/chat_data/chat_excel/excel_analyze/out_parser.py @@ -31,14 +31,14 @@ class ChatExcelOutputParser(BaseOutputParser): response = json.loads(clean_str) for key in sorted(response): if key.strip() == "sql": - sql = response[key] + sql = response[key].replace("\\", " ") if key.strip() == "thoughts": thoughts = response[key] if key.strip() == "display": display = response[key] return ExcelAnalyzeResponse(sql, thoughts, display) except Exception as e: - raise ValueError(f"LLM Response Can't Parser! \n{ model_out_text}") + raise ValueError(f"LLM Response Can't Parser! \n") def parse_view_response(self, speak, data) -> str: ### tool out data to table view diff --git a/pilot/scene/chat_data/chat_excel/excel_reader.py b/pilot/scene/chat_data/chat_excel/excel_reader.py index 7ac8b0d4e..4f373c8f9 100644 --- a/pilot/scene/chat_data/chat_excel/excel_reader.py +++ b/pilot/scene/chat_data/chat_excel/excel_reader.py @@ -14,6 +14,14 @@ def excel_colunm_format(old_name: str) -> str: return new_column +def add_quotes_ex(sql: str, column_names): + sql = sql.replace("`", '"') + for column_name in column_names: + if sql.find(column_name) != -1 and sql.find(f'"{column_name}"') == -1: + sql = sql.replace(column_name, f'"{column_name}"') + return sql + + def add_quotes(sql, column_names=[]): sql = sql.replace("`", "") parsed = sqlparse.parse(sql) @@ -28,12 +36,18 @@ def deep_quotes(token, column_names=[]): for token_child in token.tokens: deep_quotes(token_child, column_names) else: - if token.ttype == sqlparse.tokens.Name: - if len(column_names) > 0: - if token.value in column_names: - token.value = f'"{token.value.replace("`", "")}"' - else: - token.value = f'"{token.value.replace("`", "")}"' + if token.value in column_names: + token.value = f'"{token.value.replace("`", "")}"' + elif token.ttype == sqlparse.tokens.Name: + token.value = f'"{token.value.replace("`", "")}"' + + +if __name__ == "__main__": + sql = "SELECT `地区`, (`2021年人口` - `2001年人口`) / `2001年人口` * 100 AS `Population_Growth_Rate` FROM Generated_by_ChatExcel_table1 (2)" + if f'"Generated_by_ChatExcel_table1 (2)"' not in sql: + sql = sql.replace('Generated_by_ChatExcel_table1 (2)', f'"Generated_by_ChatExcel_table1 (2)"') + sql = add_quotes_ex(sql, ['地区', '地区代码', '2001年人口', '2006年人口', '2011年人口', '2016年人口', '2021年人口']) + print(f"excute sql:{sql}") def is_chinese(string): @@ -81,14 +95,14 @@ class ExcelReader: # connect DuckDB self.db = duckdb.connect(database=":memory:", read_only=False) - self.table_name = file_name_without_extension + self.table_name = "excel_data" # write data in duckdb self.db.register(self.table_name, self.df) def run(self, sql): if f'"{self.table_name}"' not in sql: sql = sql.replace(self.table_name, f'"{self.table_name}"') - sql = add_quotes(sql, self.columns_map.values()) + sql = add_quotes_ex(sql, self.columns_map.values()) print(f"excute sql:{sql}") results = self.db.execute(sql) colunms = [] diff --git a/pilot/scene/chat_db/auto_execute/out_parser.py b/pilot/scene/chat_db/auto_execute/out_parser.py index 8a79bca33..1f36fe2ce 100644 --- a/pilot/scene/chat_db/auto_execute/out_parser.py +++ b/pilot/scene/chat_db/auto_execute/out_parser.py @@ -27,7 +27,7 @@ class DbChatOutputParser(BaseOutputParser): response = json.loads(clean_str) for key in sorted(response): if key.strip() == "sql": - sql = response[key] + sql = response[key].replace("\\", " ") if key.strip() == "thoughts": thoughts = response[key] return SqlAction(sql, thoughts) diff --git a/pilot/server/static/404.html b/pilot/server/static/404.html index cda6129d2..eb5ecac4d 100644 --- a/pilot/server/static/404.html +++ b/pilot/server/static/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/pilot/server/static/404/index.html b/pilot/server/static/404/index.html index cda6129d2..eb5ecac4d 100644 --- a/pilot/server/static/404/index.html +++ b/pilot/server/static/404/index.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/pilot/server/static/_next/static/QgSLvD5Yu8RZmuZsIFsfR/_buildManifest.js b/pilot/server/static/_next/static/QgSLvD5Yu8RZmuZsIFsfR/_buildManifest.js deleted file mode 100644 index bd4e45d50..000000000 --- a/pilot/server/static/_next/static/QgSLvD5Yu8RZmuZsIFsfR/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(s,a,c,t,e,d,n,u,i,b){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[a,"static/chunks/673-6b91681955aa1094.js","static/chunks/pages/index-704f93ece0dc096f.js"],"/_error":["static/chunks/pages/_error-dee72aff9b2e2c12.js"],"/chat":["static/chunks/pages/chat-03c8b0d90000e1eb.js"],"/database":[s,c,d,t,"static/chunks/566-cb742dc279bbfe42.js","static/chunks/892-c40dbe9ae037747a.js","static/chunks/pages/database-e3f640bde30c17d7.js"],"/datastores":[e,s,a,n,u,"static/chunks/241-4117dd68a591b7fa.js","static/chunks/pages/datastores-82628b0273c874d4.js"],"/datastores/documents":[e,"static/chunks/75fc9c18-a784766a129ec5fb.js",s,a,n,c,i,d,t,b,u,"static/chunks/749-f876c99e30a851b8.js","static/chunks/pages/datastores/documents-dea98f7e09e362f9.js"],"/datastores/documents/chunklist":[e,s,c,i,t,b,"static/chunks/pages/datastores/documents/chunklist-87676458d42e378f.js"],sortedPages:["/","/_app","/_error","/chat","/database","/datastores","/datastores/documents","/datastores/documents/chunklist"]}}("static/chunks/215-ed2d98cfbd44ae81.js","static/chunks/913-e3ab2daf183d352e.js","static/chunks/542-f4cda9df864aa7ed.js","static/chunks/378-dbd26a0c14558f18.js","static/chunks/29107295-90b90cb30c825230.js","static/chunks/908-d76aabcc43706d37.js","static/chunks/718-8b4a2d7a281bb0c4.js","static/chunks/589-8dfb35868cafc00b.js","static/chunks/289-06c0d9f538f77a71.js","static/chunks/34-52d4d2d11bef48dc.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/161.0385a2869c97f681.js b/pilot/server/static/_next/static/chunks/161.0385a2869c97f681.js deleted file mode 100644 index b51141c84..000000000 --- a/pilot/server/static/_next/static/chunks/161.0385a2869c97f681.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[161],{27015:function(e,t,n){var o=n(64836);t.Z=void 0;var r=o(n(64938)),a=n(85893),i=(0,r.default)((0,a.jsx)("path",{d:"M14 2H4c-1.11 0-2 .9-2 2v10h2V4h10V2zm4 4H8c-1.11 0-2 .9-2 2v10h2V8h10V6zm2 4h-8c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2z"}),"AutoAwesomeMotion");t.Z=i},63520:function(e,t,n){n.d(t,{Z:function(){return e3}});var o,r,a=n(87462),i=n(4942),d=n(71002),l=n(1413),c=n(74902),s=n(15671),p=n(43144),u=n(97326),f=n(32531),h=n(73568),g=n(67294),v=n(15105),y=n(80334),b=n(64217),k=n(94184),m=n.n(k),x=g.createContext(null),K=n(45987),N=g.memo(function(e){for(var t,n=e.prefixCls,o=e.level,r=e.isStart,a=e.isEnd,d="".concat(n,"-indent-unit"),l=[],c=0;c1&&void 0!==arguments[1]?arguments[1]:null;return n.map(function(p,u){for(var f,h=w(o?o.pos:"0",u),g=D(p[a],h),v=0;v1&&void 0!==arguments[1]?arguments[1]:{},h=f.initWrapper,g=f.processEntity,v=f.onProcessFinished,y=f.externalGetKey,b=f.childrenPropName,k=f.fieldNames,m=arguments.length>2?arguments[2]:void 0,x={},K={},N={posEntities:x,keyEntities:K};return h&&(N=h(N)||N),t=function(e){var t=e.node,n=e.index,o=e.pos,r=e.key,a=e.parentPos,i=e.level,d={node:t,nodes:e.nodes,index:n,key:r,pos:o,level:i},l=D(r,o);x[o]=d,K[l]=d,d.parent=x[a],d.parent&&(d.parent.children=d.parent.children||[],d.parent.children.push(d)),g&&g(d,N)},n={externalGetKey:y||m,childrenPropName:b,fieldNames:k},a=(r=("object"===(0,d.Z)(n)?n:{externalGetKey:n})||{}).childrenPropName,i=r.externalGetKey,s=(l=Z(r.fieldNames)).key,p=l.children,u=a||p,i?"string"==typeof i?o=function(e){return e[i]}:"function"==typeof i&&(o=function(e){return i(e)}):o=function(e,t){return D(e[s],t)},function n(r,a,i,d){var l=r?r[u]:e,s=r?w(i.pos,a):"0",p=r?[].concat((0,c.Z)(d),[r]):[];if(r){var f=o(r,s);t({node:r,index:a,pos:s,key:f,parentPos:i.node?i.pos:null,level:i.level+1,nodes:p})}l&&l.forEach(function(e,t){n(e,t,{node:r,pos:s,level:i?i.level+1:-1},p)})}(null),v&&v(N),N}function L(e,t){var n=t.expandedKeys,o=t.selectedKeys,r=t.loadedKeys,a=t.loadingKeys,i=t.checkedKeys,d=t.halfCheckedKeys,l=t.dragOverNodeKey,c=t.dropPosition,s=t.keyEntities[e];return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==o.indexOf(e),loaded:-1!==r.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==i.indexOf(e),halfChecked:-1!==d.indexOf(e),pos:String(s?s.pos:""),dragOver:l===e&&0===c,dragOverGapTop:l===e&&-1===c,dragOverGapBottom:l===e&&1===c}}function T(e){var t=e.data,n=e.expanded,o=e.selected,r=e.checked,a=e.loaded,i=e.loading,d=e.halfChecked,c=e.dragOver,s=e.dragOverGapTop,p=e.dragOverGapBottom,u=e.pos,f=e.active,h=e.eventKey,g=(0,l.Z)((0,l.Z)({},t),{},{expanded:n,selected:o,checked:r,loaded:a,loading:i,halfChecked:d,dragOver:c,dragOverGapTop:s,dragOverGapBottom:p,pos:u,active:f,key:h});return"props"in g||Object.defineProperty(g,"props",{get:function(){return(0,y.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}var I=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],M="open",A="close",R=function(e){(0,f.Z)(n,e);var t=(0,h.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var o=arguments.length,r=Array(o),a=0;a=0&&n.splice(o,1),n}function z(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function B(e){return e.split("-")}function V(e,t,n,o,r,a,i,d,l,c){var s,p,u=e.clientX,f=e.clientY,h=e.target.getBoundingClientRect(),g=h.top,v=h.height,y=(("rtl"===c?-1:1)*(((null==r?void 0:r.x)||0)-u)-12)/o,b=d[n.props.eventKey];if(f-1.5?a({dragNode:C,dropNode:w,dropPosition:1})?N=1:D=!1:a({dragNode:C,dropNode:w,dropPosition:0})?N=0:a({dragNode:C,dropNode:w,dropPosition:1})?N=1:D=!1:a({dragNode:C,dropNode:w,dropPosition:1})?N=1:D=!1,{dropPosition:N,dropLevelOffset:E,dropTargetKey:b.key,dropTargetPos:b.pos,dragOverNodeKey:K,dropContainerKey:0===N?null:(null===(p=b.parent)||void 0===p?void 0:p.key)||null,dropAllowed:D}}function W(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function _(e){var t;if(!e)return null;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,d.Z)(e))return(0,y.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function G(e,t){var n=new Set;return(e||[]).forEach(function(e){!function e(o){if(!n.has(o)){var r=t[o];if(r){n.add(o);var a=r.parent;!r.node.disabled&&a&&e(a.key)}}}(e)}),(0,c.Z)(n)}function U(e){if(null==e)throw TypeError("Cannot destructure "+e)}H.displayName="TreeNode",H.isTreeNode=1;var F=n(97685),q=n(8410),X=n(73453),Y=n(82225),J=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Q=function(e,t){var n,o,r,i,d,l=e.className,c=e.style,s=e.motion,p=e.motionNodes,u=e.motionType,f=e.onMotionStart,h=e.onMotionEnd,v=e.active,y=e.treeNodeRequiredProps,b=(0,K.Z)(e,J),k=g.useState(!0),N=(0,F.Z)(k,2),E=N[0],S=N[1],C=g.useContext(x).prefixCls,w=p&&"hide"!==u;(0,q.Z)(function(){p&&w!==E&&S(w)},[p]);var D=g.useRef(!1),Z=function(){p&&!D.current&&(D.current=!0,h())};return(n=function(){p&&f()},o=g.useState(!1),i=(r=(0,F.Z)(o,2))[0],d=r[1],g.useLayoutEffect(function(){if(i)return n(),function(){Z()}},[i]),g.useLayoutEffect(function(){return d(!0),function(){d(!1)}},[]),p)?g.createElement(Y.ZP,(0,a.Z)({ref:t,visible:E},s,{motionAppear:"show"===u,onVisibleChanged:function(e){w===e&&Z()}}),function(e,t){var n=e.className,o=e.style;return g.createElement("div",{ref:t,className:m()("".concat(C,"-treenode-motion"),n),style:o},p.map(function(e){var t=(0,a.Z)({},(U(e.data),e.data)),n=e.title,o=e.key,r=e.isStart,i=e.isEnd;delete t.children;var d=L(o,y);return g.createElement(H,(0,a.Z)({},t,d,{title:n,active:v,data:e.data,key:o,isStart:r,isEnd:i}))}))}):g.createElement(H,(0,a.Z)({domRef:t,className:l,style:c},b,{active:v}))};Q.displayName="MotionTreeNode";var ee=g.forwardRef(Q);function et(e,t,n){var o=e.findIndex(function(e){return e.key===n}),r=e[o+1],a=t.findIndex(function(e){return e.key===n});if(r){var i=t.findIndex(function(e){return e.key===r.key});return t.slice(a+1,i)}return t.slice(a+1)}var en=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],eo={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},er=function(){},ea="RC_TREE_MOTION_".concat(Math.random()),ei={key:ea},ed={key:ea,level:0,index:0,pos:"0",node:ei,nodes:[ei]},el={parent:null,children:[],pos:ed.pos,data:ei,title:null,key:ea,isStart:[],isEnd:[]};function ec(e,t,n,o){return!1!==t&&n?e.slice(0,Math.ceil(n/o)+1):e}function es(e){return D(e.key,e.pos)}var ep=g.forwardRef(function(e,t){var n=e.prefixCls,o=e.data,r=(e.selectable,e.checkable,e.expandedKeys),i=e.selectedKeys,d=e.checkedKeys,l=e.loadedKeys,c=e.loadingKeys,s=e.halfCheckedKeys,p=e.keyEntities,u=e.disabled,f=e.dragging,h=e.dragOverNodeKey,v=e.dropPosition,y=e.motion,b=e.height,k=e.itemHeight,m=e.virtual,x=e.focusable,N=e.activeItem,E=e.focused,S=e.tabIndex,C=e.onKeyDown,w=e.onFocus,Z=e.onBlur,$=e.onActiveChange,O=e.onListChangeStart,P=e.onListChangeEnd,T=(0,K.Z)(e,en),I=g.useRef(null),M=g.useRef(null);g.useImperativeHandle(t,function(){return{scrollTo:function(e){I.current.scrollTo(e)},getIndentWidth:function(){return M.current.offsetWidth}}});var A=g.useState(r),R=(0,F.Z)(A,2),H=R[0],j=R[1],z=g.useState(o),B=(0,F.Z)(z,2),V=B[0],W=B[1],_=g.useState(o),G=(0,F.Z)(_,2),Y=G[0],J=G[1],Q=g.useState([]),ei=(0,F.Z)(Q,2),ed=ei[0],ep=ei[1],eu=g.useState(null),ef=(0,F.Z)(eu,2),eh=ef[0],eg=ef[1],ev=g.useRef(o);function ey(){var e=ev.current;W(e),J(e),ep([]),eg(null),P()}ev.current=o,(0,q.Z)(function(){j(r);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,o=t.length;if(1!==Math.abs(n-o))return{add:!1,key:null};function r(e,t){var n=new Map;e.forEach(function(e){n.set(e,!0)});var o=t.filter(function(e){return!n.has(e)});return 1===o.length?o[0]:null}return n ").concat(t);return t}(N)),g.createElement("div",null,g.createElement("input",{style:eo,disabled:!1===x||u,tabIndex:!1!==x?S:null,onKeyDown:C,onFocus:w,onBlur:Z,value:"",onChange:er,"aria-label":"for screen reader"})),g.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},g.createElement("div",{className:"".concat(n,"-indent")},g.createElement("div",{ref:M,className:"".concat(n,"-indent-unit")}))),g.createElement(X.Z,(0,a.Z)({},T,{data:eb,itemKey:es,height:b,fullHeight:!1,virtual:m,itemHeight:k,prefixCls:"".concat(n,"-list"),ref:I,onVisibleChange:function(e,t){var n=new Set(e);t.filter(function(e){return!n.has(e)}).some(function(e){return es(e)===ea})&&ey()}}),function(e){var t=e.pos,n=(0,a.Z)({},(U(e.data),e.data)),o=e.title,r=e.key,i=e.isStart,d=e.isEnd,l=D(r,t);delete n.key,delete n.children;var c=L(l,ek);return g.createElement(ee,(0,a.Z)({},n,c,{title:o,active:!!N&&r===N.key,pos:t,data:e.data,isStart:i,isEnd:d,motion:y,motionNodes:r===ea?ed:null,motionType:eh,onMotionStart:O,onMotionEnd:ey,treeNodeRequiredProps:ek,onMouseMove:function(){$(null)}}))}))});function eu(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function ef(e){var t=e||{},n=t.disabled,o=t.disableCheckbox,r=t.checkable;return!!(n||o)||!1===r}function eh(e,t,n,o){var r,a=[];r=o||ef;var i=new Set(e.filter(function(e){var t=!!n[e];return t||a.push(e),t})),d=new Map,l=0;return Object.keys(n).forEach(function(e){var t=n[e],o=t.level,r=d.get(o);r||(r=new Set,d.set(o,r)),r.add(t),l=Math.max(l,o)}),(0,y.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===t?function(e,t,n,o){for(var r=new Set(e),a=new Set,i=0;i<=n;i+=1)(t.get(i)||new Set).forEach(function(e){var t=e.key,n=e.node,a=e.children,i=void 0===a?[]:a;r.has(t)&&!o(n)&&i.filter(function(e){return!o(e.node)}).forEach(function(e){r.add(e.key)})});for(var d=new Set,l=n;l>=0;l-=1)(t.get(l)||new Set).forEach(function(e){var t=e.parent;if(!(o(e.node)||!e.parent||d.has(e.parent.key))){if(o(e.parent.node)){d.add(t.key);return}var n=!0,i=!1;(t.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var t=e.key,o=r.has(t);n&&!o&&(n=!1),!i&&(o||a.has(t))&&(i=!0)}),n&&r.add(t.key),i&&a.add(t.key),d.add(t.key)}});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(eu(a,r))}}(i,d,l,r):function(e,t,n,o,r){for(var a=new Set(e),i=new Set(t),d=0;d<=o;d+=1)(n.get(d)||new Set).forEach(function(e){var t=e.key,n=e.node,o=e.children,d=void 0===o?[]:o;a.has(t)||i.has(t)||r(n)||d.filter(function(e){return!r(e.node)}).forEach(function(e){a.delete(e.key)})});i=new Set;for(var l=new Set,c=o;c>=0;c-=1)(n.get(c)||new Set).forEach(function(e){var t=e.parent;if(!(r(e.node)||!e.parent||l.has(e.parent.key))){if(r(e.parent.node)){l.add(t.key);return}var n=!0,o=!1;(t.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var t=e.key,r=a.has(t);n&&!r&&(n=!1),!o&&(r||i.has(t))&&(o=!0)}),n||a.delete(t.key),o&&i.add(t.key),l.add(t.key)}});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(eu(i,a))}}(i,t.halfCheckedKeys,d,l,r)}ep.displayName="NodeList";var eg=function(e){(0,f.Z)(n,e);var t=(0,h.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var o=arguments.length,r=Array(o),a=0;a0&&void 0!==arguments[0]?arguments[0]:[];t.forEach(function(t){var n=t.key,r=t.children;o.push(n),e(r)})}(i[l].children),o),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(c),window.addEventListener("dragend",e.onWindowDragEnd),null==d||d({event:t,node:T(n.props)})},e.onNodeDragEnter=function(t,n){var o=e.state,r=o.expandedKeys,a=o.keyEntities,i=o.dragChildrenKeys,d=o.flattenNodes,l=o.indent,s=e.props,p=s.onDragEnter,f=s.onExpand,h=s.allowDrop,g=s.direction,v=n.props,y=v.pos,b=v.eventKey,k=(0,u.Z)(e).dragNode;if(e.currentMouseOverDroppableNodeKey!==b&&(e.currentMouseOverDroppableNodeKey=b),!k){e.resetDragState();return}var m=V(t,k,n,l,e.dragStartMousePosition,h,d,a,r,g),x=m.dropPosition,K=m.dropLevelOffset,N=m.dropTargetKey,E=m.dropContainerKey,S=m.dropTargetPos,C=m.dropAllowed,w=m.dragOverNodeKey;if(-1!==i.indexOf(N)||!C||(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach(function(t){clearTimeout(e.delayedDragEnterLogic[t])}),k.props.eventKey!==n.props.eventKey&&(t.persist(),e.delayedDragEnterLogic[y]=window.setTimeout(function(){if(null!==e.state.draggingNodeKey){var o=(0,c.Z)(r),i=a[n.props.eventKey];i&&(i.children||[]).length&&(o=z(r,n.props.eventKey)),"expandedKeys"in e.props||e.setExpandedKeys(o),null==f||f(o,{node:T(n.props),expanded:!0,nativeEvent:t.nativeEvent})}},800)),k.props.eventKey===N&&0===K)){e.resetDragState();return}e.setState({dragOverNodeKey:w,dropPosition:x,dropLevelOffset:K,dropTargetKey:N,dropContainerKey:E,dropTargetPos:S,dropAllowed:C}),null==p||p({event:t,node:T(n.props),expandedKeys:r})},e.onNodeDragOver=function(t,n){var o=e.state,r=o.dragChildrenKeys,a=o.flattenNodes,i=o.keyEntities,d=o.expandedKeys,l=o.indent,c=e.props,s=c.onDragOver,p=c.allowDrop,f=c.direction,h=(0,u.Z)(e).dragNode;if(h){var g=V(t,h,n,l,e.dragStartMousePosition,p,a,i,d,f),v=g.dropPosition,y=g.dropLevelOffset,b=g.dropTargetKey,k=g.dropContainerKey,m=g.dropAllowed,x=g.dropTargetPos,K=g.dragOverNodeKey;-1===r.indexOf(b)&&m&&(h.props.eventKey===b&&0===y?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():v===e.state.dropPosition&&y===e.state.dropLevelOffset&&b===e.state.dropTargetKey&&k===e.state.dropContainerKey&&x===e.state.dropTargetPos&&m===e.state.dropAllowed&&K===e.state.dragOverNodeKey||e.setState({dropPosition:v,dropLevelOffset:y,dropTargetKey:b,dropContainerKey:k,dropTargetPos:x,dropAllowed:m,dragOverNodeKey:K}),null==s||s({event:t,node:T(n.props)}))}},e.onNodeDragLeave=function(t,n){e.currentMouseOverDroppableNodeKey!==n.props.eventKey||t.currentTarget.contains(t.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var o=e.props.onDragLeave;null==o||o({event:t,node:T(n.props)})},e.onWindowDragEnd=function(t){e.onNodeDragEnd(t,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDragEnd=function(t,n){var o=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null==o||o({event:t,node:T(n.props)}),e.dragNode=null,window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDrop=function(t,n){var o,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.state,i=a.dragChildrenKeys,d=a.dropPosition,c=a.dropTargetKey,s=a.dropTargetPos;if(a.dropAllowed){var p=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var u=(0,l.Z)((0,l.Z)({},L(c,e.getTreeNodeRequiredProps())),{},{active:(null===(o=e.getActiveItem())||void 0===o?void 0:o.key)===c,data:e.state.keyEntities[c].node}),f=-1!==i.indexOf(c);(0,y.ZP)(!f,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var h=B(s),g={event:t,node:T(u),dragNode:e.dragNode?T(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(i),dropToGap:0!==d,dropPosition:d+Number(h[h.length-1])};r||null==p||p(g),e.dragNode=null}}},e.cleanDragState=function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(t,n){var o=e.state,r=o.expandedKeys,a=o.flattenNodes,i=n.expanded,d=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var c=a.filter(function(e){return e.key===d})[0],s=T((0,l.Z)((0,l.Z)({},L(d,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(i?j(r,d):z(r,d)),e.onNodeExpand(t,s)}},e.onNodeClick=function(t,n){var o=e.props,r=o.onClick;"click"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)},e.onNodeDoubleClick=function(t,n){var o=e.props,r=o.onDoubleClick;"doubleClick"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)},e.onNodeSelect=function(t,n){var o=e.state.selectedKeys,r=e.state,a=r.keyEntities,i=r.fieldNames,d=e.props,l=d.onSelect,c=d.multiple,s=n.selected,p=n[i.key],u=!s,f=(o=u?c?z(o,p):[p]:j(o,p)).map(function(e){var t=a[e];return t?t.node:null}).filter(function(e){return e});e.setUncontrolledState({selectedKeys:o}),null==l||l(o,{event:"select",selected:u,node:n,selectedNodes:f,nativeEvent:t.nativeEvent})},e.onNodeCheck=function(t,n,o){var r,a=e.state,i=a.keyEntities,d=a.checkedKeys,l=a.halfCheckedKeys,s=e.props,p=s.checkStrictly,u=s.onCheck,f=n.key,h={event:"check",node:n,checked:o,nativeEvent:t.nativeEvent};if(p){var g=o?z(d,f):j(d,f);r={checked:g,halfChecked:j(l,f)},h.checkedNodes=g.map(function(e){return i[e]}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:g})}else{var v=eh([].concat((0,c.Z)(d),[f]),!0,i),y=v.checkedKeys,b=v.halfCheckedKeys;if(!o){var k=new Set(y);k.delete(f);var m=eh(Array.from(k),{checked:!1,halfCheckedKeys:b},i);y=m.checkedKeys,b=m.halfCheckedKeys}r=y,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=b,y.forEach(function(e){var t=i[e];if(t){var n=t.node,o=t.pos;h.checkedNodes.push(n),h.checkedNodesPositions.push({node:n,pos:o})}}),e.setUncontrolledState({checkedKeys:y},!1,{halfCheckedKeys:b})}null==u||u(r,h)},e.onNodeLoad=function(t){var n=t.key,o=new Promise(function(o,r){e.setState(function(a){var i=a.loadedKeys,d=a.loadingKeys,l=void 0===d?[]:d,c=e.props,s=c.loadData,p=c.onLoad;return s&&-1===(void 0===i?[]:i).indexOf(n)&&-1===l.indexOf(n)?(s(t).then(function(){var r=z(e.state.loadedKeys,n);null==p||p(r,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:r}),e.setState(function(e){return{loadingKeys:j(e.loadingKeys,n)}}),o()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:j(e.loadingKeys,n)}}),e.loadingRetryTimes[n]=(e.loadingRetryTimes[n]||0)+1,e.loadingRetryTimes[n]>=10){var a=e.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:z(a,n)}),o()}r(t)}),{loadingKeys:z(l,n)}):null})});return o.catch(function(){}),o},e.onNodeMouseEnter=function(t,n){var o=e.props.onMouseEnter;null==o||o({event:t,node:n})},e.onNodeMouseLeave=function(t,n){var o=e.props.onMouseLeave;null==o||o({event:t,node:n})},e.onNodeContextMenu=function(t,n){var o=e.props.onRightClick;o&&(t.preventDefault(),o({event:t,node:n}))},e.onFocus=function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,o=Array(n),r=0;r1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var r=!1,a=!0,i={};Object.keys(t).forEach(function(n){if(n in e.props){a=!1;return}r=!0,i[n]=t[n]}),r&&(!n||a)&&e.setState((0,l.Z)((0,l.Z)({},i),o))}},e.scrollTo=function(t){e.listRef.current.scrollTo(t)},e}return(0,p.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,t,n=this.state,o=n.focused,r=n.flattenNodes,l=n.keyEntities,c=n.draggingNodeKey,s=n.activeKey,p=n.dropLevelOffset,u=n.dropContainerKey,f=n.dropTargetKey,h=n.dropPosition,v=n.dragOverNodeKey,y=n.indent,k=this.props,K=k.prefixCls,N=k.className,E=k.style,S=k.showLine,C=k.focusable,w=k.tabIndex,D=k.selectable,Z=k.showIcon,$=k.icon,O=k.switcherIcon,P=k.draggable,L=k.checkable,T=k.checkStrictly,I=k.disabled,M=k.motion,A=k.loadData,R=k.filterTreeNode,H=k.height,j=k.itemHeight,z=k.virtual,B=k.titleRender,V=k.dropIndicatorRender,W=k.onContextMenu,_=k.onScroll,G=k.direction,U=k.rootClassName,F=k.rootStyle,q=(0,b.Z)(this.props,{aria:!0,data:!0});return P&&(t="object"===(0,d.Z)(P)?P:"function"==typeof P?{nodeDraggable:P}:{}),g.createElement(x.Provider,{value:{prefixCls:K,selectable:D,showIcon:Z,icon:$,switcherIcon:O,draggable:t,draggingNodeKey:c,checkable:L,checkStrictly:T,disabled:I,keyEntities:l,dropLevelOffset:p,dropContainerKey:u,dropTargetKey:f,dropPosition:h,dragOverNodeKey:v,indent:y,direction:G,dropIndicatorRender:V,loadData:A,filterTreeNode:R,titleRender:B,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},g.createElement("div",{role:"tree",className:m()(K,N,U,(e={},(0,i.Z)(e,"".concat(K,"-show-line"),S),(0,i.Z)(e,"".concat(K,"-focused"),o),(0,i.Z)(e,"".concat(K,"-active-focused"),null!==s),e)),style:F},g.createElement(ep,(0,a.Z)({ref:this.listRef,prefixCls:K,style:E,data:r,disabled:I,selectable:D,checkable:!!L,motion:M,dragging:null!==c,height:H,itemHeight:j,virtual:z,focusable:C,focused:o,tabIndex:void 0===w?0:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:W,onScroll:_},this.getTreeNodeRequiredProps(),q))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,o,r=t.prevProps,a={prevProps:e};function d(t){return!r&&t in e||r&&r[t]!==e[t]}var c=t.fieldNames;if(d("fieldNames")&&(c=Z(e.fieldNames),a.fieldNames=c),d("treeData")?n=e.treeData:d("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=$(e.children)),n){a.treeData=n;var s=P(n,{fieldNames:c});a.keyEntities=(0,l.Z)((0,i.Z)({},ea,ed),s.keyEntities)}var p=a.keyEntities||t.keyEntities;if(d("expandedKeys")||r&&d("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?G(e.expandedKeys,p):e.expandedKeys;else if(!r&&e.defaultExpandAll){var u=(0,l.Z)({},p);delete u[ea],a.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!r&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?G(e.defaultExpandedKeys,p):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,n||a.expandedKeys){var f=O(n||t.treeData,a.expandedKeys||t.expandedKeys,c);a.flattenNodes=f}if(e.selectable&&(d("selectedKeys")?a.selectedKeys=W(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(a.selectedKeys=W(e.defaultSelectedKeys,e))),e.checkable&&(d("checkedKeys")?o=_(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?o=_(e.defaultCheckedKeys)||{}:n&&(o=_(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o)){var h=o,g=h.checkedKeys,v=void 0===g?[]:g,b=h.halfCheckedKeys,k=void 0===b?[]:b;if(!e.checkStrictly){var m=eh(v,!0,p);v=m.checkedKeys,k=m.halfCheckedKeys}a.checkedKeys=v,a.halfCheckedKeys=k}return d("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),n}(g.Component);eg.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var t=e.dropPosition,n=e.dropLevelOffset,o=e.indent,r={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case -1:r.top=0,r.left=-n*o;break;case 1:r.bottom=0,r.left=-n*o;break;case 0:r.bottom=0,r.left=o}return g.createElement("div",{style:r})},allowDrop:function(){return!0},expandAction:!1},eg.TreeNode=H;var ev={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ey=n(42135),eb=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:ev}))}),ek={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},em=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:ek}))}),ex={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},eK=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:ex}))}),eN=n(53124),eE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},eS=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:eE}))}),eC=n(33603),ew=n(77794),eD=n(14747),eZ=n(45503),e$=n(67968);let eO=e=>{let{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,eD.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},(0,eD.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,eD.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,eD.oN)(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` - ${n}:not(${n}-disabled), - ${t}:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` - ${n}-checked:not(${n}-disabled), - ${t}-checked:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function eP(e,t){let n=(0,eZ.TS)(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[eO(n)]}(0,e$.Z)("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[eP(n,e)]});var eL=n(33507);let eT=new ew.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),eI=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),eM=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),eA=(e,t)=>{let{treeCls:n,treeNodeCls:o,treeNodePadding:r,treeTitleHeight:a}=t,i=t.paddingXS;return{[n]:Object.assign(Object.assign({},(0,eD.Wf)(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},(0,eD.oN)(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${o}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:eT,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${o}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${r}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:Object.assign({},(0,eD.oN)(t)),[`&:not(${o}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{flexShrink:0,width:a,lineHeight:`${a}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${o}:hover &`]:{opacity:.45}},[`&${o}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:a}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},eI(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:a,margin:0,lineHeight:`${a}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:a/2,bottom:-r,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:a/2*.8,height:a/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:i},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:a,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${a}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:a,height:a,lineHeight:`${a}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:`${a}px`,userSelect:"none"},eM(e,t)),[`${o}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:a/2,bottom:-r,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${o}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${a/2}px !important`}}}}})}},eR=e=>{let{treeCls:t,treeNodeCls:n,treeNodePadding:o}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{[` - &:hover::before, - &::before - `]:{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},eH=(e,t)=>{let n=`.${e}`,o=`${n}-treenode`,r=t.paddingXS/2,a=t.controlHeightSM,i=(0,eZ.TS)(t,{treeCls:n,treeNodeCls:o,treeNodePadding:r,treeTitleHeight:a});return[eA(e,i),eR(i)]};var ej=(0,e$.Z)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:eP(`${n}-checkbox`,e)},eH(n,e),(0,eL.Z)(e)]});function ez(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:o,indent:r,direction:a="ltr"}=e,i="ltr"===a?"left":"right",d={[i]:-n*r+4,["ltr"===a?"right":"left"]:0};switch(t){case -1:d.top=-3;break;case 1:d.bottom=-3;break;default:d.bottom=-3,d[i]=r+4}return g.createElement("div",{style:d,className:`${o}-drop-indicator`})}var eB={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},eV=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:eB}))}),eW=n(50888),e_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},eG=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:e_}))}),eU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},eF=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:eU}))}),eq=n(96159),eX=e=>{let t;let{prefixCls:n,switcherIcon:o,treeNodeProps:r,showLine:a}=e,{isLeaf:i,expanded:d,loading:l}=r;if(l)return g.createElement(eW.Z,{className:`${n}-switcher-loading-icon`});if(a&&"object"==typeof a&&(t=a.showLeafIcon),i){if(!a)return null;if("boolean"!=typeof t&&t){let e="function"==typeof t?t(r):t,o=`${n}-switcher-line-custom-icon`;return(0,eq.l$)(e)?(0,eq.Tm)(e,{className:m()(e.props.className||"",o)}):e}return t?g.createElement(eb,{className:`${n}-switcher-line-icon`}):g.createElement("span",{className:`${n}-switcher-leaf-line`})}let c=`${n}-switcher-icon`,s="function"==typeof o?o(r):o;return(0,eq.l$)(s)?(0,eq.Tm)(s,{className:m()(s.props.className||"",c)}):void 0!==s?s:a?d?g.createElement(eG,{className:`${n}-switcher-line-icon`}):g.createElement(eF,{className:`${n}-switcher-line-icon`}):g.createElement(eV,{className:c})};let eY=g.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o,virtual:r,tree:a}=g.useContext(eN.E_),{prefixCls:i,className:d,showIcon:l=!1,showLine:c,switcherIcon:s,blockNode:p=!1,children:u,checkable:f=!1,selectable:h=!0,draggable:v,motion:y,style:b}=e,k=n("tree",i),x=n(),K=null!=y?y:Object.assign(Object.assign({},(0,eC.Z)(x)),{motionAppear:!1}),N=Object.assign(Object.assign({},e),{checkable:f,selectable:h,showIcon:l,motion:K,blockNode:p,showLine:!!c,dropIndicatorRender:ez}),[E,S]=ej(k),C=g.useMemo(()=>{if(!v)return!1;let e={};switch(typeof v){case"function":e.nodeDraggable=v;break;case"object":e=Object.assign({},v)}return!1!==e.icon&&(e.icon=e.icon||g.createElement(eS,null)),e},[v]);return E(g.createElement(eg,Object.assign({itemHeight:20,ref:t,virtual:r},N,{style:Object.assign(Object.assign({},null==a?void 0:a.style),b),prefixCls:k,className:m()({[`${k}-icon-hide`]:!l,[`${k}-block-node`]:p,[`${k}-unselectable`]:!h,[`${k}-rtl`]:"rtl"===o},null==a?void 0:a.className,d,S),direction:o,checkable:f?g.createElement("span",{className:`${k}-checkbox-inner`}):f,selectable:h,switcherIcon:e=>g.createElement(eX,{prefixCls:k,switcherIcon:s,treeNodeProps:e,showLine:c}),draggable:C}),u))});function eJ(e,t){e.forEach(function(e){let{key:n,children:o}=e;!1!==t(n,e)&&eJ(o||[],t)})}function eQ(e,t){let n=(0,c.Z)(t),o=[];return eJ(e,(e,t)=>{let r=n.indexOf(e);return -1!==r&&(o.push(t),n.splice(r,1)),!!n.length}),o}(o=r||(r={}))[o.None=0]="None",o[o.Start=1]="Start",o[o.End=2]="End";var e0=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function e1(e){let{isLeaf:t,expanded:n}=e;return t?g.createElement(eb,null):n?g.createElement(em,null):g.createElement(eK,null)}function e2(e){let{treeData:t,children:n}=e;return t||$(n)}let e4=g.forwardRef((e,t)=>{var{defaultExpandAll:n,defaultExpandParent:o,defaultExpandedKeys:a}=e,i=e0(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let d=g.useRef(),l=g.useRef(),s=()=>{let{keyEntities:e}=P(e2(i));return n?Object.keys(e):o?G(i.expandedKeys||a||[],e):i.expandedKeys||a},[p,u]=g.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[f,h]=g.useState(()=>s());g.useEffect(()=>{"selectedKeys"in i&&u(i.selectedKeys)},[i.selectedKeys]),g.useEffect(()=>{"expandedKeys"in i&&h(i.expandedKeys)},[i.expandedKeys]);let{getPrefixCls:v,direction:y}=g.useContext(eN.E_),{prefixCls:b,className:k,showIcon:x=!0,expandAction:K="click"}=i,N=e0(i,["prefixCls","className","showIcon","expandAction"]),E=v("tree",b),S=m()(`${E}-directory`,{[`${E}-directory-rtl`]:"rtl"===y},k);return g.createElement(eY,Object.assign({icon:e1,ref:t,blockNode:!0},N,{showIcon:x,expandAction:K,prefixCls:E,className:S,expandedKeys:f,selectedKeys:p,onSelect:(e,t)=>{var n;let o;let{multiple:a}=i,{node:s,nativeEvent:p}=t,{key:h=""}=s,g=e2(i),v=Object.assign(Object.assign({},t),{selected:!0}),y=(null==p?void 0:p.ctrlKey)||(null==p?void 0:p.metaKey),b=null==p?void 0:p.shiftKey;a&&y?(o=e,d.current=h,l.current=o,v.selectedNodes=eQ(g,o)):a&&b?(o=Array.from(new Set([].concat((0,c.Z)(l.current||[]),(0,c.Z)(function(e){let{treeData:t,expandedKeys:n,startKey:o,endKey:a}=e,i=[],d=r.None;return o&&o===a?[o]:o&&a?(eJ(t,e=>{if(d===r.End)return!1;if(e===o||e===a){if(i.push(e),d===r.None)d=r.Start;else if(d===r.Start)return d=r.End,!1}else d===r.Start&&i.push(e);return n.includes(e)}),i):[]}({treeData:g,expandedKeys:f,startKey:h,endKey:d.current}))))),v.selectedNodes=eQ(g,o)):(o=[h],d.current=h,l.current=o,v.selectedNodes=eQ(g,o)),null===(n=i.onSelect)||void 0===n||n.call(i,o,v),"selectedKeys"in i||u(o)},onExpand:(e,t)=>{var n;return"expandedKeys"in i||h(e),null===(n=i.onExpand)||void 0===n?void 0:n.call(i,e,t)}}))});eY.DirectoryTree=e4,eY.TreeNode=H;var e3=eY}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/215-ed2d98cfbd44ae81.js b/pilot/server/static/_next/static/chunks/215-ed2d98cfbd44ae81.js deleted file mode 100644 index 44a356acc..000000000 --- a/pilot/server/static/_next/static/chunks/215-ed2d98cfbd44ae81.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[215],{63606:function(t,e,n){n.d(e,{Z:function(){return s}});var o=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},a=n(42135),s=r.forwardRef(function(t,e){return r.createElement(a.Z,(0,o.Z)({},t,{ref:e,icon:i}))})},40228:function(t,e,n){n.d(e,{Z:function(){return H}});var o=n(1413),r=n(97685),i=n(45987),a=n(54535),s=n(94184),l=n.n(s),c=n(9220),u=n(34203),f=n(27571),p=n(66680),d=n(7028),h=n(8410),m=n(31131),v=n(67294),g=n(73935),b=v.createContext(null);function y(t){return t?Array.isArray(t)?t:[t]:[]}var w=n(5110);function _(t,e,n,o){return e||(n?{motionName:"".concat(t,"-").concat(n)}:o?{motionName:o}:null)}function k(t){return t.ownerDocument.defaultView}function x(t){for(var e=[],n=null==t?void 0:t.parentElement,o=["hidden","scroll","clip","auto"];n;){var r=k(n).getComputedStyle(n);[r.overflowX,r.overflowY,r.overflow].some(function(t){return o.includes(t)})&&e.push(n),n=n.parentElement}return e}function O(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(t)?e:t}function E(t){return O(parseFloat(t),0)}function C(t,e){var n=(0,o.Z)({},t);return(e||[]).forEach(function(t){if(!(t instanceof HTMLBodyElement)){var e=k(t).getComputedStyle(t),o=e.overflow,r=e.overflowClipMargin,i=e.borderTopWidth,a=e.borderBottomWidth,s=e.borderLeftWidth,l=e.borderRightWidth,c=t.getBoundingClientRect(),u=t.offsetHeight,f=t.clientHeight,p=t.offsetWidth,d=t.clientWidth,h=E(i),m=E(a),v=E(s),g=E(l),b=O(Math.round(c.width/p*1e3)/1e3),y=O(Math.round(c.height/u*1e3)/1e3),w=h*y,_=v*b,x=0,C=0;if("clip"===o){var Z=E(r);x=Z*b,C=Z*y}var M=c.x+_-x,R=c.y+w-C,A=M+c.width+2*x-_-g*b-(p-d-v-g)*b,S=R+c.height+2*C-w-m*y-(u-f-h-m)*y;n.left=Math.max(n.left,M),n.top=Math.max(n.top,R),n.right=Math.min(n.right,A),n.bottom=Math.min(n.bottom,S)}}),n}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(e),o=n.match(/^(.*)\%$/);return o?t*(parseFloat(o[1])/100):parseFloat(n)}function M(t,e){var n=(0,r.Z)(e||[],2),o=n[0],i=n[1];return[Z(t.width,o),Z(t.height,i)]}function R(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[t[0],t[1]]}function A(t,e){var n,o=e[0],r=e[1];return n="t"===o?t.y:"b"===o?t.y+t.height:t.y+t.height/2,{x:"l"===r?t.x:"r"===r?t.x+t.width:t.x+t.width/2,y:n}}function S(t,e){var n={t:"b",b:"t",l:"r",r:"l"};return t.map(function(t,o){return o===e?n[t]||"c":t}).join("")}var $=n(74902);n(56790);var j=n(75164),P=n(87462),T=n(82225),N=n(42550);function L(t){var e=t.prefixCls,n=t.align,o=t.arrow,r=t.arrowPos,i=o||{},a=i.className,s=i.content,c=r.x,u=r.y,f=v.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(!1!==n.autoArrow){var d=n.points[0],h=n.points[1],m=d[0],g=d[1],b=h[0],y=h[1];m!==b&&["t","b"].includes(m)?"t"===m?p.top=0:p.bottom=0:p.top=void 0===u?0:u,g!==y&&["l","r"].includes(g)?"l"===g?p.left=0:p.right=0:p.left=void 0===c?0:c}return v.createElement("div",{ref:f,className:l()("".concat(e,"-arrow"),a),style:p},s)}function z(t){var e=t.prefixCls,n=t.open,o=t.zIndex,r=t.mask,i=t.motion;return r?v.createElement(T.ZP,(0,P.Z)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(t){var n=t.className;return v.createElement("div",{style:{zIndex:o},className:l()("".concat(e,"-mask"),n)})}):null}var B=v.memo(function(t){return t.children},function(t,e){return e.cache}),D=v.forwardRef(function(t,e){var n=t.popup,i=t.className,a=t.prefixCls,s=t.style,u=t.target,f=t.onVisibleChanged,p=t.open,d=t.keepDom,m=t.onClick,g=t.mask,b=t.arrow,y=t.arrowPos,w=t.align,_=t.motion,k=t.maskMotion,x=t.forceRender,O=t.getPopupContainer,E=t.autoDestroy,C=t.portal,Z=t.zIndex,M=t.onMouseEnter,R=t.onMouseLeave,A=t.onPointerEnter,S=t.ready,$=t.offsetX,j=t.offsetY,D=t.offsetR,V=t.offsetB,X=t.onAlign,H=t.onPrepare,I=t.stretch,W=t.targetWidth,Y=t.targetHeight,F="function"==typeof n?n():n,q=(null==O?void 0:O.length)>0,G=v.useState(!O||!q),Q=(0,r.Z)(G,2),U=Q[0],J=Q[1];if((0,h.Z)(function(){!U&&q&&u&&J(!0)},[U,q,u]),!U)return null;var K="auto",tt={left:"-1000vw",top:"-1000vh",right:K,bottom:K};if(S||!p){var te=w.points,tn=w._experimental,to=null==tn?void 0:tn.dynamicInset,tr=to&&"r"===te[0][1],ti=to&&"b"===te[0][0];tr?(tt.right=D,tt.left=K):(tt.left=$,tt.right=K),ti?(tt.bottom=V,tt.top=K):(tt.top=j,tt.bottom=K)}var ta={};return I&&(I.includes("height")&&Y?ta.height=Y:I.includes("minHeight")&&Y&&(ta.minHeight=Y),I.includes("width")&&W?ta.width=W:I.includes("minWidth")&&W&&(ta.minWidth=W)),p||(ta.pointerEvents="none"),v.createElement(C,{open:x||p||d,getContainer:O&&function(){return O(u)},autoDestroy:E},v.createElement(z,{prefixCls:a,open:p,zIndex:Z,mask:g,motion:k}),v.createElement(c.Z,{onResize:X,disabled:!p},function(t){return v.createElement(T.ZP,(0,P.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:x,leavedClassName:"".concat(a,"-hidden")},_,{onAppearPrepare:H,onEnterPrepare:H,visible:p,onVisibleChanged:function(t){var e;null==_||null===(e=_.onVisibleChanged)||void 0===e||e.call(_,t),f(t)}}),function(n,r){var c=n.className,u=n.style,f=l()(a,c,i);return v.createElement("div",{ref:(0,N.sQ)(t,e,r),className:f,style:(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({"--arrow-x":"".concat(y.x||0,"px"),"--arrow-y":"".concat(y.y||0,"px")},tt),ta),u),{},{boxSizing:"border-box",zIndex:Z},s),onMouseEnter:M,onMouseLeave:R,onPointerEnter:A,onClick:m},b&&v.createElement(L,{prefixCls:a,arrow:b,arrowPos:y,align:w}),v.createElement(B,{cache:!p},F))})}))}),V=v.forwardRef(function(t,e){var n=t.children,o=t.getTriggerDOMNode,r=(0,N.Yr)(n),i=v.useCallback(function(t){(0,N.mH)(e,o?o(t):t)},[o]),a=(0,N.x1)(i,n.ref);return r?v.cloneElement(n,{ref:a}):n}),X=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"],H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return v.forwardRef(function(e,n){var a,s,E,Z,P,T,N,L,z,B,H,I,W,Y,F,q,G,Q=e.prefixCls,U=void 0===Q?"rc-trigger-popup":Q,J=e.children,K=e.action,tt=e.showAction,te=e.hideAction,tn=e.popupVisible,to=e.defaultPopupVisible,tr=e.onPopupVisibleChange,ti=e.afterPopupVisibleChange,ta=e.mouseEnterDelay,ts=e.mouseLeaveDelay,tl=void 0===ts?.1:ts,tc=e.focusDelay,tu=e.blurDelay,tf=e.mask,tp=e.maskClosable,td=e.getPopupContainer,th=e.forceRender,tm=e.autoDestroy,tv=e.destroyPopupOnHide,tg=e.popup,tb=e.popupClassName,ty=e.popupStyle,tw=e.popupPlacement,t_=e.builtinPlacements,tk=void 0===t_?{}:t_,tx=e.popupAlign,tO=e.zIndex,tE=e.stretch,tC=e.getPopupClassNameFromAlign,tZ=e.alignPoint,tM=e.onPopupClick,tR=e.onPopupAlign,tA=e.arrow,tS=e.popupMotion,t$=e.maskMotion,tj=e.popupTransitionName,tP=e.popupAnimation,tT=e.maskTransitionName,tN=e.maskAnimation,tL=e.className,tz=e.getTriggerDOMNode,tB=(0,i.Z)(e,X),tD=v.useState(!1),tV=(0,r.Z)(tD,2),tX=tV[0],tH=tV[1];(0,h.Z)(function(){tH((0,m.Z)())},[]);var tI=v.useRef({}),tW=v.useContext(b),tY=v.useMemo(function(){return{registerSubPopup:function(t,e){tI.current[t]=e,null==tW||tW.registerSubPopup(t,e)}}},[tW]),tF=(0,d.Z)(),tq=v.useState(null),tG=(0,r.Z)(tq,2),tQ=tG[0],tU=tG[1],tJ=(0,p.Z)(function(t){(0,u.S)(t)&&tQ!==t&&tU(t),null==tW||tW.registerSubPopup(tF,t)}),tK=v.useState(null),t0=(0,r.Z)(tK,2),t1=t0[0],t2=t0[1],t4=(0,p.Z)(function(t){(0,u.S)(t)&&t1!==t&&t2(t)}),t5=v.Children.only(J),t7=(null==t5?void 0:t5.props)||{},t3={},t6=(0,p.Z)(function(t){var e,n;return(null==t1?void 0:t1.contains(t))||(null===(e=(0,f.A)(t1))||void 0===e?void 0:e.host)===t||t===t1||(null==tQ?void 0:tQ.contains(t))||(null===(n=(0,f.A)(tQ))||void 0===n?void 0:n.host)===t||t===tQ||Object.values(tI.current).some(function(e){return(null==e?void 0:e.contains(t))||t===e})}),t8=_(U,tS,tP,tj),t9=_(U,t$,tN,tT),et=v.useState(to||!1),ee=(0,r.Z)(et,2),en=ee[0],eo=ee[1],er=null!=tn?tn:en,ei=(0,p.Z)(function(t){void 0===tn&&eo(t)});(0,h.Z)(function(){eo(tn||!1)},[tn]);var ea=v.useRef(er);ea.current=er;var es=(0,p.Z)(function(t){(0,g.flushSync)(function(){er!==t&&(ei(t),null==tr||tr(t))})}),el=v.useRef(),ec=function(){clearTimeout(el.current)},eu=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;ec(),0===e?es(t):el.current=setTimeout(function(){es(t)},1e3*e)};v.useEffect(function(){return ec},[]);var ef=v.useState(!1),ep=(0,r.Z)(ef,2),ed=ep[0],eh=ep[1];(0,h.Z)(function(t){(!t||er)&&eh(!0)},[er]);var em=v.useState(null),ev=(0,r.Z)(em,2),eg=ev[0],eb=ev[1],ey=v.useState([0,0]),ew=(0,r.Z)(ey,2),e_=ew[0],ek=ew[1],ex=function(t){ek([t.clientX,t.clientY])},eO=(a=tZ?e_:t1,s=v.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:tk[tw]||{}}),Z=(E=(0,r.Z)(s,2))[0],P=E[1],T=v.useRef(0),N=v.useMemo(function(){return tQ?x(tQ):[]},[tQ]),L=v.useRef({}),er||(L.current={}),z=(0,p.Z)(function(){if(tQ&&a&&er){var t,e,n,i,s,l=tQ.style.left,c=tQ.style.top,f=tQ.style.right,p=tQ.style.bottom,d=tQ.ownerDocument,h=k(tQ),m=(0,o.Z)((0,o.Z)({},tk[tw]),tx);if(tQ.style.left="0",tQ.style.top="0",tQ.style.right="auto",tQ.style.bottom="auto",Array.isArray(a))t={x:a[0],y:a[1],width:0,height:0};else{var v=a.getBoundingClientRect();t={x:v.x,y:v.y,width:v.width,height:v.height}}var g=tQ.getBoundingClientRect(),b=h.getComputedStyle(tQ),y=b.width,_=b.height,x=d.documentElement,E=x.clientWidth,Z=x.clientHeight,$=x.scrollWidth,j=x.scrollHeight,T=x.scrollTop,z=x.scrollLeft,B=g.height,D=g.width,V=t.height,X=t.width,H=m.htmlRegion,I="visible",W="visibleFirst";"scroll"!==H&&H!==W&&(H=I);var Y=H===W,F=C({left:-z,top:-T,right:$-z,bottom:j-T},N),q=C({left:0,top:0,right:E,bottom:Z},N),G=H===I?q:F,Q=Y?q:G;tQ.style.left="auto",tQ.style.top="auto",tQ.style.right="0",tQ.style.bottom="0";var U=tQ.getBoundingClientRect();tQ.style.left=l,tQ.style.top=c,tQ.style.right=f,tQ.style.bottom=p;var J=O(Math.round(D/parseFloat(y)*1e3)/1e3),K=O(Math.round(B/parseFloat(_)*1e3)/1e3);if(!(0===J||0===K||(0,u.S)(a)&&!(0,w.Z)(a))){var tt=m.offset,te=m.targetOffset,tn=M(g,tt),to=(0,r.Z)(tn,2),tr=to[0],ti=to[1],ta=M(t,te),ts=(0,r.Z)(ta,2),tl=ts[0],tc=ts[1];t.x-=tl,t.y-=tc;var tu=m.points||[],tf=(0,r.Z)(tu,2),tp=tf[0],td=R(tf[1]),th=R(tp),tm=A(t,td),tv=A(g,th),tg=(0,o.Z)({},m),tb=tm.x-tv.x+tr,ty=tm.y-tv.y+ti,t_=t6(tb,ty),tO=t6(tb,ty,q),tE=A(t,["t","l"]),tC=A(g,["t","l"]),tZ=A(t,["b","r"]),tM=A(g,["b","r"]),tA=m.overflow||{},tS=tA.adjustX,t$=tA.adjustY,tj=tA.shiftX,tP=tA.shiftY,tT=function(t){return"boolean"==typeof t?t:t>=0};t8();var tN=tT(t$),tL=th[0]===td[0];if(tN&&"t"===th[0]&&(n>Q.bottom||L.current.bt)){var tz=ty;tL?tz-=B-V:tz=tE.y-tM.y-ti;var tB=t6(tb,tz),tD=t6(tb,tz,q);tB>t_||tB===t_&&(!Y||tD>=tO)?(L.current.bt=!0,ty=tz,ti=-ti,tg.points=[S(th,0),S(td,0)]):L.current.bt=!1}if(tN&&"b"===th[0]&&(et_||tX===t_&&(!Y||tH>=tO)?(L.current.tb=!0,ty=tV,ti=-ti,tg.points=[S(th,0),S(td,0)]):L.current.tb=!1}var tI=tT(tS),tW=th[1]===td[1];if(tI&&"l"===th[1]&&(s>Q.right||L.current.rl)){var tY=tb;tW?tY-=D-X:tY=tE.x-tM.x-tr;var tF=t6(tY,ty),tq=t6(tY,ty,q);tF>t_||tF===t_&&(!Y||tq>=tO)?(L.current.rl=!0,tb=tY,tr=-tr,tg.points=[S(th,1),S(td,1)]):L.current.rl=!1}if(tI&&"r"===th[1]&&(it_||tU===t_&&(!Y||tJ>=tO)?(L.current.lr=!0,tb=tG,tr=-tr,tg.points=[S(th,1),S(td,1)]):L.current.lr=!1}t8();var tK=!0===tj?0:tj;"number"==typeof tK&&(iq.right&&(tb-=s-q.right-tr,t.x>q.right-tK&&(tb+=t.x-q.right+tK)));var t0=!0===tP?0:tP;"number"==typeof t0&&(eq.bottom&&(ty-=n-q.bottom-ti,t.y>q.bottom-t0&&(ty+=t.y-q.bottom+t0)));var t1=g.x+tb,t2=g.y+ty,t4=t.x,t5=t.y;null==tR||tR(tQ,tg);var t7=U.right-g.x-(tb+g.width),t3=U.bottom-g.y-(ty+g.height);P({ready:!0,offsetX:tb/J,offsetY:ty/K,offsetR:t7/J,offsetB:t3/K,arrowX:((Math.max(t1,t4)+Math.min(t1+D,t4+X))/2-t1)/J,arrowY:((Math.max(t2,t5)+Math.min(t2+B,t5+V))/2-t2)/K,scaleX:J,scaleY:K,align:tg})}function t6(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:G,o=g.x+t,r=g.y+e,i=Math.max(o,n.left),a=Math.max(r,n.top);return Math.max(0,(Math.min(o+D,n.right)-i)*(Math.min(r+B,n.bottom)-a))}function t8(){n=(e=g.y+ty)+B,s=(i=g.x+tb)+D}}}),B=function(){P(function(t){return(0,o.Z)((0,o.Z)({},t),{},{ready:!1})})},(0,h.Z)(B,[tw]),(0,h.Z)(function(){er||B()},[er]),[Z.ready,Z.offsetX,Z.offsetY,Z.offsetR,Z.offsetB,Z.arrowX,Z.arrowY,Z.scaleX,Z.scaleY,Z.align,function(){T.current+=1;var t=T.current;Promise.resolve().then(function(){T.current===t&&z()})}]),eE=(0,r.Z)(eO,11),eC=eE[0],eZ=eE[1],eM=eE[2],eR=eE[3],eA=eE[4],eS=eE[5],e$=eE[6],ej=eE[7],eP=eE[8],eT=eE[9],eN=eE[10],eL=(H=void 0===K?"hover":K,v.useMemo(function(){var t=y(null!=tt?tt:H),e=y(null!=te?te:H),n=new Set(t),o=new Set(e);return tX&&(n.has("hover")&&(n.delete("hover"),n.add("click")),o.has("hover")&&(o.delete("hover"),o.add("click"))),[n,o]},[tX,H,tt,te])),ez=(0,r.Z)(eL,2),eB=ez[0],eD=ez[1],eV=eB.has("click"),eX=eD.has("click")||eD.has("contextMenu"),eH=(0,p.Z)(function(){ed||eN()});I=function(){ea.current&&tZ&&eX&&eu(!1)},(0,h.Z)(function(){if(er&&t1&&tQ){var t=x(t1),e=x(tQ),n=k(tQ),o=new Set([n].concat((0,$.Z)(t),(0,$.Z)(e)));function r(){eH(),I()}return o.forEach(function(t){t.addEventListener("scroll",r,{passive:!0})}),n.addEventListener("resize",r,{passive:!0}),eH(),function(){o.forEach(function(t){t.removeEventListener("scroll",r),n.removeEventListener("resize",r)})}}},[er,t1,tQ]),(0,h.Z)(function(){eH()},[e_,tw]),(0,h.Z)(function(){er&&!(null!=tk&&tk[tw])&&eH()},[JSON.stringify(tx)]);var eI=v.useMemo(function(){var t=function(t,e,n,o){for(var r=n.points,i=Object.keys(t),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}(null===(s=t[l])||void 0===s?void 0:s.points,r,o))return"".concat(e,"-placement-").concat(l)}return""}(tk,U,eT,tZ);return l()(t,null==tC?void 0:tC(eT))},[eT,tC,tk,U,tZ]);v.useImperativeHandle(n,function(){return{forceAlign:eH}}),(0,h.Z)(function(){eg&&(eN(),eg(),eb(null))},[eg]);var eW=v.useState(0),eY=(0,r.Z)(eW,2),eF=eY[0],eq=eY[1],eG=v.useState(0),eQ=(0,r.Z)(eG,2),eU=eQ[0],eJ=eQ[1];function eK(t,e,n,o){t3[t]=function(r){var i;null==o||o(r),eu(e,n);for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l1?n-1:0),r=1;r1?n-1:0),r=1;r`${t}-inverse`);function a(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e?[].concat((0,o.Z)(i),(0,o.Z)(r.i)).includes(t):r.i.includes(t)}},77786:function(t,e,n){n.d(e,{qN:function(){return r},ZP:function(){return a},fS:function(){return i}});let o=(t,e,n,o,r)=>{let i=t/2,a=1*n/Math.sqrt(2),s=i-n*(1-1/Math.sqrt(2)),l=i-e*(1/Math.sqrt(2)),c=n*(Math.sqrt(2)-1)+e*(1/Math.sqrt(2)),u=i*Math.sqrt(2)+n*(Math.sqrt(2)-2),f=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:t,height:t,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:t,height:t/2,background:o,clipPath:{_multi_value_:!0,value:[`polygon(${f}px 100%, 50% ${f}px, ${2*i-f}px 100%, ${f}px 100%)`,`path('M 0 ${i} A ${n} ${n} 0 0 0 ${a} ${s} L ${l} ${c} A ${e} ${e} 0 0 1 ${2*i-l} ${c} L ${2*i-a} ${s} A ${n} ${n} 0 0 0 ${2*i-0} ${i} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:u,height:u,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${e}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}},r=8;function i(t){let{contentRadius:e,limitVerticalRadius:n}=t,o=e>12?e+2:12;return{dropdownArrowOffset:o,dropdownArrowOffsetVertical:n?r:o}}function a(t,e){var n,r,a,s,l,c,u,f;let{componentCls:p,sizePopupArrow:d,borderRadiusXS:h,borderRadiusOuter:m,boxShadowPopoverArrow:v}=t,{colorBg:g,contentRadius:b=t.borderRadiusLG,limitVerticalRadius:y,arrowDistance:w=0,arrowPlacement:_={left:!0,right:!0,top:!0,bottom:!0}}=e,{dropdownArrowOffsetVertical:k,dropdownArrowOffset:x}=i({contentRadius:b,limitVerticalRadius:y});return{[p]:Object.assign(Object.assign(Object.assign(Object.assign({[`${p}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},o(d,h,m,g,v)),{"&:before":{background:g}})]},(n=!!_.top,r={[`&-placement-top ${p}-arrow,&-placement-topLeft ${p}-arrow,&-placement-topRight ${p}-arrow`]:{bottom:w,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${p}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${p}-arrow`]:{left:{_skip_check_:!0,value:x}},[`&-placement-topRight ${p}-arrow`]:{right:{_skip_check_:!0,value:x}}},n?r:{})),(a=!!_.bottom,s={[`&-placement-bottom ${p}-arrow,&-placement-bottomLeft ${p}-arrow,&-placement-bottomRight ${p}-arrow`]:{top:w,transform:"translateY(-100%)"},[`&-placement-bottom ${p}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${p}-arrow`]:{left:{_skip_check_:!0,value:x}},[`&-placement-bottomRight ${p}-arrow`]:{right:{_skip_check_:!0,value:x}}},a?s:{})),(l=!!_.left,c={[`&-placement-left ${p}-arrow,&-placement-leftTop ${p}-arrow,&-placement-leftBottom ${p}-arrow`]:{right:{_skip_check_:!0,value:w},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${p}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${p}-arrow`]:{top:k},[`&-placement-leftBottom ${p}-arrow`]:{bottom:k}},l?c:{})),(u=!!_.right,f={[`&-placement-right ${p}-arrow,&-placement-rightTop ${p}-arrow,&-placement-rightBottom ${p}-arrow`]:{left:{_skip_check_:!0,value:w},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${p}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${p}-arrow`]:{top:k},[`&-placement-rightBottom ${p}-arrow`]:{bottom:k}},u?f:{}))}}},8796:function(t,e,n){n.d(e,{i:function(){return o}});let o=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},98719:function(t,e,n){n.d(e,{Z:function(){return r}});var o=n(8796);function r(t,e){return o.i.reduce((n,o)=>{let r=t[`${o}1`],i=t[`${o}3`],a=t[`${o}6`],s=t[`${o}7`];return Object.assign(Object.assign({},n),e(o,{lightColor:r,lightBorderColor:i,darkColor:a,textColor:s}))},{})}},94139:function(t,e,n){n.d(e,{Z:function(){return W}});var o=n(94184),r=n.n(o),i=n(92419),a=n(21770),s=n(67294),l=n(33603),c=n(77786);let u={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},f={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},p=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);var d=n(96159),h=n(53124),m=n(4173),v=n(77794),g=n(67164),b=n(2790),y=n(1393),w=n(25976),_=n(33083),k=n(372),x=n(98378),O=n(16397),E=n(57),C=n(10274);let Z=(t,e)=>new C.C(t).setAlpha(e).toRgbString(),M=(t,e)=>{let n=new C.C(t);return n.lighten(e).toHexString()},R=t=>{let e=(0,O.R_)(t,{theme:"dark"});return{1:e[0],2:e[1],3:e[2],4:e[3],5:e[6],6:e[5],7:e[4],8:e[6],9:e[5],10:e[4]}},A=(t,e)=>{let n=t||"#000",o=e||"#fff";return{colorBgBase:n,colorTextBase:o,colorText:Z(o,.85),colorTextSecondary:Z(o,.65),colorTextTertiary:Z(o,.45),colorTextQuaternary:Z(o,.25),colorFill:Z(o,.18),colorFillSecondary:Z(o,.12),colorFillTertiary:Z(o,.08),colorFillQuaternary:Z(o,.04),colorBgElevated:M(n,12),colorBgContainer:M(n,8),colorBgLayout:M(n,0),colorBgSpotlight:M(n,26),colorBorder:M(n,26),colorBorderSecondary:M(n,19)}};var S={defaultConfig:_.u_,defaultSeed:_.u_.token,useToken:function(){let[t,e,n]=(0,w.Z)();return{theme:t,token:e,hashId:n}},defaultAlgorithm:g.Z,darkAlgorithm:(t,e)=>{let n=Object.keys(b.M).map(e=>{let n=(0,O.R_)(t[e],{theme:"dark"});return Array(10).fill(1).reduce((t,o,r)=>(t[`${e}-${r+1}`]=n[r],t[`${e}${r+1}`]=n[r],t),{})}).reduce((t,e)=>t=Object.assign(Object.assign({},t),e),{}),o=null!=e?e:(0,g.Z)(t);return Object.assign(Object.assign(Object.assign({},o),n),(0,E.Z)(t,{generateColorPalettes:R,generateNeutralColorPalettes:A}))},compactAlgorithm:(t,e)=>{let n=null!=e?e:(0,g.Z)(t),o=n.fontSizeSM,r=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(t){let{sizeUnit:e,sizeStep:n}=t,o=n-2;return{sizeXXL:e*(o+10),sizeXL:e*(o+6),sizeLG:e*(o+2),sizeMD:e*(o+2),sizeMS:e*(o+1),size:e*o,sizeSM:e*o,sizeXS:e*(o-1),sizeXXS:e*(o-1)}}(null!=e?e:t)),(0,x.Z)(o)),{controlHeight:r}),(0,k.Z)(Object.assign(Object.assign({},n),{controlHeight:r})))},getDesignToken:t=>{let e=(null==t?void 0:t.algorithm)?(0,v.jG)(t.algorithm):(0,v.jG)(g.Z),n=Object.assign(Object.assign({},b.Z),null==t?void 0:t.token);return(0,v.t2)(n,{override:null==t?void 0:t.token},e,y.Z)}},$=n(14747),j=n(50438),P=n(98719),T=n(45503),N=n(67968);let L=t=>{let{componentCls:e,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:r,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:u,paddingXS:f,tooltipRadiusOuter:p}=t;return[{[e]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,$.Wf)(t)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${e}-inner`]:{minWidth:s,minHeight:s,padding:`${u/2}px ${f}px`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:i,boxShadow:l,boxSizing:"border-box"},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{[`${e}-inner`]:{borderRadius:Math.min(i,c.qN)}},[`${e}-content`]:{position:"relative"}}),(0,P.Z)(t,(t,n)=>{let{darkColor:o}=n;return{[`&${e}-${t}`]:{[`${e}-inner`]:{backgroundColor:o},[`${e}-arrow`]:{"--antd-arrow-background-color":o}}}})),{"&-rtl":{direction:"rtl"}})},(0,c.ZP)((0,T.TS)(t,{borderRadiusOuter:p}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:i,limitVerticalRadius:!0}),{[`${e}-pure`]:{position:"relative",maxWidth:"none",margin:t.sizePopupArrow}}]};var z=(t,e)=>{let n=(0,N.Z)("Tooltip",t=>{if(!1===e)return[];let{borderRadius:n,colorTextLightSolid:o,colorBgDefault:r,borderRadiusOuter:i}=t,a=(0,T.TS)(t,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:n,tooltipBg:r,tooltipRadiusOuter:i>4?4:i});return[L(a),(0,j._y)(t,"zoom-big-fast")]},t=>{let{zIndexPopupBase:e,colorBgSpotlight:n}=t;return{zIndexPopup:e+70,colorBgDefault:n}},{resetStyle:!1});return n(t)},B=n(98787);function D(t,e){let n=(0,B.o2)(e),o=r()({[`${t}-${e}`]:e&&n}),i={},a={};return e&&!n&&(i.background=e,a["--antd-arrow-background-color"]=e),{className:o,overlayStyle:i,arrowStyle:a}}var V=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);re.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};let{useToken:X}=S,H=(t,e)=>{let n={},o=Object.assign({},t);return e.forEach(e=>{t&&e in t&&(n[e]=t[e],delete o[e])}),{picked:n,omitted:o}},I=s.forwardRef((t,e)=>{var n,o;let{prefixCls:v,openClassName:g,getTooltipContainer:b,overlayClassName:y,color:w,overlayInnerStyle:_,children:k,afterOpenChange:x,afterVisibleChange:O,destroyTooltipOnHide:E,arrow:C=!0,title:Z,overlay:M,builtinPlacements:R,arrowPointAtCenter:A=!1,autoAdjustOverflow:S=!0}=t,$=!!C,{token:j}=X(),{getPopupContainer:P,getPrefixCls:T,direction:N}=s.useContext(h.E_),L=s.useRef(null),B=()=>{var t;null===(t=L.current)||void 0===t||t.forceAlign()};s.useImperativeHandle(e,()=>({forceAlign:B,forcePopupAlign:()=>{B()}}));let[I,W]=(0,a.Z)(!1,{value:null!==(n=t.open)&&void 0!==n?n:t.visible,defaultValue:null!==(o=t.defaultOpen)&&void 0!==o?o:t.defaultVisible}),Y=!Z&&!M&&0!==Z,F=s.useMemo(()=>{var t,e;let n=A;return"object"==typeof C&&(n=null!==(e=null!==(t=C.pointAtCenter)&&void 0!==t?t:C.arrowPointAtCenter)&&void 0!==e?e:A),R||function(t){let{arrowWidth:e,autoAdjustOverflow:n,arrowPointAtCenter:o,offset:r,borderRadius:i,visibleFirst:a}=t,s=e/2,l={};return Object.keys(u).forEach(t=>{let d=o&&f[t]||u[t],h=Object.assign(Object.assign({},d),{offset:[0,0]});switch(l[t]=h,p.has(t)&&(h.autoArrow=!1),t){case"top":case"topLeft":case"topRight":h.offset[1]=-s-r;break;case"bottom":case"bottomLeft":case"bottomRight":h.offset[1]=s+r;break;case"left":case"leftTop":case"leftBottom":h.offset[0]=-s-r;break;case"right":case"rightTop":case"rightBottom":h.offset[0]=s+r}let m=(0,c.fS)({contentRadius:i,limitVerticalRadius:!0});if(o)switch(t){case"topLeft":case"bottomLeft":h.offset[0]=-m.dropdownArrowOffset-s;break;case"topRight":case"bottomRight":h.offset[0]=m.dropdownArrowOffset+s;break;case"leftTop":case"rightTop":h.offset[1]=-m.dropdownArrowOffset-s;break;case"leftBottom":case"rightBottom":h.offset[1]=m.dropdownArrowOffset+s}h.overflow=function(t,e,n,o){if(!1===o)return{adjustX:!1,adjustY:!1};let r=o&&"object"==typeof o?o:{},i={};switch(t){case"top":case"bottom":i.shiftX=2*e.dropdownArrowOffset+n;break;case"left":case"right":i.shiftY=2*e.dropdownArrowOffsetVertical+n}let a=Object.assign(Object.assign({},i),r);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(t,m,e,n),a&&(h.htmlRegion="visibleFirst")}),l}({arrowPointAtCenter:n,autoAdjustOverflow:S,arrowWidth:$?j.sizePopupArrow:0,borderRadius:j.borderRadius,offset:j.marginXXS,visibleFirst:!0})},[A,C,R,j]),q=s.useMemo(()=>0===Z?Z:M||Z||"",[M,Z]),G=s.createElement(m.BR,null,"function"==typeof q?q():q),{getPopupContainer:Q,placement:U="top",mouseEnterDelay:J=.1,mouseLeaveDelay:K=.1,overlayStyle:tt,rootClassName:te}=t,tn=V(t,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),to=T("tooltip",v),tr=T(),ti=t["data-popover-inject"],ta=I;"open"in t||"visible"in t||!Y||(ta=!1);let ts=function(t,e){let n=t.type;if((!0===n.__ANT_BUTTON||"button"===t.type)&&t.props.disabled||!0===n.__ANT_SWITCH&&(t.props.disabled||t.props.loading)||!0===n.__ANT_RADIO&&t.props.disabled){let{picked:n,omitted:o}=H(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),i=Object.assign(Object.assign({display:"inline-block"},n),{cursor:"not-allowed",width:t.props.block?"100%":void 0}),a=Object.assign(Object.assign({},o),{pointerEvents:"none"}),l=(0,d.Tm)(t,{style:a,className:null});return s.createElement("span",{style:i,className:r()(t.props.className,`${e}-disabled-compatible-wrapper`)},l)}return t}((0,d.l$)(k)&&!(0,d.M2)(k)?k:s.createElement("span",null,k),to),tl=ts.props,tc=tl.className&&"string"!=typeof tl.className?tl.className:r()(tl.className,g||`${to}-open`),[tu,tf]=z(to,!ti),tp=D(to,w),td=tp.arrowStyle,th=Object.assign(Object.assign({},_),tp.overlayStyle),tm=r()(y,{[`${to}-rtl`]:"rtl"===N},tp.className,te,tf);return tu(s.createElement(i.Z,Object.assign({},tn,{showArrow:$,placement:U,mouseEnterDelay:J,mouseLeaveDelay:K,prefixCls:to,overlayClassName:tm,overlayStyle:Object.assign(Object.assign({},td),tt),getTooltipContainer:Q||b||P,ref:L,builtinPlacements:F,overlay:G,visible:ta,onVisibleChange:e=>{var n,o;W(!Y&&e),Y||(null===(n=t.onOpenChange)||void 0===n||n.call(t,e),null===(o=t.onVisibleChange)||void 0===o||o.call(t,e))},afterVisibleChange:null!=x?x:O,overlayInnerStyle:th,arrowContent:s.createElement("span",{className:`${to}-arrow-content`}),motion:{motionName:(0,l.m)(tr,"zoom-big-fast",t.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!E}),ta?(0,d.Tm)(ts,{className:tc}):ts))});I._InternalPanelDoNotUseOrYouWillBeFired=t=>{let{prefixCls:e,className:n,placement:o="top",title:a,color:l,overlayInnerStyle:c}=t,{getPrefixCls:u}=s.useContext(h.E_),f=u("tooltip",e),[p,d]=z(f,!0),m=D(f,l),v=m.arrowStyle,g=Object.assign(Object.assign({},c),m.overlayStyle),b=r()(d,f,`${f}-pure`,`${f}-placement-${o}`,n,m.className);return p(s.createElement("div",{className:b,style:v},s.createElement("div",{className:`${f}-arrow`}),s.createElement(i.G,Object.assign({},t,{className:d,prefixCls:f,overlayInnerStyle:g}),a)))};var W=I},9220:function(t,e,n){n.d(e,{Z:function(){return B}});var o=n(87462),r=n(67294),i=n(50344);n(80334);var a=n(1413),s=n(42550),l=n(34203),c=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,o){return t[0]===e&&(n=o,!0)}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),o=this.__entries__[n];return o&&o[1]},e.prototype.set=function(e,n){var o=t(this.__entries__,e);~o?this.__entries__[o][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,o=t(n,e);~o&&n.splice(o,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,o=this.__entries__;n0},t.prototype.connect_=function(){u&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),h?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){u&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;d.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),v=function(t,e){for(var n=0,o=Object.keys(e);n0},t}(),C="undefined"!=typeof WeakMap?new WeakMap:new c,Z=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=m.getInstance(),o=new E(e,n,this);C.set(this,o)};["observe","unobserve","disconnect"].forEach(function(t){Z.prototype[t]=function(){var e;return(e=C.get(this))[t].apply(e,arguments)}});var M=void 0!==f.ResizeObserver?f.ResizeObserver:Z,R=new Map,A=new M(function(t){t.forEach(function(t){var e,n=t.target;null===(e=R.get(n))||void 0===e||e.forEach(function(t){return t(n)})})}),S=n(15671),$=n(43144),j=n(32531),P=n(73568),T=function(t){(0,j.Z)(n,t);var e=(0,P.Z)(n);function n(){return(0,S.Z)(this,n),e.apply(this,arguments)}return(0,$.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(r.Component),N=r.createContext(null),L=r.forwardRef(function(t,e){var n=t.children,o=t.disabled,i=r.useRef(null),c=r.useRef(null),u=r.useContext(N),f="function"==typeof n,p=f?n(i):n,d=r.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),h=!f&&r.isValidElement(p)&&(0,s.Yr)(p),m=h?p.ref:null,v=r.useMemo(function(){return(0,s.sQ)(m,i)},[m,i]),g=function(){return(0,l.Z)(i.current)||(0,l.Z)(c.current)};r.useImperativeHandle(e,function(){return g()});var b=r.useRef(t);b.current=t;var y=r.useCallback(function(t){var e=b.current,n=e.onResize,o=e.data,r=t.getBoundingClientRect(),i=r.width,s=r.height,l=t.offsetWidth,c=t.offsetHeight,f=Math.floor(i),p=Math.floor(s);if(d.current.width!==f||d.current.height!==p||d.current.offsetWidth!==l||d.current.offsetHeight!==c){var h={width:f,height:p,offsetWidth:l,offsetHeight:c};d.current=h;var m=l===Math.round(i)?i:l,v=c===Math.round(s)?s:c,g=(0,a.Z)((0,a.Z)({},h),{},{offsetWidth:m,offsetHeight:v});null==u||u(g,t,o),n&&Promise.resolve().then(function(){n(g,t)})}},[]);return r.useEffect(function(){var t=g();return t&&!o&&(R.has(t)||(R.set(t,new Set),A.observe(t)),R.get(t).add(y)),function(){R.has(t)&&(R.get(t).delete(y),R.get(t).size||(A.unobserve(t),R.delete(t)))}},[i.current,o]),r.createElement(T,{ref:c},h?r.cloneElement(p,{ref:v}):p)}),z=r.forwardRef(function(t,e){var n=t.children;return("function"==typeof n?[n]:(0,i.Z)(n)).map(function(n,i){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return r.createElement(L,(0,o.Z)({},t,{key:a,ref:0===i?e:void 0}),n)})});z.Collection=function(t){var e=t.children,n=t.onBatchResize,o=r.useRef(0),i=r.useRef([]),a=r.useContext(N),s=r.useCallback(function(t,e,r){o.current+=1;var s=o.current;i.current.push({size:t,element:e,data:r}),Promise.resolve().then(function(){s===o.current&&(null==n||n(i.current),i.current=[])}),null==a||a(t,e,r)},[n,a]);return r.createElement(N.Provider,{value:s},e)};var B=z},92419:function(t,e,n){n.d(e,{G:function(){return h},Z:function(){return v}});var o=n(87462),r=n(1413),i=n(45987),a=n(40228),s=n(67294),l={shiftX:64,adjustY:1},c={adjustX:1,shiftY:!0},u=[0,0],f={left:{points:["cr","cl"],overflow:c,offset:[-4,0],targetOffset:u},right:{points:["cl","cr"],overflow:c,offset:[4,0],targetOffset:u},top:{points:["bc","tc"],overflow:l,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:l,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:l,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:c,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:l,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:c,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:l,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:c,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:l,offset:[0,4],targetOffset:u},leftBottom:{points:["br","bl"],overflow:c,offset:[-4,0],targetOffset:u}},p=n(94184),d=n.n(p);function h(t){var e=t.children,n=t.prefixCls,o=t.id,r=t.overlayInnerStyle,i=t.className,a=t.style;return s.createElement("div",{className:d()("".concat(n,"-content"),i),style:a},s.createElement("div",{className:"".concat(n,"-inner"),id:o,role:"tooltip",style:r},"function"==typeof e?e():e))}var m=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],v=(0,s.forwardRef)(function(t,e){var n=t.overlayClassName,l=t.trigger,c=t.mouseEnterDelay,u=t.mouseLeaveDelay,p=t.overlayStyle,d=t.prefixCls,v=void 0===d?"rc-tooltip":d,g=t.children,b=t.onVisibleChange,y=t.afterVisibleChange,w=t.transitionName,_=t.animation,k=t.motion,x=t.placement,O=t.align,E=t.destroyTooltipOnHide,C=t.defaultVisible,Z=t.getTooltipContainer,M=t.overlayInnerStyle,R=(t.arrowContent,t.overlay),A=t.id,S=t.showArrow,$=(0,i.Z)(t,m),j=(0,s.useRef)(null);(0,s.useImperativeHandle)(e,function(){return j.current});var P=(0,r.Z)({},$);return"visible"in t&&(P.popupVisible=t.visible),s.createElement(a.Z,(0,o.Z)({popupClassName:n,prefixCls:v,popup:function(){return s.createElement(h,{key:"content",prefixCls:v,id:A,overlayInnerStyle:M},R)},action:void 0===l?["hover"]:l,builtinPlacements:f,popupPlacement:void 0===x?"right":x,ref:j,popupAlign:void 0===O?{}:O,getPopupContainer:Z,onPopupVisibleChange:b,afterPopupVisibleChange:y,popupTransitionName:w,popupAnimation:_,popupMotion:k,defaultPopupVisible:C,autoDestroy:void 0!==E&&E,mouseLeaveDelay:void 0===u?.1:u,popupStyle:p,mouseEnterDelay:void 0===c?0:c,arrow:void 0===S||S},P),g)})},31131:function(t,e){e.Z=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==t?void 0:t.substr(0,4))}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/231.2702779548b5145a.js b/pilot/server/static/_next/static/chunks/231.2702779548b5145a.js deleted file mode 100644 index d9944b665..000000000 --- a/pilot/server/static/_next/static/chunks/231.2702779548b5145a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[231],{97231:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return Y}});var t=a(85893),n=a(67294),s=a(41118),r=a(16789),i=a(80837),c=a(79172),o=a(30208),d=a(40911),u=a(51610),m=a(48665),h=a(577),x=a(1375),p=e=>{let l=(0,n.useReducer)((e,l)=>({...e,...l}),{...e});return l},v=a(27790),g=a(41468),f=a(83454),b=e=>{let{queryAgentURL:l,channel:a,queryBody:t,initHistory:s=[]}=e,[r,i]=p({history:s}),{refreshDialogList:c,chatId:o,model:d}=(0,n.useContext)(g.p),u=new AbortController;(0,n.useEffect)(()=>{s&&s.length&&i({history:s})},[s]);let m=async(e,n)=>{if(!e)return;let s=[...r.history,{role:"human",context:e}],m=s.length;i({history:s});let h={conv_uid:o,...n,...t,user_input:e,channel:a};if(!(null==h?void 0:h.conv_uid)){v.ZP.error("conv_uid 不存在,请刷新后重试");return}try{await (0,x.L)("".concat(f.env.API_BASE_URL?f.env.API_BASE_URL:"").concat("/api"+l),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(h),signal:u.signal,openWhenHidden:!0,async onopen(e){if(s.length<=1){var l;c();let e=new URLSearchParams(window.location.search);e.delete("initMessage"),null===(l=window.history)||void 0===l||l.replaceState(null,"","?".concat(e.toString()))}(!e.ok||e.headers.get("content-type")!==x.a)&&e.status>=400&&e.status<500&&429!==e.status&&e.status},onclose(){console.log("onclose")},onerror(e){throw console.log("onerror"),Error(e)},onmessage:e=>{var l,a,t;if(e.data=null===(l=e.data)||void 0===l?void 0:l.replaceAll("\\n","\n"),"[DONE]"===e.data);else if(null===(a=e.data)||void 0===a?void 0:a.startsWith("[ERROR]"))i({history:[...s,{role:"view",context:null===(t=e.data)||void 0===t?void 0:t.replace("[ERROR]","")}]});else{let l=[...s];e.data&&((null==l?void 0:l[m])?l[m].context="".concat(e.data):l.push({role:"view",context:e.data,model_name:d}),i({history:l}))}}})}catch(e){console.log(e),i({history:[...s,{role:"view",context:"Sorry, We meet some error, please try agin later."}]})}};return{handleChatSubmit:m,history:r.history}},j=a(24339),y=a(14986),w=a(30322),N=a(75913),Z=a(14553),_=a(48699),k=a(13245),C=a(43458),S=a(47556),P=a(87536),B=a(39332),E=a(96486),L=a.n(E),R=a(99513),O=a(2166),U=a(50228),A=a(87547),z=a(35576),F=a(56986),I=a(93179),M=a(81799);let q={overrides:{code:e=>{let{children:l,className:a}=e;return(0,t.jsx)(I.Z,{language:"javascript",style:F.Z,children:l})},img:{props:{className:"my-2 !max-h-none"}},table:{props:{className:"my-2 border-collapse border border-slate-400 dark:border-slate-500 bg-white dark:bg-slate-800 text-sm shadow-sm"}},thead:{props:{className:"bg-slate-50 dark:bg-slate-700"}},th:{props:{className:"border border-slate-300 dark:border-slate-600 font-semibold !p-2 text-slate-900 dark:text-slate-200 !text-left"}},td:{props:{className:"border border-slate-300 dark:border-slate-700 !p-2 text-slate-500 dark:text-slate-400 !text-left"}}},wrapper:n.Fragment,namedCodesToUnicode:{amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xa0",quot:"“"}};var D=function(e){let{content:l,isChartChat:a,onLinkClick:n}=e,{context:s,model_name:r,role:i}=l,c="view"===i;return(0,t.jsxs)("div",{className:"overflow-x-auto w-full lg:w-4/5 xl:w-3/4 mx-auto flex px-2 py-2 sm:px-4 sm:py-6 rounded-xl ".concat(c?"bg-slate-100 dark:bg-[#353539]":""),children:[(0,t.jsx)("div",{className:"mr-2 flex items-center justify-center h-7 w-7 rounded-full text-lg sm:mr-4",children:c?(0,M.A)(r)||(0,t.jsx)(U.Z,{}):(0,t.jsx)(A.Z,{})}),(0,t.jsxs)("div",{className:"flex-1 items-center text-md leading-7",children:[a&&"object"==typeof s&&(0,t.jsxs)(t.Fragment,{children:["[".concat(s.template_name,"]: "),(0,t.jsx)(O.Z,{sx:{color:"#1677ff"},component:"button",onClick:n,children:s.template_introduce||"More Details"})]}),"string"==typeof s&&(0,t.jsx)(z.Z,{options:q,children:s.replaceAll("\\n","\n")})]})]})},V=e=>{let{messages:l,onSubmit:a,paramsObj:s={},clearInitMessage:r}=e,i=(0,B.useSearchParams)(),c=i&&i.get("initMessage"),o=i&&i.get("spaceNameOriginal"),{currentDialogue:d,scene:u,model:m}=(0,n.useContext)(g.p),h="chat_dashboard"===u,[x,p]=(0,n.useState)(!1),[v,f]=(0,n.useState)(""),[b,E]=(0,n.useState)(!1),[O,U]=(0,n.useState)(),[A,z]=(0,n.useState)(l),[F,I]=(0,n.useState)(""),q=(0,n.useRef)(null),V=(0,n.useMemo)(()=>Object.entries(s).map(e=>{let[l,a]=e;return{key:l,value:a}}),[s]),W=(0,P.cI)(),T=async e=>{let{query:l}=e;try{p(!0),W.reset(),await a(l,{select_param:"chat_excel"===u?null==d?void 0:d.select_param:s[v]})}catch(e){}finally{p(!1)}},H=async()=>{try{var e;let l=new URLSearchParams(window.location.search),a=l.get("initMessage");l.delete("initMessage"),null===(e=window.history)||void 0===e||e.replaceState(null,"","?".concat(l.toString())),await T({query:a})}catch(e){console.log(e)}finally{null==r||r()}},J=e=>{let l=e;try{l=JSON.parse(e)}catch(e){console.log(e)}return l};return(0,n.useEffect)(()=>{q.current&&q.current.scrollTo(0,q.current.scrollHeight)},[null==l?void 0:l.length]),(0,n.useEffect)(()=>{c&&l.length<=0&&H()},[H,c,l.length]),(0,n.useEffect)(()=>{(null==V?void 0:V.length)&&f(o||V[0].value)},[V,null==V?void 0:V.length,o]),(0,n.useEffect)(()=>{if(h){let e=L().cloneDeep(l);e.forEach(e=>{(null==e?void 0:e.role)==="view"&&"string"==typeof(null==e?void 0:e.context)&&(e.context=J(null==e?void 0:e.context))}),z(e.filter(e=>["view","human"].includes(e.role)))}else z(l.filter(e=>["view","human"].includes(e.role)))},[h,l]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:q,className:"flex flex-1 overflow-y-auto pb-8 w-full flex-col",children:(0,t.jsx)("div",{className:"flex items-center flex-1 flex-col text-sm leading-6 text-slate-900 dark:text-slate-300 sm:text-base sm:leading-7",children:null==A?void 0:A.map((e,l)=>(0,t.jsx)(D,{content:e,isChartChat:h,onLinkClick:()=>{E(!0),U(l),I(JSON.stringify(null==e?void 0:e.context,null,2))}},l))})}),(0,t.jsx)("div",{className:"relative after:absolute after:-top-8 after:h-8 after:w-full after:bg-gradient-to-t after:from-white after:to-transparent dark:after:from-[#212121]",children:(0,t.jsxs)("form",{className:"flex flex-wrap w-full lg:w-4/5 xl:w-3/4 mx-auto py-2 sm:pt-6 sm:pb-10",onSubmit:e=>{e.stopPropagation(),W.handleSubmit(T)(e)},children:[!!(null==V?void 0:V.length)&&(0,t.jsx)("div",{className:"flex items-center max-w-[6rem] sm:max-w-[12rem] h-12 mr-2 mb-2",children:(0,t.jsx)(y.Z,{className:"h-full w-full",value:v,onChange:(e,l)=>{f(null!=l?l:"")},children:V.map(e=>(0,t.jsx)(w.Z,{value:e.value,children:e.key},e.key))})}),(0,t.jsx)(N.ZP,{disabled:"chat_excel"===u&&!(null==d?void 0:d.select_param),className:"flex-1 h-12 min-w-min",variant:"outlined",startDecorator:(0,M.A)(m||""),endDecorator:(0,t.jsx)(Z.ZP,{type:"submit",children:x?(0,t.jsx)(_.Z,{}):(0,t.jsx)(j.Z,{})}),...W.register("query")})]})}),(0,t.jsx)(k.Z,{open:b,onClose:()=>{E(!1)},children:(0,t.jsxs)(C.Z,{className:"w-1/2 h-[600px] flex items-center justify-center","aria-labelledby":"variant-modal-title","aria-describedby":"variant-modal-description",children:[(0,t.jsx)(R.Z,{className:"w-full h-[500px]",language:"json",value:F}),(0,t.jsx)(S.Z,{variant:"outlined",className:"w-full mt-2",onClick:()=>E(!1),children:"OK"})]})})]})},W=a(63012);function T(e){let{key:l,chart:a}=e;return(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)(s.Z,{className:"h-full",sx:{background:"transparent"},children:(0,t.jsxs)(o.Z,{className:"h-full",children:[(0,t.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:a.chart_name}),(0,t.jsx)(d.ZP,{gutterBottom:!0,level:"body3",children:a.chart_desc}),(0,t.jsx)("div",{className:"h-[300px]",children:(0,t.jsx)(W.Chart,{autoFit:!0,data:a.values,children:(0,t.jsx)(W.LineAdvance,{shape:"smooth",point:!0,area:!0,position:"name*value",color:"type"})})})]})})},l)}function H(e){let{key:l,chart:a}=e;return(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)(s.Z,{className:"h-full",sx:{background:"transparent"},children:(0,t.jsxs)(o.Z,{className:"h-full",children:[(0,t.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:a.chart_name}),(0,t.jsx)(d.ZP,{gutterBottom:!0,level:"body3",children:a.chart_desc}),(0,t.jsx)("div",{className:"h-[300px]",children:(0,t.jsxs)(W.Chart,{autoFit:!0,data:a.values,children:[(0,t.jsx)(W.Interval,{position:"name*value",style:{lineWidth:3,stroke:(0,W.getTheme)().colors10[0]}}),(0,t.jsx)(W.Tooltip,{shared:!0})]})})]})})},l)}var J=a(61685);function $(e){var l,a;let{key:n,chart:r}=e,i=(0,E.groupBy)(r.values,"type");return(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)(s.Z,{className:"h-full overflow-auto",sx:{background:"transparent"},children:(0,t.jsxs)(o.Z,{className:"h-full",children:[(0,t.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:r.chart_name}),"\xb7",(0,t.jsx)(d.ZP,{gutterBottom:!0,level:"body3",children:r.chart_desc}),(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsxs)(J.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,t.jsx)("thead",{children:(0,t.jsx)("tr",{children:Object.keys(i).map(e=>(0,t.jsx)("th",{children:e},e))})}),(0,t.jsx)("tbody",{children:null===(l=Object.values(i))||void 0===l?void 0:null===(a=l[0])||void 0===a?void 0:a.map((e,l)=>{var a;return(0,t.jsx)("tr",{children:null===(a=Object.keys(i))||void 0===a?void 0:a.map(e=>{var a;return(0,t.jsx)("td",{children:(null==i?void 0:null===(a=i[e])||void 0===a?void 0:a[l].value)||""},e)})},l)})})]})})]})})},n)}var G=a(43893),K=a(45247),Q=a(79716);let X=()=>(0,t.jsxs)(s.Z,{className:"h-full w-full flex bg-transparent",children:[(0,t.jsx)(r.Z,{animation:"wave",variant:"text",level:"body2"}),(0,t.jsx)(r.Z,{animation:"wave",variant:"text",level:"body2"}),(0,t.jsx)(i.Z,{ratio:"21/9",className:"flex-1",sx:{["& .".concat(c.Z.content)]:{height:"100%"}},children:(0,t.jsx)(r.Z,{variant:"overlay",className:"h-full"})})]});var Y=()=>{(0,B.useSearchParams)();let[e,l]=(0,n.useState)(!1),[a,r]=(0,n.useState)(),{refreshDialogList:i,scene:c,chatId:x,model:p,setModel:v}=(0,n.useContext)(g.p),{data:f=[],run:j}=(0,h.Z)(async()=>{l(!0);let[,e]=await (0,G.Vx)((0,G.$i)(x));l(!1);let a=(e||[]).filter(e=>"view"===e.role).slice(-1)[0];return(null==a?void 0:a.model_name)&&v(a.model_name),null!=e?e:[]},{ready:!!x,refreshDeps:[x]}),{history:y,handleChatSubmit:w}=b({queryAgentURL:"/v1/chat/completions",queryBody:{conv_uid:x,chat_mode:c||"chat_normal",model_name:p},initHistory:f}),{data:N={}}=(0,h.Z)(async()=>{let[,e]=await (0,G.Vx)((0,G.vD)(c));return null!=e?e:{}},{ready:!!c,refreshDeps:[x,c]});(0,n.useEffect)(()=>{if(y&&!(y.length<1))try{var e;let l=null==y?void 0:null===(e=y[y.length-1])||void 0===e?void 0:e.context,a=JSON.parse(l);r((null==a?void 0:a.template_name)==="report"?null==a?void 0:a.charts:void 0)}catch(e){r(void 0)}},[y]);let Z=(0,n.useMemo)(()=>{if(a){let e=[],l=null==a?void 0:a.filter(e=>"IndicatorValue"===e.chart_type);l.length>0&&e.push({charts:l,type:"IndicatorValue"});let t=null==a?void 0:a.filter(e=>"IndicatorValue"!==e.chart_type),n=t.length,s=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][n].forEach(l=>{if(l>0){let a=t.slice(s,s+l);s+=l,e.push({charts:a})}}),e}},[a]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Q.Z,{refreshHistory:j,modelChange:e=>{v(e)}}),(0,t.jsx)(K.Z,{visible:e}),(0,t.jsxs)("div",{className:"px-4 flex flex-1 overflow-hidden",children:[a&&(0,t.jsx)("div",{className:"w-3/4",children:(0,t.jsx)("div",{className:"flex flex-col gap-3 h-full",children:null==Z?void 0:Z.map((e,l)=>(0,t.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex gap-3":""),children:e.charts.map(e=>"IndicatorValue"===e.chart_type?(0,t.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)(s.Z,{sx:{background:"transparent"},children:(0,t.jsxs)(o.Z,{className:"justify-around",children:[(0,t.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,t.jsx)(d.ZP,{children:e.value})]})})},e.name))},e.chart_uid):"LineChart"===e.chart_type?(0,t.jsx)(T,{chart:e},e.chart_uid):"BarChart"===e.chart_type?(0,t.jsx)(H,{chart:e},e.chart_uid):"Table"===e.chart_type?(0,t.jsx)($,{chart:e},e.chart_uid):void 0)},"chart_row_".concat(l)))})}),!a&&"chat_dashboard"===c&&(0,t.jsx)("div",{className:"w-3/4 p-6",children:(0,t.jsx)("div",{className:"flex flex-col gap-3 h-full",children:(0,t.jsxs)(u.Z,{container:!0,spacing:2,sx:{flexGrow:1},children:[(0,t.jsx)(u.Z,{xs:8,children:(0,t.jsx)(m.Z,{className:"h-full w-full",sx:{display:"flex",gap:2},children:(0,t.jsx)(X,{})})}),(0,t.jsx)(u.Z,{xs:4,children:(0,t.jsx)(X,{})}),(0,t.jsx)(u.Z,{xs:4,children:(0,t.jsx)(X,{})}),(0,t.jsx)(u.Z,{xs:8,children:(0,t.jsx)(X,{})})]})})}),(0,t.jsx)("div",{className:"".concat("chat_dashboard"===c?"w-1/3":"w-full"," flex flex-1 flex-col h-full"),children:(0,t.jsx)(V,{clearInitMessage:async()=>{await i()},messages:y,onSubmit:w,paramsObj:N})})]})]})}},79716:function(e,l,a){"use strict";a.d(l,{Z:function(){return y}});var t=a(85893),n=a(67294),s=a(27790),r=a(94139),i=a(65170),c=a(71577),o=a(69814),d=a(49591),u=a(88484),m=a(29158),h=a(43893),x=a(41468),p=function(e){var l;let{convUid:a,chatMode:p,onComplete:v,...g}=e,[f,b]=(0,n.useState)(!1),[j,y]=(0,n.useState)([]),[w,N]=(0,n.useState)(),[Z,_]=(0,n.useState)(),{model:k}=(0,n.useContext)(x.p),C=async e=>{var l;if(!e){s.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(l=e.file.name)&&void 0!==l?l:"")){s.ZP.error("File type must be csv, xlsx or xls");return}y([e.file])},S=async()=>{b(!0),_("normal");try{let e=new FormData;e.append("doc_file",j[0]);let[l]=await (0,h.Vx)((0,h.qn)({convUid:a,chatMode:p,data:e,model:k,config:{timeout:36e5,onUploadProgress:e=>{let l=Math.ceil(e.loaded/(e.total||0)*100);N(l)}}}));if(l)return;s.ZP.success("success"),_("success"),null==v||v()}catch(e){_("exception"),s.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{b(!1)}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)(r.Z,{placement:"topLeft",title:"Files cannot be changed after upload",children:(0,t.jsx)(i.default,{disabled:f,className:"mr-1",beforeUpload:()=>!1,fileList:j,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:C,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,t.jsx)(t.Fragment,{}),...g,children:(0,t.jsx)(c.ZP,{className:"flex justify-center items-center dark:bg-[#4e4f56] dark:text-gray-200",disabled:f,icon:(0,t.jsx)(d.Z,{}),children:"Select File"})})}),(0,t.jsx)(c.ZP,{type:"primary",loading:f,className:"flex justify-center items-center dark:text-white",disabled:!j.length,icon:(0,t.jsx)(u.Z,{}),onClick:S,children:f?100===w?"Analysis":"Uploading":"Upload"}),!!j.length&&(0,t.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",children:[(0,t.jsx)(m.Z,{className:"mr-2"}),(0,t.jsx)("span",{children:null===(l=j[0])||void 0===l?void 0:l.name})]})]}),"number"==typeof w&&(0,t.jsx)(o.Z,{className:"mb-0 absolute",percent:w,size:"small",status:Z})]})},v=function(e){let{onComplete:l}=e,{currentDialogue:a,scene:s,chatId:r}=(0,n.useContext)(x.p);return"chat_excel"!==s?null:(0,t.jsx)("div",{className:"max-w-md h-full relative",children:a?(0,t.jsxs)("div",{className:"flex overflow-hidden rounded",children:[(0,t.jsx)("div",{className:"flex items-center justify-center px-3 py-2 bg-gray-600",children:(0,t.jsx)(m.Z,{className:"text-white"})}),(0,t.jsx)("div",{className:"bg-gray-100 px-3 py-2 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:a.select_param})]}):(0,t.jsx)(p,{convUid:r,chatMode:s,onComplete:l})})},g=a(25709),f=a(43927);function b(){let{isContract:e,setIsContract:l,scene:a}=(0,n.useContext)(x.p),s=a&&["chat_with_db_execute","chat_dashboard"].includes(a);return s?(0,t.jsx)("div",{className:"leading-[3rem] text-right h-12 flex justify-center",children:(0,t.jsx)("div",{className:"flex items-center cursor-pointer",children:(0,t.jsxs)("div",{className:"relative w-56 h-10 mx-auto p-2 flex justify-center items-center bg-[#ece9e0] rounded-3xl model-tab dark:text-violet-600 z-10 ".concat(e?"editor-tab":""),children:[(0,t.jsxs)("div",{className:"z-10 w-[50%] text-center cursor-pointer",onClick:()=>{l(!1)},children:[(0,t.jsx)("span",{children:"Preview"}),(0,t.jsx)(f.Z,{className:"ml-1"})]}),(0,t.jsxs)("div",{className:"z-10 w-[50%] text-center cursor-pointer",onClick:()=>{l(!0)},children:[(0,t.jsx)("span",{children:"Editor"}),(0,t.jsx)(g.Z,{className:"ml-1"})]})]})})}):null}a(23293);var j=a(81799),y=function(e){let{refreshHistory:l,modelChange:a}=e,{refreshDialogList:s,model:r}=(0,n.useContext)(x.p);return(0,t.jsxs)("div",{className:"w-full py-4 flex items-center justify-center border-b border-gray-100 gap-5",children:[(0,t.jsx)(j.Z,{size:"sm",onChange:a}),(0,t.jsx)(v,{onComplete:()=>{null==s||s(),null==l||l()}}),(0,t.jsx)(b,{})]})}},81799:function(e,l,a){"use strict";a.d(l,{A:function(){return x}});var t=a(85893),n=a(41468),s=a(14986),r=a(30322),i=a(94184),c=a.n(i),o=a(25675),d=a.n(o),u=a(67294),m=a(67421);let h={proxyllm:{label:"Proxy LLM",icon:"/models/chatgpt.png"},"flan-t5-base":{label:"flan-t5-base",icon:"/models/google.png"},"vicuna-13b":{label:"vicuna-13b",icon:"/models/vicuna.jpeg"},"vicuna-7b":{label:"vicuna-7b",icon:"/models/vicuna.jpeg"},"vicuna-13b-v1.5":{label:"vicuna-13b-v1.5",icon:"/models/vicuna.jpeg"},"vicuna-7b-v1.5":{label:"vicuna-7b-v1.5",icon:"/models/vicuna.jpeg"},"codegen2-1b":{label:"codegen2-1B",icon:"/models/vicuna.jpeg"},"codet5p-2b":{label:"codet5p-2b",icon:"/models/vicuna.jpeg"},"chatglm-6b-int4":{label:"chatglm-6b-int4",icon:"/models/chatglm.png"},"chatglm-6b":{label:"chatglm-6b",icon:"/models/chatglm.png"},"chatglm2-6b":{label:"chatglm2-6b",icon:"/models/chatglm.png"},"chatglm2-6b-int4":{label:"chatglm2-6b-int4",icon:"/models/chatglm.png"},"guanaco-33b-merged":{label:"guanaco-33b-merged",icon:"/models/huggingface.svg"},"falcon-40b":{label:"falcon-40b",icon:"/models/falcon.jpeg"},"gorilla-7b":{label:"gorilla-7b",icon:"/models/gorilla.png"},"gptj-6b":{label:"ggml-gpt4all-j-v1.3-groovy.bin",icon:""},chatgpt_proxyllm:{label:"chatgpt_proxyllm",icon:"/models/chatgpt.png"},bard_proxyllm:{label:"bard_proxyllm",icon:"/models/bard.gif"},claude_proxyllm:{label:"claude_proxyllm",icon:"/models/claude.png"},wenxin_proxyllm:{label:"wenxin_proxyllm",icon:""},tongyi_proxyllm:{label:"tongyi_proxyllm",icon:"/models/qwen2.png"},zhipu_proxyllm:{label:"zhipu_proxyllm",icon:"/models/zhipu.png"},"llama-2-7b":{label:"Llama-2-7b-chat-hf",icon:"/models/llama.jpg"},"llama-2-13b":{label:"Llama-2-13b-chat-hf",icon:"/models/llama.jpg"},"llama-2-70b":{label:"Llama-2-70b-chat-hf",icon:"/models/llama.jpg"},"baichuan-13b":{label:"Baichuan-13B-Chat",icon:"/models/baichuan.png"},"baichuan-7b":{label:"baichuan-7b",icon:"/models/baichuan.png"},"baichuan2-7b":{label:"Baichuan2-7B-Chat",icon:"/models/baichuan.png"},"baichuan2-13b":{label:"Baichuan2-13B-Chat",icon:"/models/baichuan.png"},"wizardlm-13b":{label:"WizardLM-13B-V1.2",icon:"/models/wizardlm.png"},"llama-cpp":{label:"ggml-model-q4_0.bin",icon:"/models/huggingface.svg"}};function x(e){var l;return e?(0,t.jsx)(d(),{className:"rounded-full mr-2 border border-gray-200 object-contain bg-white",width:24,height:24,src:null===(l=h[e])||void 0===l?void 0:l.icon,alt:"llm"}):null}l.Z=function(e){let{size:l,onChange:a}=e,{t:i}=(0,m.$G)(),{modelList:o,model:d,scene:p}=(0,u.useContext)(n.p);return!o||o.length<=0?null:(0,t.jsx)("div",{className:c()({"w-48":"sm"===l||"md"===l||!l,"w-60":"lg"===l}),children:(0,t.jsx)(s.Z,{size:l||"sm",placeholder:i("choose_model"),value:d||"",renderValue:function(e){return e?(0,t.jsxs)(t.Fragment,{children:[x(e.value),e.label]}):null},onChange:(e,l)=>{l&&(null==a||a(l))},children:o.map(e=>{var l;return(0,t.jsxs)(r.Z,{value:e,children:[x(e),(null===(l=h[e])||void 0===l?void 0:l.label)||e]},"model_".concat(e))})})})}},99513:function(e,l,a){"use strict";a.d(l,{Z:function(){return o}});var t=a(85893),n=a(63764),s=a(94184),r=a.n(s),i=a(67294),c=a(36782);function o(e){let{className:l,value:a,language:s="mysql",onChange:o,thoughts:d}=e,u=(0,i.useMemo)(()=>"mysql"!==s?a:d&&d.length>0?(0,c.WU)("-- ".concat(d," \n").concat(a)):(0,c.WU)(a),[a,d]);return(0,t.jsx)(n.ZP,{className:r()(l),value:u,language:s,onChange:o,theme:"vs-dark",options:{minimap:{enabled:!1},wordWrap:"on"}})}},45247:function(e,l,a){"use strict";var t=a(85893),n=a(48699);l.Z=function(e){let{visible:l}=e;return l?(0,t.jsx)("div",{className:"absolute w-full h-full top-0 left-0 flex justify-center items-center z-10 bg-white dark:bg-black bg-opacity-50 dark:bg-opacity-50",children:(0,t.jsx)(n.Z,{variant:"plain"})}):null}},23293:function(){}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/262.b04d6367fec060a6.js b/pilot/server/static/_next/static/chunks/262.b04d6367fec060a6.js new file mode 100644 index 000000000..77626657d --- /dev/null +++ b/pilot/server/static/_next/static/chunks/262.b04d6367fec060a6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[262],{59370:function(e,t,l){l.r(t),l.d(t,{default:function(){return K}});var a=l(85893),s=l(67294),r=l(41118),n=l(16789),o=l(80837),i=l(79172),c=l(51610),d=l(48665),u=l(577),x=l(1375),h=e=>{let t=(0,s.useReducer)((e,t)=>({...e,...t}),{...e});return t},m=l(2453),f=l(41468),p=l(83454),v=e=>{let{queryAgentURL:t,channel:l,queryBody:a,initHistory:r=[]}=e,[n,o]=h({history:r}),{refreshDialogList:i,chatId:c,model:d}=(0,s.useContext)(f.p),u=new AbortController;(0,s.useEffect)(()=>{r&&r.length&&o({history:r})},[r]);let v=async(e,s)=>{if(!e)return;let r=[...n.history,{role:"human",context:e}],h=r.length;o({history:r});let f={conv_uid:c,...s,...a,user_input:e,channel:l};if(!(null==f?void 0:f.conv_uid)){m.ZP.error("conv_uid 不存在,请刷新后重试");return}try{await (0,x.L)("".concat(p.env.API_BASE_URL?p.env.API_BASE_URL:"").concat("/api"+t),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(f),signal:u.signal,openWhenHidden:!0,async onopen(e){if(r.length<=1){var t;i();let e=new URLSearchParams(window.location.search);e.delete("initMessage"),null===(t=window.history)||void 0===t||t.replaceState(null,"","?".concat(e.toString()))}(!e.ok||e.headers.get("content-type")!==x.a)&&e.status>=400&&e.status<500&&429!==e.status&&e.status},onclose(){console.log("onclose")},onerror(e){throw console.log("onerror"),Error(e)},onmessage:e=>{var t,l,a;if(e.data=null===(t=e.data)||void 0===t?void 0:t.replaceAll("\\n","\n"),"[DONE]"===e.data);else if(null===(l=e.data)||void 0===l?void 0:l.startsWith("[ERROR]"))o({history:[...r,{role:"view",context:null===(a=e.data)||void 0===a?void 0:a.replace("[ERROR]","")}]});else{let t=[...r];e.data&&((null==t?void 0:t[h])?t[h].context="".concat(e.data):t.push({role:"view",context:e.data,model_name:d}),o({history:t}))}}})}catch(e){console.log(e),o({history:[...r,{role:"view",context:"Sorry, We meet some error, please try agin later."}]})}};return{handleChatSubmit:v,history:n.history}},g=l(24339),y=l(14986),w=l(30322),j=l(75913),b=l(14553),_=l(48699),Z=l(13245),N=l(43458),k=l(47556),S=l(87536),C=l(39332),E=l(96486),R=l.n(E),O=l(99513),A=l(2166),P=l(50228),D=l(87547),L=l(35576),M=l(56986),U=l(93179),q=l(81799),F=l(94184),H=l.n(F);let I={overrides:{code:e=>{let{children:t,className:l}=e;return(0,a.jsx)(U.Z,{language:"javascript",style:M.Z,children:t})},img:{props:{className:"my-2 !max-h-none"}},table:{props:{className:"my-2 border-collapse border border-slate-400 dark:border-slate-500 bg-white dark:bg-slate-800 text-sm shadow-sm"}},thead:{props:{className:"bg-slate-50 dark:bg-slate-700"}},th:{props:{className:"border border-slate-300 dark:border-slate-600 font-semibold !p-2 text-slate-900 dark:text-slate-200 !text-left"}},td:{props:{className:"border border-slate-300 dark:border-slate-700 !p-2 text-slate-500 dark:text-slate-400 !text-left"}}},wrapper:s.Fragment,namedCodesToUnicode:{amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xa0",quot:"“"}};var J=function(e){let{content:t,isChartChat:l,onLinkClick:r}=e,{context:n,model_name:o,role:i}=t,{scene:c}=(0,s.useContext)(f.p),d="view"===i;return(0,a.jsxs)("div",{className:H()("overflow-x-auto w-full flex px-2 sm:px-4 py-2 sm:py-6 rounded-xl",{"bg-slate-100 dark:bg-[#353539]":d,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(c)}),children:[(0,a.jsx)("div",{className:"mr-2 flex flex-shrink-0 items-center justify-center h-7 w-7 rounded-full text-lg sm:mr-4",children:d?(0,q.A)(o)||(0,a.jsx)(P.Z,{}):(0,a.jsx)(D.Z,{})}),(0,a.jsxs)("div",{className:"flex-1 items-center text-md leading-7",children:[l&&"object"==typeof n&&(0,a.jsxs)(a.Fragment,{children:["[".concat(n.template_name,"]: "),(0,a.jsx)(A.Z,{sx:{color:"#1677ff"},component:"button",onClick:r,children:n.template_introduce||"More Details"})]}),"string"==typeof n&&(0,a.jsx)(L.Z,{options:I,children:n.replaceAll("\\n","\n")})]})]})},T=e=>{let{messages:t,onSubmit:l,paramsObj:r={},clearInitMessage:n}=e,o=(0,C.useSearchParams)(),i=o&&o.get("initMessage"),c=o&&o.get("spaceNameOriginal"),{currentDialogue:d,scene:u,model:x}=(0,s.useContext)(f.p),h="chat_dashboard"===u,[m,p]=(0,s.useState)(!1),[v,E]=(0,s.useState)(""),[A,P]=(0,s.useState)(!1),[D,L]=(0,s.useState)(),[M,U]=(0,s.useState)(t),[F,I]=(0,s.useState)(""),T=(0,s.useRef)(null),B=(0,s.useMemo)(()=>Object.entries(r).map(e=>{let[t,l]=e;return{key:t,value:l}}),[r]),W=(0,S.cI)(),V=async e=>{let{query:t}=e;try{p(!0),W.reset(),await l(t,{select_param:"chat_excel"===u?null==d?void 0:d.select_param:r[v]})}catch(e){}finally{p(!1)}},z=async()=>{try{var e;let t=new URLSearchParams(window.location.search),l=t.get("initMessage");t.delete("initMessage"),null===(e=window.history)||void 0===e||e.replaceState(null,"","?".concat(t.toString())),await V({query:l})}catch(e){console.log(e)}finally{null==n||n()}},G=e=>{let t=e;try{t=JSON.parse(e)}catch(e){console.log(e)}return t};return(0,s.useEffect)(()=>{T.current&&T.current.scrollTo(0,T.current.scrollHeight)},[null==t?void 0:t.length]),(0,s.useEffect)(()=>{i&&t.length<=0&&z()},[z,i,t.length]),(0,s.useEffect)(()=>{(null==B?void 0:B.length)&&E(c||B[0].value)},[B,null==B?void 0:B.length,c]),(0,s.useEffect)(()=>{if(h){let e=R().cloneDeep(t);e.forEach(e=>{(null==e?void 0:e.role)==="view"&&"string"==typeof(null==e?void 0:e.context)&&(e.context=G(null==e?void 0:e.context))}),U(e.filter(e=>["view","human"].includes(e.role)))}else U(t.filter(e=>["view","human"].includes(e.role)))},[h,t]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:T,className:"flex flex-1 overflow-y-auto pb-8 w-full flex-col",children:(0,a.jsx)("div",{className:"flex items-center flex-1 flex-col text-sm leading-6 text-slate-900 dark:text-slate-300 sm:text-base sm:leading-7",children:null==M?void 0:M.map((e,t)=>(0,a.jsx)(J,{content:e,isChartChat:h,onLinkClick:()=>{P(!0),L(t),I(JSON.stringify(null==e?void 0:e.context,null,2))}},t))})}),(0,a.jsx)("div",{className:H()("relative after:absolute after:-top-8 after:h-8 after:w-full after:bg-gradient-to-t after:from-white after:to-transparent dark:after:from-[#212121]",{"cursor-not-allowed":"chat_excel"===u&&!(null==d?void 0:d.select_param)}),children:(0,a.jsxs)("form",{className:"flex flex-wrap w-full py-2 sm:pt-6 sm:pb-10",onSubmit:e=>{e.stopPropagation(),W.handleSubmit(V)(e)},children:[!!(null==B?void 0:B.length)&&(0,a.jsx)("div",{className:H()("flex flex-grow items-center h-12 mb-2",{"max-w-[6rem] sm:max-w-[12rem] mr-2":"chat_dashboard"!==u}),children:(0,a.jsx)(y.Z,{className:"h-full w-full",value:v,onChange:(e,t)=>{E(null!=t?t:"")},children:B.map(e=>(0,a.jsx)(w.Z,{value:e.value,children:e.key},e.key))})}),(0,a.jsx)(j.ZP,{disabled:"chat_excel"===u&&!(null==d?void 0:d.select_param),className:"flex-1 h-12 min-w-min",variant:"outlined",startDecorator:(0,q.A)(x||""),endDecorator:(0,a.jsx)(b.ZP,{type:"submit",children:m?(0,a.jsx)(_.Z,{}):(0,a.jsx)(g.Z,{})}),...W.register("query")})]})}),(0,a.jsx)(Z.Z,{open:A,onClose:()=>{P(!1)},children:(0,a.jsxs)(N.Z,{className:"w-1/2 h-[600px] flex items-center justify-center","aria-labelledby":"variant-modal-title","aria-describedby":"variant-modal-description",children:[(0,a.jsx)(O.Z,{className:"w-full h-[500px]",language:"json",value:F}),(0,a.jsx)(k.Z,{variant:"outlined",className:"w-full mt-2",onClick:()=>P(!1),children:"OK"})]})})]})},B=l(50489),W=l(45247),V=l(79716),z=l(39156);let G=()=>(0,a.jsxs)(r.Z,{className:"h-full w-full flex bg-transparent",children:[(0,a.jsx)(n.Z,{animation:"wave",variant:"text",level:"body2"}),(0,a.jsx)(n.Z,{animation:"wave",variant:"text",level:"body2"}),(0,a.jsx)(o.Z,{ratio:"21/9",className:"flex-1",sx:{["& .".concat(i.Z.content)]:{height:"100%"}},children:(0,a.jsx)(n.Z,{variant:"overlay",className:"h-full"})})]});var K=()=>{let[e,t]=(0,s.useState)(!1),[l,r]=(0,s.useState)(),{refreshDialogList:n,scene:o,chatId:i,model:x,setModel:h}=(0,s.useContext)(f.p),{data:m=[],run:p}=(0,u.Z)(async()=>{t(!0);let[,e]=await (0,B.Vx)((0,B.$i)(i));t(!1);let l=(e||[]).filter(e=>"view"===e.role).slice(-1)[0];return(null==l?void 0:l.model_name)&&h(l.model_name),null!=e?e:[]},{ready:!!i,refreshDeps:[i]}),{history:g,handleChatSubmit:y}=v({queryAgentURL:"/v1/chat/completions",queryBody:{conv_uid:i,chat_mode:o||"chat_normal",model_name:x},initHistory:m}),{data:w={}}=(0,u.Z)(async()=>{let[,e]=await (0,B.Vx)((0,B.vD)(o));return null!=e?e:{}},{ready:!!o,refreshDeps:[i,o]});return(0,s.useEffect)(()=>{if(g&&!(g.length<1))try{var e;let t=null==g?void 0:null===(e=g[g.length-1])||void 0===e?void 0:e.context,l=JSON.parse(t);r((null==l?void 0:l.template_name)==="report"?null==l?void 0:l.charts:void 0)}catch(e){r(void 0)}},[g]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(V.Z,{refreshHistory:p,modelChange:e=>{h(e)}}),(0,a.jsx)(W.Z,{visible:e}),(0,a.jsxs)("div",{className:"px-4 flex flex-1 overflow-hidden",children:[(0,a.jsx)(z.Z,{chartsData:l}),!l&&"chat_dashboard"===o&&(0,a.jsx)("div",{className:"w-3/4 p-6",children:(0,a.jsx)("div",{className:"flex flex-col gap-3 h-full",children:(0,a.jsxs)(c.Z,{container:!0,spacing:2,sx:{flexGrow:1},children:[(0,a.jsx)(c.Z,{xs:8,children:(0,a.jsx)(d.Z,{className:"h-full w-full",sx:{display:"flex",gap:2},children:(0,a.jsx)(G,{})})}),(0,a.jsx)(c.Z,{xs:4,children:(0,a.jsx)(G,{})}),(0,a.jsx)(c.Z,{xs:4,children:(0,a.jsx)(G,{})}),(0,a.jsx)(c.Z,{xs:8,children:(0,a.jsx)(G,{})})]})})}),(0,a.jsx)("div",{className:H()("flex flex-1 flex-col h-full px-8 w-full",{"w-1/3 pl-4 px-0 py-0":"chat_dashboard"===o}),children:(0,a.jsx)(T,{clearInitMessage:async()=>{await n()},messages:g,onSubmit:y,paramsObj:w})})]})]})}},45247:function(e,t,l){var a=l(85893),s=l(48699);t.Z=function(e){let{visible:t}=e;return t?(0,a.jsx)("div",{className:"absolute w-full h-full top-0 left-0 flex justify-center items-center z-10 bg-white dark:bg-black bg-opacity-50 dark:bg-opacity-50",children:(0,a.jsx)(s.Z,{variant:"plain"})}):null}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/305.46bd8fe7becf4074.js b/pilot/server/static/_next/static/chunks/305.46bd8fe7becf4074.js new file mode 100644 index 000000000..a630acc5a --- /dev/null +++ b/pilot/server/static/_next/static/chunks/305.46bd8fe7becf4074.js @@ -0,0 +1,10 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[305],{27015:function(e,t,n){var o=n(64836);t.Z=void 0;var r=o(n(64938)),a=n(85893),i=(0,r.default)((0,a.jsx)("path",{d:"M14 2H4c-1.11 0-2 .9-2 2v10h2V4h10V2zm4 4H8c-1.11 0-2 .9-2 2v10h2V8h10V6zm2 4h-8c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2z"}),"AutoAwesomeMotion");t.Z=i},61685:function(e,t,n){n.d(t,{Z:function(){return C}});var o=n(63366),r=n(87462),a=n(67294),i=n(86010),d=n(14142),l=n(94780),s=n(20407),c=n(78653),p=n(74312),u=n(26821);function f(e){return(0,u.d6)("MuiTable",e)}(0,u.sI)("MuiTable",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","stickyHeader","stickyFooter","noWrap","hoverRow","borderAxisNone","borderAxisX","borderAxisXBetween","borderAxisY","borderAxisYBetween","borderAxisBoth","borderAxisBothBetween"]);var h=n(40911),g=n(30220),v=n(85893);let y=["className","component","children","borderAxis","hoverRow","noWrap","size","variant","color","stripe","stickyHeader","stickyFooter","slots","slotProps"],b=e=>{let{size:t,variant:n,color:o,borderAxis:r,stickyHeader:a,stickyFooter:i,noWrap:s,hoverRow:c}=e,p={root:["root",a&&"stickyHeader",i&&"stickyFooter",s&&"noWrap",c&&"hoverRow",r&&`borderAxis${(0,d.Z)(r)}`,n&&`variant${(0,d.Z)(n)}`,o&&`color${(0,d.Z)(o)}`,t&&`size${(0,d.Z)(t)}`]};return(0,l.Z)(p,f,{})},m={getColumnExceptFirst:()=>"& tr > *:not(:first-of-type), & tr > th + td, & tr > td + th",getCell:()=>"& th, & td",getHeadCell:()=>"& th",getHeaderCell:()=>"& thead th",getHeaderCellOfRow:e=>`& thead tr:nth-of-type(${e}) th`,getBottomHeaderCell:()=>"& thead th:not([colspan])",getHeaderNestedFirstColumn:()=>"& thead tr:not(:first-of-type) th:not([colspan]):first-of-type",getDataCell:()=>"& td",getDataCellExceptLastRow:()=>"& tr:not(:last-of-type) > td",getBodyCellExceptLastRow(){return`${this.getDataCellExceptLastRow()}, & tr:not(:last-of-type) > th[scope="row"]`},getBodyCellOfRow:e=>"number"==typeof e&&e<0?`& tbody tr:nth-last-of-type(${Math.abs(e)}) td, & tbody tr:nth-last-of-type(${Math.abs(e)}) th[scope="row"]`:`& tbody tr:nth-of-type(${e}) td, & tbody tr:nth-of-type(${e}) th[scope="row"]`,getBodyRow:e=>void 0===e?"& tbody tr":`& tbody tr:nth-of-type(${e})`,getFooterCell:()=>"& tfoot th, & tfoot td",getFooterFirstRowCell:()=>"& tfoot tr:not(:last-of-type) th, & tfoot tr:not(:last-of-type) td"},k=(0,p.Z)("table",{name:"JoyTable",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,o,a,i,d,l,s;let c=null==(n=e.variants[t.variant])?void 0:n[t.color];return[(0,r.Z)({"--Table-headerUnderlineThickness":"2px","--TableCell-borderColor":null!=(o=null==c?void 0:c.borderColor)?o:e.vars.palette.divider,"--TableCell-headBackground":`var(--Sheet-background, ${e.vars.palette.background.surface})`},"sm"===t.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 32px)","--TableCell-paddingX":"0.25rem","--TableCell-paddingY":"0.25rem",fontSize:e.vars.fontSize.xs},"md"===t.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 40px)","--TableCell-paddingX":"0.5rem","--TableCell-paddingY":"0.375rem",fontSize:e.vars.fontSize.sm},"lg"===t.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 48px)","--TableCell-paddingX":"0.75rem","--TableCell-paddingY":"0.5rem",fontSize:e.vars.fontSize.md},{tableLayout:"fixed",width:"100%",borderSpacing:"0px",borderCollapse:"separate",borderRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))",color:e.vars.palette.text.primary},null==(a=e.variants[t.variant])?void 0:a[t.color],{"& caption":{color:e.vars.palette.text.tertiary,padding:"calc(2 * var(--TableCell-paddingY)) var(--TableCell-paddingX)"},[m.getDataCell()]:(0,r.Z)({padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",height:"var(--unstable_TableCell-height)",borderColor:"var(--TableCell-borderColor)",backgroundColor:"var(--TableCell-dataBackground)"},t.noWrap&&{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}),[m.getHeadCell()]:{textAlign:"left",padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",backgroundColor:"var(--TableCell-headBackground)",height:"var(--unstable_TableCell-height)",fontWeight:e.vars.fontWeight.lg,borderColor:"var(--TableCell-borderColor)",color:e.vars.palette.text.secondary,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},[m.getHeaderCell()]:{verticalAlign:"bottom","&:first-of-type":{borderTopLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderTopRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}},"& tfoot tr > *":{backgroundColor:`var(--TableCell-footBackground, ${e.vars.palette.background.level1})`,"&:first-of-type":{borderBottomLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderBottomRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}}}),((null==(i=t.borderAxis)?void 0:i.startsWith("x"))||(null==(d=t.borderAxis)?void 0:d.startsWith("both")))&&{[m.getHeaderCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[m.getBottomHeaderCell()]:{borderBottomWidth:"var(--Table-headerUnderlineThickness)",borderBottomStyle:"solid"},[m.getBodyCellExceptLastRow()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[m.getFooterCell()]:{borderTopWidth:1,borderTopStyle:"solid"}},((null==(l=t.borderAxis)?void 0:l.startsWith("y"))||(null==(s=t.borderAxis)?void 0:s.startsWith("both")))&&{[`${m.getColumnExceptFirst()}, ${m.getHeaderNestedFirstColumn()}`]:{borderLeftWidth:1,borderLeftStyle:"solid"}},("x"===t.borderAxis||"both"===t.borderAxis)&&{[m.getHeaderCellOfRow(1)]:{borderTopWidth:1,borderTopStyle:"solid"},[m.getBodyCellOfRow(-1)]:{borderBottomWidth:1,borderBottomStyle:"solid"},[m.getFooterCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"}},("y"===t.borderAxis||"both"===t.borderAxis)&&{"& tr > *:first-of-type":{borderLeftWidth:1,borderLeftStyle:"solid"},"& tr > *:last-of-type:not(:first-of-type)":{borderRightWidth:1,borderRightStyle:"solid"}},t.stripe&&{[m.getBodyRow(t.stripe)]:{background:`var(--TableRow-stripeBackground, ${e.vars.palette.background.level1})`,color:e.vars.palette.text.primary}},t.hoverRow&&{[m.getBodyRow()]:{"&:hover":{background:`var(--TableRow-hoverBackground, ${e.vars.palette.background.level2})`}}},t.stickyHeader&&{[m.getHeaderCell()]:{position:"sticky",top:0,zIndex:e.vars.zIndex.table},[m.getHeaderCellOfRow(2)]:{top:"var(--unstable_TableCell-height)"}},t.stickyFooter&&{[m.getFooterCell()]:{position:"sticky",bottom:0,zIndex:e.vars.zIndex.table,color:e.vars.palette.text.secondary,fontWeight:e.vars.fontWeight.lg},[m.getFooterFirstRowCell()]:{bottom:"var(--unstable_TableCell-height)"}}]}),x=a.forwardRef(function(e,t){let n=(0,s.Z)({props:e,name:"JoyTable"}),{className:a,component:d,children:l,borderAxis:p="xBetween",hoverRow:u=!1,noWrap:f=!1,size:m="md",variant:x="plain",color:C="neutral",stripe:K,stickyHeader:N=!1,stickyFooter:E=!1,slots:S={},slotProps:w={}}=n,D=(0,o.Z)(n,y),{getColor:Z}=(0,c.VT)(x),$=Z(e.color,C),T=(0,r.Z)({},n,{borderAxis:p,hoverRow:u,noWrap:f,component:d,size:m,color:$,variant:x,stripe:K,stickyHeader:N,stickyFooter:E}),O=b(T),P=(0,r.Z)({},D,{component:d,slots:S,slotProps:w}),[R,L]=(0,g.Z)("root",{ref:t,className:(0,i.Z)(O.root,a),elementType:k,externalForwardedProps:P,ownerState:T});return(0,v.jsx)(h.eu.Provider,{value:!0,children:(0,v.jsx)(R,(0,r.Z)({},L,{children:l}))})});var C=x},63520:function(e,t,n){n.d(t,{Z:function(){return e8}});var o,r,a=n(87462),i=n(4942),d=n(71002),l=n(1413),s=n(74902),c=n(15671),p=n(43144),u=n(97326),f=n(32531),h=n(73568),g=n(67294),v=n(15105),y=n(80334),b=n(64217),m=n(94184),k=n.n(m),x=g.createContext(null),C=n(45987),K=g.memo(function(e){for(var t,n=e.prefixCls,o=e.level,r=e.isStart,a=e.isEnd,d="".concat(n,"-indent-unit"),l=[],s=0;s1&&void 0!==arguments[1]?arguments[1]:null;return n.map(function(p,u){for(var f,h=w(o?o.pos:"0",u),g=D(p[a],h),v=0;v1&&void 0!==arguments[1]?arguments[1]:{},h=f.initWrapper,g=f.processEntity,v=f.onProcessFinished,y=f.externalGetKey,b=f.childrenPropName,m=f.fieldNames,k=arguments.length>2?arguments[2]:void 0,x={},C={},K={posEntities:x,keyEntities:C};return h&&(K=h(K)||K),t=function(e){var t=e.node,n=e.index,o=e.pos,r=e.key,a=e.parentPos,i=e.level,d={node:t,nodes:e.nodes,index:n,key:r,pos:o,level:i},l=D(r,o);x[o]=d,C[l]=d,d.parent=x[a],d.parent&&(d.parent.children=d.parent.children||[],d.parent.children.push(d)),g&&g(d,K)},n={externalGetKey:y||k,childrenPropName:b,fieldNames:m},a=(r=("object"===(0,d.Z)(n)?n:{externalGetKey:n})||{}).childrenPropName,i=r.externalGetKey,c=(l=Z(r.fieldNames)).key,p=l.children,u=a||p,i?"string"==typeof i?o=function(e){return e[i]}:"function"==typeof i&&(o=function(e){return i(e)}):o=function(e,t){return D(e[c],t)},function n(r,a,i,d){var l=r?r[u]:e,c=r?w(i.pos,a):"0",p=r?[].concat((0,s.Z)(d),[r]):[];if(r){var f=o(r,c);t({node:r,index:a,pos:c,key:f,parentPos:i.node?i.pos:null,level:i.level+1,nodes:p})}l&&l.forEach(function(e,t){n(e,t,{node:r,pos:c,level:i?i.level+1:-1},p)})}(null),v&&v(K),K}function P(e,t){var n=t.expandedKeys,o=t.selectedKeys,r=t.loadedKeys,a=t.loadingKeys,i=t.checkedKeys,d=t.halfCheckedKeys,l=t.dragOverNodeKey,s=t.dropPosition,c=t.keyEntities[e];return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==o.indexOf(e),loaded:-1!==r.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==i.indexOf(e),halfChecked:-1!==d.indexOf(e),pos:String(c?c.pos:""),dragOver:l===e&&0===s,dragOverGapTop:l===e&&-1===s,dragOverGapBottom:l===e&&1===s}}function R(e){var t=e.data,n=e.expanded,o=e.selected,r=e.checked,a=e.loaded,i=e.loading,d=e.halfChecked,s=e.dragOver,c=e.dragOverGapTop,p=e.dragOverGapBottom,u=e.pos,f=e.active,h=e.eventKey,g=(0,l.Z)((0,l.Z)({},t),{},{expanded:n,selected:o,checked:r,loaded:a,loading:i,halfChecked:d,dragOver:s,dragOverGapTop:c,dragOverGapBottom:p,pos:u,active:f,key:h});return"props"in g||Object.defineProperty(g,"props",{get:function(){return(0,y.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}var L=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],I="open",M="close",A=function(e){(0,f.Z)(n,e);var t=(0,h.Z)(n);function n(){var e;(0,c.Z)(this,n);for(var o=arguments.length,r=Array(o),a=0;a=0&&n.splice(o,1),n}function z(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function j(e){return e.split("-")}function W(e,t,n,o,r,a,i,d,l,s){var c,p,u=e.clientX,f=e.clientY,h=e.target.getBoundingClientRect(),g=h.top,v=h.height,y=(("rtl"===s?-1:1)*(((null==r?void 0:r.x)||0)-u)-12)/o,b=d[n.props.eventKey];if(f-1.5?a({dragNode:S,dropNode:w,dropPosition:1})?K=1:D=!1:a({dragNode:S,dropNode:w,dropPosition:0})?K=0:a({dragNode:S,dropNode:w,dropPosition:1})?K=1:D=!1:a({dragNode:S,dropNode:w,dropPosition:1})?K=1:D=!1,{dropPosition:K,dropLevelOffset:N,dropTargetKey:b.key,dropTargetPos:b.pos,dragOverNodeKey:C,dropContainerKey:0===K?null:(null===(p=b.parent)||void 0===p?void 0:p.key)||null,dropAllowed:D}}function _(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function F(e){var t;if(!e)return null;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,d.Z)(e))return(0,y.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function V(e,t){var n=new Set;return(e||[]).forEach(function(e){!function e(o){if(!n.has(o)){var r=t[o];if(r){n.add(o);var a=r.parent;!r.node.disabled&&a&&e(a.key)}}}(e)}),(0,s.Z)(n)}function G(e){if(null==e)throw TypeError("Cannot destructure "+e)}B.displayName="TreeNode",B.isTreeNode=1;var U=n(97685),X=n(8410),q=n(85344),Y=n(82225),J=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Q=function(e,t){var n,o,r,i,d,l=e.className,s=e.style,c=e.motion,p=e.motionNodes,u=e.motionType,f=e.onMotionStart,h=e.onMotionEnd,v=e.active,y=e.treeNodeRequiredProps,b=(0,C.Z)(e,J),m=g.useState(!0),K=(0,U.Z)(m,2),N=K[0],E=K[1],S=g.useContext(x).prefixCls,w=p&&"hide"!==u;(0,X.Z)(function(){p&&w!==N&&E(w)},[p]);var D=g.useRef(!1),Z=function(){p&&!D.current&&(D.current=!0,h())};return(n=function(){p&&f()},o=g.useState(!1),i=(r=(0,U.Z)(o,2))[0],d=r[1],g.useLayoutEffect(function(){if(i)return n(),function(){Z()}},[i]),g.useLayoutEffect(function(){return d(!0),function(){d(!1)}},[]),p)?g.createElement(Y.ZP,(0,a.Z)({ref:t,visible:N},c,{motionAppear:"show"===u,onVisibleChanged:function(e){w===e&&Z()}}),function(e,t){var n=e.className,o=e.style;return g.createElement("div",{ref:t,className:k()("".concat(S,"-treenode-motion"),n),style:o},p.map(function(e){var t=(0,a.Z)({},(G(e.data),e.data)),n=e.title,o=e.key,r=e.isStart,i=e.isEnd;delete t.children;var d=P(o,y);return g.createElement(B,(0,a.Z)({},t,d,{title:n,active:v,data:e.data,key:o,isStart:r,isEnd:i}))}))}):g.createElement(B,(0,a.Z)({domRef:t,className:l,style:s},b,{active:v}))};Q.displayName="MotionTreeNode";var ee=g.forwardRef(Q);function et(e,t,n){var o=e.findIndex(function(e){return e.key===n}),r=e[o+1],a=t.findIndex(function(e){return e.key===n});if(r){var i=t.findIndex(function(e){return e.key===r.key});return t.slice(a+1,i)}return t.slice(a+1)}var en=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],eo={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},er=function(){},ea="RC_TREE_MOTION_".concat(Math.random()),ei={key:ea},ed={key:ea,level:0,index:0,pos:"0",node:ei,nodes:[ei]},el={parent:null,children:[],pos:ed.pos,data:ei,title:null,key:ea,isStart:[],isEnd:[]};function es(e,t,n,o){return!1!==t&&n?e.slice(0,Math.ceil(n/o)+1):e}function ec(e){return D(e.key,e.pos)}var ep=g.forwardRef(function(e,t){var n=e.prefixCls,o=e.data,r=(e.selectable,e.checkable,e.expandedKeys),i=e.selectedKeys,d=e.checkedKeys,l=e.loadedKeys,s=e.loadingKeys,c=e.halfCheckedKeys,p=e.keyEntities,u=e.disabled,f=e.dragging,h=e.dragOverNodeKey,v=e.dropPosition,y=e.motion,b=e.height,m=e.itemHeight,k=e.virtual,x=e.focusable,K=e.activeItem,N=e.focused,E=e.tabIndex,S=e.onKeyDown,w=e.onFocus,Z=e.onBlur,$=e.onActiveChange,T=e.onListChangeStart,O=e.onListChangeEnd,R=(0,C.Z)(e,en),L=g.useRef(null),I=g.useRef(null);g.useImperativeHandle(t,function(){return{scrollTo:function(e){L.current.scrollTo(e)},getIndentWidth:function(){return I.current.offsetWidth}}});var M=g.useState(r),A=(0,U.Z)(M,2),B=A[0],H=A[1],z=g.useState(o),j=(0,U.Z)(z,2),W=j[0],_=j[1],F=g.useState(o),V=(0,U.Z)(F,2),Y=V[0],J=V[1],Q=g.useState([]),ei=(0,U.Z)(Q,2),ed=ei[0],ep=ei[1],eu=g.useState(null),ef=(0,U.Z)(eu,2),eh=ef[0],eg=ef[1],ev=g.useRef(o);function ey(){var e=ev.current;_(e),J(e),ep([]),eg(null),O()}ev.current=o,(0,X.Z)(function(){H(r);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,o=t.length;if(1!==Math.abs(n-o))return{add:!1,key:null};function r(e,t){var n=new Map;e.forEach(function(e){n.set(e,!0)});var o=t.filter(function(e){return!n.has(e)});return 1===o.length?o[0]:null}return n ").concat(t);return t}(K)),g.createElement("div",null,g.createElement("input",{style:eo,disabled:!1===x||u,tabIndex:!1!==x?E:null,onKeyDown:S,onFocus:w,onBlur:Z,value:"",onChange:er,"aria-label":"for screen reader"})),g.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},g.createElement("div",{className:"".concat(n,"-indent")},g.createElement("div",{ref:I,className:"".concat(n,"-indent-unit")}))),g.createElement(q.Z,(0,a.Z)({},R,{data:eb,itemKey:ec,height:b,fullHeight:!1,virtual:k,itemHeight:m,prefixCls:"".concat(n,"-list"),ref:L,onVisibleChange:function(e,t){var n=new Set(e);t.filter(function(e){return!n.has(e)}).some(function(e){return ec(e)===ea})&&ey()}}),function(e){var t=e.pos,n=(0,a.Z)({},(G(e.data),e.data)),o=e.title,r=e.key,i=e.isStart,d=e.isEnd,l=D(r,t);delete n.key,delete n.children;var s=P(l,em);return g.createElement(ee,(0,a.Z)({},n,s,{title:o,active:!!K&&r===K.key,pos:t,data:e.data,isStart:i,isEnd:d,motion:y,motionNodes:r===ea?ed:null,motionType:eh,onMotionStart:T,onMotionEnd:ey,treeNodeRequiredProps:em,onMouseMove:function(){$(null)}}))}))});function eu(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function ef(e){var t=e||{},n=t.disabled,o=t.disableCheckbox,r=t.checkable;return!!(n||o)||!1===r}function eh(e,t,n,o){var r,a=[];r=o||ef;var i=new Set(e.filter(function(e){var t=!!n[e];return t||a.push(e),t})),d=new Map,l=0;return Object.keys(n).forEach(function(e){var t=n[e],o=t.level,r=d.get(o);r||(r=new Set,d.set(o,r)),r.add(t),l=Math.max(l,o)}),(0,y.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===t?function(e,t,n,o){for(var r=new Set(e),a=new Set,i=0;i<=n;i+=1)(t.get(i)||new Set).forEach(function(e){var t=e.key,n=e.node,a=e.children,i=void 0===a?[]:a;r.has(t)&&!o(n)&&i.filter(function(e){return!o(e.node)}).forEach(function(e){r.add(e.key)})});for(var d=new Set,l=n;l>=0;l-=1)(t.get(l)||new Set).forEach(function(e){var t=e.parent;if(!(o(e.node)||!e.parent||d.has(e.parent.key))){if(o(e.parent.node)){d.add(t.key);return}var n=!0,i=!1;(t.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var t=e.key,o=r.has(t);n&&!o&&(n=!1),!i&&(o||a.has(t))&&(i=!0)}),n&&r.add(t.key),i&&a.add(t.key),d.add(t.key)}});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(eu(a,r))}}(i,d,l,r):function(e,t,n,o,r){for(var a=new Set(e),i=new Set(t),d=0;d<=o;d+=1)(n.get(d)||new Set).forEach(function(e){var t=e.key,n=e.node,o=e.children,d=void 0===o?[]:o;a.has(t)||i.has(t)||r(n)||d.filter(function(e){return!r(e.node)}).forEach(function(e){a.delete(e.key)})});i=new Set;for(var l=new Set,s=o;s>=0;s-=1)(n.get(s)||new Set).forEach(function(e){var t=e.parent;if(!(r(e.node)||!e.parent||l.has(e.parent.key))){if(r(e.parent.node)){l.add(t.key);return}var n=!0,o=!1;(t.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var t=e.key,r=a.has(t);n&&!r&&(n=!1),!o&&(r||i.has(t))&&(o=!0)}),n||a.delete(t.key),o&&i.add(t.key),l.add(t.key)}});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(eu(i,a))}}(i,t.halfCheckedKeys,d,l,r)}ep.displayName="NodeList";var eg=function(e){(0,f.Z)(n,e);var t=(0,h.Z)(n);function n(){var e;(0,c.Z)(this,n);for(var o=arguments.length,r=Array(o),a=0;a0&&void 0!==arguments[0]?arguments[0]:[];t.forEach(function(t){var n=t.key,r=t.children;o.push(n),e(r)})}(i[l].children),o),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(s),window.addEventListener("dragend",e.onWindowDragEnd),null==d||d({event:t,node:R(n.props)})},e.onNodeDragEnter=function(t,n){var o=e.state,r=o.expandedKeys,a=o.keyEntities,i=o.dragChildrenKeys,d=o.flattenNodes,l=o.indent,c=e.props,p=c.onDragEnter,f=c.onExpand,h=c.allowDrop,g=c.direction,v=n.props,y=v.pos,b=v.eventKey,m=(0,u.Z)(e).dragNode;if(e.currentMouseOverDroppableNodeKey!==b&&(e.currentMouseOverDroppableNodeKey=b),!m){e.resetDragState();return}var k=W(t,m,n,l,e.dragStartMousePosition,h,d,a,r,g),x=k.dropPosition,C=k.dropLevelOffset,K=k.dropTargetKey,N=k.dropContainerKey,E=k.dropTargetPos,S=k.dropAllowed,w=k.dragOverNodeKey;if(-1!==i.indexOf(K)||!S||(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach(function(t){clearTimeout(e.delayedDragEnterLogic[t])}),m.props.eventKey!==n.props.eventKey&&(t.persist(),e.delayedDragEnterLogic[y]=window.setTimeout(function(){if(null!==e.state.draggingNodeKey){var o=(0,s.Z)(r),i=a[n.props.eventKey];i&&(i.children||[]).length&&(o=z(r,n.props.eventKey)),"expandedKeys"in e.props||e.setExpandedKeys(o),null==f||f(o,{node:R(n.props),expanded:!0,nativeEvent:t.nativeEvent})}},800)),m.props.eventKey===K&&0===C)){e.resetDragState();return}e.setState({dragOverNodeKey:w,dropPosition:x,dropLevelOffset:C,dropTargetKey:K,dropContainerKey:N,dropTargetPos:E,dropAllowed:S}),null==p||p({event:t,node:R(n.props),expandedKeys:r})},e.onNodeDragOver=function(t,n){var o=e.state,r=o.dragChildrenKeys,a=o.flattenNodes,i=o.keyEntities,d=o.expandedKeys,l=o.indent,s=e.props,c=s.onDragOver,p=s.allowDrop,f=s.direction,h=(0,u.Z)(e).dragNode;if(h){var g=W(t,h,n,l,e.dragStartMousePosition,p,a,i,d,f),v=g.dropPosition,y=g.dropLevelOffset,b=g.dropTargetKey,m=g.dropContainerKey,k=g.dropAllowed,x=g.dropTargetPos,C=g.dragOverNodeKey;-1===r.indexOf(b)&&k&&(h.props.eventKey===b&&0===y?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():v===e.state.dropPosition&&y===e.state.dropLevelOffset&&b===e.state.dropTargetKey&&m===e.state.dropContainerKey&&x===e.state.dropTargetPos&&k===e.state.dropAllowed&&C===e.state.dragOverNodeKey||e.setState({dropPosition:v,dropLevelOffset:y,dropTargetKey:b,dropContainerKey:m,dropTargetPos:x,dropAllowed:k,dragOverNodeKey:C}),null==c||c({event:t,node:R(n.props)}))}},e.onNodeDragLeave=function(t,n){e.currentMouseOverDroppableNodeKey!==n.props.eventKey||t.currentTarget.contains(t.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var o=e.props.onDragLeave;null==o||o({event:t,node:R(n.props)})},e.onWindowDragEnd=function(t){e.onNodeDragEnd(t,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDragEnd=function(t,n){var o=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null==o||o({event:t,node:R(n.props)}),e.dragNode=null,window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDrop=function(t,n){var o,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.state,i=a.dragChildrenKeys,d=a.dropPosition,s=a.dropTargetKey,c=a.dropTargetPos;if(a.dropAllowed){var p=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==s){var u=(0,l.Z)((0,l.Z)({},P(s,e.getTreeNodeRequiredProps())),{},{active:(null===(o=e.getActiveItem())||void 0===o?void 0:o.key)===s,data:e.state.keyEntities[s].node}),f=-1!==i.indexOf(s);(0,y.ZP)(!f,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var h=j(c),g={event:t,node:R(u),dragNode:e.dragNode?R(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(i),dropToGap:0!==d,dropPosition:d+Number(h[h.length-1])};r||null==p||p(g),e.dragNode=null}}},e.cleanDragState=function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(t,n){var o=e.state,r=o.expandedKeys,a=o.flattenNodes,i=n.expanded,d=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var s=a.filter(function(e){return e.key===d})[0],c=R((0,l.Z)((0,l.Z)({},P(d,e.getTreeNodeRequiredProps())),{},{data:s.data}));e.setExpandedKeys(i?H(r,d):z(r,d)),e.onNodeExpand(t,c)}},e.onNodeClick=function(t,n){var o=e.props,r=o.onClick;"click"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)},e.onNodeDoubleClick=function(t,n){var o=e.props,r=o.onDoubleClick;"doubleClick"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)},e.onNodeSelect=function(t,n){var o=e.state.selectedKeys,r=e.state,a=r.keyEntities,i=r.fieldNames,d=e.props,l=d.onSelect,s=d.multiple,c=n.selected,p=n[i.key],u=!c,f=(o=u?s?z(o,p):[p]:H(o,p)).map(function(e){var t=a[e];return t?t.node:null}).filter(function(e){return e});e.setUncontrolledState({selectedKeys:o}),null==l||l(o,{event:"select",selected:u,node:n,selectedNodes:f,nativeEvent:t.nativeEvent})},e.onNodeCheck=function(t,n,o){var r,a=e.state,i=a.keyEntities,d=a.checkedKeys,l=a.halfCheckedKeys,c=e.props,p=c.checkStrictly,u=c.onCheck,f=n.key,h={event:"check",node:n,checked:o,nativeEvent:t.nativeEvent};if(p){var g=o?z(d,f):H(d,f);r={checked:g,halfChecked:H(l,f)},h.checkedNodes=g.map(function(e){return i[e]}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:g})}else{var v=eh([].concat((0,s.Z)(d),[f]),!0,i),y=v.checkedKeys,b=v.halfCheckedKeys;if(!o){var m=new Set(y);m.delete(f);var k=eh(Array.from(m),{checked:!1,halfCheckedKeys:b},i);y=k.checkedKeys,b=k.halfCheckedKeys}r=y,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=b,y.forEach(function(e){var t=i[e];if(t){var n=t.node,o=t.pos;h.checkedNodes.push(n),h.checkedNodesPositions.push({node:n,pos:o})}}),e.setUncontrolledState({checkedKeys:y},!1,{halfCheckedKeys:b})}null==u||u(r,h)},e.onNodeLoad=function(t){var n=t.key,o=new Promise(function(o,r){e.setState(function(a){var i=a.loadedKeys,d=a.loadingKeys,l=void 0===d?[]:d,s=e.props,c=s.loadData,p=s.onLoad;return c&&-1===(void 0===i?[]:i).indexOf(n)&&-1===l.indexOf(n)?(c(t).then(function(){var r=z(e.state.loadedKeys,n);null==p||p(r,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:r}),e.setState(function(e){return{loadingKeys:H(e.loadingKeys,n)}}),o()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:H(e.loadingKeys,n)}}),e.loadingRetryTimes[n]=(e.loadingRetryTimes[n]||0)+1,e.loadingRetryTimes[n]>=10){var a=e.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:z(a,n)}),o()}r(t)}),{loadingKeys:z(l,n)}):null})});return o.catch(function(){}),o},e.onNodeMouseEnter=function(t,n){var o=e.props.onMouseEnter;null==o||o({event:t,node:n})},e.onNodeMouseLeave=function(t,n){var o=e.props.onMouseLeave;null==o||o({event:t,node:n})},e.onNodeContextMenu=function(t,n){var o=e.props.onRightClick;o&&(t.preventDefault(),o({event:t,node:n}))},e.onFocus=function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,o=Array(n),r=0;r1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var r=!1,a=!0,i={};Object.keys(t).forEach(function(n){if(n in e.props){a=!1;return}r=!0,i[n]=t[n]}),r&&(!n||a)&&e.setState((0,l.Z)((0,l.Z)({},i),o))}},e.scrollTo=function(t){e.listRef.current.scrollTo(t)},e}return(0,p.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,t,n=this.state,o=n.focused,r=n.flattenNodes,l=n.keyEntities,s=n.draggingNodeKey,c=n.activeKey,p=n.dropLevelOffset,u=n.dropContainerKey,f=n.dropTargetKey,h=n.dropPosition,v=n.dragOverNodeKey,y=n.indent,m=this.props,C=m.prefixCls,K=m.className,N=m.style,E=m.showLine,S=m.focusable,w=m.tabIndex,D=m.selectable,Z=m.showIcon,$=m.icon,T=m.switcherIcon,O=m.draggable,P=m.checkable,R=m.checkStrictly,L=m.disabled,I=m.motion,M=m.loadData,A=m.filterTreeNode,B=m.height,H=m.itemHeight,z=m.virtual,j=m.titleRender,W=m.dropIndicatorRender,_=m.onContextMenu,F=m.onScroll,V=m.direction,G=m.rootClassName,U=m.rootStyle,X=(0,b.Z)(this.props,{aria:!0,data:!0});return O&&(t="object"===(0,d.Z)(O)?O:"function"==typeof O?{nodeDraggable:O}:{}),g.createElement(x.Provider,{value:{prefixCls:C,selectable:D,showIcon:Z,icon:$,switcherIcon:T,draggable:t,draggingNodeKey:s,checkable:P,checkStrictly:R,disabled:L,keyEntities:l,dropLevelOffset:p,dropContainerKey:u,dropTargetKey:f,dropPosition:h,dragOverNodeKey:v,indent:y,direction:V,dropIndicatorRender:W,loadData:M,filterTreeNode:A,titleRender:j,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},g.createElement("div",{role:"tree",className:k()(C,K,G,(e={},(0,i.Z)(e,"".concat(C,"-show-line"),E),(0,i.Z)(e,"".concat(C,"-focused"),o),(0,i.Z)(e,"".concat(C,"-active-focused"),null!==c),e)),style:U},g.createElement(ep,(0,a.Z)({ref:this.listRef,prefixCls:C,style:N,data:r,disabled:L,selectable:D,checkable:!!P,motion:I,dragging:null!==s,height:B,itemHeight:H,virtual:z,focusable:S,focused:o,tabIndex:void 0===w?0:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:_,onScroll:F},this.getTreeNodeRequiredProps(),X))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,o,r=t.prevProps,a={prevProps:e};function d(t){return!r&&t in e||r&&r[t]!==e[t]}var s=t.fieldNames;if(d("fieldNames")&&(s=Z(e.fieldNames),a.fieldNames=s),d("treeData")?n=e.treeData:d("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=$(e.children)),n){a.treeData=n;var c=O(n,{fieldNames:s});a.keyEntities=(0,l.Z)((0,i.Z)({},ea,ed),c.keyEntities)}var p=a.keyEntities||t.keyEntities;if(d("expandedKeys")||r&&d("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?V(e.expandedKeys,p):e.expandedKeys;else if(!r&&e.defaultExpandAll){var u=(0,l.Z)({},p);delete u[ea],a.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!r&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?V(e.defaultExpandedKeys,p):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,n||a.expandedKeys){var f=T(n||t.treeData,a.expandedKeys||t.expandedKeys,s);a.flattenNodes=f}if(e.selectable&&(d("selectedKeys")?a.selectedKeys=_(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(a.selectedKeys=_(e.defaultSelectedKeys,e))),e.checkable&&(d("checkedKeys")?o=F(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?o=F(e.defaultCheckedKeys)||{}:n&&(o=F(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o)){var h=o,g=h.checkedKeys,v=void 0===g?[]:g,b=h.halfCheckedKeys,m=void 0===b?[]:b;if(!e.checkStrictly){var k=eh(v,!0,p);v=k.checkedKeys,m=k.halfCheckedKeys}a.checkedKeys=v,a.halfCheckedKeys=m}return d("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),n}(g.Component);eg.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var t=e.dropPosition,n=e.dropLevelOffset,o=e.indent,r={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case -1:r.top=0,r.left=-n*o;break;case 1:r.bottom=0,r.left=-n*o;break;case 0:r.bottom=0,r.left=o}return g.createElement("div",{style:r})},allowDrop:function(){return!0},expandAction:!1},eg.TreeNode=B;var ev={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ey=n(42135),eb=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:ev}))}),em={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},ek=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:em}))}),ex={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},eC=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:ex}))}),eK=n(53124),eN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},eE=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:eN}))}),eS=n(33603),ew=n(76325),eD=n(14747),eZ=n(45503),e$=n(67968);let eT=e=>{let{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,eD.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},(0,eD.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,eD.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,eD.oN)(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` + ${n}:not(${n}-disabled), + ${t}:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` + ${n}-checked:not(${n}-disabled), + ${t}-checked:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function eO(e,t){let n=(0,eZ.TS)(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[eT(n)]}(0,e$.Z)("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[eO(n,e)]});var eP=n(33507);let eR=new ew.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),eL=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),eI=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),eM=(e,t)=>{let{treeCls:n,treeNodeCls:o,treeNodePadding:r,titleHeight:a,nodeSelectedBg:i,nodeHoverBg:d}=t,l=t.paddingXS;return{[n]:Object.assign(Object.assign({},(0,eD.Wf)(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},(0,eD.oN)(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${o}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:eR,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${o}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${r}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:Object.assign({},(0,eD.oN)(t)),[`&:not(${o}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{flexShrink:0,width:a,lineHeight:`${a}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${o}:hover &`]:{opacity:.45}},[`&${o}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:a}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},eL(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:a,margin:0,lineHeight:`${a}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:a/2,bottom:-r,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:a/2*.8,height:a/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:l},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:a,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${a}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:d},[`&${n}-node-selected`]:{backgroundColor:i},[`${n}-iconEle`]:{display:"inline-block",width:a,height:a,lineHeight:`${a}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:`${a}px`,userSelect:"none"},eI(e,t)),[`${o}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:a/2,bottom:-r,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${o}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${a/2}px !important`}}}}})}},eA=e=>{let{treeCls:t,treeNodeCls:n,treeNodePadding:o,directoryNodeSelectedBg:r,directoryNodeSelectedColor:a}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:a,background:"transparent"}},"&-selected":{[` + &:hover::before, + &::before + `]:{background:r},[`${t}-switcher`]:{color:a},[`${t}-node-content-wrapper`]:{color:a,background:"transparent"}}}}}},eB=(e,t)=>{let n=`.${e}`,o=`${n}-treenode`,r=t.paddingXS/2,a=(0,eZ.TS)(t,{treeCls:n,treeNodeCls:o,treeNodePadding:r});return[eM(e,a),eA(a)]},eH=e=>{let{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}};var ez=(0,e$.Z)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:eO(`${n}-checkbox`,e)},eB(n,e),(0,eP.Z)(e)]},e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},eH(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})});function ej(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:o,indent:r,direction:a="ltr"}=e,i="ltr"===a?"left":"right",d={[i]:-n*r+4,["ltr"===a?"right":"left"]:0};switch(t){case -1:d.top=-3;break;case 1:d.bottom=-3;break;default:d.bottom=-3,d[i]=r+4}return g.createElement("div",{style:d,className:`${o}-drop-indicator`})}var eW={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},e_=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:eW}))}),eF=n(50888),eV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},eG=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:eV}))}),eU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},eX=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:eU}))}),eq=n(96159),eY=e=>{let t;let{prefixCls:n,switcherIcon:o,treeNodeProps:r,showLine:a}=e,{isLeaf:i,expanded:d,loading:l}=r;if(l)return g.createElement(eF.Z,{className:`${n}-switcher-loading-icon`});if(a&&"object"==typeof a&&(t=a.showLeafIcon),i){if(!a)return null;if("boolean"!=typeof t&&t){let e="function"==typeof t?t(r):t,o=`${n}-switcher-line-custom-icon`;return(0,eq.l$)(e)?(0,eq.Tm)(e,{className:k()(e.props.className||"",o)}):e}return t?g.createElement(eb,{className:`${n}-switcher-line-icon`}):g.createElement("span",{className:`${n}-switcher-leaf-line`})}let s=`${n}-switcher-icon`,c="function"==typeof o?o(r):o;return(0,eq.l$)(c)?(0,eq.Tm)(c,{className:k()(c.props.className||"",s)}):void 0!==c?c:a?d?g.createElement(eG,{className:`${n}-switcher-line-icon`}):g.createElement(eX,{className:`${n}-switcher-line-icon`}):g.createElement(e_,{className:s})};let eJ=g.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o,virtual:r,tree:a}=g.useContext(eK.E_),{prefixCls:i,className:d,showIcon:l=!1,showLine:s,switcherIcon:c,blockNode:p=!1,children:u,checkable:f=!1,selectable:h=!0,draggable:v,motion:y,style:b}=e,m=n("tree",i),x=n(),C=null!=y?y:Object.assign(Object.assign({},(0,eS.Z)(x)),{motionAppear:!1}),K=Object.assign(Object.assign({},e),{checkable:f,selectable:h,showIcon:l,motion:C,blockNode:p,showLine:!!s,dropIndicatorRender:ej}),[N,E]=ez(m),S=g.useMemo(()=>{if(!v)return!1;let e={};switch(typeof v){case"function":e.nodeDraggable=v;break;case"object":e=Object.assign({},v)}return!1!==e.icon&&(e.icon=e.icon||g.createElement(eE,null)),e},[v]);return N(g.createElement(eg,Object.assign({itemHeight:20,ref:t,virtual:r},K,{style:Object.assign(Object.assign({},null==a?void 0:a.style),b),prefixCls:m,className:k()({[`${m}-icon-hide`]:!l,[`${m}-block-node`]:p,[`${m}-unselectable`]:!h,[`${m}-rtl`]:"rtl"===o},null==a?void 0:a.className,d,E),direction:o,checkable:f?g.createElement("span",{className:`${m}-checkbox-inner`}):f,selectable:h,switcherIcon:e=>g.createElement(eY,{prefixCls:m,switcherIcon:c,treeNodeProps:e,showLine:s}),draggable:S}),u))});function eQ(e,t){e.forEach(function(e){let{key:n,children:o}=e;!1!==t(n,e)&&eQ(o||[],t)})}function e0(e,t){let n=(0,s.Z)(t),o=[];return eQ(e,(e,t)=>{let r=n.indexOf(e);return -1!==r&&(o.push(t),n.splice(r,1)),!!n.length}),o}(o=r||(r={}))[o.None=0]="None",o[o.Start=1]="Start",o[o.End=2]="End";var e1=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function e2(e){let{isLeaf:t,expanded:n}=e;return t?g.createElement(eb,null):n?g.createElement(ek,null):g.createElement(eC,null)}function e4(e){let{treeData:t,children:n}=e;return t||$(n)}let e3=g.forwardRef((e,t)=>{var{defaultExpandAll:n,defaultExpandParent:o,defaultExpandedKeys:a}=e,i=e1(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let d=g.useRef(),l=g.useRef(),c=()=>{let{keyEntities:e}=O(e4(i));return n?Object.keys(e):o?V(i.expandedKeys||a||[],e):i.expandedKeys||a},[p,u]=g.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[f,h]=g.useState(()=>c());g.useEffect(()=>{"selectedKeys"in i&&u(i.selectedKeys)},[i.selectedKeys]),g.useEffect(()=>{"expandedKeys"in i&&h(i.expandedKeys)},[i.expandedKeys]);let{getPrefixCls:v,direction:y}=g.useContext(eK.E_),{prefixCls:b,className:m,showIcon:x=!0,expandAction:C="click"}=i,K=e1(i,["prefixCls","className","showIcon","expandAction"]),N=v("tree",b),E=k()(`${N}-directory`,{[`${N}-directory-rtl`]:"rtl"===y},m);return g.createElement(eJ,Object.assign({icon:e2,ref:t,blockNode:!0},K,{showIcon:x,expandAction:C,prefixCls:N,className:E,expandedKeys:f,selectedKeys:p,onSelect:(e,t)=>{var n;let o;let{multiple:a}=i,{node:c,nativeEvent:p}=t,{key:h=""}=c,g=e4(i),v=Object.assign(Object.assign({},t),{selected:!0}),y=(null==p?void 0:p.ctrlKey)||(null==p?void 0:p.metaKey),b=null==p?void 0:p.shiftKey;a&&y?(o=e,d.current=h,l.current=o,v.selectedNodes=e0(g,o)):a&&b?(o=Array.from(new Set([].concat((0,s.Z)(l.current||[]),(0,s.Z)(function(e){let{treeData:t,expandedKeys:n,startKey:o,endKey:a}=e,i=[],d=r.None;return o&&o===a?[o]:o&&a?(eQ(t,e=>{if(d===r.End)return!1;if(e===o||e===a){if(i.push(e),d===r.None)d=r.Start;else if(d===r.Start)return d=r.End,!1}else d===r.Start&&i.push(e);return n.includes(e)}),i):[]}({treeData:g,expandedKeys:f,startKey:h,endKey:d.current}))))),v.selectedNodes=e0(g,o)):(o=[h],d.current=h,l.current=o,v.selectedNodes=e0(g,o)),null===(n=i.onSelect)||void 0===n||n.call(i,o,v),"selectedKeys"in i||u(o)},onExpand:(e,t)=>{var n;return"expandedKeys"in i||h(e),null===(n=i.onExpand)||void 0===n?void 0:n.call(i,e,t)}}))});eJ.DirectoryTree=e3,eJ.TreeNode=B;var e8=eJ}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/34-4756f8547fff0eaf.js b/pilot/server/static/_next/static/chunks/34-4756f8547fff0eaf.js new file mode 100644 index 000000000..7fa2e3886 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/34-4756f8547fff0eaf.js @@ -0,0 +1,16 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[34],{84229:function(e,t,n){n.d(t,{Z:function(){return y}});var r=n(63366),i=n(87462),o=n(67294),a=n(14142),l=n(94780),s=n(86010),c=n(20407),u=n(30220),p=n(74312),m=n(34867);function d(e){return(0,m.Z)("MuiBreadcrumbs",e)}(0,n(1588).Z)("MuiBreadcrumbs",["root","ol","li","separator","sizeSm","sizeMd","sizeLg"]);var g=n(85893);let h=["children","className","size","separator","component","slots","slotProps"],v=e=>{let{size:t}=e,n={root:["root",t&&`size${(0,a.Z)(t)}`],li:["li"],ol:["ol"],separator:["separator"]};return(0,l.Z)(n,d,{})},b=(0,p.Z)("nav",{name:"JoyBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>(0,i.Z)({},"sm"===t.size&&{"--Breadcrumbs-gap":"0.25rem",fontSize:e.vars.fontSize.sm,padding:"0.5rem"},"md"===t.size&&{"--Breadcrumbs-gap":"0.375rem",fontSize:e.vars.fontSize.md,padding:"0.75rem"},"lg"===t.size&&{"--Breadcrumbs-gap":"0.5rem",fontSize:e.vars.fontSize.lg,padding:"1rem"},{lineHeight:1})),f=(0,p.Z)("ol",{name:"JoyBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),x=(0,p.Z)("li",{name:"JoyBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({}),S=(0,p.Z)("li",{name:"JoyBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginInline:"var(--Breadcrumbs-gap)"}),$=o.forwardRef(function(e,t){let n=(0,c.Z)({props:e,name:"JoyBreadcrumbs"}),{children:a,className:l,size:p="md",separator:m="/",component:d,slots:$={},slotProps:y={}}=n,C=(0,r.Z)(n,h),k=(0,i.Z)({},n,{separator:m,size:p}),E=v(k),N=(0,i.Z)({},C,{component:d,slots:$,slotProps:y}),[P,z]=(0,u.Z)("root",{ref:t,className:(0,s.Z)(E.root,l),elementType:b,externalForwardedProps:N,ownerState:k}),[I,O]=(0,u.Z)("ol",{className:E.ol,elementType:f,externalForwardedProps:N,ownerState:k}),[w,j]=(0,u.Z)("li",{className:E.li,elementType:x,externalForwardedProps:N,ownerState:k}),[Z,B]=(0,u.Z)("separator",{additionalProps:{"aria-hidden":!0},className:E.separator,elementType:S,externalForwardedProps:N,ownerState:k}),T=o.Children.toArray(a).filter(e=>o.isValidElement(e)).map((e,t)=>(0,g.jsx)(w,(0,i.Z)({},j,{children:e}),`child-${t}`));return(0,g.jsx)(P,(0,i.Z)({},z,{children:(0,g.jsx)(I,(0,i.Z)({},O,{children:T.reduce((e,t,n)=>(nt.root});function S(e){return(0,p.Z)({props:e,name:"MuiStack",defaultTheme:f})}let $=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],y=({ownerState:e,theme:t})=>{let n=(0,i.Z)({display:"flex",flexDirection:"column"},(0,g.k9)({theme:t},(0,g.P$)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){let r=(0,h.hB)(t),i=Object.keys(t.breakpoints.values).reduce((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t),{}),o=(0,g.P$)({values:e.direction,base:i}),a=(0,g.P$)({values:e.spacing,base:i});"object"==typeof o&&Object.keys(o).forEach((e,t,n)=>{let r=o[e];if(!r){let r=t>0?o[n[t-1]]:"column";o[e]=r}}),n=(0,l.Z)(n,(0,g.k9)({theme:t},a,(t,n)=>e.useFlexGap?{gap:(0,h.NA)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${$(n?o[n]:e.direction)}`]:(0,h.NA)(r,t)}}))}return(0,g.dt)(t.breakpoints,n)};var C=n(74312),k=n(20407);let E=function(e={}){let{createStyledComponent:t=x,useThemeProps:n=S,componentName:l="MuiStack"}=e,u=()=>(0,s.Z)({root:["root"]},e=>(0,c.Z)(l,e),{}),p=t(y),d=o.forwardRef(function(e,t){let l=n(e),s=(0,m.Z)(l),{component:c="div",direction:d="column",spacing:g=0,divider:h,children:f,className:x,useFlexGap:S=!1}=s,$=(0,r.Z)(s,b),y=u();return(0,v.jsx)(p,(0,i.Z)({as:c,ownerState:{direction:d,spacing:g,useFlexGap:S},ref:t,className:(0,a.Z)(y.root,x)},$,{children:h?function(e,t){let n=o.Children.toArray(e).filter(Boolean);return n.reduce((e,r,i)=>(e.push(r),it.root}),useThemeProps:e=>(0,k.Z)({props:e,name:"JoyStack"})});var N=E},60122:function(e,t,n){n.d(t,{Z:function(){return et}});var r=n(87462),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},a=n(42135),l=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))}),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},c=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:s}))}),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},p=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:u}))}),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},d=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:m}))}),g=n(94184),h=n.n(g),v=n(4942),b=n(1413),f=n(15671),x=n(43144),S=n(32531),$=n(73568),y=n(64217),C={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},k=function(e){(0,S.Z)(n,e);var t=(0,$.Z)(n);function n(){var e;(0,f.Z)(this,n);for(var r=arguments.length,i=Array(r),o=0;o=0||t.relatedTarget.className.indexOf("".concat(o,"-item"))>=0)||i(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode===C.ENTER||"click"===t.type)&&(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue()))},e}return(0,x.Z)(n,[{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some(function(e){return e.toString()===t.toString()})?n:n.concat([t.toString()]).sort(function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))})}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,r=t.locale,o=t.rootPrefixCls,a=t.changeSize,l=t.quickGo,s=t.goButton,c=t.selectComponentClass,u=t.buildOptionText,p=t.selectPrefixCls,m=t.disabled,d=this.state.goInputText,g="".concat(o,"-options"),h=null,v=null,b=null;if(!a&&!l)return null;var f=this.getPageSizeOptions();if(a&&c){var x=f.map(function(t,n){return i.createElement(c.Option,{key:n,value:t.toString()},(u||e.buildOptionText)(t))});h=i.createElement(c,{disabled:m,prefixCls:p,showSearch:!1,className:"".concat(g,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(n||f[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":r.page_size,defaultOpen:!1},x)}return l&&(s&&(b="boolean"==typeof s?i.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:m,className:"".concat(g,"-quick-jumper-button")},r.jump_to_confirm):i.createElement("span",{onClick:this.go,onKeyUp:this.go},s)),v=i.createElement("div",{className:"".concat(g,"-quick-jumper")},r.jump_to,i.createElement("input",{disabled:m,type:"text",value:d,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":r.page}),r.page,b)),i.createElement("li",{className:"".concat(g)},h,v)}}]),n}(i.Component);k.defaultProps={pageSizeOptions:["10","20","50","100"]};var E=function(e){var t,n=e.rootPrefixCls,r=e.page,o=e.active,a=e.className,l=e.showTitle,s=e.onClick,c=e.onKeyPress,u=e.itemRender,p="".concat(n,"-item"),m=h()(p,"".concat(p,"-").concat(r),(t={},(0,v.Z)(t,"".concat(p,"-active"),o),(0,v.Z)(t,"".concat(p,"-disabled"),!r),(0,v.Z)(t,e.className,a),t)),d=u(r,"page",i.createElement("a",{rel:"nofollow"},r));return d?i.createElement("li",{title:l?r.toString():null,className:m,onClick:function(){s(r)},onKeyPress:function(e){c(e,s,r)},tabIndex:0},d):null};function N(){}function P(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function z(e,t,n){var r=void 0===e?t.pageSize:e;return Math.floor((n.total-1)/r)+1}var I=function(e){(0,S.Z)(n,e);var t=(0,$.Z)(n);function n(e){(0,f.Z)(this,n),(r=t.call(this,e)).paginationNode=i.createRef(),r.getJumpPrevPage=function(){return Math.max(1,r.state.current-(r.props.showLessItems?3:5))},r.getJumpNextPage=function(){return Math.min(z(void 0,r.state,r.props),r.state.current+(r.props.showLessItems?3:5))},r.getItemIcon=function(e,t){var n=r.props.prefixCls,o=e||i.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"==typeof e&&(o=i.createElement(e,(0,b.Z)({},r.props))),o},r.isValid=function(e){var t=r.props.total;return P(e)&&e!==r.state.current&&P(t)&&t>0},r.shouldDisplayQuickJumper=function(){var e=r.props,t=e.showQuickJumper;return!(e.total<=r.state.pageSize)&&t},r.handleKeyDown=function(e){(e.keyCode===C.ARROW_UP||e.keyCode===C.ARROW_DOWN)&&e.preventDefault()},r.handleKeyUp=function(e){var t=r.getValidValue(e);t!==r.state.currentInputValue&&r.setState({currentInputValue:t}),e.keyCode===C.ENTER?r.handleChange(t):e.keyCode===C.ARROW_UP?r.handleChange(t-1):e.keyCode===C.ARROW_DOWN&&r.handleChange(t+1)},r.handleBlur=function(e){var t=r.getValidValue(e);r.handleChange(t)},r.changePageSize=function(e){var t=r.state.current,n=z(e,r.state,r.props);t=t>n?n:t,0===n&&(t=r.state.current),"number"!=typeof e||("pageSize"in r.props||r.setState({pageSize:e}),"current"in r.props||r.setState({current:t,currentInputValue:t})),r.props.onShowSizeChange(t,e),"onChange"in r.props&&r.props.onChange&&r.props.onChange(t,e)},r.handleChange=function(e){var t=r.props,n=t.disabled,i=t.onChange,o=r.state,a=o.pageSize,l=o.current,s=o.currentInputValue;if(r.isValid(e)&&!n){var c=z(void 0,r.state,r.props),u=e;return e>c?u=c:e<1&&(u=1),"current"in r.props||r.setState({current:u}),u!==s&&r.setState({currentInputValue:u}),i(u,a),u}return l},r.prev=function(){r.hasPrev()&&r.handleChange(r.state.current-1)},r.next=function(){r.hasNext()&&r.handleChange(r.state.current+1)},r.jumpPrev=function(){r.handleChange(r.getJumpPrevPage())},r.jumpNext=function(){r.handleChange(r.getJumpNextPage())},r.hasPrev=function(){return r.state.current>1},r.hasNext=function(){return r.state.current2?n-2:0),i=2;i=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,r=e.totalBoundaryShowSizeChanger;return void 0!==t?t:n>r}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,o=e.style,a=e.disabled,l=e.hideOnSinglePage,s=e.total,c=e.locale,u=e.showQuickJumper,p=e.showLessItems,m=e.showTitle,d=e.showTotal,g=e.simple,b=e.itemRender,f=e.showPrevNextJumpers,x=e.jumpPrevIcon,S=e.jumpNextIcon,$=e.selectComponentClass,C=e.selectPrefixCls,N=e.pageSizeOptions,P=this.state,I=P.current,O=P.pageSize,w=P.currentInputValue;if(!0===l&&s<=O)return null;var j=z(void 0,this.state,this.props),Z=[],B=null,T=null,M=null,R=null,D=null,_=u&&u.goButton,A=p?1:2,H=I-1>0?I-1:0,W=I+1s?s:I*O]));if(g){_&&(D="boolean"==typeof _?i.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},c.jump_to_confirm):i.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},_),D=i.createElement("li",{title:m?"".concat(c.jump_to).concat(I,"/").concat(j):null,className:"".concat(t,"-simple-pager")},D));var J=this.renderPrev(H);return i.createElement("ul",(0,r.Z)({className:h()(t,"".concat(t,"-simple"),(0,v.Z)({},"".concat(t,"-disabled"),a),n),style:o,ref:this.paginationNode},V),L,J?i.createElement("li",{title:m?c.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:h()("".concat(t,"-prev"),(0,v.Z)({},"".concat(t,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},J):null,i.createElement("li",{title:m?"".concat(I,"/").concat(j):null,className:"".concat(t,"-simple-pager")},i.createElement("input",{type:"text",value:w,disabled:a,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),i.createElement("span",{className:"".concat(t,"-slash")},"/"),j),i.createElement("li",{title:m?c.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:h()("".concat(t,"-next"),(0,v.Z)({},"".concat(t,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(W)),D)}if(j<=3+2*A){var K={locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:m,itemRender:b};j||Z.push(i.createElement(E,(0,r.Z)({},K,{key:"noPager",page:1,className:"".concat(t,"-item-disabled")})));for(var G=1;G<=j;G+=1){var U=I===G;Z.push(i.createElement(E,(0,r.Z)({},K,{key:G,page:G,active:U})))}}else{var X=p?c.prev_3:c.prev_5,F=p?c.next_3:c.next_5,q=b(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(x,"prev page")),Q=b(this.getJumpNextPage(),"jump-next",this.getItemIcon(S,"next page"));f&&(B=q?i.createElement("li",{title:m?X:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:h()("".concat(t,"-jump-prev"),(0,v.Z)({},"".concat(t,"-jump-prev-custom-icon"),!!x))},q):null,T=Q?i.createElement("li",{title:m?F:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:h()("".concat(t,"-jump-next"),(0,v.Z)({},"".concat(t,"-jump-next-custom-icon"),!!S))},Q):null),R=i.createElement(E,{locale:c,last:!0,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:j,page:j,active:!1,showTitle:m,itemRender:b}),M=i.createElement(E,{locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:m,itemRender:b});var Y=Math.max(1,I-A),ee=Math.min(I+A,j);I-1<=A&&(ee=1+2*A),j-I<=A&&(Y=j-2*A);for(var et=Y;et<=ee;et+=1){var en=I===et;Z.push(i.createElement(E,{locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:et,page:et,active:en,showTitle:m,itemRender:b}))}I-1>=2*A&&3!==I&&(Z[0]=(0,i.cloneElement)(Z[0],{className:"".concat(t,"-item-after-jump-prev")}),Z.unshift(B)),j-I>=2*A&&I!==j-2&&(Z[Z.length-1]=(0,i.cloneElement)(Z[Z.length-1],{className:"".concat(t,"-item-before-jump-next")}),Z.push(T)),1!==Y&&Z.unshift(M),ee!==j&&Z.push(R)}var er=!this.hasPrev()||!j,ei=!this.hasNext()||!j,eo=this.renderPrev(H),ea=this.renderNext(W);return i.createElement("ul",(0,r.Z)({className:h()(t,n,(0,v.Z)({},"".concat(t,"-disabled"),a)),style:o,ref:this.paginationNode},V),L,eo?i.createElement("li",{title:m?c.prev_page:null,onClick:this.prev,tabIndex:er?null:0,onKeyPress:this.runIfEnterPrev,className:h()("".concat(t,"-prev"),(0,v.Z)({},"".concat(t,"-disabled"),er)),"aria-disabled":er},eo):null,Z,ea?i.createElement("li",{title:m?c.next_page:null,onClick:this.next,tabIndex:ei?null:0,onKeyPress:this.runIfEnterNext,className:h()("".concat(t,"-next"),(0,v.Z)({},"".concat(t,"-disabled"),ei)),"aria-disabled":ei},ea):null,i.createElement(k,{disabled:a,locale:c,rootPrefixCls:t,selectComponentClass:$,selectPrefixCls:C,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:I,pageSize:O,pageSizeOptions:N,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:_}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var r=t.current,i=z(e.pageSize,t,e);r=r>i?i:r,"current"in e||(n.current=r,n.currentInputValue=r),n.pageSize=e.pageSize}return n}}]),n}(i.Component);I.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:N,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:N,locale:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var O=n(62906),w=n(53124),j=n(98675),Z=n(8410),B=n(57838),T=n(74443),M=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,i.useRef)({}),n=(0,B.Z)(),r=(0,T.ZP)();return(0,Z.Z)(()=>{let i=r.subscribe(r=>{t.current=r,e&&n()});return()=>r.unsubscribe(i)},[]),t.current},R=n(10110),D=n(50965);let _=e=>i.createElement(D.Z,Object.assign({},e,{showSearch:!0,size:"small"})),A=e=>i.createElement(D.Z,Object.assign({},e,{showSearch:!0,size:"middle"}));_.Option=D.Z.Option,A.Option=D.Z.Option;var H=n(47673),W=n(14747),V=n(67968),L=n(45503);let J=e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},K=e=>{let{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM-2}px`},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + &${t}-mini ${t}-prev ${t}-item-link, + &${t}-mini ${t}-next ${t}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,H.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},G=e=>{let{componentCls:t}=e;return{[` + &${t}-simple ${t}-prev, + &${t}-simple ${t}-next + `]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},U=e=>{let{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + ${t}-prev, + ${t}-jump-prev, + ${t}-jump-next + `]:{marginInlineEnd:e.marginXS},[` + ${t}-prev, + ${t}-next, + ${t}-jump-prev, + ${t}-jump-next + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,H.ik)(e)),{width:1.25*e.controlHeightLG,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},X=e=>{let{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:`${e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},F=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,W.Wf)(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.itemSize-2}px`,verticalAlign:"middle"}}),X(e)),U(e)),G(e)),K(e)),J(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},q=e=>{let{componentCls:t}=e;return{[`${t}${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},Q=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,W.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,W.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,W.oN)(e))}}}};var Y=(0,V.Z)("Pagination",e=>{let t=(0,L.TS)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:1.1*e.controlHeightLG,paginationItemPaddingInline:1.5*e.marginXXS,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,H.e5)(e),(0,H.TM)(e));return[F(t),Q(t),e.wireframe&&q(t)]},e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0})),ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},et=e=>{let{prefixCls:t,selectPrefixCls:n,className:r,rootClassName:o,style:a,size:s,locale:u,selectComponentClass:m,responsive:g,showSizeChanger:v}=e,b=ee(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:f}=M(g),{getPrefixCls:x,direction:S,pagination:$={}}=i.useContext(w.E_),y=x("pagination",t),[C,k]=Y(y),E=null!=v?v:$.showSizeChanger,N=i.useMemo(()=>{let e=i.createElement("span",{className:`${y}-item-ellipsis`},"•••"),t=i.createElement("button",{className:`${y}-item-link`,type:"button",tabIndex:-1},"rtl"===S?i.createElement(d,null):i.createElement(p,null)),n=i.createElement("button",{className:`${y}-item-link`,type:"button",tabIndex:-1},"rtl"===S?i.createElement(p,null):i.createElement(d,null)),r=i.createElement("a",{className:`${y}-item-link`},i.createElement("div",{className:`${y}-item-container`},"rtl"===S?i.createElement(c,{className:`${y}-item-link-icon`}):i.createElement(l,{className:`${y}-item-link-icon`}),e)),o=i.createElement("a",{className:`${y}-item-link`},i.createElement("div",{className:`${y}-item-container`},"rtl"===S?i.createElement(l,{className:`${y}-item-link-icon`}):i.createElement(c,{className:`${y}-item-link-icon`}),e));return{prevIcon:t,nextIcon:n,jumpPrevIcon:r,jumpNextIcon:o}},[S,y]),[P]=(0,R.Z)("Pagination",O.Z),z=Object.assign(Object.assign({},P),u),Z=(0,j.Z)(s),B="small"===Z||!!(f&&!Z&&g),T=x("select",n),D=h()({[`${y}-mini`]:B,[`${y}-rtl`]:"rtl"===S},null==$?void 0:$.className,r,o,k),H=Object.assign(Object.assign({},null==$?void 0:$.style),a);return C(i.createElement(I,Object.assign({},N,b,{style:H,prefixCls:y,selectPrefixCls:T,className:D,selectComponentClass:m||(B?_:A),locale:z,showSizeChanger:E})))}},74627:function(e,t,n){n.d(t,{Z:function(){return P}});var r=n(94184),i=n.n(r),o=n(67294);let a=e=>e?"function"==typeof e?e():e:null;var l=n(33603),s=n(53124),c=n(39778),u=n(92419),p=n(14747),m=n(50438),d=n(77786),g=n(8796),h=n(67968),v=n(45503);let b=e=>{let{componentCls:t,popoverColor:n,minWidth:r,fontWeightStrong:i,popoverPadding:o,boxShadowSecondary:a,colorTextHeading:l,borderRadiusLG:s,zIndexPopup:c,marginXS:u,colorBgElevated:m,popoverBg:g}=e;return[{[t]:Object.assign(Object.assign({},(0,p.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":m,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:g,backgroundClip:"padding-box",borderRadius:s,boxShadow:a,padding:o},[`${t}-title`]:{minWidth:r,marginBottom:u,color:l,fontWeight:i},[`${t}-inner-content`]:{color:n}})},(0,d.ZP)(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},f=e=>{let{componentCls:t}=e;return{[t]:g.i.map(n=>{let r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},x=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorSplit:i,paddingSM:o,controlHeight:a,fontSize:l,lineHeight:s,padding:c}=e,u=a-Math.round(l*s);return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${u/2}px ${c}px ${u/2-n}px`,borderBottom:`${n}px ${r} ${i}`},[`${t}-inner-content`]:{padding:`${o}px ${c}px`}}}};var S=(0,h.Z)("Popover",e=>{let{colorBgElevated:t,colorText:n,wireframe:r}=e,i=(0,v.TS)(e,{popoverPadding:12,popoverBg:t,popoverColor:n});return[b(i),f(i),r&&x(i),(0,m._y)(i,"zoom-big")]},e=>({width:177,minWidth:177,zIndexPopup:e.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]}),$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let y=(e,t,n)=>{if(t||n)return o.createElement(o.Fragment,null,t&&o.createElement("div",{className:`${e}-title`},a(t)),o.createElement("div",{className:`${e}-inner-content`},a(n)))},C=e=>{let{hashId:t,prefixCls:n,className:r,style:a,placement:l="top",title:s,content:c,children:p}=e;return o.createElement("div",{className:i()(t,n,`${n}-pure`,`${n}-placement-${l}`,r),style:a},o.createElement("div",{className:`${n}-arrow`}),o.createElement(u.G,Object.assign({},e,{className:t,prefixCls:n}),p||y(n,s,c)))};var k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let E=e=>{let{title:t,content:n,prefixCls:r}=e;return o.createElement(o.Fragment,null,t&&o.createElement("div",{className:`${r}-title`},a(t)),o.createElement("div",{className:`${r}-inner-content`},a(n)))},N=o.forwardRef((e,t)=>{let{prefixCls:n,title:r,content:a,overlayClassName:u,placement:p="top",trigger:m="hover",mouseEnterDelay:d=.1,mouseLeaveDelay:g=.1,overlayStyle:h={}}=e,v=k(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:b}=o.useContext(s.E_),f=b("popover",n),[x,$]=S(f),y=b(),C=i()(u,$);return x(o.createElement(c.Z,Object.assign({placement:p,trigger:m,mouseEnterDelay:d,mouseLeaveDelay:g,overlayStyle:h},v,{prefixCls:f,overlayClassName:C,ref:t,overlay:r||a?o.createElement(E,{prefixCls:f,title:r,content:a}):null,transitionName:(0,l.m)(y,"zoom-big",v.transitionName),"data-popover-inject":!0})))});N._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t}=e,n=$(e,["prefixCls"]),{getPrefixCls:r}=o.useContext(s.E_),i=r("popover",t),[a,l]=S(i);return a(o.createElement(C,Object.assign({},n,{prefixCls:i,hashId:l})))};var P=N}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/34-52d4d2d11bef48dc.js b/pilot/server/static/_next/static/chunks/34-52d4d2d11bef48dc.js deleted file mode 100644 index d2cf41e32..000000000 --- a/pilot/server/static/_next/static/chunks/34-52d4d2d11bef48dc.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[34],{84229:function(e,t,n){n.d(t,{Z:function(){return y}});var r=n(63366),i=n(87462),o=n(67294),a=n(14142),l=n(94780),s=n(86010),c=n(20407),u=n(30220),p=n(74312),m=n(34867);function d(e){return(0,m.Z)("MuiBreadcrumbs",e)}(0,n(1588).Z)("MuiBreadcrumbs",["root","ol","li","separator","sizeSm","sizeMd","sizeLg"]);var g=n(85893);let h=["children","className","size","separator","component","slots","slotProps"],v=e=>{let{size:t}=e,n={root:["root",t&&`size${(0,a.Z)(t)}`],li:["li"],ol:["ol"],separator:["separator"]};return(0,l.Z)(n,d,{})},b=(0,p.Z)("nav",{name:"JoyBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>(0,i.Z)({},"sm"===t.size&&{"--Breadcrumbs-gap":"0.25rem",fontSize:e.vars.fontSize.sm,padding:"0.5rem"},"md"===t.size&&{"--Breadcrumbs-gap":"0.375rem",fontSize:e.vars.fontSize.md,padding:"0.75rem"},"lg"===t.size&&{"--Breadcrumbs-gap":"0.5rem",fontSize:e.vars.fontSize.lg,padding:"1rem"},{lineHeight:1})),f=(0,p.Z)("ol",{name:"JoyBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),x=(0,p.Z)("li",{name:"JoyBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({}),$=(0,p.Z)("li",{name:"JoyBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginInline:"var(--Breadcrumbs-gap)"}),S=o.forwardRef(function(e,t){let n=(0,c.Z)({props:e,name:"JoyBreadcrumbs"}),{children:a,className:l,size:p="md",separator:m="/",component:d,slots:S={},slotProps:y={}}=n,C=(0,r.Z)(n,h),k=(0,i.Z)({},n,{separator:m,size:p}),E=v(k),N=(0,i.Z)({},C,{component:d,slots:S,slotProps:y}),[P,z]=(0,u.Z)("root",{ref:t,className:(0,s.Z)(E.root,l),elementType:b,externalForwardedProps:N,ownerState:k}),[I,O]=(0,u.Z)("ol",{className:E.ol,elementType:f,externalForwardedProps:N,ownerState:k}),[w,j]=(0,u.Z)("li",{className:E.li,elementType:x,externalForwardedProps:N,ownerState:k}),[Z,B]=(0,u.Z)("separator",{additionalProps:{"aria-hidden":!0},className:E.separator,elementType:$,externalForwardedProps:N,ownerState:k}),T=o.Children.toArray(a).filter(e=>o.isValidElement(e)).map((e,t)=>(0,g.jsx)(w,(0,i.Z)({},j,{children:e}),`child-${t}`));return(0,g.jsx)(P,(0,i.Z)({},z,{children:(0,g.jsx)(I,(0,i.Z)({},O,{children:T.reduce((e,t,n)=>(nt.root});function $(e){return(0,p.Z)({props:e,name:"MuiStack",defaultTheme:f})}let S=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],y=({ownerState:e,theme:t})=>{let n=(0,i.Z)({display:"flex",flexDirection:"column"},(0,g.k9)({theme:t},(0,g.P$)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){let r=(0,h.hB)(t),i=Object.keys(t.breakpoints.values).reduce((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t),{}),o=(0,g.P$)({values:e.direction,base:i}),a=(0,g.P$)({values:e.spacing,base:i});"object"==typeof o&&Object.keys(o).forEach((e,t,n)=>{let r=o[e];if(!r){let r=t>0?o[n[t-1]]:"column";o[e]=r}}),n=(0,l.Z)(n,(0,g.k9)({theme:t},a,(t,n)=>e.useFlexGap?{gap:(0,h.NA)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${S(n?o[n]:e.direction)}`]:(0,h.NA)(r,t)}}))}return(0,g.dt)(t.breakpoints,n)};var C=n(74312),k=n(20407);let E=function(e={}){let{createStyledComponent:t=x,useThemeProps:n=$,componentName:l="MuiStack"}=e,u=()=>(0,s.Z)({root:["root"]},e=>(0,c.Z)(l,e),{}),p=t(y),d=o.forwardRef(function(e,t){let l=n(e),s=(0,m.Z)(l),{component:c="div",direction:d="column",spacing:g=0,divider:h,children:f,className:x,useFlexGap:$=!1}=s,S=(0,r.Z)(s,b),y=u();return(0,v.jsx)(p,(0,i.Z)({as:c,ownerState:{direction:d,spacing:g,useFlexGap:$},ref:t,className:(0,a.Z)(y.root,x)},S,{children:h?function(e,t){let n=o.Children.toArray(e).filter(Boolean);return n.reduce((e,r,i)=>(e.push(r),it.root}),useThemeProps:e=>(0,k.Z)({props:e,name:"JoyStack"})});var N=E},60122:function(e,t,n){n.d(t,{Z:function(){return ee}});var r=n(87462),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},a=n(42135),l=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))}),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},c=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:s}))}),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},p=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:u}))}),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},d=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:m}))}),g=n(94184),h=n.n(g),v=n(4942),b=n(1413),f=n(15671),x=n(43144),$=n(32531),S=n(73568),y=n(64217),C={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},k=function(e){(0,$.Z)(n,e);var t=(0,S.Z)(n);function n(){var e;(0,f.Z)(this,n);for(var r=arguments.length,i=Array(r),o=0;o=0||t.relatedTarget.className.indexOf("".concat(o,"-item"))>=0)||i(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode===C.ENTER||"click"===t.type)&&(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue()))},e}return(0,x.Z)(n,[{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some(function(e){return e.toString()===t.toString()})?n:n.concat([t.toString()]).sort(function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))})}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,r=t.locale,o=t.rootPrefixCls,a=t.changeSize,l=t.quickGo,s=t.goButton,c=t.selectComponentClass,u=t.buildOptionText,p=t.selectPrefixCls,m=t.disabled,d=this.state.goInputText,g="".concat(o,"-options"),h=null,v=null,b=null;if(!a&&!l)return null;var f=this.getPageSizeOptions();if(a&&c){var x=f.map(function(t,n){return i.createElement(c.Option,{key:n,value:t.toString()},(u||e.buildOptionText)(t))});h=i.createElement(c,{disabled:m,prefixCls:p,showSearch:!1,className:"".concat(g,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(n||f[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":r.page_size,defaultOpen:!1},x)}return l&&(s&&(b="boolean"==typeof s?i.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:m,className:"".concat(g,"-quick-jumper-button")},r.jump_to_confirm):i.createElement("span",{onClick:this.go,onKeyUp:this.go},s)),v=i.createElement("div",{className:"".concat(g,"-quick-jumper")},r.jump_to,i.createElement("input",{disabled:m,type:"text",value:d,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":r.page}),r.page,b)),i.createElement("li",{className:"".concat(g)},h,v)}}]),n}(i.Component);k.defaultProps={pageSizeOptions:["10","20","50","100"]};var E=function(e){var t,n=e.rootPrefixCls,r=e.page,o=e.active,a=e.className,l=e.showTitle,s=e.onClick,c=e.onKeyPress,u=e.itemRender,p="".concat(n,"-item"),m=h()(p,"".concat(p,"-").concat(r),(t={},(0,v.Z)(t,"".concat(p,"-active"),o),(0,v.Z)(t,"".concat(p,"-disabled"),!r),(0,v.Z)(t,e.className,a),t));return i.createElement("li",{title:l?r.toString():null,className:m,onClick:function(){s(r)},onKeyPress:function(e){c(e,s,r)},tabIndex:0},u(r,"page",i.createElement("a",{rel:"nofollow"},r)))};function N(){}function P(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function z(e,t,n){var r=void 0===e?t.pageSize:e;return Math.floor((n.total-1)/r)+1}var I=function(e){(0,$.Z)(n,e);var t=(0,S.Z)(n);function n(e){(0,f.Z)(this,n),(r=t.call(this,e)).paginationNode=i.createRef(),r.getJumpPrevPage=function(){return Math.max(1,r.state.current-(r.props.showLessItems?3:5))},r.getJumpNextPage=function(){return Math.min(z(void 0,r.state,r.props),r.state.current+(r.props.showLessItems?3:5))},r.getItemIcon=function(e,t){var n=r.props.prefixCls,o=e||i.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"==typeof e&&(o=i.createElement(e,(0,b.Z)({},r.props))),o},r.isValid=function(e){var t=r.props.total;return P(e)&&e!==r.state.current&&P(t)&&t>0},r.shouldDisplayQuickJumper=function(){var e=r.props,t=e.showQuickJumper;return!(e.total<=r.state.pageSize)&&t},r.handleKeyDown=function(e){(e.keyCode===C.ARROW_UP||e.keyCode===C.ARROW_DOWN)&&e.preventDefault()},r.handleKeyUp=function(e){var t=r.getValidValue(e);t!==r.state.currentInputValue&&r.setState({currentInputValue:t}),e.keyCode===C.ENTER?r.handleChange(t):e.keyCode===C.ARROW_UP?r.handleChange(t-1):e.keyCode===C.ARROW_DOWN&&r.handleChange(t+1)},r.handleBlur=function(e){var t=r.getValidValue(e);r.handleChange(t)},r.changePageSize=function(e){var t=r.state.current,n=z(e,r.state,r.props);t=t>n?n:t,0===n&&(t=r.state.current),"number"!=typeof e||("pageSize"in r.props||r.setState({pageSize:e}),"current"in r.props||r.setState({current:t,currentInputValue:t})),r.props.onShowSizeChange(t,e),"onChange"in r.props&&r.props.onChange&&r.props.onChange(t,e)},r.handleChange=function(e){var t=r.props,n=t.disabled,i=t.onChange,o=r.state,a=o.pageSize,l=o.current,s=o.currentInputValue;if(r.isValid(e)&&!n){var c=z(void 0,r.state,r.props),u=e;return e>c?u=c:e<1&&(u=1),"current"in r.props||r.setState({current:u}),u!==s&&r.setState({currentInputValue:u}),i(u,a),u}return l},r.prev=function(){r.hasPrev()&&r.handleChange(r.state.current-1)},r.next=function(){r.hasNext()&&r.handleChange(r.state.current+1)},r.jumpPrev=function(){r.handleChange(r.getJumpPrevPage())},r.jumpNext=function(){r.handleChange(r.getJumpNextPage())},r.hasPrev=function(){return r.state.current>1},r.hasNext=function(){return r.state.current2?n-2:0),i=2;i=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,r=e.totalBoundaryShowSizeChanger;return void 0!==t?t:n>r}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,o=e.style,a=e.disabled,l=e.hideOnSinglePage,s=e.total,c=e.locale,u=e.showQuickJumper,p=e.showLessItems,m=e.showTitle,d=e.showTotal,g=e.simple,b=e.itemRender,f=e.showPrevNextJumpers,x=e.jumpPrevIcon,$=e.jumpNextIcon,S=e.selectComponentClass,C=e.selectPrefixCls,N=e.pageSizeOptions,P=this.state,I=P.current,O=P.pageSize,w=P.currentInputValue;if(!0===l&&s<=O)return null;var j=z(void 0,this.state,this.props),Z=[],B=null,T=null,M=null,R=null,D=null,_=u&&u.goButton,A=p?1:2,H=I-1>0?I-1:0,W=I+1s?s:I*O]));if(g)return _&&(D="boolean"==typeof _?i.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},c.jump_to_confirm):i.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},_),D=i.createElement("li",{title:m?"".concat(c.jump_to).concat(I,"/").concat(j):null,className:"".concat(t,"-simple-pager")},D)),i.createElement("ul",(0,r.Z)({className:h()(t,"".concat(t,"-simple"),(0,v.Z)({},"".concat(t,"-disabled"),a),n),style:o,ref:this.paginationNode},V),L,i.createElement("li",{title:m?c.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:h()("".concat(t,"-prev"),(0,v.Z)({},"".concat(t,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(H)),i.createElement("li",{title:m?"".concat(I,"/").concat(j):null,className:"".concat(t,"-simple-pager")},i.createElement("input",{type:"text",value:w,disabled:a,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),i.createElement("span",{className:"".concat(t,"-slash")},"/"),j),i.createElement("li",{title:m?c.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:h()("".concat(t,"-next"),(0,v.Z)({},"".concat(t,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(W)),D);if(j<=3+2*A){var J={locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:m,itemRender:b};j||Z.push(i.createElement(E,(0,r.Z)({},J,{key:"noPager",page:1,className:"".concat(t,"-item-disabled")})));for(var K=1;K<=j;K+=1){var G=I===K;Z.push(i.createElement(E,(0,r.Z)({},J,{key:K,page:K,active:G})))}}else{var U=p?c.prev_3:c.prev_5,X=p?c.next_3:c.next_5;f&&(B=i.createElement("li",{title:m?U:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:h()("".concat(t,"-jump-prev"),(0,v.Z)({},"".concat(t,"-jump-prev-custom-icon"),!!x))},b(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(x,"prev page"))),T=i.createElement("li",{title:m?X:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:h()("".concat(t,"-jump-next"),(0,v.Z)({},"".concat(t,"-jump-next-custom-icon"),!!$))},b(this.getJumpNextPage(),"jump-next",this.getItemIcon($,"next page")))),R=i.createElement(E,{locale:c,last:!0,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:j,page:j,active:!1,showTitle:m,itemRender:b}),M=i.createElement(E,{locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:m,itemRender:b});var F=Math.max(1,I-A),q=Math.min(I+A,j);I-1<=A&&(q=1+2*A),j-I<=A&&(F=j-2*A);for(var Q=F;Q<=q;Q+=1){var Y=I===Q;Z.push(i.createElement(E,{locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Q,page:Q,active:Y,showTitle:m,itemRender:b}))}I-1>=2*A&&3!==I&&(Z[0]=(0,i.cloneElement)(Z[0],{className:"".concat(t,"-item-after-jump-prev")}),Z.unshift(B)),j-I>=2*A&&I!==j-2&&(Z[Z.length-1]=(0,i.cloneElement)(Z[Z.length-1],{className:"".concat(t,"-item-before-jump-next")}),Z.push(T)),1!==F&&Z.unshift(M),q!==j&&Z.push(R)}var ee=!this.hasPrev()||!j,et=!this.hasNext()||!j;return i.createElement("ul",(0,r.Z)({className:h()(t,n,(0,v.Z)({},"".concat(t,"-disabled"),a)),style:o,ref:this.paginationNode},V),L,i.createElement("li",{title:m?c.prev_page:null,onClick:this.prev,tabIndex:ee?null:0,onKeyPress:this.runIfEnterPrev,className:h()("".concat(t,"-prev"),(0,v.Z)({},"".concat(t,"-disabled"),ee)),"aria-disabled":ee},this.renderPrev(H)),Z,i.createElement("li",{title:m?c.next_page:null,onClick:this.next,tabIndex:et?null:0,onKeyPress:this.runIfEnterNext,className:h()("".concat(t,"-next"),(0,v.Z)({},"".concat(t,"-disabled"),et)),"aria-disabled":et},this.renderNext(W)),i.createElement(k,{disabled:a,locale:c,rootPrefixCls:t,selectComponentClass:S,selectPrefixCls:C,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:I,pageSize:O,pageSizeOptions:N,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:_}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var r=t.current,i=z(e.pageSize,t,e);r=r>i?i:r,"current"in e||(n.current=r,n.currentInputValue=r),n.pageSize=e.pageSize}return n}}]),n}(i.Component);I.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:N,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:N,locale:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var O=n(62906),w=n(53124),j=n(98675),Z=n(57838),B=n(74443),T=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,i.useRef)({}),n=(0,Z.Z)(),r=(0,B.Z)();return(0,i.useEffect)(()=>{let i=r.subscribe(r=>{t.current=r,e&&n()});return()=>r.unsubscribe(i)},[]),t.current},M=n(10110),R=n(24069);let D=e=>i.createElement(R.Z,Object.assign({},e,{showSearch:!0,size:"small"})),_=e=>i.createElement(R.Z,Object.assign({},e,{showSearch:!0,size:"middle"}));D.Option=R.Z.Option,_.Option=R.Z.Option;var A=n(47673),H=n(14747),W=n(67968),V=n(45503);let L=e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},J=e=>{let{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM-2}px`},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` - &${t}-mini ${t}-prev ${t}-item-link, - &${t}-mini ${t}-next ${t}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,A.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},K=e=>{let{componentCls:t}=e;return{[` - &${t}-simple ${t}-prev, - &${t}-simple ${t}-next - `]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},G=e=>{let{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` - ${t}-prev, - ${t}-jump-prev, - ${t}-jump-next - `]:{marginInlineEnd:e.marginXS},[` - ${t}-prev, - ${t}-next, - ${t}-jump-prev, - ${t}-jump-next - `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`border ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,A.ik)(e)),{width:1.25*e.controlHeightLG,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},U=e=>{let{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:`${e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,transition:"none","&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},X=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,H.Wf)(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.itemSize-2}px`,verticalAlign:"middle"}}),U(e)),G(e)),K(e)),J(e)),L(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},F=e=>{let{componentCls:t}=e;return{[`${t}${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},q=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,H.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,H.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,H.oN)(e))}}}};var Q=(0,W.Z)("Pagination",e=>{let t=(0,V.TS)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:1.1*e.controlHeightLG,paginationItemPaddingInline:1.5*e.marginXXS,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,A.e5)(e));return[X(t),q(t),e.wireframe&&F(t)]},e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0})),Y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},ee=e=>{let{prefixCls:t,selectPrefixCls:n,className:r,rootClassName:o,style:a,size:s,locale:u,selectComponentClass:m,responsive:g,showSizeChanger:v}=e,b=Y(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:f}=T(g),{getPrefixCls:x,direction:$,pagination:S={}}=i.useContext(w.E_),y=x("pagination",t),[C,k]=Q(y),E=null!=v?v:S.showSizeChanger,N=i.useMemo(()=>{let e=i.createElement("span",{className:`${y}-item-ellipsis`},"•••"),t=i.createElement("button",{className:`${y}-item-link`,type:"button",tabIndex:-1},"rtl"===$?i.createElement(d,null):i.createElement(p,null)),n=i.createElement("button",{className:`${y}-item-link`,type:"button",tabIndex:-1},"rtl"===$?i.createElement(p,null):i.createElement(d,null)),r=i.createElement("a",{className:`${y}-item-link`},i.createElement("div",{className:`${y}-item-container`},"rtl"===$?i.createElement(c,{className:`${y}-item-link-icon`}):i.createElement(l,{className:`${y}-item-link-icon`}),e)),o=i.createElement("a",{className:`${y}-item-link`},i.createElement("div",{className:`${y}-item-container`},"rtl"===$?i.createElement(l,{className:`${y}-item-link-icon`}):i.createElement(c,{className:`${y}-item-link-icon`}),e));return{prevIcon:t,nextIcon:n,jumpPrevIcon:r,jumpNextIcon:o}},[$,y]),[P]=(0,M.Z)("Pagination",O.Z),z=Object.assign(Object.assign({},P),u),Z=(0,j.Z)(s),B="small"===Z||!!(f&&!Z&&g),R=x("select",n),A=h()({[`${y}-mini`]:B,[`${y}-rtl`]:"rtl"===$},null==S?void 0:S.className,r,o,k),H=Object.assign(Object.assign({},null==S?void 0:S.style),a);return C(i.createElement(I,Object.assign({},N,b,{style:H,prefixCls:y,selectPrefixCls:R,className:A,selectComponentClass:m||(B?D:_),locale:z,showSizeChanger:E})))}},74627:function(e,t,n){n.d(t,{Z:function(){return P}});var r=n(94184),i=n.n(r),o=n(67294);let a=e=>e?"function"==typeof e?e():e:null;var l=n(33603),s=n(53124),c=n(94139),u=n(92419),p=n(14747),m=n(50438),d=n(77786),g=n(8796),h=n(67968),v=n(45503);let b=e=>{let{componentCls:t,popoverColor:n,minWidth:r,fontWeightStrong:i,popoverPadding:o,boxShadowSecondary:a,colorTextHeading:l,borderRadiusLG:s,zIndexPopup:c,marginXS:u,colorBgElevated:m,popoverBg:g}=e;return[{[t]:Object.assign(Object.assign({},(0,p.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":m,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:g,backgroundClip:"padding-box",borderRadius:s,boxShadow:a,padding:o},[`${t}-title`]:{minWidth:r,marginBottom:u,color:l,fontWeight:i},[`${t}-inner-content`]:{color:n}})},(0,d.ZP)(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},f=e=>{let{componentCls:t}=e;return{[t]:g.i.map(n=>{let r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},x=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorSplit:i,paddingSM:o,controlHeight:a,fontSize:l,lineHeight:s,padding:c}=e,u=a-Math.round(l*s);return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${u/2}px ${c}px ${u/2-n}px`,borderBottom:`${n}px ${r} ${i}`},[`${t}-inner-content`]:{padding:`${o}px ${c}px`}}}};var $=(0,h.Z)("Popover",e=>{let{colorBgElevated:t,colorText:n,wireframe:r}=e,i=(0,v.TS)(e,{popoverPadding:12,popoverBg:t,popoverColor:n});return[b(i),f(i),r&&x(i),(0,m._y)(i,"zoom-big")]},e=>({width:177,minWidth:177,zIndexPopup:e.zIndexPopupBase+30}),{deprecatedTokens:[["width","minWidth"]]}),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let y=(e,t,n)=>{if(t||n)return o.createElement(o.Fragment,null,t&&o.createElement("div",{className:`${e}-title`},a(t)),o.createElement("div",{className:`${e}-inner-content`},a(n)))},C=e=>{let{hashId:t,prefixCls:n,className:r,style:a,placement:l="top",title:s,content:c,children:p}=e;return o.createElement("div",{className:i()(t,n,`${n}-pure`,`${n}-placement-${l}`,r),style:a},o.createElement("div",{className:`${n}-arrow`}),o.createElement(u.G,Object.assign({},e,{className:t,prefixCls:n}),p||y(n,s,c)))};var k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let E=e=>{let{title:t,content:n,prefixCls:r}=e;return o.createElement(o.Fragment,null,t&&o.createElement("div",{className:`${r}-title`},a(t)),o.createElement("div",{className:`${r}-inner-content`},a(n)))},N=o.forwardRef((e,t)=>{let{prefixCls:n,title:r,content:a,overlayClassName:u,placement:p="top",trigger:m="hover",mouseEnterDelay:d=.1,mouseLeaveDelay:g=.1,overlayStyle:h={}}=e,v=k(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:b}=o.useContext(s.E_),f=b("popover",n),[x,S]=$(f),y=b(),C=i()(u,S);return x(o.createElement(c.Z,Object.assign({placement:p,trigger:m,mouseEnterDelay:d,mouseLeaveDelay:g,overlayStyle:h},v,{prefixCls:f,overlayClassName:C,ref:t,overlay:r||a?o.createElement(E,{prefixCls:f,title:r,content:a}):null,transitionName:(0,l.m)(y,"zoom-big",v.transitionName),"data-popover-inject":!0})))});N._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t}=e,n=S(e,["prefixCls"]),{getPrefixCls:r}=o.useContext(s.E_),i=r("popover",t),[a,l]=$(i);return a(o.createElement(C,Object.assign({},n,{prefixCls:i,hashId:l})))};var P=N}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/378-dbd26a0c14558f18.js b/pilot/server/static/_next/static/chunks/378-dbd26a0c14558f18.js deleted file mode 100644 index 5f9902527..000000000 --- a/pilot/server/static/_next/static/chunks/378-dbd26a0c14558f18.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[378],{80882:function(e,n,t){t.d(n,{Z:function(){return l}});var o=t(87462),r=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=t(42135),l=r.forwardRef(function(e,n){return r.createElement(a.Z,(0,o.Z)({},e,{ref:n,icon:i}))})},74443:function(e,n,t){t.d(n,{Z:function(){return c},c:function(){return i}});var o=t(67294),r=t(25976);let i=["xxl","xl","lg","md","sm","xs"],a=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),l=e=>{let n=[].concat(i).reverse();return n.forEach((t,o)=>{let r=t.toUpperCase(),i=`screen${r}Min`,a=`screen${r}`;if(!(e[i]<=e[a]))throw Error(`${i}<=${a} fails : !(${e[i]}<=${e[a]})`);if(o{let e=new Map,t=-1,o={};return{matchHandlers:{},dispatch:n=>(o=n,e.forEach(e=>e(o)),e.size>=1),subscribe(n){return e.size||this.register(),t+=1,e.set(t,n),n(o),t},unsubscribe(n){e.delete(n),e.size||this.unregister()},unregister(){Object.keys(n).forEach(e=>{let t=n[e],o=this.matchHandlers[t];null==o||o.mql.removeListener(null==o?void 0:o.listener)}),e.clear()},register(){Object.keys(n).forEach(e=>{let t=n[e],r=n=>{let{matches:t}=n;this.dispatch(Object.assign(Object.assign({},o),{[e]:t}))},i=window.matchMedia(t);i.addListener(r),this.matchHandlers[t]={mql:i,listener:r},r(i)})},responsiveMap:n}},[e])}},24069:function(e,n,t){t.d(n,{Z:function(){return ne}});var o,r,i=t(94184),a=t.n(i),l=t(87462),c=t(74902),u=t(4942),s=t(1413),d=t(97685),p=t(45987),f=t(71002),m=t(21770),v=t(80334),g=t(67294),h=t(8410),b=t(31131),w=t(15105),S=t(42550),y=g.createContext(null);function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=g.useRef(null),t=g.useRef(null);return g.useEffect(function(){return function(){window.clearTimeout(t.current)}},[]),[function(){return n.current},function(o){(o||null===n.current)&&(n.current=o),window.clearTimeout(t.current),t.current=window.setTimeout(function(){n.current=null},e)}]}var x=t(64217),$=t(39983),C=function(e){var n,t=e.className,o=e.customizeIcon,r=e.customizeIconProps,i=e.onMouseDown,l=e.onClick,c=e.children;return n="function"==typeof o?o(r):o,g.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),i&&i(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==n?n:g.createElement("span",{className:a()(t.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},c))},Z=g.forwardRef(function(e,n){var t,o,r=e.prefixCls,i=e.id,l=e.inputElement,c=e.disabled,u=e.tabIndex,d=e.autoFocus,p=e.autoComplete,f=e.editable,m=e.activeDescendantId,h=e.value,b=e.maxLength,w=e.onKeyDown,y=e.onMouseDown,E=e.onChange,x=e.onPaste,$=e.onCompositionStart,C=e.onCompositionEnd,Z=e.open,I=e.attrs,O=l||g.createElement("input",null),M=O,R=M.ref,D=M.props,N=D.onKeyDown,P=D.onChange,T=D.onMouseDown,k=D.onCompositionStart,z=D.onCompositionEnd,H=D.style;return(0,v.Kp)(!("maxLength"in O.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),O=g.cloneElement(O,(0,s.Z)((0,s.Z)((0,s.Z)({type:"search"},D),{},{id:i,ref:(0,S.sQ)(n,R),disabled:c,tabIndex:u,autoComplete:p||"off",autoFocus:d,className:a()("".concat(r,"-selection-search-input"),null===(t=O)||void 0===t?void 0:null===(o=t.props)||void 0===o?void 0:o.className),role:"combobox","aria-label":"Search","aria-expanded":Z,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":Z?m:void 0},I),{},{value:f?h:"",maxLength:b,readOnly:!f,unselectable:f?null:"on",style:(0,s.Z)((0,s.Z)({},H),{},{opacity:f?null:0}),onKeyDown:function(e){w(e),N&&N(e)},onMouseDown:function(e){y(e),T&&T(e)},onChange:function(e){E(e),P&&P(e)},onCompositionStart:function(e){$(e),k&&k(e)},onCompositionEnd:function(e){C(e),z&&z(e)},onPaste:x}))});function I(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}Z.displayName="Input";var O="undefined"!=typeof window&&window.document&&window.document.documentElement;function M(e){return["string","number"].includes((0,f.Z)(e))}function R(e){var n=void 0;return e&&(M(e.title)?n=e.title.toString():M(e.label)&&(n=e.label.toString())),n}function D(e){var n;return null!==(n=e.key)&&void 0!==n?n:e.value}var N=function(e){e.preventDefault(),e.stopPropagation()},P=function(e){var n,t,o=e.id,r=e.prefixCls,i=e.values,l=e.open,c=e.searchValue,s=e.autoClearSearchValue,p=e.inputRef,f=e.placeholder,m=e.disabled,v=e.mode,h=e.showSearch,b=e.autoFocus,w=e.autoComplete,S=e.activeDescendantId,y=e.tabIndex,E=e.removeIcon,I=e.maxTagCount,M=e.maxTagTextLength,P=e.maxTagPlaceholder,T=void 0===P?function(e){return"+ ".concat(e.length," ...")}:P,k=e.tagRender,z=e.onToggleOpen,H=e.onRemove,j=e.onInputChange,L=e.onInputPaste,V=e.onInputKeyDown,W=e.onInputMouseDown,A=e.onInputCompositionStart,F=e.onInputCompositionEnd,_=g.useRef(null),K=(0,g.useState)(0),B=(0,d.Z)(K,2),U=B[0],X=B[1],G=(0,g.useState)(!1),Y=(0,d.Z)(G,2),Q=Y[0],q=Y[1],J="".concat(r,"-selection"),ee=l||"multiple"===v&&!1===s||"tags"===v?c:"",en="tags"===v||"multiple"===v&&!1===s||h&&(l||Q);function et(e,n,t,o,r){return g.createElement("span",{className:a()("".concat(J,"-item"),(0,u.Z)({},"".concat(J,"-item-disabled"),t)),title:R(e)},g.createElement("span",{className:"".concat(J,"-item-content")},n),o&&g.createElement(C,{className:"".concat(J,"-item-remove"),onMouseDown:N,onClick:r,customizeIcon:E},"\xd7"))}n=function(){X(_.current.scrollWidth)},t=[ee],O?g.useLayoutEffect(n,t):g.useEffect(n,t);var eo=g.createElement("div",{className:"".concat(J,"-search"),style:{width:U},onFocus:function(){q(!0)},onBlur:function(){q(!1)}},g.createElement(Z,{ref:p,open:l,prefixCls:r,id:o,inputElement:null,disabled:m,autoFocus:b,autoComplete:w,editable:en,activeDescendantId:S,value:ee,onKeyDown:V,onMouseDown:W,onChange:j,onPaste:L,onCompositionStart:A,onCompositionEnd:F,tabIndex:y,attrs:(0,x.Z)(e,!0)}),g.createElement("span",{ref:_,className:"".concat(J,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),er=g.createElement($.Z,{prefixCls:"".concat(J,"-overflow"),data:i,renderItem:function(e){var n,t=e.disabled,o=e.label,r=e.value,i=!m&&!t,a=o;if("number"==typeof M&&("string"==typeof o||"number"==typeof o)){var c=String(a);c.length>M&&(a="".concat(c.slice(0,M),"..."))}var u=function(n){n&&n.stopPropagation(),H(e)};return"function"==typeof k?(n=a,g.createElement("span",{onMouseDown:function(e){N(e),z(!l)}},k({label:n,value:r,disabled:t,closable:i,onClose:u}))):et(e,a,t,i,u)},renderRest:function(e){var n="function"==typeof T?T(e):T;return et({title:n},n,!1)},suffix:eo,itemKey:D,maxCount:I});return g.createElement(g.Fragment,null,er,!i.length&&!ee&&g.createElement("span",{className:"".concat(J,"-placeholder")},f))},T=function(e){var n=e.inputElement,t=e.prefixCls,o=e.id,r=e.inputRef,i=e.disabled,a=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,u=e.mode,s=e.open,p=e.values,f=e.placeholder,m=e.tabIndex,v=e.showSearch,h=e.searchValue,b=e.activeValue,w=e.maxLength,S=e.onInputKeyDown,y=e.onInputMouseDown,E=e.onInputChange,$=e.onInputPaste,C=e.onInputCompositionStart,I=e.onInputCompositionEnd,O=e.title,M=g.useState(!1),D=(0,d.Z)(M,2),N=D[0],P=D[1],T="combobox"===u,k=T||v,z=p[0],H=h||"";T&&b&&!N&&(H=b),g.useEffect(function(){T&&P(!1)},[T,b]);var j=("combobox"===u||!!s||!!v)&&!!H,L=void 0===O?R(z):O;return g.createElement(g.Fragment,null,g.createElement("span",{className:"".concat(t,"-selection-search")},g.createElement(Z,{ref:r,prefixCls:t,id:o,open:s,inputElement:n,disabled:i,autoFocus:a,autoComplete:l,editable:k,activeDescendantId:c,value:H,onKeyDown:S,onMouseDown:y,onChange:function(e){P(!0),E(e)},onPaste:$,onCompositionStart:C,onCompositionEnd:I,tabIndex:m,attrs:(0,x.Z)(e,!0),maxLength:T?w:void 0})),!T&&z?g.createElement("span",{className:"".concat(t,"-selection-item"),title:L,style:j?{visibility:"hidden"}:void 0},z.label):null,z?null:g.createElement("span",{className:"".concat(t,"-selection-placeholder"),style:j?{visibility:"hidden"}:void 0},f))},k=g.forwardRef(function(e,n){var t=(0,g.useRef)(null),o=(0,g.useRef)(!1),r=e.prefixCls,i=e.open,a=e.mode,c=e.showSearch,u=e.tokenWithEnter,s=e.autoClearSearchValue,p=e.onSearch,f=e.onSearchSubmit,m=e.onToggleOpen,v=e.onInputKeyDown,h=e.domRef;g.useImperativeHandle(n,function(){return{focus:function(){t.current.focus()},blur:function(){t.current.blur()}}});var b=E(0),S=(0,d.Z)(b,2),y=S[0],x=S[1],$=(0,g.useRef)(null),C=function(e){!1!==p(e,!0,o.current)&&m(!0)},Z={inputRef:t,onInputKeyDown:function(e){var n=e.which;(n===w.Z.UP||n===w.Z.DOWN)&&e.preventDefault(),v&&v(e),n!==w.Z.ENTER||"tags"!==a||o.current||i||null==f||f(e.target.value),[w.Z.ESC,w.Z.SHIFT,w.Z.BACKSPACE,w.Z.TAB,w.Z.WIN_KEY,w.Z.ALT,w.Z.META,w.Z.WIN_KEY_RIGHT,w.Z.CTRL,w.Z.SEMICOLON,w.Z.EQUALS,w.Z.CAPS_LOCK,w.Z.CONTEXT_MENU,w.Z.F1,w.Z.F2,w.Z.F3,w.Z.F4,w.Z.F5,w.Z.F6,w.Z.F7,w.Z.F8,w.Z.F9,w.Z.F10,w.Z.F11,w.Z.F12].includes(n)||m(!0)},onInputMouseDown:function(){x(!0)},onInputChange:function(e){var n=e.target.value;if(u&&$.current&&/[\r\n]/.test($.current)){var t=$.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");n=n.replace(t,$.current)}$.current=null,C(n)},onInputPaste:function(e){var n=e.clipboardData.getData("text");$.current=n},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==a&&C(e.target.value)}},I="multiple"===a||"tags"===a?g.createElement(P,(0,l.Z)({},e,Z)):g.createElement(T,(0,l.Z)({},e,Z));return g.createElement("div",{ref:h,className:"".concat(r,"-selector"),onClick:function(e){e.target!==t.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){t.current.focus()}):t.current.focus())},onMouseDown:function(e){var n=y();e.target===t.current||n||"combobox"===a||e.preventDefault(),("combobox"===a||c&&n)&&i||(i&&!1!==s&&p("",!0,!1),m())}},I)});k.displayName="Selector";var z=t(40228),H=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],j=function(e){var n=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"}}},L=g.forwardRef(function(e,n){var t=e.prefixCls,o=(e.disabled,e.visible),r=e.children,i=e.popupElement,c=e.containerWidth,d=e.animation,f=e.transitionName,m=e.dropdownStyle,v=e.dropdownClassName,h=e.direction,b=e.placement,w=e.builtinPlacements,S=e.dropdownMatchSelectWidth,y=e.dropdownRender,E=e.dropdownAlign,x=e.getPopupContainer,$=e.empty,C=e.getTriggerDOMNode,Z=e.onPopupVisibleChange,I=e.onPopupMouseEnter,O=(0,p.Z)(e,H),M="".concat(t,"-dropdown"),R=i;y&&(R=y(i));var D=g.useMemo(function(){return w||j(S)},[w,S]),N=d?"".concat(M,"-").concat(d):f,P=g.useRef(null);g.useImperativeHandle(n,function(){return{getPopupElement:function(){return P.current}}});var T=(0,s.Z)({minWidth:c},m);return"number"==typeof S?T.width=S:S&&(T.width=c),g.createElement(z.Z,(0,l.Z)({},O,{showAction:Z?["click"]:[],hideAction:Z?["click"]:[],popupPlacement:b||("rtl"===(void 0===h?"ltr":h)?"bottomRight":"bottomLeft"),builtinPlacements:D,prefixCls:M,popupTransitionName:N,popup:g.createElement("div",{ref:P,onMouseEnter:I},R),popupAlign:E,popupVisible:o,getPopupContainer:x,popupClassName:a()(v,(0,u.Z)({},"".concat(M,"-empty"),$)),popupStyle:T,getTriggerDOMNode:C,onPopupVisibleChange:Z}),r)});L.displayName="SelectTrigger";var V=t(84506);function W(e,n){var t,o=e.key;return("value"in e&&(t=e.value),null!=o)?o:void 0!==t?t:"rc-index-key-".concat(n)}function A(e,n){var t=e||{},o=t.label,r=t.value,i=t.options,a=t.groupLabel,l=o||(n?"children":"label");return{label:l,value:r||"value",options:i||"options",groupLabel:a||l}}function F(e){var n=(0,s.Z)({},e);return"props"in n||Object.defineProperty(n,"props",{get:function(){return(0,v.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),n}}),n}var _=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],K=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function B(e){return"tags"===e||"multiple"===e}var U=g.forwardRef(function(e,n){var t,o,r,i,v,x,$,Z,I=e.id,O=e.prefixCls,M=e.className,R=e.showSearch,D=e.tagRender,N=e.direction,P=e.omitDomProps,T=e.displayValues,z=e.onDisplayValuesChange,H=e.emptyOptions,j=e.notFoundContent,W=void 0===j?"Not Found":j,A=e.onClear,F=e.mode,U=e.disabled,X=e.loading,G=e.getInputElement,Y=e.getRawInputElement,Q=e.open,q=e.defaultOpen,J=e.onDropdownVisibleChange,ee=e.activeValue,en=e.onActiveValueChange,et=e.activeDescendantId,eo=e.searchValue,er=e.autoClearSearchValue,ei=e.onSearch,ea=e.onSearchSplit,el=e.tokenSeparators,ec=e.allowClear,eu=e.suffixIcon,es=e.clearIcon,ed=e.OptionList,ep=e.animation,ef=e.transitionName,em=e.dropdownStyle,ev=e.dropdownClassName,eg=e.dropdownMatchSelectWidth,eh=e.dropdownRender,eb=e.dropdownAlign,ew=e.placement,eS=e.builtinPlacements,ey=e.getPopupContainer,eE=e.showAction,ex=void 0===eE?[]:eE,e$=e.onFocus,eC=e.onBlur,eZ=e.onKeyUp,eI=e.onKeyDown,eO=e.onMouseDown,eM=(0,p.Z)(e,_),eR=B(F),eD=(void 0!==R?R:eR)||"combobox"===F,eN=(0,s.Z)({},eM);K.forEach(function(e){delete eN[e]}),null==P||P.forEach(function(e){delete eN[e]});var eP=g.useState(!1),eT=(0,d.Z)(eP,2),ek=eT[0],ez=eT[1];g.useEffect(function(){ez((0,b.Z)())},[]);var eH=g.useRef(null),ej=g.useRef(null),eL=g.useRef(null),eV=g.useRef(null),eW=g.useRef(null),eA=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,n=g.useState(!1),t=(0,d.Z)(n,2),o=t[0],r=t[1],i=g.useRef(null),a=function(){window.clearTimeout(i.current)};return g.useEffect(function(){return a},[]),[o,function(n,t){a(),i.current=window.setTimeout(function(){r(n),t&&t()},e)},a]}(),eF=(0,d.Z)(eA,3),e_=eF[0],eK=eF[1],eB=eF[2];g.useImperativeHandle(n,function(){var e,n;return{focus:null===(e=eV.current)||void 0===e?void 0:e.focus,blur:null===(n=eV.current)||void 0===n?void 0:n.blur,scrollTo:function(e){var n;return null===(n=eW.current)||void 0===n?void 0:n.scrollTo(e)}}});var eU=g.useMemo(function(){if("combobox"!==F)return eo;var e,n=null===(e=T[0])||void 0===e?void 0:e.value;return"string"==typeof n||"number"==typeof n?String(n):""},[eo,F,T]),eX="combobox"===F&&"function"==typeof G&&G()||null,eG="function"==typeof Y&&Y(),eY=(0,S.x1)(ej,null==eG?void 0:null===(i=eG.props)||void 0===i?void 0:i.ref),eQ=g.useState(!1),eq=(0,d.Z)(eQ,2),eJ=eq[0],e0=eq[1];(0,h.Z)(function(){e0(!0)},[]);var e1=(0,m.Z)(!1,{defaultValue:q,value:Q}),e2=(0,d.Z)(e1,2),e4=e2[0],e3=e2[1],e6=!!eJ&&e4,e7=!W&&H;(U||e7&&e6&&"combobox"===F)&&(e6=!1);var e5=!e7&&e6,e9=g.useCallback(function(e){var n=void 0!==e?e:!e6;U||(e3(n),e6!==n&&(null==J||J(n)))},[U,e6,e3,J]),e8=g.useMemo(function(){return(el||[]).some(function(e){return["\n","\r\n"].includes(e)})},[el]),ne=function(e,n,t){var o=!0,r=e;null==en||en(null);var i=t?null:function(e,n){if(!n||!n.length)return null;var t=!1,o=function e(n,o){var r=(0,V.Z)(o),i=r[0],a=r.slice(1);if(!i)return[n];var l=n.split(i);return t=t||l.length>1,l.reduce(function(n,t){return[].concat((0,c.Z)(n),(0,c.Z)(e(t,a)))},[]).filter(function(e){return e})}(e,n);return t?o:null}(e,el);return"combobox"!==F&&i&&(r="",null==ea||ea(i),e9(!1),o=!1),ei&&eU!==r&&ei(r,{source:n?"typing":"effect"}),o};g.useEffect(function(){e6||eR||"combobox"===F||ne("",!1,!1)},[e6]),g.useEffect(function(){e4&&U&&e3(!1),U&&eK(!1)},[U]);var nn=E(),nt=(0,d.Z)(nn,2),no=nt[0],nr=nt[1],ni=g.useRef(!1),na=[];g.useEffect(function(){return function(){na.forEach(function(e){return clearTimeout(e)}),na.splice(0,na.length)}},[]);var nl=g.useState(null),nc=(0,d.Z)(nl,2),nu=nc[0],ns=nc[1],nd=g.useState({}),np=(0,d.Z)(nd,2)[1];(0,h.Z)(function(){if(e5){var e,n=Math.ceil(null===(e=eH.current)||void 0===e?void 0:e.getBoundingClientRect().width);nu===n||Number.isNaN(n)||ns(n)}},[e5]),eG&&(x=function(e){e9(e)}),t=function(){var e;return[eH.current,null===(e=eL.current)||void 0===e?void 0:e.getPopupElement()]},o=!!eG,(r=g.useRef(null)).current={open:e5,triggerOpen:e9,customizedTrigger:o},g.useEffect(function(){function e(e){if(null===(n=r.current)||void 0===n||!n.customizedTrigger){var n,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),r.current.open&&t().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&r.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var nf=g.useMemo(function(){return(0,s.Z)((0,s.Z)({},e),{},{notFoundContent:W,open:e6,triggerOpen:e5,id:I,showSearch:eD,multiple:eR,toggleOpen:e9})},[e,W,e5,e6,I,eD,eR,e9]),nm=!!eu||X;nm&&($=g.createElement(C,{className:a()("".concat(O,"-arrow"),(0,u.Z)({},"".concat(O,"-arrow-loading"),X)),customizeIcon:eu,customizeIconProps:{loading:X,searchValue:eU,open:e6,focused:e_,showSearch:eD}}));var nv=function(e,n,t,o,r){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,c=g.useMemo(function(){return"object"===(0,f.Z)(o)?o.clearIcon:r||void 0},[o,r]);return{allowClear:g.useMemo(function(){return!i&&!!o&&(!!t.length||!!a)&&!("combobox"===l&&""===a)},[o,i,t.length,a,l]),clearIcon:g.createElement(C,{className:"".concat(e,"-clear"),onMouseDown:n,customizeIcon:c},"\xd7")}}(O,function(){var e;null==A||A(),null===(e=eV.current)||void 0===e||e.focus(),z([],{type:"clear",values:T}),ne("",!1,!1)},T,ec,es,U,eU,F),ng=nv.allowClear,nh=nv.clearIcon,nb=g.createElement(ed,{ref:eW}),nw=a()(O,M,(v={},(0,u.Z)(v,"".concat(O,"-focused"),e_),(0,u.Z)(v,"".concat(O,"-multiple"),eR),(0,u.Z)(v,"".concat(O,"-single"),!eR),(0,u.Z)(v,"".concat(O,"-allow-clear"),ec),(0,u.Z)(v,"".concat(O,"-show-arrow"),nm),(0,u.Z)(v,"".concat(O,"-disabled"),U),(0,u.Z)(v,"".concat(O,"-loading"),X),(0,u.Z)(v,"".concat(O,"-open"),e6),(0,u.Z)(v,"".concat(O,"-customize-input"),eX),(0,u.Z)(v,"".concat(O,"-show-search"),eD),v)),nS=g.createElement(L,{ref:eL,disabled:U,prefixCls:O,visible:e5,popupElement:nb,containerWidth:nu,animation:ep,transitionName:ef,dropdownStyle:em,dropdownClassName:ev,direction:N,dropdownMatchSelectWidth:eg,dropdownRender:eh,dropdownAlign:eb,placement:ew,builtinPlacements:eS,getPopupContainer:ey,empty:H,getTriggerDOMNode:function(){return ej.current},onPopupVisibleChange:x,onPopupMouseEnter:function(){np({})}},eG?g.cloneElement(eG,{ref:eY}):g.createElement(k,(0,l.Z)({},e,{domRef:ej,prefixCls:O,inputElement:eX,ref:eV,id:I,showSearch:eD,autoClearSearchValue:er,mode:F,activeDescendantId:et,tagRender:D,values:T,open:e6,onToggleOpen:e9,activeValue:ee,searchValue:eU,onSearch:ne,onSearchSubmit:function(e){e&&e.trim()&&ei(e,{source:"submit"})},onRemove:function(e){z(T.filter(function(n){return n!==e}),{type:"remove",values:[e]})},tokenWithEnter:e8})));return Z=eG?nS:g.createElement("div",(0,l.Z)({className:nw},eN,{ref:eH,onMouseDown:function(e){var n,t=e.target,o=null===(n=eL.current)||void 0===n?void 0:n.getPopupElement();if(o&&o.contains(t)){var r=setTimeout(function(){var e,n=na.indexOf(r);-1!==n&&na.splice(n,1),eB(),ek||o.contains(document.activeElement)||null===(e=eV.current)||void 0===e||e.focus()});na.push(r)}for(var i=arguments.length,a=Array(i>1?i-1:0),l=1;l=0;a-=1){var l=r[a];if(!l.disabled){r.splice(a,1),i=l;break}}i&&z(r,{type:"remove",values:[i]})}for(var u=arguments.length,s=Array(u>1?u-1:0),d=1;d1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:1,t=z.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];_(e);var t={source:n?"keyboard":"mouse"},o=z[e];if(!o){$(null,-1,t);return}$(o.value,e,t)};(0,g.useEffect)(function(){K(!1!==Z?V(0):-1)},[z.length,m]);var B=g.useCallback(function(e){return M.has(e)&&"combobox"!==f},[f,(0,c.Z)(M).toString(),M.size]);(0,g.useEffect)(function(){var e,n=setTimeout(function(){if(!s&&i&&1===M.size){var e=Array.from(M)[0],n=z.findIndex(function(n){return n.data.value===e});-1!==n&&(K(n),L(n))}});return i&&(null===(e=H.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(n)}},[i,m,E.length]);var U=function(e){void 0!==e&&I(e,{selected:!M.has(e)}),s||v(!1)};if(g.useImperativeHandle(n,function(){return{onKeyDown:function(e){var n=e.which,t=e.ctrlKey;switch(n){case w.Z.N:case w.Z.P:case w.Z.UP:case w.Z.DOWN:var o=0;if(n===w.Z.UP?o=-1:n===w.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&t&&(n===w.Z.N?o=1:n===w.Z.P&&(o=-1)),0!==o){var r=V(F+o,o);L(r),K(r,!0)}break;case w.Z.ENTER:var a=z[F];a&&!a.data.disabled?U(a.value):U(void 0),i&&e.preventDefault();break;case w.Z.ESC:v(!1),i&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){L(e)}}}),0===z.length)return g.createElement("div",{role:"listbox",id:"".concat(r,"_list"),className:"".concat(k,"-empty"),onMouseDown:j},h);var X=Object.keys(R).map(function(e){return R[e]}),G=function(e){return e.label};function Y(e,n){return{role:e.group?"presentation":"option",id:"".concat(r,"_list_").concat(n)}}var Q=function(e){var n=z[e];if(!n)return null;var t=n.data||{},o=t.value,r=n.group,i=(0,x.Z)(t,!0),a=G(n);return n?g.createElement("div",(0,l.Z)({"aria-label":"string"!=typeof a||r?null:a},i,{key:e},Y(n,e),{"aria-selected":B(o)}),o):null},q={role:"listbox",id:"".concat(r,"_list")};return g.createElement(g.Fragment,null,D&&g.createElement("div",(0,l.Z)({},q,{style:{height:0,width:0,overflow:"hidden"}}),Q(F-1),Q(F),Q(F+1)),g.createElement(el.Z,{itemKey:"key",ref:H,data:z,height:P,itemHeight:T,fullHeight:!1,onMouseDown:j,onScroll:b,virtual:D,direction:N,innerProps:D?null:q},function(e,n){var t=e.group,o=e.groupOption,r=e.data,i=e.label,c=e.value,s=r.key;if(t){var d,f,m=null!==(f=r.title)&&void 0!==f?f:es(i)?i.toString():void 0;return g.createElement("div",{className:a()(k,"".concat(k,"-group")),title:m},void 0!==i?i:s)}var v=r.disabled,h=r.title,b=(r.children,r.style),w=r.className,S=(0,p.Z)(r,eu),y=(0,ea.Z)(S,X),E=B(c),$="".concat(k,"-option"),Z=a()(k,$,w,(d={},(0,u.Z)(d,"".concat($,"-grouped"),o),(0,u.Z)(d,"".concat($,"-active"),F===n&&!v),(0,u.Z)(d,"".concat($,"-disabled"),v),(0,u.Z)(d,"".concat($,"-selected"),E),d)),I=G(e),M=!O||"function"==typeof O||E,R="number"==typeof I?I:I||c,N=es(R)?R.toString():void 0;return void 0!==h&&(N=h),g.createElement("div",(0,l.Z)({},(0,x.Z)(y),D?{}:Y(e,n),{"aria-selected":E,className:Z,title:N,onMouseMove:function(){F===n||v||K(n)},onClick:function(){v||U(c)},style:b}),g.createElement("div",{className:"".concat($,"-content")},R),g.isValidElement(O)||E,M&&g.createElement(C,{className:"".concat(k,"-option-state"),customizeIcon:O,customizeIconProps:{isSelected:E}},E?"✓":null))}))});ed.displayName="OptionList";var ep=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],ef=["inputValue"],em=g.forwardRef(function(e,n){var t,o,r,i,a,v=e.id,h=e.mode,b=e.prefixCls,w=e.backfill,S=e.fieldNames,y=e.inputValue,E=e.searchValue,x=e.onSearch,$=e.autoClearSearchValue,C=void 0===$||$,Z=e.onSelect,O=e.onDeselect,M=e.dropdownMatchSelectWidth,R=void 0===M||M,D=e.filterOption,N=e.filterSort,P=e.optionFilterProp,T=e.optionLabelProp,k=e.options,z=e.children,H=e.defaultActiveFirstOption,j=e.menuItemSelectedIcon,L=e.virtual,V=e.direction,_=e.listHeight,K=void 0===_?200:_,Y=e.listItemHeight,eo=void 0===Y?20:Y,er=e.value,ei=e.defaultValue,ea=e.labelInValue,el=e.onChange,eu=(0,p.Z)(e,ep),es=(t=g.useState(),r=(o=(0,d.Z)(t,2))[0],i=o[1],g.useEffect(function(){var e;i("rc_select_".concat((q?(e=Q,Q+=1):e="TEST_OR_SSR",e)))},[]),v||r),em=B(h),ev=!!(!k&&z),eg=g.useMemo(function(){return(void 0!==D||"combobox"!==h)&&D},[D,h]),eh=g.useMemo(function(){return A(S,ev)},[JSON.stringify(S),ev]),eb=(0,m.Z)("",{value:void 0!==E?E:y,postState:function(e){return e||""}}),ew=(0,d.Z)(eb,2),eS=ew[0],ey=ew[1],eE=g.useMemo(function(){var e=k;k||(e=function e(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,J.Z)(n).map(function(n,o){if(!g.isValidElement(n)||!n.type)return null;var r,i,a,l,c,u=n.type.isSelectOptGroup,d=n.key,f=n.props,m=f.children,v=(0,p.Z)(f,en);return t||!u?(r=n.key,a=(i=n.props).children,l=i.value,c=(0,p.Z)(i,ee),(0,s.Z)({key:r,value:void 0!==l?l:r,children:a},c)):(0,s.Z)((0,s.Z)({key:"__RC_SELECT_GRP__".concat(null===d?o:d,"__"),label:d},v),{},{options:e(m)})}).filter(function(e){return e})}(z));var n=new Map,t=new Map,o=function(e,n,t){t&&"string"==typeof t&&e.set(n[t],n)};return function e(r){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=0;a1&&void 0!==arguments[1]?arguments[1]:{},t=n.fieldNames,o=n.childrenAsData,r=[],i=A(t,!1),a=i.label,l=i.value,c=i.options,u=i.groupLabel;return!function e(n,t){n.forEach(function(n){if(!t&&c in n){var i=n[u];void 0===i&&o&&(i=n.label),r.push({key:W(n,r.length),group:!0,data:n,label:i}),e(n[c],!0)}else{var s=n[l];r.push({key:W(n,r.length),groupOption:t,data:n,label:n[a],value:s})}})}(e,!1),r}(eV,{fieldNames:eh,childrenAsData:ev})},[eV,eh,ev]),eA=function(e){var n=eZ(e);if(eR(n),el&&(n.length!==eP.length||n.some(function(e,n){var t;return(null===(t=eP[n])||void 0===t?void 0:t.value)!==(null==e?void 0:e.value)}))){var t=ea?n:n.map(function(e){return e.value}),o=n.map(function(e){return F(eT(e.value))});el(em?t:t[0],em?o:o[0])}},eF=g.useState(null),e_=(0,d.Z)(eF,2),eK=e_[0],eB=e_[1],eU=g.useState(0),eX=(0,d.Z)(eU,2),eG=eX[0],eY=eX[1],eQ=void 0!==H?H:"combobox"!==h,eq=g.useCallback(function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.source;eY(n),w&&"combobox"===h&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eB(String(e))},[w,h]),eJ=function(e,n,t){var o=function(){var n,t=eT(e);return[ea?{label:null==t?void 0:t[eh.label],value:e,key:null!==(n=null==t?void 0:t.key)&&void 0!==n?n:e}:e,F(t)]};if(n&&Z){var r=o(),i=(0,d.Z)(r,2);Z(i[0],i[1])}else if(!n&&O&&"clear"!==t){var a=o(),l=(0,d.Z)(a,2);O(l[0],l[1])}},e0=et(function(e,n){var t=!em||n.selected;eA(t?em?[].concat((0,c.Z)(eP),[e]):[e]:eP.filter(function(n){return n.value!==e})),eJ(e,t),"combobox"===h?eB(""):(!B||C)&&(ey(""),eB(""))}),e1=g.useMemo(function(){var e=!1!==L&&!1!==R;return(0,s.Z)((0,s.Z)({},eE),{},{flattenOptions:eW,onActiveValue:eq,defaultActiveFirstOption:eQ,onSelect:e0,menuItemSelectedIcon:j,rawValues:ez,fieldNames:eh,virtual:e,direction:V,listHeight:K,listItemHeight:eo,childrenAsData:ev})},[eE,eW,eq,eQ,e0,j,ez,eh,L,R,K,eo,ev]);return g.createElement(ec.Provider,{value:e1},g.createElement(U,(0,l.Z)({},eu,{id:es,prefixCls:void 0===b?"rc-select":b,ref:n,omitDomProps:ef,mode:h,displayValues:ek,onDisplayValuesChange:function(e,n){eA(e);var t=n.type,o=n.values;("remove"===t||"clear"===t)&&o.forEach(function(e){eJ(e.value,!1,t)})},direction:V,searchValue:eS,onSearch:function(e,n){if(ey(e),eB(null),"submit"===n.source){var t=(e||"").trim();t&&(eA(Array.from(new Set([].concat((0,c.Z)(ez),[t])))),eJ(t,!0),ey(""));return}"blur"!==n.source&&("combobox"===h&&eA(e),null==x||x(e))},autoClearSearchValue:C,onSearchSplit:function(e){var n=e;"tags"!==h&&(n=e.map(function(e){var n=e$.get(e);return null==n?void 0:n.value}).filter(function(e){return void 0!==e}));var t=Array.from(new Set([].concat((0,c.Z)(ez),(0,c.Z)(n))));eA(t),t.forEach(function(e){eJ(e,!0)})},dropdownMatchSelectWidth:R,OptionList:ed,emptyOptions:!eW.length,activeValue:eK,activeDescendantId:"".concat(es,"_list_").concat(eG)})))});em.Option=er,em.OptGroup=eo;var ev=t(53124),eg=t(17093),eh=t(33603),eb=t(9708),ew=t(98866),eS=t(32983),ey=e=>{let{componentName:n}=e,{getPrefixCls:t}=(0,g.useContext)(ev.E_),o=t("empty");switch(n){case"Table":case"List":return g.createElement(eS.Z,{image:eS.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return g.createElement(eS.Z,{image:eS.Z.PRESENTED_IMAGE_SIMPLE,className:`${o}-small`});default:return g.createElement(eS.Z,null)}},eE=t(98675),ex=t(65223),e$=t(4173),eC=t(14747),eZ=t(80110),eI=t(45503),eO=t(67968),eM=t(67771),eR=t(77794),eD=t(93590);let eN=new eR.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eP=new eR.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),eT=new eR.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ek=new eR.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ez=new eR.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eH=new eR.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ej=new eR.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eL=new eR.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),eV={"move-up":{inKeyframes:ej,outKeyframes:eL},"move-down":{inKeyframes:eN,outKeyframes:eP},"move-left":{inKeyframes:eT,outKeyframes:ek},"move-right":{inKeyframes:ez,outKeyframes:eH}},eW=(e,n)=>{let{antCls:t}=e,o=`${t}-${n}`,{inKeyframes:r,outKeyframes:i}=eV[n];return[(0,eD.R)(o,r,i,e.motionDurationMid),{[` - ${o}-enter, - ${o}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},eA=e=>{let{controlPaddingHorizontal:n,controlHeight:t,fontSize:o,lineHeight:r}=e;return{position:"relative",display:"block",minHeight:t,padding:`${(t-o*r)/2}px ${n}px`,color:e.colorText,fontWeight:"normal",fontSize:o,lineHeight:r,boxSizing:"border-box"}};var eF=e=>{let{antCls:n,componentCls:t}=e,o=`${t}-item`,r=`&${n}-slide-up-enter${n}-slide-up-enter-active`,i=`&${n}-slide-up-appear${n}-slide-up-appear-active`,a=`&${n}-slide-up-leave${n}-slide-up-leave-active`,l=`${t}-dropdown-placement-`;return[{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,eC.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` - ${r}${l}bottomLeft, - ${i}${l}bottomLeft - `]:{animationName:eM.fJ},[` - ${r}${l}topLeft, - ${i}${l}topLeft, - ${r}${l}topRight, - ${i}${l}topRight - `]:{animationName:eM.Qt},[`${a}${l}bottomLeft`]:{animationName:eM.Uw},[` - ${a}${l}topLeft, - ${a}${l}topRight - `]:{animationName:eM.ly},"&-hidden":{display:"none"},[`${o}`]:Object.assign(Object.assign({},eA(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},eC.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${o}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${o}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${o}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${o}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:2*e.controlPaddingHorizontal}}}),"&-rtl":{direction:"rtl"}})},(0,eM.oN)(e,"slide-up"),(0,eM.oN)(e,"slide-down"),eW(e,"move-up"),eW(e,"move-down")]};let e_=e=>{let{controlHeightSM:n,controlHeight:t,lineWidth:o}=e,r=(t-n)/2-o;return[r,Math.ceil(r/2)]};function eK(e,n){let{componentCls:t,iconCls:o}=e,r=`${t}-selection-overflow`,i=e.controlHeightSM,[a]=e_(e),l=n?`${t}-${n}`:"";return{[`${t}-multiple${l}`]:{fontSize:e.fontSize,[r]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${t}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${a-2}px 4px`,borderRadius:e.borderRadius,[`${t}-show-search&`]:{cursor:"text"},[`${t}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:"2px 0",lineHeight:`${i}px`,visibility:"hidden",content:'"\\a0"'}},[` - &${t}-show-arrow ${t}-selector, - &${t}-allow-clear ${t}-selector - `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${t}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:2,marginBottom:2,lineHeight:`${i-2*e.lineWidth}px`,background:e.colorFillSecondary,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:4,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${t}-disabled&`]:{color:e.colorTextDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,eC.Ro)()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${o}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${r}-item + ${r}-item`]:{[`${t}-selection-search`]:{marginInlineStart:0}},[`${t}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-a,[` - &-input, - &-mirror - `]:{height:i,fontFamily:e.fontFamily,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${t}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}var eB=e=>{let{componentCls:n}=e,t=(0,eI.TS)(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=(0,eI.TS)(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),[,r]=e_(e);return[eK(e),eK(t,"sm"),{[`${n}-multiple${n}-sm`]:{[`${n}-selection-placeholder`]:{insetInline:e.controlPaddingHorizontalSM-e.lineWidth},[`${n}-selection-search`]:{marginInlineStart:r}}},eK(o,"lg")]};function eU(e,n){let{componentCls:t,inputPaddingHorizontalBase:o,borderRadius:r}=e,i=e.controlHeight-2*e.lineWidth,a=Math.ceil(1.25*e.fontSize),l=n?`${t}-${n}`:"";return{[`${t}-single${l}`]:{fontSize:e.fontSize,[`${t}-selector`]:Object.assign(Object.assign({},(0,eC.Wf)(e)),{display:"flex",borderRadius:r,[`${t}-selection-search`]:{position:"absolute",top:0,insetInlineStart:o,insetInlineEnd:o,bottom:0,"&-input":{width:"100%"}},[` - ${t}-selection-item, - ${t}-selection-placeholder - `]:{padding:0,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${i}px`}},[`${t}-selection-item`]:{position:"relative",userSelect:"none"},[`${t}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[`&:after,${t}-selection-item:after,${t}-selection-placeholder:after`]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` - &${t}-show-arrow ${t}-selection-item, - &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:a},[`&${t}-open ${t}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${o}px`,[`${t}-selection-search-input`]:{height:i},"&:after":{lineHeight:`${i}px`}}},[`&${t}-customize-input`]:{[`${t}-selector`]:{"&:after":{display:"none"},[`${t}-selection-search`]:{position:"static",width:"100%"},[`${t}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${o}px`,"&:after":{display:"none"}}}}}}}let eX=e=>{let{componentCls:n}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${n}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${n}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${n}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},eG=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{componentCls:o,borderHoverColor:r,outlineColor:i,antCls:a}=n,l=t?{[`${o}-selector`]:{borderColor:r}}:{};return{[e]:{[`&:not(${o}-disabled):not(${o}-customize-input):not(${a}-pagination-size-changer)`]:Object.assign(Object.assign({},l),{[`${o}-focused& ${o}-selector`]:{borderColor:r,boxShadow:`0 0 0 ${n.controlOutlineWidth}px ${i}`,outline:0},[`&:hover ${o}-selector`]:{borderColor:r}})}}},eY=e=>{let{componentCls:n}=e;return{[`${n}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},eQ=e=>{let{componentCls:n,inputPaddingHorizontalBase:t,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},(0,eC.Wf)(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},eX(e)),eY(e)),[`${n}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},eC.vS),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},eC.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},(0,eC.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:t,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:t,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:t+e.fontSize+e.paddingXS}}}},eq=e=>{let{componentCls:n}=e;return[{[n]:{[`&-borderless ${n}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${n}-in-form-item`]:{width:"100%"}}},eQ(e),function(e){let{componentCls:n}=e,t=e.controlPaddingHorizontalSM-e.lineWidth;return[eU(e),eU((0,eI.TS)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${n}-single${n}-sm`]:{[`&:not(${n}-customize-input)`]:{[`${n}-selection-search`]:{insetInlineStart:t,insetInlineEnd:t},[`${n}-selector`]:{padding:`0 ${t}px`},[`&${n}-show-arrow ${n}-selection-search`]:{insetInlineEnd:t+1.5*e.fontSize},[` - &${n}-show-arrow ${n}-selection-item, - &${n}-show-arrow ${n}-selection-placeholder - `]:{paddingInlineEnd:1.5*e.fontSize}}}},eU((0,eI.TS)(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}(e),eB(e),eF(e),{[`${n}-rtl`]:{direction:"rtl"}},eG(n,(0,eI.TS)(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),eG(`${n}-status-error`,(0,eI.TS)(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),eG(`${n}-status-warning`,(0,eI.TS)(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),(0,eZ.c)(e,{borderElCls:`${n}-selector`,focusElCls:`${n}-focused`})]};var eJ=(0,eO.Z)("Select",(e,n)=>{let{rootPrefixCls:t}=n,o=(0,eI.TS)(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.paddingSM-1});return[eq(o)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let e0=e=>{let n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};var e1=t(63606),e2=t(4340),e4=t(97937),e3=t(80882),e6=t(50888),e7=t(68795),e5=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>n.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rn.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]]);return t};let e9="SECRET_COMBOBOX_MODE_DO_NOT_USE",e8=g.forwardRef((e,n)=>{let t;var o,r,i,{prefixCls:l,bordered:c=!0,className:u,rootClassName:s,getPopupContainer:d,popupClassName:p,dropdownClassName:f,listHeight:m=256,placement:v,listItemHeight:h=24,size:b,disabled:w,notFoundContent:S,status:y,builtinPlacements:E,dropdownMatchSelectWidth:x,popupMatchSelectWidth:$,direction:C,style:Z,allowClear:I}=e,O=e5(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);let{getPopupContainer:M,getPrefixCls:R,renderEmpty:D,direction:N,virtual:P,popupMatchSelectWidth:T,popupOverflow:k,select:z}=g.useContext(ev.E_),H=R("select",l),j=R(),L=null!=C?C:N,{compactSize:V,compactItemClassnames:W}=(0,e$.ri)(H,L),[A,F]=eJ(H),_=g.useMemo(()=>{let{mode:e}=O;return"combobox"===e?void 0:e===e9?"combobox":e},[O.mode]),K=(o=O.suffixIcon,void 0!==(r=O.showArrow)?r:null!==o),B=null!==(i=null!=$?$:x)&&void 0!==i?i:T,{status:U,hasFeedback:X,isFormItemInput:G,feedbackIcon:Y}=g.useContext(ex.aM),Q=(0,eb.F)(U,y);t=void 0!==S?S:"combobox"===_?null:(null==D?void 0:D("Select"))||g.createElement(ey,{componentName:"Select"});let{suffixIcon:q,itemIcon:J,removeIcon:ee,clearIcon:en}=function(e){let{suffixIcon:n,clearIcon:t,menuItemSelectedIcon:o,removeIcon:r,loading:i,multiple:a,hasFeedback:l,prefixCls:c,showSuffixIcon:u,feedbackIcon:s,showArrow:d,componentName:p}=e,f=null!=t?t:g.createElement(e2.Z,null),m=e=>null!==n||l||d?g.createElement(g.Fragment,null,!1!==u&&e,l&&s):null,v=null;if(void 0!==n)v=m(n);else if(i)v=m(g.createElement(e6.Z,{spin:!0}));else{let e=`${c}-suffix`;v=n=>{let{open:t,showSearch:o}=n;return t&&o?m(g.createElement(e7.Z,{className:e})):m(g.createElement(e3.Z,{className:e}))}}let h=null;return h=void 0!==o?o:a?g.createElement(e1.Z,null):null,{clearIcon:f,suffixIcon:v,itemIcon:h,removeIcon:void 0!==r?r:g.createElement(e4.Z,null)}}(Object.assign(Object.assign({},O),{multiple:"multiple"===_||"tags"===_,hasFeedback:X,feedbackIcon:Y,showSuffixIcon:K,prefixCls:H,showArrow:O.showArrow,componentName:"Select"})),et=(0,ea.Z)(O,["suffixIcon","itemIcon"]),eo=a()(p||f,{[`${H}-dropdown-${L}`]:"rtl"===L},s,F),er=(0,eE.Z)(e=>{var n;return null!==(n=null!=b?b:V)&&void 0!==n?n:e}),ei=g.useContext(ew.Z),el=a()({[`${H}-lg`]:"large"===er,[`${H}-sm`]:"small"===er,[`${H}-rtl`]:"rtl"===L,[`${H}-borderless`]:!c,[`${H}-in-form-item`]:G},(0,eb.Z)(H,Q,X),W,null==z?void 0:z.className,u,s,F),ec=g.useMemo(()=>void 0!==v?v:"rtl"===L?"bottomRight":"bottomLeft",[v,L]),eu=E||e0(k);return A(g.createElement(em,Object.assign({ref:n,virtual:P,showSearch:null==z?void 0:z.showSearch},et,{style:Object.assign(Object.assign({},null==z?void 0:z.style),Z),dropdownMatchSelectWidth:B,builtinPlacements:eu,transitionName:(0,eh.m)(j,"slide-up",O.transitionName),listHeight:m,listItemHeight:h,mode:_,prefixCls:H,placement:ec,direction:L,suffixIcon:q,menuItemSelectedIcon:J,removeIcon:ee,allowClear:!0===I?{clearIcon:en}:I,notFoundContent:t,className:el,getPopupContainer:d||M,dropdownClassName:eo,disabled:null!=w?w:ei})))});e8.SECRET_COMBOBOX_MODE_DO_NOT_USE=e9,e8.Option=er,e8.OptGroup=eo,e8._InternalPanelDoNotUseOrYouWillBeFired=function(e){let{prefixCls:n,style:t}=e,i=g.useRef(null),[a,l]=g.useState(0),[c,u]=g.useState(0),[s,d]=(0,m.Z)(!1,{value:e.open}),{getPrefixCls:p}=g.useContext(ev.E_),f=p("select",n);g.useEffect(()=>{if(d(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let n=e[0].target;l(n.offsetHeight+8),u(n.offsetWidth)}),n=setInterval(()=>{var t;let r=o?`.${o(f)}`:`.${f}-dropdown`,a=null===(t=i.current)||void 0===t?void 0:t.querySelector(r);a&&(clearInterval(n),e.observe(a))},10);return()=>{clearInterval(n),e.disconnect()}}},[]);let v=Object.assign(Object.assign({},e),{style:Object.assign(Object.assign({},t),{margin:0}),open:s,visible:s,getPopupContainer:()=>i.current});return r&&(v=r(v)),g.createElement(eg.ZP,{theme:{token:{motion:!1}}},g.createElement("div",{ref:i,style:{paddingBottom:a,position:"relative",minWidth:c}},g.createElement(e8,Object.assign({},v))))};var ne=e8}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/400.4d924bf9fe54929d.js b/pilot/server/static/_next/static/chunks/400.4d924bf9fe54929d.js new file mode 100644 index 000000000..82b28a4e2 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/400.4d924bf9fe54929d.js @@ -0,0 +1,4 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[400],{29158:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(87462),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},a=n(42135),s=r.forwardRef(function(t,e){return r.createElement(a.Z,(0,i.Z)({},t,{ref:e,icon:o}))})},49591:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(87462),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z"}}]},name:"select",theme:"outlined"},a=n(42135),s=r.forwardRef(function(t,e){return r.createElement(a.Z,(0,i.Z)({},t,{ref:e,icon:o}))})},88484:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(87462),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},a=n(42135),s=r.forwardRef(function(t,e){return r.createElement(a.Z,(0,i.Z)({},t,{ref:e,icon:o}))})},90494:function(t,e){"use strict";var n=function(){function t(){this._events={}}return t.prototype.on=function(t,e,n){return this._events[t]||(this._events[t]=[]),this._events[t].push({callback:e,once:!!n}),this},t.prototype.once=function(t,e){return this.on(t,e,!0)},t.prototype.emit=function(t){for(var e=this,n=[],i=1;i=0&&e._call.call(null,t),e=e._next;--c}()}finally{c=0,function(){for(var t,e,n=i,o=1/0;n;)n._call?(o>n._time&&(o=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:i=e);r=t,v(o)}(),T=0}}function y(){var t=d.now(),e=t-p;e>1e3&&(f-=e,p=t)}function v(t){!c&&(E&&(E=clearTimeout(E)),t-T>24?(t<1/0&&(E=setTimeout(O,t-d.now()-f)),h&&(h=clearInterval(h))):(h||(p=d.now(),h=setInterval(y,1e3)),c=1,A(O)))}function N(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function C(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function m(){}g.prototype=I.prototype={constructor:g,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?S():+n)+(null==e?0:+e),this._next||r===this||(r?r._next=this:i=this,r=this),this._call=t,this._time=n,v()},stop:function(){this._call&&(this._call=null,this._time=1/0,v())}};var L="\\s*([+-]?\\d+)\\s*",_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",x="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",M=/^#([0-9a-f]{3,8})$/,P=RegExp(`^rgb\\(${L},${L},${L}\\)$`),D=RegExp(`^rgb\\(${x},${x},${x}\\)$`),U=RegExp(`^rgba\\(${L},${L},${L},${_}\\)$`),b=RegExp(`^rgba\\(${x},${x},${x},${_}\\)$`),F=RegExp(`^hsl\\(${_},${x},${x}\\)$`),B=RegExp(`^hsla\\(${_},${x},${x},${_}\\)$`),G={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function w(){return this.rgb().formatHex()}function H(){return this.rgb().formatRgb()}function Y(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=M.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?k(e):3===n?new X(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?V(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?V(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=P.exec(t))?new X(e[1],e[2],e[3],1):(e=D.exec(t))?new X(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=U.exec(t))?V(e[1],e[2],e[3],e[4]):(e=b.exec(t))?V(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=F.exec(t))?j(e[1],e[2]/100,e[3]/100,1):(e=B.exec(t))?j(e[1],e[2]/100,e[3]/100,e[4]):G.hasOwnProperty(t)?k(G[t]):"transparent"===t?new X(NaN,NaN,NaN,0):null}function k(t){return new X(t>>16&255,t>>8&255,255&t,1)}function V(t,e,n,i){return i<=0&&(t=e=n=NaN),new X(t,e,n,i)}function W(t,e,n,i){var r;return 1==arguments.length?((r=t)instanceof m||(r=Y(r)),r)?(r=r.rgb(),new X(r.r,r.g,r.b,r.opacity)):new X:new X(t,e,n,null==i?1:i)}function X(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function K(){return`#${J(this.r)}${J(this.g)}${J(this.b)}`}function z(){let t=Z(this.opacity);return`${1===t?"rgb(":"rgba("}${$(this.r)}, ${$(this.g)}, ${$(this.b)}${1===t?")":`, ${t})`}`}function Z(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function $(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function J(t){return((t=$(t))<16?"0":"")+t.toString(16)}function j(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Q(t,e,n,i)}function q(t){if(t instanceof Q)return new Q(t.h,t.s,t.l,t.opacity);if(t instanceof m||(t=Y(t)),!t)return new Q;if(t instanceof Q)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),a=NaN,s=o-r,l=(o+r)/2;return s?(a=e===o?(n-i)/s+(n0&&l<1?0:a,new Q(a,s,l,t.opacity)}function Q(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function tt(t){return(t=(t||0)%360)<0?t+360:t}function te(t){return Math.max(0,Math.min(1,t||0))}function tn(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}function ti(t,e,n,i,r){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*i+a*r)/6}N(m,Y,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:w,formatHex:w,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return q(this).formatHsl()},formatRgb:H,toString:H}),N(X,W,C(m,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new X(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new X(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new X($(this.r),$(this.g),$(this.b),Z(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:K,formatHex:K,formatHex8:function(){return`#${J(this.r)}${J(this.g)}${J(this.b)}${J((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:z,toString:z})),N(Q,function(t,e,n,i){return 1==arguments.length?q(t):new Q(t,e,n,null==i?1:i)},C(m,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new Q(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new Q(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new X(tn(t>=240?t-240:t+120,r,i),tn(t,r,i),tn(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new Q(tt(this.h),te(this.s),te(this.l),Z(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=Z(this.opacity);return`${1===t?"hsl(":"hsla("}${tt(this.h)}, ${100*te(this.s)}%, ${100*te(this.l)}%${1===t?")":`, ${t})`}`}}));var tr=t=>()=>t;function to(t,e){var n=e-t;return n?function(e){return t+e*n}:tr(isNaN(t)?e:t)}var ta=function t(e){var n,i=1==(n=+(n=e))?to:function(t,e){var i,r,o;return e-t?(i=t,r=e,i=Math.pow(i,o=n),r=Math.pow(r,o)-i,o=1/o,function(t){return Math.pow(i+t*r,o)}):tr(isNaN(t)?e:t)};function r(t,e){var n=i((t=W(t)).r,(e=W(e)).r),r=i(t.g,e.g),o=i(t.b,e.b),a=to(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=r(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function ts(t){return function(e){var n,i,r=e.length,o=Array(r),a=Array(r),s=Array(r);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),r=t[i],o=t[i+1],a=i>0?t[i-1]:2*r-o,s=is&&(a=e.slice(s,a),u[l]?u[l]+=a:u[++l]=a),(r=r[0])===(o=o[0])?u[l]?u[l]+=o:u[++l]=o:(u[++l]=null,c.push({i:l,x:th(r,o)})),s=tf.lastIndex;return s0){for(var o=i.animators.length-1;o>=0;o--){if((t=i.animators[o]).destroyed){i.removeAnimator(o);continue}if(!t.isAnimatePaused()){e=t.get("animations");for(var a=e.length-1;a>=0;a--)(function(t,e,n){var i,r=e.startTime;if(nE.length?(c=tR.parsePathString(a[s]),E=tR.parsePathString(o[s]),E=tR.fillPathByDiff(E,c),E=tR.formatPath(E,c),e.fromAttrs.path=E,e.toAttrs.path=c):e.pathFormatted||(c=tR.parsePathString(a[s]),E=tR.parsePathString(o[s]),E=tR.formatPath(E,c),e.fromAttrs.path=E,e.toAttrs.path=c,e.pathFormatted=!0),r[s]=[];for(var h=0;h120||u*u+c*c>40?s&&s.get("draggable")?((o=this.mousedownShape).set("capture",!1),this.draggingShape=o,this.dragging=!0,this._emitEvent("dragstart",n,t,o),this.mousedownShape=null,this.mousedownPoint=null):!s&&i.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,t,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,t,r,e),this._emitEvent("mousemove",n,t,e)):(this._emitMouseoverEvents(n,t,r,e),this._emitEvent("mousemove",n,t,e))}else this._emitMouseoverEvents(n,t,r,e),this._emitEvent("mousemove",n,t,e)}},t.prototype._emitEvent=function(t,e,n,i,r,o){var a=this._getEventObj(t,e,n,i,r,o);if(i){a.shape=i,tv(i,t,a);for(var s=i.getParent();s;)s.emitDelegation(t,a),a.propagationStopped||function(t,e,n){if(n.bubbles){var i=void 0,r=!1;if("mouseenter"===e?(i=n.fromShape,r=!0):"mouseleave"===e&&(r=!0,i=n.toShape),!t.isCanvas()||!r){if(i&&(0,l.UY)(t,i)){n.bubbles=!1;return}n.name=e,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}}}(s,t,a),a.propagationPath.push(s),s=s.getParent()}else tv(this.canvas,t,a)},t.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},t}(),tC=(0,a.qY)(),tm=tC&&"firefox"===tC.name,tL=function(t){function e(e){var n=t.call(this,e)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return(0,o.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.cursor="default",e.supportCSSTransform=!1,e},e.prototype.initContainer=function(){var t=this.get("container");(0,l.HD)(t)&&(t=document.getElementById(t),this.set("container",t))},e.prototype.initDom=function(){var t=this.createDom();this.set("el",t),this.get("container").appendChild(t),this.setDOMSize(this.get("width"),this.get("height"))},e.prototype.initEvents=function(){var t=new tN({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new tI(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,e){var n=this.get("el");l.jU&&(n.style.width=t+"px",n.style.height=e+"px")},e.prototype.changeSize=function(t,e){this.setDOMSize(t,e),this.set("width",t),this.set("height",e),this.onCanvasChange("changeSize")},e.prototype.getRenderer=function(){return this.get("renderer")},e.prototype.getCursor=function(){return this.get("cursor")},e.prototype.setCursor=function(t){this.set("cursor",t);var e=this.get("el");l.jU&&e&&(e.style.cursor=t)},e.prototype.getPointByEvent=function(t){if(this.get("supportCSSTransform")){if(tm&&!(0,l.kK)(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!(0,l.kK)(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var e=this.getClientByEvent(t),n=e.x,i=e.y;return this.getPointByClient(n,i)},e.prototype.getClientByEvent=function(t){var e=t;return t.touches&&(e="touchend"===t.type?t.changedTouches[0]:t.touches[0]),{x:e.clientX,y:e.clientY}},e.prototype.getPointByClient=function(t,e){var n=this.get("el").getBoundingClientRect();return{x:t-n.left,y:e-n.top}},e.prototype.getClientByPoint=function(t,e){var n=this.get("el").getBoundingClientRect();return{x:t+n.left,y:e+n.top}},e.prototype.draw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.parentNode.removeChild(t)},e.prototype.clearEvents=function(){this.get("eventController").destroy()},e.prototype.isCanvas=function(){return!0},e.prototype.getParent=function(){return null},e.prototype.destroy=function(){var e=this.get("timeline");this.get("destroyed")||(this.clear(),e&&e.stop(),this.clearEvents(),this.removeDom(),t.prototype.destroy.call(this))},e}(s.Z)},37153:function(t,e,n){"use strict";var i=n(97582),r=n(29881),o=n(77341),a={},s="_INDEX",l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.isCanvas=function(){return!1},e.prototype.getBBox=function(){var t=1/0,e=-1/0,n=1/0,i=-1/0,r=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});return r.length>0?(0,o.S6)(r,function(r){var o=r.getBBox(),a=o.minX,s=o.maxX,l=o.minY,u=o.maxY;ae&&(e=s),li&&(i=u)}):(t=0,e=0,n=0,i=0),{x:t,y:n,minX:t,minY:n,maxX:e,maxY:i,width:e-t,height:i-n}},e.prototype.getCanvasBBox=function(){var t=1/0,e=-1/0,n=1/0,i=-1/0,r=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});return r.length>0?(0,o.S6)(r,function(r){var o=r.getCanvasBBox(),a=o.minX,s=o.maxX,l=o.minY,u=o.maxY;ae&&(e=s),li&&(i=u)}):(t=0,e=0,n=0,i=0),{x:t,y:n,minX:t,minY:n,maxX:e,maxY:i,width:e-t,height:i-n}},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.children=[],e},e.prototype.onAttrChange=function(e,n,i){if(t.prototype.onAttrChange.call(this,e,n,i),"matrix"===e){var r=this.getTotalMatrix();this._applyChildrenMarix(r)}},e.prototype.applyMatrix=function(e){var n=this.getTotalMatrix();t.prototype.applyMatrix.call(this,e);var i=this.getTotalMatrix();i!==n&&this._applyChildrenMarix(i)},e.prototype._applyChildrenMarix=function(t){var e=this.getChildren();(0,o.S6)(e,function(e){e.applyMatrix(t)})},e.prototype.addShape=function(){for(var t=[],e=0;e=0;a--){var s=t[a];if((0,o.pP)(s)&&(s.isGroup()?r=s.getShape(e,n,i):s.isHit(e,n)&&(r=s)),r)break}return r},e.prototype.add=function(t){var e=this.getCanvas(),n=this.getChildren(),i=this.get("timeline"),r=t.getParent();r&&(t.set("parent",null),t.set("canvas",null),(0,o.As)(r.getChildren(),t)),t.set("parent",this),e&&function t(e,n){if(e.set("canvas",n),e.isGroup()){var i=e.get("children");i.length&&i.forEach(function(e){t(e,n)})}}(t,e),i&&function t(e,n){if(e.set("timeline",n),e.isGroup()){var i=e.get("children");i.length&&i.forEach(function(e){t(e,n)})}}(t,i),n.push(t),t.onCanvasChange("add"),this._applyElementMatrix(t)},e.prototype._applyElementMatrix=function(t){var e=this.getTotalMatrix();e&&t.applyMatrix(e)},e.prototype.getChildren=function(){return this.get("children")},e.prototype.sort=function(){var t=this.getChildren();(0,o.S6)(t,function(t,e){return t[s]=e,t}),t.sort(function(t,e){var n=t.get("zIndex")-e.get("zIndex");return 0===n?t[s]-e[s]:n}),this.onCanvasChange("sort")},e.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var t=this.getChildren(),e=t.length-1;e>=0;e--)t[e].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},e.prototype.destroy=function(){this.get("destroyed")||(this.clear(),t.prototype.destroy.call(this))},e.prototype.getFirst=function(){return this.getChildByIndex(0)},e.prototype.getLast=function(){var t=this.getChildren();return this.getChildByIndex(t.length-1)},e.prototype.getChildByIndex=function(t){return this.getChildren()[t]},e.prototype.getCount=function(){return this.getChildren().length},e.prototype.contain=function(t){return this.getChildren().indexOf(t)>-1},e.prototype.removeChild=function(t,e){void 0===e&&(e=!0),this.contain(t)&&t.remove(e)},e.prototype.findAll=function(t){var e=[],n=this.getChildren();return(0,o.S6)(n,function(n){t(n)&&e.push(n),n.isGroup()&&(e=e.concat(n.findAll(t)))}),e},e.prototype.find=function(t){var e=null,n=this.getChildren();return(0,o.S6)(n,function(n){if(t(n)?e=n:n.isGroup()&&(e=n.find(t)),e)return!1}),e},e.prototype.findById=function(t){return this.find(function(e){return e.get("id")===t})},e.prototype.findByClassName=function(t){return this.find(function(e){return e.get("className")===t})},e.prototype.findAllByName=function(t){return this.findAll(function(e){return e.get("name")===t})},e}(r.Z);e.Z=l},29881:function(t,e,n){"use strict";var i=n(97582),r=n(21030),o=n(31506),a=n(77341),s=n(41482),l=n(2667),u=o.vs,c="matrix",E=["zIndex","capture","visible","type"],h=["repeat"],p=function(t){function e(e){var n=t.call(this,e)||this;n.attrs={};var i=n.getDefaultAttrs();return(0,r.CD)(i,e.attrs),n.attrs=i,n.initAttrs(i),n.initAnimate(),n}return(0,i.ZT)(e,t),e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,e=[],n=0;n0?p=function(t,e){if(e.onFrame)return t;var n=e.startTime,i=e.delay,o=e.duration,a=Object.prototype.hasOwnProperty;return(0,r.S6)(t,function(t){n+it.delay&&(0,r.S6)(e.toAttrs,function(e,n){a.call(t.toAttrs,n)&&(delete t.toAttrs[n],delete t.fromAttrs[n])})}),t}(p,y):E.addAnimator(this),p.push(y),this.set("animations",p),this.set("_pause",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var e=this;void 0===t&&(t=!0);var n=this.get("animations");(0,r.S6)(n,function(n){t&&(n.onFrame?e.attr(n.onFrame(1)):e.attr(n.toAttrs)),n.callback&&n.callback()}),this.set("animating",!1),this.set("animations",[])},e.prototype.pauseAnimate=function(){var t=this.get("timeline"),e=this.get("animations"),n=t.getTime();return(0,r.S6)(e,function(t){t._paused=!0,t._pauseTime=n,t.pauseCallback&&t.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:n}),this},e.prototype.resumeAnimate=function(){var t=this.get("timeline").getTime(),e=this.get("animations"),n=this.get("_pause").pauseTime;return(0,r.S6)(e,function(e){e.startTime=e.startTime+(t-n),e._paused=!1,e._pauseTime=null,e.resumeCallback&&e.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",e),this},e.prototype.emitDelegation=function(t,e){var n,i=this,o=e.propagationPath;this.getEvents(),"mouseenter"===t?n=e.fromShape:"mouseleave"===t&&(n=e.toShape);for(var s=this,l=0;l=t&&n.minY<=e&&n.maxY>=e},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e),this.clearCacheBBox()},e.prototype.getBBox=function(){var t=this.cfg.bbox;return t||(t=this.calculateBBox(),this.set("bbox",t)),t},e.prototype.getCanvasBBox=function(){var t=this.cfg.canvasBBox;return t||(t=this.calculateCanvasBBox(),this.set("canvasBBox",t)),t},e.prototype.applyMatrix=function(e){t.prototype.applyMatrix.call(this,e),this.set("canvasBBox",null)},e.prototype.calculateCanvasBBox=function(){var t=this.getBBox(),e=this.getTotalMatrix(),n=t.minX,i=t.minY,r=t.maxX,a=t.maxY;if(e){var s=(0,o.rG)(e,[t.minX,t.minY]),l=(0,o.rG)(e,[t.maxX,t.minY]),u=(0,o.rG)(e,[t.minX,t.maxY]),c=(0,o.rG)(e,[t.maxX,t.maxY]);n=Math.min(s[0],l[0],u[0],c[0]),r=Math.max(s[0],l[0],u[0],c[0]),i=Math.min(s[1],l[1],u[1],c[1]),a=Math.max(s[1],l[1],u[1],c[1])}var E=this.attrs;if(E.shadowColor){var h=E.shadowBlur,p=void 0===h?0:h,T=E.shadowOffsetX,f=void 0===T?0:T,d=E.shadowOffsetY,A=void 0===d?0:d,S=n-p+f,R=r+p+f,g=i-p+A,I=a+p+A;n=Math.min(n,S),r=Math.max(r,R),i=Math.min(i,g),a=Math.max(a,I)}return{x:n,y:i,minX:n,minY:i,maxX:r,maxY:a,width:r-n,height:a-i}},e.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},e.prototype.isClipShape=function(){return this.get("isClipShape")},e.prototype.isInShape=function(t,e){return!1},e.prototype.isOnlyHitBox=function(){return!1},e.prototype.isHit=function(t,e){var n=this.get("startArrowShape"),i=this.get("endArrowShape"),r=[t,e,1],o=(r=this.invertFromMatrix(r))[0],a=r[1],s=this._isInBBox(o,a);return this.isOnlyHitBox()?s:!!(s&&!this.isClipped(o,a)&&(this.isInShape(o,a)||n&&n.isHit(o,a)||i&&i.isHit(o,a)))},e}(r.Z);e.Z=a},93924:function(t,e,n){"use strict";n.d(e,{_:function(){return z},C:function(){return Z}});var i={};function r(t){return+t}function o(t){return t*t}function a(t){return t*(2-t)}function s(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function l(t){return t*t*t}function u(t){return--t*t*t+1}function c(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}n.r(i),n.d(i,{easeBack:function(){return Y},easeBackIn:function(){return w},easeBackInOut:function(){return Y},easeBackOut:function(){return H},easeBounce:function(){return B},easeBounceIn:function(){return F},easeBounceInOut:function(){return G},easeBounceOut:function(){return B},easeCircle:function(){return N},easeCircleIn:function(){return y},easeCircleInOut:function(){return N},easeCircleOut:function(){return v},easeCubic:function(){return c},easeCubicIn:function(){return l},easeCubicInOut:function(){return c},easeCubicOut:function(){return u},easeElastic:function(){return W},easeElasticIn:function(){return V},easeElasticInOut:function(){return X},easeElasticOut:function(){return W},easeExp:function(){return O},easeExpIn:function(){return g},easeExpInOut:function(){return O},easeExpOut:function(){return I},easeLinear:function(){return r},easePoly:function(){return p},easePolyIn:function(){return E},easePolyInOut:function(){return p},easePolyOut:function(){return h},easeQuad:function(){return s},easeQuadIn:function(){return o},easeQuadInOut:function(){return s},easeQuadOut:function(){return a},easeSin:function(){return S},easeSinIn:function(){return d},easeSinInOut:function(){return S},easeSinOut:function(){return A}});var E=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),h=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),p=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),T=Math.PI,f=T/2;function d(t){return 1==+t?1:1-Math.cos(t*f)}function A(t){return Math.sin(t*f)}function S(t){return(1-Math.cos(T*t))/2}function R(t){return(Math.pow(2,-10*t)-9765625e-10)*1.0009775171065494}function g(t){return R(1-+t)}function I(t){return 1-R(t)}function O(t){return((t*=2)<=1?R(1-t):2-R(t-1))/2}function y(t){return 1-Math.sqrt(1-t*t)}function v(t){return Math.sqrt(1- --t*t)}function N(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var C=4/11,m=6/11,L=8/11,_=3/4,x=9/11,M=10/11,P=15/16,D=21/22,U=63/64,b=1/(4/11)/(4/11);function F(t){return 1-B(1-t)}function B(t){return(t=+t)Math.PI/2?Math.PI-l:l))*(e/2*(1/Math.sin(s/2)))-e/2||0,yExtra:Math.cos((u=u>Math.PI/2?Math.PI-u:u)-s/2)*(e/2*(1/Math.sin(s/2)))-e/2||0}}r("rect",a),r("image",a),r("circle",s),r("marker",s),r("polyline",function(t){for(var e=t.attr().points,n=[],i=[],r=0;r["default","Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","registerBBox","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","registerEasing","version"].indexOf(a)&&(o[a]=(function(t){return r[t]}).bind(0,a));n.d(e,o);var s=n(15294),o={};for(var a in s)0>["default","Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","registerBBox","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","registerEasing","version"].indexOf(a)&&(o[a]=(function(t){return s[t]}).bind(0,a));n.d(e,o);var l=n(89473),u=n(2667),c=n(97050),E=n(31841),h=n(15032),p=n(46556),T=n(8723),f=n(77341),d=n(41482),A=n(67052),S=n(93924),R="0.5.11"},15294:function(){},52:function(){},41482:function(t,e,n){"use strict";function i(t,e){var n=[],i=t[0],r=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],E=t[8],h=e[0],p=e[1],T=e[2],f=e[3],d=e[4],A=e[5],S=e[6],R=e[7],g=e[8];return n[0]=h*i+p*a+T*u,n[1]=h*r+p*s+T*c,n[2]=h*o+p*l+T*E,n[3]=f*i+d*a+A*u,n[4]=f*r+d*s+A*c,n[5]=f*o+d*l+A*E,n[6]=S*i+R*a+g*u,n[7]=S*r+R*s+g*c,n[8]=S*o+R*l+g*E,n}function r(t,e){var n=[],i=e[0],r=e[1];return n[0]=t[0]*i+t[3]*r+t[6],n[1]=t[1]*i+t[4]*r+t[7],n}function o(t){var e=[],n=t[0],i=t[1],r=t[2],o=t[3],a=t[4],s=t[5],l=t[6],u=t[7],c=t[8],E=c*a-s*u,h=-c*o+s*l,p=u*o-a*l,T=n*E+i*h+r*p;return T?(T=1/T,e[0]=E*T,e[1]=(-c*i+r*u)*T,e[2]=(s*i-r*a)*T,e[3]=h*T,e[4]=(c*n-r*l)*T,e[5]=(-s*n+r*o)*T,e[6]=p*T,e[7]=(-u*n+i*l)*T,e[8]=(a*n-i*o)*T,e):null}n.d(e,{U_:function(){return o},rG:function(){return r},xq:function(){return i}})},67052:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});var i=null;function r(){if(!i){var t=document.createElement("canvas");t.width=1,t.height=1,i=t.getContext("2d")}return i}},47575:function(t,e,n){"use strict";n.r(e),n.d(e,{catmullRomToBezier:function(){return l},fillPath:function(){return x},fillPathByDiff:function(){return D},formatPath:function(){return F},intersection:function(){return L},parsePathArray:function(){return d},parsePathString:function(){return s},pathToAbsolute:function(){return c},pathToCurve:function(){return T},rectPath:function(){return O}});var i=n(21030),r=" \n\v\f\r \xa0 ᠎              \u2028\u2029",o=RegExp("([a-z])["+r+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+r+"]*,?["+r+"]*)+)","ig"),a=RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+r+"]*,?["+r+"]*","ig"),s=function(t){if(!t)return null;if((0,i.kJ)(t))return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(t).replace(o,function(i,r,o){var s=[],l=r.toLowerCase();if(o.replace(a,function(t,e){e&&s.push(+e)}),"m"===l&&s.length>2&&(n.push([r].concat(s.splice(0,2))),l="l",r="m"===r?"l":"L"),"o"===l&&1===s.length&&n.push([r,s[0]]),"r"===l)n.push([r].concat(s));else for(;s.length>=e[l]&&(n.push([r].concat(s.splice(0,e[l]))),e[l]););return t}),n},l=function(t,e){for(var n=[],i=0,r=t.length;r-2*!e>i;i+=2){var o=[{x:+t[i-2],y:+t[i-1]},{x:+t[i],y:+t[i+1]},{x:+t[i+2],y:+t[i+3]},{x:+t[i+4],y:+t[i+5]}];e?i?r-4===i?o[3]={x:+t[0],y:+t[1]}:r-2===i&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[r-2],y:+t[r-1]}:r-4===i?o[3]=o[2]:i||(o[0]={x:+t[i],y:+t[i+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n},u=function(t,e,n,i,r){var o=[];if(null===r&&null===i&&(i=n),t=+t,e=+e,n=+n,i=+i,null!==r){var a=Math.PI/180,s=t+n*Math.cos(-i*a),l=t+n*Math.cos(-r*a),u=e+n*Math.sin(-i*a),c=e+n*Math.sin(-r*a);o=[["M",s,u],["A",n,n,0,+(r-i>180),0,l,c]]}else o=[["M",t,e],["m",0,-i],["a",n,i,0,1,1,0,2*i],["a",n,i,0,1,1,0,-2*i],["z"]];return o},c=function(t){if(!(t=s(t))||!t.length)return[["M",0,0]];var e,n,i=[],r=0,o=0,a=0,c=0,E=0;"M"===t[0][0]&&(r=+t[0][1],o=+t[0][2],a=r,c=o,E++,i[0]=["M",r,o]);for(var h=3===t.length&&"M"===t[0][0]&&"R"===t[1][0].toUpperCase()&&"Z"===t[2][0].toUpperCase(),p=void 0,T=void 0,f=E,d=t.length;f1&&(n*=O=Math.sqrt(O),i*=O);var y=n*n,v=i*i,N=(o===a?-1:1)*Math.sqrt(Math.abs((y*v-y*I*I-v*g*g)/(y*I*I+v*g*g)));T=N*n*I/i+(t+s)/2,f=-(N*i)*g/n+(e+l)/2,E=Math.asin(((e-f)/i).toFixed(9)),h=Math.asin(((l-f)/i).toFixed(9)),E=th&&(E-=2*Math.PI),!a&&h>E&&(h-=2*Math.PI)}var C=h-E;if(Math.abs(C)>d){var m=h,L=s,_=l;S=p(s=T+n*Math.cos(h=E+d*(a&&h>E?1:-1)),l=f+i*Math.sin(h),n,i,r,0,a,L,_,[h,m,T,f])}C=h-E;var x=Math.cos(E),M=Math.cos(h),P=Math.tan(C/4),D=4/3*n*P,U=4/3*i*P,b=[t,e],F=[t+D*Math.sin(E),e-U*x],B=[s+D*Math.sin(h),l-U*M],G=[s,l];if(F[0]=2*b[0]-F[0],F[1]=2*b[1]-F[1],u)return[F,B,G].concat(S);S=[F,B,G].concat(S).join().split(",");for(var w=[],H=0,Y=S.length;H7){t[e].shift();for(var o=t[e];o.length;)s[e]="A",r&&(l[e]="A"),t.splice(e++,0,["C"].concat(o.splice(0,6)));t.splice(e,1),n=Math.max(i.length,r&&r.length||0)}},A=function(t,e,o,a,s){t&&e&&"M"===t[s][0]&&"M"!==e[s][0]&&(e.splice(s,0,["M",a.x,a.y]),o.bx=0,o.by=0,o.x=t[s][1],o.y=t[s][2],n=Math.max(i.length,r&&r.length||0))};n=Math.max(i.length,r&&r.length||0);for(var S=0;S1?1:l<0?0:l)/2,c=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],E=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],h=0,p=0;p<12;p++){var T=u*c[p]+u,f=A(T,t,n,r,a),d=A(T,e,i,o,s),S=f*f+d*d;h+=E[p]*Math.sqrt(S)}return u*h},R=function(t,e,n,i,r,o,a,s){for(var l,u,c,E,h,p=[],T=[[],[]],f=0;f<2;++f){if(0===f?(u=6*t-12*n+6*r,l=-3*t+9*n-9*r+3*a,c=3*n-3*t):(u=6*e-12*i+6*o,l=-3*e+9*i-9*o+3*s,c=3*i-3*e),1e-12>Math.abs(l)){if(1e-12>Math.abs(u))continue;(E=-c/u)>0&&E<1&&p.push(E);continue}var d=u*u-4*c*l,A=Math.sqrt(d);if(!(d<0)){var S=(-u+A)/(2*l);S>0&&S<1&&p.push(S);var R=(-u-A)/(2*l);R>0&&R<1&&p.push(R)}}for(var g=p.length,I=g;g--;)h=1-(E=p[g]),T[0][g]=h*h*h*t+3*h*h*E*n+3*h*E*E*r+E*E*E*a,T[1][g]=h*h*h*e+3*h*h*E*i+3*h*E*E*o+E*E*E*s;return T[0][I]=t,T[1][I]=e,T[0][I+1]=a,T[1][I+1]=s,T[0].length=T[1].length=I+2,{min:{x:Math.min.apply(0,T[0]),y:Math.min.apply(0,T[1])},max:{x:Math.max.apply(0,T[0]),y:Math.max.apply(0,T[1])}}},g=function(t,e,n,i,r,o,a,s){if(!(Math.max(t,n)Math.max(r,a)||Math.max(e,i)Math.max(o,s))){var l=(t-n)*(o-s)-(e-i)*(r-a);if(l){var u=((t*i-e*n)*(r-a)-(t-n)*(r*s-o*a))/l,c=((t*i-e*n)*(o-s)-(e-i)*(r*s-o*a))/l,E=+u.toFixed(2),h=+c.toFixed(2);if(!(E<+Math.min(t,n).toFixed(2)||E>+Math.max(t,n).toFixed(2)||E<+Math.min(r,a).toFixed(2)||E>+Math.max(r,a).toFixed(2)||h<+Math.min(e,i).toFixed(2)||h>+Math.max(e,i).toFixed(2)||h<+Math.min(o,s).toFixed(2)||h>+Math.max(o,s).toFixed(2)))return{x:u,y:c}}}},I=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},O=function(t,e,n,i,r){if(r)return[["M",+t+ +r,e],["l",n-2*r,0],["a",r,r,0,0,1,r,r],["l",0,i-2*r],["a",r,r,0,0,1,-r,r],["l",2*r-n,0],["a",r,r,0,0,1,-r,-r],["l",0,2*r-i],["a",r,r,0,0,1,r,-r],["z"]];var o=[["M",t,e],["l",n,0],["l",0,i],["l",-n,0],["z"]];return o.parsePathArray=d,o},y=function(t,e,n,i){return null===t&&(t=e=n=i=0),null===e&&(e=t.y,n=t.width,i=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:i,h:i,x2:t+n,y2:e+i,cx:t+n/2,cy:e+i/2,r1:Math.min(n,i)/2,r2:Math.max(n,i)/2,r0:Math.sqrt(n*n+i*i)/2,path:O(t,e,n,i),vb:[t,e,n,i].join(" ")}},v=function(t,e,n,r,o,a,s,l){(0,i.kJ)(t)||(t=[t,e,n,r,o,a,s,l]);var u=R.apply(null,t);return y(u.min.x,u.min.y,u.max.x-u.min.x,u.max.y-u.min.y)},N=function(t,e,n,i,r,o,a,s,l){var u=1-l,c=Math.pow(u,3),E=Math.pow(u,2),h=l*l,p=h*l,T=t+2*l*(n-t)+h*(r-2*n+t),f=e+2*l*(i-e)+h*(o-2*i+e),d=n+2*l*(r-n)+h*(a-2*r+n),A=i+2*l*(o-i)+h*(s-2*o+i),S=90-180*Math.atan2(T-d,f-A)/Math.PI;return{x:c*t+3*E*l*n+3*u*l*l*r+p*a,y:c*e+3*E*l*i+3*u*l*l*o+p*s,m:{x:T,y:f},n:{x:d,y:A},start:{x:u*t+l*n,y:u*e+l*i},end:{x:u*r+l*a,y:u*o+l*s},alpha:S}},C=function(t,e,n){var i,r,o=v(t),a=v(e);if(i=o,r=a,i=y(i),!(I(r=y(r),i.x,i.y)||I(r,i.x2,i.y)||I(r,i.x,i.y2)||I(r,i.x2,i.y2)||I(i,r.x,r.y)||I(i,r.x2,r.y)||I(i,r.x,r.y2)||I(i,r.x2,r.y2))&&((!(i.xr.x))&&(!(r.xi.x))||(!(i.yr.y))&&(!(r.yi.y))))return n?0:[];for(var s=S.apply(0,t),l=S.apply(0,e),u=~~(s/8),c=~~(l/8),E=[],h=[],p={},T=n?0:[],f=0;fMath.abs(O.x-R.x)?"y":"x",_=.001>Math.abs(m.x-C.x)?"y":"x",x=g(R.x,R.y,O.x,O.y,C.x,C.y,m.x,m.y);if(x){if(p[x.x.toFixed(4)]===x.y.toFixed(4))continue;p[x.x.toFixed(4)]=x.y.toFixed(4);var M=R.t+Math.abs((x[L]-R[L])/(O[L]-R[L]))*(O.t-R.t),P=C.t+Math.abs((x[_]-C[_])/(m[_]-C[_]))*(m.t-C.t);M>=0&&M<=1&&P>=0&&P<=1&&(n?T+=1:T.push({x:x.x,y:x.y,t1:M,t2:P}))}}return T},m=function(t,e,n){t=T(t),e=T(e);for(var i,r,o,a,s,l,u,c,E,h,p=n?0:[],f=0,d=t.length;f=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1])})}(t,e,n));else{var r=[].concat(t);"M"===r[0]&&(r[0]="L");for(var o=0;o<=n-1;o++)i.push(r)}return i},x=function(t,e){if(1===t.length)return t;var n=t.length-1,i=e.length-1,r=n/i,o=[];if(1===t.length&&"M"===t[0][0]){for(var a=0;a=0;l--)a=o[l].index,"add"===o[l].type?t.splice(a,0,[].concat(t[a])):t.splice(a,1)}var E=r-(i=t.length);if(i0)n=U(n,t[i-1],1);else{t[i]=e[i];break}}t[i]=["Q"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[i]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(i>0)n=U(n,t[i-1],2);else{t[i]=e[i];break}}t[i]=["C"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(n.length<2){if(i>0)n=U(n,t[i-1],1);else{t[i]=e[i];break}}t[i]=["S"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;default:t[i]=e[i]}return t}},8723:function(t,e,n){"use strict";n.d(e,{$O:function(){return s},FE:function(){return o},mY:function(){return a}});var i=n(77341),r=n(67052);function o(t,e,n){var r=1;if((0,i.HD)(t)&&(r=t.split("\n").length),r>1)return e*r+(n?n-e:.14*e)*(r-1);return e}function a(t,e){var n=(0,r.L)(),o=0;if((0,i.kK)(t)||""===t)return o;if(n.save(),n.font=e,(0,i.HD)(t)&&t.includes("\n")){var a=t.split("\n");(0,i.S6)(a,function(t){var e=n.measureText(t).width;oMath.abs(t-e)}function s(t,e){var n=(0,r.VV)(t),i=(0,r.VV)(e);return{x:n,y:i,width:(0,r.Fp)(t)-n,height:(0,r.Fp)(e)-i}}function l(t,e,n,i){return{minX:(0,r.VV)([t,n]),maxX:(0,r.Fp)([t,n]),minY:(0,r.VV)([e,i]),maxY:(0,r.Fp)([e,i])}}function u(t){return(t+2*Math.PI)%(2*Math.PI)}var c=n(31437),E={box:function(t,e,n,i){return s([t,n],[e,i])},length:function(t,e,n,i){return o(t,e,n,i)},pointAt:function(t,e,n,i,r){return{x:(1-r)*t+r*n,y:(1-r)*e+r*i}},pointDistance:function(t,e,n,i,r,a){var s=(n-t)*(r-t)+(i-e)*(a-e);return s<0?o(t,e,r,a):s>(n-t)*(n-t)+(i-e)*(i-e)?o(n,i,r,a):this.pointToLine(t,e,n,i,r,a)},pointToLine:function(t,e,n,i,r,o){var a=[n-t,i-e];if(c.I6(a,[0,0]))return Math.sqrt((r-t)*(r-t)+(o-e)*(o-e));var s=[-a[1],a[0]];return c.Fv(s,s),Math.abs(c.AK([r-t,o-e],s))},tangentAngle:function(t,e,n,i){return Math.atan2(i-e,n-t)}};function h(t,e,n,i,r,a){var s,l=1/0,u=[n,i],c=20;a&&a>200&&(c=a/10);for(var E=1/c,h=E/10,p=0;p<=c;p++){var T=p*E,f=[r.apply(null,t.concat([T])),r.apply(null,e.concat([T]))],d=o(u[0],u[1],f[0],f[1]);d=0&&d=0?[r]:[]}function f(t,e,n,i){return 2*(1-i)*(e-t)+2*i*(n-e)}function d(t,e,n,i,r,o,a){var s=p(t,n,r,a),l=p(e,i,o,a),u=E.pointAt(t,e,n,i,a),c=E.pointAt(n,i,r,o,a);return[[t,e,u.x,u.y,s,l],[s,l,c.x,c.y,r,o]]}var A={box:function(t,e,n,i,r,o){var a=T(t,n,r)[0],l=T(e,i,o)[0],u=[t,r],c=[e,o];return void 0!==a&&u.push(p(t,n,r,a)),void 0!==l&&c.push(p(e,i,o,l)),s(u,c)},length:function(t,e,n,i,r,a){return function t(e,n,i,r,a,s,l){if(0===l)return(o(e,n,i,r)+o(i,r,a,s)+o(e,n,a,s))/2;var u=d(e,n,i,r,a,s,.5),c=u[0],E=u[1];return c.push(l-1),E.push(l-1),t.apply(null,c)+t.apply(null,E)}(t,e,n,i,r,a,3)},nearestPoint:function(t,e,n,i,r,o,a,s){return h([t,n,r],[e,i,o],a,s,p)},pointDistance:function(t,e,n,i,r,a,s,l){var u=this.nearestPoint(t,e,n,i,r,a,s,l);return o(u.x,u.y,s,l)},interpolationAt:p,pointAt:function(t,e,n,i,r,o,a){return{x:p(t,n,r,a),y:p(e,i,o,a)}},divide:function(t,e,n,i,r,o,a){return d(t,e,n,i,r,o,a)},tangentAngle:function(t,e,n,i,r,o,a){var s=f(t,n,r,a);return u(Math.atan2(f(e,i,o,a),s))}};function S(t,e,n,i,r){var o=1-r;return o*o*o*t+3*e*r*o*o+3*n*r*r*o+i*r*r*r}function R(t,e,n,i,r){var o=1-r;return 3*(o*o*(e-t)+2*o*r*(n-e)+r*r*(i-n))}function g(t,e,n,i){var r,o,s,l=-3*t+9*e-9*n+3*i,u=6*t-12*e+6*n,c=3*e-3*t,E=[];if(a(l,0))!a(u,0)&&(r=-c/u)>=0&&r<=1&&E.push(r);else{var h=u*u-4*l*c;a(h,0)?E.push(-u/(2*l)):h>0&&(r=(-u+(s=Math.sqrt(h)))/(2*l),o=(-u-s)/(2*l),r>=0&&r<=1&&E.push(r),o>=0&&o<=1&&E.push(o))}return E}function I(t,e,n,i,r,o,a,s,l){var u=S(t,n,r,a,l),c=S(e,i,o,s,l),h=E.pointAt(t,e,n,i,l),p=E.pointAt(n,i,r,o,l),T=E.pointAt(r,o,a,s,l),f=E.pointAt(h.x,h.y,p.x,p.y,l),d=E.pointAt(p.x,p.y,T.x,T.y,l);return[[t,e,h.x,h.y,f.x,f.y,u,c],[u,c,d.x,d.y,T.x,T.y,a,s]]}var O={extrema:g,box:function(t,e,n,i,r,o,a,l){for(var u=[t,a],c=[e,l],E=g(t,n,r,a),h=g(e,i,o,l),p=0;p0?n:-1*n}var v={box:function(t,e,n,i){return{x:t-n,y:e-i,width:2*n,height:2*i}},length:function(t,e,n,i){return Math.PI*(3*(n+i)-Math.sqrt((3*n+i)*(n+3*i)))},nearestPoint:function(t,e,n,i,r,o){if(0===n||0===i)return{x:t,y:e};for(var a,s,l=r-t,u=o-e,c=Math.abs(l),E=Math.abs(u),h=n*n,p=i*i,T=Math.PI/4,f=0;f<4;f++){a=n*Math.cos(T),s=i*Math.sin(T);var d=(h-p)*Math.pow(Math.cos(T),3)/n,A=(p-h)*Math.pow(Math.sin(T),3)/i,S=a-d,R=s-A,g=c-d,I=E-A,O=Math.hypot(R,S),v=Math.hypot(I,g);T+=O*Math.asin((S*I-R*g)/(O*v))/Math.sqrt(h+p-a*a-s*s),T=Math.min(Math.PI/2,Math.max(0,T))}return{x:t+y(a,l),y:e+y(s,u)}},pointDistance:function(t,e,n,i,r,a){var s=this.nearestPoint(t,e,n,i,r,a);return o(s.x,s.y,r,a)},pointAt:function(t,e,n,i,r){var o=2*Math.PI*r;return{x:t+n*Math.cos(o),y:e+i*Math.sin(o)}},tangentAngle:function(t,e,n,i,r){var o=2*Math.PI*r;return u(Math.atan2(i*Math.cos(o),-n*Math.sin(o)))}};function N(t,e,n,i,r,o){return n*Math.cos(r)*Math.cos(o)-i*Math.sin(r)*Math.sin(o)+t}function C(t,e,n,i,r,o){return n*Math.sin(r)*Math.cos(o)+i*Math.cos(r)*Math.sin(o)+e}function m(t,e,n){return{x:t*Math.cos(n),y:e*Math.sin(n)}}function L(t,e,n){var i=Math.cos(n),r=Math.sin(n);return[t*i-e*r,t*r+e*i]}var _={box:function(t,e,n,i,r,o,a){for(var s=Math.atan(-i/n*Math.tan(r)),l=1/0,u=-1/0,c=[o,a],E=-(2*Math.PI);E<=2*Math.PI;E+=Math.PI){var h=s+E;ou&&(u=p)}for(var T=Math.atan(i/(n*Math.tan(r))),f=1/0,d=-1/0,A=[o,a],E=-(2*Math.PI);E<=2*Math.PI;E+=Math.PI){var S=T+E;od&&(d=R)}return{x:l,y:f,width:u-l,height:d-f}},length:function(t,e,n,i,r,o,a){},nearestPoint:function(t,e,n,i,r,o,a,s,l){var u,c=L(s-t,l-e,-r),E=c[0],h=c[1],p=v.nearestPoint(0,0,n,i,E,h),T=(u=p.x,(Math.atan2(p.y*n,u*i)+2*Math.PI)%(2*Math.PI));Ta&&(p=m(n,i,a));var f=L(p.x,p.y,r);return{x:f[0]+t,y:f[1]+e}},pointDistance:function(t,e,n,i,r,a,s,l,u){var c=this.nearestPoint(t,e,n,i,l,u);return o(c.x,c.y,l,u)},pointAt:function(t,e,n,i,r,o,a,s){var l=(a-o)*s+o;return{x:N(t,e,n,i,r,l),y:C(t,e,n,i,r,l)}},tangentAngle:function(t,e,n,i,r,o,a,s){var l=(a-o)*s+o,c=-1*n*Math.cos(r)*Math.sin(l)-i*Math.sin(r)*Math.cos(l);return u(Math.atan2(-1*n*Math.sin(r)*Math.sin(l)+i*Math.cos(r)*Math.cos(l),c))}};function x(t){for(var e=0,n=[],i=0;i1||e<0||t.length<2)return null;var n=x(t),i=n.segments,r=n.totalLength;if(0===r)return{x:t[0][0],y:t[0][1]};for(var o=0,a=null,s=0;s=o&&e<=o+h){var p=(e-o)/h;a=E.pointAt(u[0],u[1],c[0],c[1],p);break}o+=h}return a}(t,e)},pointDistance:function(t,e,n){return function(t,e,n){for(var i=1/0,r=0;r1||e<0||t.length<2)return 0;for(var n=x(t),i=n.segments,r=n.totalLength,o=0,a=0,s=0;s=o&&e<=o+E){a=Math.atan2(c[1]-u[1],c[0]-u[0]);break}o+=E}return a}(t,e)}}},75227:function(t,e,n){"use strict";n.d(e,{sg:function(){return EQ},x1:function(){return h0}});var i,r,o,a,s,l,u,c,E,h,p,T,f,d,A,S,R,g,I,O,y,v,N,C,m,L,_,x,M,P,D,U,b,F,B,G,w,H,Y,k,V,W,X,K,z,Z,$,J,j,q,Q,tt,te,tn={};n.r(tn),n.d(tn,{assign:function(){return eo},default:function(){return eN},defaultI18n:function(){return eu},format:function(){return ey},parse:function(){return ev},setGlobalDateI18n:function(){return eE},setGlobalDateMasks:function(){return eO}});var ti={};n.r(ti),n.d(ti,{Arc:function(){return nB},DataMarker:function(){return nH},DataRegion:function(){return nY},Html:function(){return nK},Image:function(){return nw},Line:function(){return nb},Region:function(){return nG},RegionFilter:function(){return nk},Shape:function(){return nV},Text:function(){return nF}});var tr={};n.r(tr),n.d(tr,{ellipsisHead:function(){return nj},ellipsisMiddle:function(){return nQ},ellipsisTail:function(){return nq},getDefault:function(){return nJ}});var to={};n.r(to),n.d(to,{equidistance:function(){return n9},equidistanceWithReverseBoth:function(){return n7},getDefault:function(){return n6},reserveBoth:function(){return n8},reserveFirst:function(){return n3},reserveLast:function(){return n4}});var ta={};n.r(ta),n.d(ta,{fixedAngle:function(){return ii},getDefault:function(){return ie},unfixedAngle:function(){return ir}});var ts={};n.r(ts),n.d(ts,{autoEllipsis:function(){return tr},autoHide:function(){return to},autoRotate:function(){return ta}});var tl={};n.r(tl),n.d(tl,{Base:function(){return is},Circle:function(){return iu},Html:function(){return iT},Line:function(){return il}});var tu={};n.r(tu),n.d(tu,{CONTAINER_CLASS:function(){return im},CROSSHAIR_X:function(){return iU},CROSSHAIR_Y:function(){return ib},LIST_CLASS:function(){return i_},LIST_ITEM_CLASS:function(){return ix},MARKER_CLASS:function(){return iM},NAME_CLASS:function(){return iD},TITLE_CLASS:function(){return iL},VALUE_CLASS:function(){return iP}});var tc={};n.r(tc),n.d(tc,{Base:function(){return aB},Circle:function(){return aG},Ellipse:function(){return aw},Image:function(){return aY},Line:function(){return aW},Marker:function(){return aK},Path:function(){return a0},Polygon:function(){return a2},Polyline:function(){return a5},Rect:function(){return a6},Text:function(){return a3}});var tE={};n.r(tE),n.d(tE,{Canvas:function(){return a9},Group:function(){return aF},Shape:function(){return tc},getArcParams:function(){return ag},version:function(){return a7}});var th={};n.r(th),n.d(th,{Base:function(){return sc},Circle:function(){return sE},Dom:function(){return sh},Ellipse:function(){return sp},Image:function(){return sT},Line:function(){return sf},Marker:function(){return sS},Path:function(){return sR},Polygon:function(){return sg},Polyline:function(){return sI},Rect:function(){return sO},Text:function(){return sm}});var tp={};n.r(tp),n.d(tp,{Canvas:function(){return sY},Group:function(){return su},Shape:function(){return th},version:function(){return sk}});var tT={};n.r(tT),n.d(tT,{cluster:function(){return AO},hierarchy:function(){return fR},pack:function(){return fT},packEnclose:function(){return T9},packSiblings:function(){return fu},partition:function(){return Ad},stratify:function(){return Am},tree:function(){return AP},treemap:function(){return AB},treemapBinary:function(){return AG},treemapDice:function(){return Af},treemapResquarify:function(){return AH},treemapSlice:function(){return AD},treemapSliceDice:function(){return Aw},treemapSquarify:function(){return AF}});var tf=n(97582),td=n(21030);(i=M||(M={})).FORE="fore",i.MID="mid",i.BG="bg",(r=P||(P={})).TOP="top",r.TOP_LEFT="top-left",r.TOP_RIGHT="top-right",r.RIGHT="right",r.RIGHT_TOP="right-top",r.RIGHT_BOTTOM="right-bottom",r.LEFT="left",r.LEFT_TOP="left-top",r.LEFT_BOTTOM="left-bottom",r.BOTTOM="bottom",r.BOTTOM_LEFT="bottom-left",r.BOTTOM_RIGHT="bottom-right",r.RADIUS="radius",r.CIRCLE="circle",r.NONE="none",(o=D||(D={})).AXIS="axis",o.GRID="grid",o.LEGEND="legend",o.TOOLTIP="tooltip",o.ANNOTATION="annotation",o.SLIDER="slider",o.SCROLLBAR="scrollbar",o.OTHER="other";var tA={FORE:3,MID:2,BG:1};(a=U||(U={})).BEFORE_RENDER="beforerender",a.AFTER_RENDER="afterrender",a.BEFORE_PAINT="beforepaint",a.AFTER_PAINT="afterpaint",a.BEFORE_CHANGE_DATA="beforechangedata",a.AFTER_CHANGE_DATA="afterchangedata",a.BEFORE_CLEAR="beforeclear",a.AFTER_CLEAR="afterclear",a.BEFORE_DESTROY="beforedestroy",a.BEFORE_CHANGE_SIZE="beforechangesize",a.AFTER_CHANGE_SIZE="afterchangesize",(s=b||(b={})).BEFORE_DRAW_ANIMATE="beforeanimate",s.AFTER_DRAW_ANIMATE="afteranimate",(l=F||(F={})).MOUSE_ENTER="plot:mouseenter",l.MOUSE_DOWN="plot:mousedown",l.MOUSE_MOVE="plot:mousemove",l.MOUSE_UP="plot:mouseup",l.MOUSE_LEAVE="plot:mouseleave",l.TOUCH_START="plot:touchstart",l.TOUCH_MOVE="plot:touchmove",l.TOUCH_END="plot:touchend",l.TOUCH_CANCEL="plot:touchcancel",l.CLICK="plot:click",l.DBLCLICK="plot:dblclick",l.CONTEXTMENU="plot:contextmenu",l.LEAVE="plot:leave",l.ENTER="plot:enter",(u=B||(B={})).ACTIVE="active",u.INACTIVE="inactive",u.SELECTED="selected",u.DEFAULT="default";var tS=["color","shape","size"],tR="_origin",tg={};function tI(t){G||(G=document.createElement("table"),w=document.createElement("tr"),H=/^\s*<(\w+|!)[^>]*>/,Y={tr:document.createElement("tbody"),tbody:G,thead:G,tfoot:G,td:w,th:w,"*":document.createElement("div")});var e=H.test(t)&&RegExp.$1;e&&e in Y||(e="*");var n=Y[e];t="string"==typeof t?t.replace(/(^\s*)|(\s*$)/g,""):t,n.innerHTML=""+t;var i=n.childNodes[0];return i&&n.contains(i)&&n.removeChild(i),i}function tO(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}function ty(t){return"number"==typeof t&&!isNaN(t)}function tv(t,e,n,i){var r=n,o=i;if(e){var a,s=(a=getComputedStyle(t),{width:(t.clientWidth||parseInt(a.width,10))-parseInt(a.paddingLeft,10)-parseInt(a.paddingRight,10),height:(t.clientHeight||parseInt(a.height,10))-parseInt(a.paddingTop,10)-parseInt(a.paddingBottom,10)});r=s.width?s.width:r,o=s.height?s.height:o}return{width:Math.max(ty(r)?r:1,1),height:Math.max(ty(o)?o:1,1)}}var tN=n(90494),tC=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var i=e.visible;return n.visible=void 0===i||i,n}return(0,tf.ZT)(e,t),e.prototype.show=function(){this.visible||this.changeVisible(!0)},e.prototype.hide=function(){this.visible&&this.changeVisible(!1)},e.prototype.destroy=function(){this.off(),this.destroyed=!0},e.prototype.changeVisible=function(t){this.visible!==t&&(this.visible=t)},e}(tN.Z),tm=n(98190),tL=function(){function t(t){var e=t.xField,n=t.yField,i=t.adjustNames,r=t.dimValuesMap;this.adjustNames=void 0===i?["x","y"]:i,this.xField=e,this.yField=n,this.dimValuesMap=r}return t.prototype.isAdjust=function(t){return this.adjustNames.indexOf(t)>=0},t.prototype.getAdjustRange=function(t,e,n){var i,r,o=this.yField,a=n.indexOf(e),s=n.length;return!o&&this.isAdjust("y")?(i=0,r=1):s>1?(i=n[0===a?0:a-1],r=n[a===s-1?s-1:a+1],0!==a?i+=(e-i)/2:i-=(r-e)/2,a!==s-1?r-=(r-e)/2:r+=(e-n[s-2])/2):(i=0===e?0:e-.5,r=0===e?1:e+.5),{pre:i,next:r}},t.prototype.adjustData=function(t,e){var n=this,i=this.getDimValues(e);td.S6(t,function(t,e){td.S6(i,function(i,r){n.adjustDim(r,i,t,e)})})},t.prototype.groupData=function(t,e){return td.S6(t,function(t){void 0===t[e]&&(t[e]=0)}),td.vM(t,e)},t.prototype.adjustDim=function(t,e,n,i){},t.prototype.getDimValues=function(t){var e=this.xField,n=this.yField,i=td.f0({},this.dimValuesMap),r=[];return e&&this.isAdjust("x")&&r.push(e),n&&this.isAdjust("y")&&r.push(n),r.forEach(function(e){i&&i[e]||(i[e]=td.I(t,e).sort(function(t,e){return t-e}))}),!n&&this.isAdjust("y")&&(i.y=[0,1]),i},t}(),t_={},tx=function(t){return t_[t.toLowerCase()]},tM=function(t,e){if(tx(t))throw Error("Adjust type '"+t+"' existed.");t_[t.toLowerCase()]=e},tP=function(t,e){return(tP=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function tD(t,e){function n(){this.constructor=t}tP(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var tU=function(){return(tU=Object.assign||function(t){for(var e,n=1,i=arguments.length;n=0){var E=this.getIntervalOnlyOffset(n,e);i=l+E}else if(!td.UM(s)&&td.UM(a)&&s>=0){var E=this.getDodgeOnlyOffset(n,e);i=l+E}else if(!td.UM(a)&&!td.UM(s)&&a>=0&&s>=0){var E=this.getIntervalAndDodgeOffset(n,e);i=l+E}else{var h=c*r/n,p=o*h,E=.5*(c-n*h-(n-1)*p)+((e+1)*h+e*p)-.5*h-.5*c;i=(l+u)/2+E}return i},e.prototype.getIntervalOnlyOffset=function(t,e){var n=this.defaultSize,i=this.intervalPadding,r=this.xDimensionLegenth,o=this.groupNum,a=this.dodgeRatio,s=this.maxColumnWidth,l=this.minColumnWidth,u=this.columnWidthRatio,c=i/r,E=(1-(o-1)*c)/o*a/(t-1),h=((1-c*(o-1))/o-E*(t-1))/t;return h=td.UM(u)?h:1/o/t*u,td.UM(s)||(h=Math.min(h,s/r)),td.UM(l)||(h=Math.max(h,l/r)),E=((1-(o-1)*c)/o-t*(h=n?n/r:h))/(t-1),((.5+e)*h+e*E+.5*c)*o-c/2},e.prototype.getDodgeOnlyOffset=function(t,e){var n=this.defaultSize,i=this.dodgePadding,r=this.xDimensionLegenth,o=this.groupNum,a=this.marginRatio,s=this.maxColumnWidth,l=this.minColumnWidth,u=this.columnWidthRatio,c=i/r,E=1*a/(o-1),h=((1-E*(o-1))/o-c*(t-1))/t;return h=u?1/o/t*u:h,td.UM(s)||(h=Math.min(h,s/r)),td.UM(l)||(h=Math.max(h,l/r)),E=(1-((h=n?n/r:h)*t+c*(t-1))*o)/(o-1),((.5+e)*h+e*c+.5*E)*o-E/2},e.prototype.getIntervalAndDodgeOffset=function(t,e){var n=this.intervalPadding,i=this.dodgePadding,r=this.xDimensionLegenth,o=this.groupNum,a=n/r,s=i/r;return((.5+e)*(((1-a*(o-1))/o-s*(t-1))/t)+e*s+.5*a)*o-a/2},e.prototype.getDistribution=function(t){var e=this.adjustDataArray,n=this.cacheMap,i=n[t];return i||(i={},td.S6(e,function(e,n){var r=td.I(e,t);r.length||r.push(0),td.S6(r,function(t){i[t]||(i[t]=[]),i[t].push(n)})}),n[t]=i),i},e}(tL),tF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tD(e,t),e.prototype.process=function(t){var e=td.d9(t),n=td.xH(e);return this.adjustData(e,n),e},e.prototype.adjustDim=function(t,e,n){var i=this,r=this.groupData(n,t);return td.S6(r,function(n,r){return i.adjustGroup(n,t,parseFloat(r),e)})},e.prototype.getAdjustOffset=function(t){var e,n=t.pre,i=t.next,r=(i-n)*.05;return e=n+r,(i-r-e)*Math.random()+e},e.prototype.adjustGroup=function(t,e,n,i){var r=this,o=this.getAdjustRange(e,n,i);return td.S6(t,function(t){t[e]=r.getAdjustOffset(o)}),t},e}(tL),tB=td.Ct,tG=function(t){function e(e){var n=t.call(this,e)||this,i=e.adjustNames,r=e.height,o=void 0===r?NaN:r,a=e.size,s=e.reverseOrder;return n.adjustNames=void 0===i?["y"]:i,n.height=o,n.size=void 0===a?10:a,n.reverseOrder=void 0!==s&&s,n}return tD(e,t),e.prototype.process=function(t){var e=this.yField,n=this.reverseOrder,i=e?this.processStack(t):this.processOneDimStack(t);return n?this.reverse(i):i},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var e=this.xField,n=this.yField,i=this.reverseOrder?this.reverse(t):t,r=new tB,o=new tB;return i.map(function(t){return t.map(function(t){var i,a=td.U2(t,e,0),s=td.U2(t,[n]),l=a.toString();if(s=td.kJ(s)?s[1]:s,!td.UM(s)){var u=s>=0?r:o;u.has(l)||u.set(l,0);var c=u.get(l),E=s+c;return u.set(l,E),tU(tU({},t),((i={})[n]=[c,E],i))}return t})})},e.prototype.processOneDimStack=function(t){var e=this,n=this.xField,i=this.height,r=this.reverseOrder?this.reverse(t):t,o=new tB;return r.map(function(t){return t.map(function(t){var r,a=e.size,s=t[n],l=2*a/i;o.has(s)||o.set(s,l/2);var u=o.get(s);return o.set(s,u+l),tU(tU({},t),((r={}).y=u,r))})})},e}(tL),tw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tD(e,t),e.prototype.process=function(t){var e=td.xH(t),n=this.xField,i=this.yField,r=this.getXValuesMaxMap(e),o=Math.max.apply(Math,Object.keys(r).map(function(t){return r[t]}));return td.UI(t,function(t){return td.UI(t,function(t){var e,a,s=t[i],l=t[n];if(td.kJ(s)){var u=(o-r[l])/2;return tU(tU({},t),((e={})[i]=td.UI(s,function(t){return u+t}),e))}var c=(o-s)/2;return tU(tU({},t),((a={})[i]=[c,s+c],a))})})},e.prototype.getXValuesMaxMap=function(t){var e=this,n=this.xField,i=this.yField,r=td.vM(t,function(t){return t[n]});return td.Q8(r,function(t){return e.getDimMaxValue(t,i)})},e.prototype.getDimMaxValue=function(t,e){var n=td.UI(t,function(t){return td.U2(t,e,[])}),i=td.xH(n);return Math.max.apply(Math,i)},e}(tL);tM("Dodge",tb),tM("Jitter",tF),tM("Stack",tG),tM("Symmetric",tw);var tH=function(t,e){return(0,td.HD)(e)?e:t.invert(t.scale(e))},tY=function(){function t(t){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(t)}return t.prototype.mapping=function(){for(var t=this,e=[],n=0;n1?1:Number(e),i=t.length-1,r=Math.floor(i*n),o=i*n-r,a=t[r],s=r===i?a:t[r+1];return tZ([tz(a,s,o,0),tz(a,s,o,1),tz(a,s,o,2)])},tq=function(t){if("#"===t[0]&&7===t.length)return t;k||(k=tK()),k.style.color=t;var e=document.defaultView.getComputedStyle(k,"").getPropertyValue("color");return tZ(tk.exec(e)[1].split(/\s*,\s*/).map(function(t){return Number(t)}))},tQ={rgb2arr:t$,gradient:function(t){var e=(0,td.HD)(t)?t.split("-"):t,n=(0,td.UI)(e,function(t){return t$(-1===t.indexOf("#")?tq(t):t)});return function(t){return tj(n,t)}},toRGB:(0,td.HP)(tq),toCSSGradient:function(t){if(/^[r,R,L,l]{1}[\s]*\(/.test(t)){var e,n=void 0;if("l"===t[0]){var i=tV.exec(t),r=+i[1]+90;n=i[2],e="linear-gradient("+r+"deg, "}else if("r"===t[0]){e="radial-gradient(";var i=tW.exec(t);n=i[4]}var o=n.match(tX);return(0,td.S6)(o,function(t,n){var i=t.split(":");e+=i[1]+" "+100*i[0]+"%",n!==o.length-1&&(e+=", ")}),e+=")"}return t}},t0=function(t){function e(e){var n=t.call(this,e)||this;return n.type="color",n.names=["color"],(0,td.HD)(n.values)&&(n.linear=!0),n.gradient=tQ.gradient(n.values),n}return(0,tf.ZT)(e,t),e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(tY),t1=function(t){function e(e){var n=t.call(this,e)||this;return n.type="opacity",n.names=["opacity"],n}return(0,tf.ZT)(e,t),e}(tY),t2=function(t){function e(e){var n=t.call(this,e)||this;return n.names=["x","y"],n.type="position",n}return(0,tf.ZT)(e,t),e.prototype.mapping=function(t,e){var n=this.scales,i=n[0],r=n[1];return(0,td.UM)(t)||(0,td.UM)(e)?[]:[(0,td.kJ)(t)?t.map(function(t){return i.scale(t)}):i.scale(t),(0,td.kJ)(e)?e.map(function(t){return r.scale(t)}):r.scale(e)]},e}(tY),t5=function(t){function e(e){var n=t.call(this,e)||this;return n.type="shape",n.names=["shape"],n}return(0,tf.ZT)(e,t),e.prototype.getLinearValue=function(t){var e=Math.round((this.values.length-1)*t);return this.values[e]},e}(tY),t6=function(t){function e(e){var n=t.call(this,e)||this;return n.type="size",n.names=["size"],n}return(0,tf.ZT)(e,t),e}(tY),t3={},t4=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){(0,td.f0)(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return(0,td.UI)(this.ticks,function(e,n){return(0,td.Kn)(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}})},t.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return(0,td.UM)(i)||!(0,td.mf)(i.toString)?"":i.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){(0,td.f0)(this,this.__cfg__),this.setDomain(),(0,td.xb)(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if((0,td.HD)(t)){var n=t3[t];if(!n)throw Error("There is no method to to calculate ticks!");e=n(this)}else(0,td.mf)(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return this.range[0]},t.prototype.rangeMax=function(){return this.range[1]},t.prototype.calcPercent=function(t,e,n){return(0,td.hj)(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}(),t8=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}return(0,tf.ZT)(e,t),e.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var t=0;tthis.max?NaN:this.values[e]},e.prototype.getText=function(e){for(var n=[],i=1;i1?t-1:t}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(t4),t9=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,t7="\\d\\d?",et="\\d\\d",ee="[^\\s]+",en=/\[([^]*?)\]/gm;function ei(t,e){for(var n=[],i=0,r=t.length;i-1?i:null}};function eo(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}},ec=eo({},eu),eE=function(t){return ec=eo(ec,t)},eh=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},ep=function(t,e){for(void 0===e&&(e=2),t=String(t);t.lengtht.getHours()?e.amPm[0]:e.amPm[1]},A:function(t,e){return 12>t.getHours()?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+ep(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+ep(Math.floor(Math.abs(e)/60),2)+":"+ep(Math.abs(e)%60,2)}},ef=function(t){return+t-1},ed=[null,t7],eA=[null,ee],eS=["isPm",ee,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],eR=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return"+"===e[0]?n:-n}return 0}],eg={D:["day",t7],DD:["day",et],Do:["day",t7+ee,function(t){return parseInt(t,10)}],M:["month",t7,ef],MM:["month",et,ef],YY:["year",et,function(t){var e=+(""+new Date().getFullYear()).substr(0,2);return+(""+(+t>68?e-1:e)+t)}],h:["hour",t7,void 0,"isPm"],hh:["hour",et,void 0,"isPm"],H:["hour",t7],HH:["hour",et],m:["minute",t7],mm:["minute",et],s:["second",t7],ss:["second",et],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond",et,function(t){return 10*+t}],SSS:["millisecond","\\d{3}"],d:ed,dd:ed,ddd:eA,dddd:eA,MMM:["month",ee,er("monthNamesShort")],MMMM:["month",ee,er("monthNames")],a:eS,A:eS,ZZ:eR,Z:eR},eI={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},eO=function(t){return eo(eI,t)},ey=function(t,e,n){if(void 0===e&&(e=eI.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw Error("Invalid Date pass to format");e=eI[e]||e;var i=[];e=e.replace(en,function(t,e){return i.push(e),"@@@"});var r=eo(eo({},ec),n);return(e=e.replace(t9,function(e){return eT[e](t,r)})).replace(/@@@/g,function(){return i.shift()})};function ev(t,e,n){if(void 0===n&&(n={}),"string"!=typeof e)throw Error("Invalid format in fecha parse");if(e=eI[e]||e,t.length>1e3)return null;var i,r={year:new Date().getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},o=[],a=[],s=e.replace(en,function(t,e){return a.push(eh(e)),"@@@"}),l={},u={};s=eh(s).replace(t9,function(t){var e=eg[t],n=e[0],i=e[1],r=e[3];if(l[n])throw Error("Invalid format. "+n+" specified twice in format");return l[n]=!0,r&&(u[r]=!0),o.push(e),"("+i+")"}),Object.keys(u).forEach(function(t){if(!l[t])throw Error("Invalid format. "+t+" is required in specified format")}),s=s.replace(/@@@/g,function(){return a.shift()});var c=t.match(RegExp(s,"i"));if(!c)return null;for(var E=eo(eo({},ec),n),h=1;h11||r.month<0||r.day>31||r.day<1||r.hour>23||r.hour<0||r.minute>59||r.minute<0||r.second>59||r.second<0)return null;return i}var eN={format:ey,parse:ev,defaultI18n:eu,setGlobalDateI18n:eE,setGlobalDateMasks:eO},eC="format";function em(t,e){return(tn[eC]||eN[eC])(t,e)}function eL(t){return(0,td.HD)(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),(0,td.J_)(t)&&(t=t.getTime()),t}var e_=[["HH:mm:ss",1e3],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",6e4],["HH:mm",6e5],["HH:mm",18e5],["HH",36e5],["HH",216e5],["HH",432e5],["YYYY-MM-DD",864e5],["YYYY-MM-DD",3456e5],["YYYY-WW",6048e5],["YYYY-MM",26784e5],["YYYY-MM",107136e5],["YYYY-MM",160704e5],["YYYY",32832e6]],ex=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return(0,tf.ZT)(e,t),e.prototype.translate=function(t){t=eL(t);var e=this.values.indexOf(t);return -1===e&&(e=(0,td.hj)(t)&&t-1){var i=this.values[n],r=this.formatter;return r?r(i,e):em(i,this.mask)}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;(0,td.S6)(e,function(t,n){e[n]=eL(t)}),e.sort(function(t,e){return t-e}),t.prototype.setDomain.call(this)},e}(t8),eM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return(0,tf.ZT)(e,t),e.prototype.scale=function(t){if((0,td.UM)(t))return NaN;var e=this.rangeMin(),n=this.rangeMax();return this.max===this.min?e:e+this.getScalePercent(t)*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=(0,td.YM)(e),i=(0,td.Z$)(e);nthis.max&&(this.max=i),(0,td.UM)(this.minLimit)||(this.min=n),(0,td.UM)(this.maxLimit)||(this.max=i)},e.prototype.setDomain=function(){var t=(0,td.rx)(this.values),e=t.min,n=t.max;(0,td.UM)(this.min)&&(this.min=e),(0,td.UM)(this.max)&&(this.max=n),this.min>this.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=(0,td.hX)(n,function(t){return t>=e.min&&t<=e.max})),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(t4),eP=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return(0,tf.ZT)(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(eM);function eD(t,e){var n=Math.E;return e>=0?Math.pow(n,Math.log(e)/t):-1*Math.pow(n,Math.log(-e)/t)}function eU(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function eb(t,e,n){(0,td.UM)(n)&&(n=Math.max.apply(null,t));var i=n;return(0,td.S6)(t,function(t){t>0&&t1&&(i=1),i}var eF=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return(0,tf.ZT)(e,t),e.prototype.invert=function(t){var e,n=this.base,i=eU(n,this.max),r=this.rangeMin(),o=this.rangeMax()-r,a=this.positiveMin;if(a){if(0===t)return 0;var s=1/(i-(e=eU(n,a/n)))*o;if(t=0?1:-1)},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var i=this.exponent;return(eD(i,t)-eD(i,n))/(eD(i,e)-eD(i,n))},e}(eM),eG=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return(0,tf.ZT)(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),i=this.formatter;return i?i(n,e):em(n,this.mask)},e.prototype.scale=function(e){var n=e;return((0,td.HD)(n)||(0,td.J_)(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return eL(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if((0,td.UM)(e)&&(0,td.hj)(e)||(this.min=this.translate(this.min)),(0,td.UM)(n)&&(0,td.hj)(n)||(this.max=this.translate(this.max)),t&&t.length){var i=[],r=1/0,o=1/0,a=0;(0,td.S6)(t,function(t){var e=eL(t);if(isNaN(e))throw TypeError("Invalid Time: "+t+" in time scale!");r>e?(o=r,r=e):o>e&&(o=e),a1&&(this.minTickInterval=o-r),(0,td.UM)(e)&&(this.min=r),(0,td.UM)(n)&&(this.max=a)}},e}(eP),ew=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return(0,tf.ZT)(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,i=this.getInvertPercent(t),r=Math.floor(i*(n-1));if(r>=n-1)return(0,td.Z$)(e);if(r<0)return(0,td.YM)(e);var o=e[r],a=e[r+1],s=r/(n-1);return o+(i-s)/((r+1)/(n-1)-s)*(a-o)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||((0,td.Z$)(e)!==this.max&&e.push(this.max),(0,td.YM)(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(t<(0,td.YM)(e))return 0;if(t>(0,td.Z$)(e))return 1;var n=0;return(0,td.S6)(e,function(e,i){if(!(t>=e))return!1;n=i}),n/(e.length-1)},e}(eM),eH=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return(0,tf.ZT)(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(ew),eY={};function ek(t,e){if(eY[t])throw Error("type '"+t+"' existed.");eY[t]=e}var eV=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return(0,tf.ZT)(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&(0,td.hj)(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return te[1]?NaN:this.values[0]},e}(t4);function eW(t){var e=t.values,n=t.tickInterval,i=t.tickCount,r=t.showLast;if((0,td.hj)(n)){var o=(0,td.hX)(e,function(t,e){return e%n==0}),a=(0,td.Z$)(e);return r&&(0,td.Z$)(o)!==a&&o.push(a),o}var s=e.length,l=t.min,u=t.max;if((0,td.UM)(l)&&(l=0),(0,td.UM)(u)&&(u=e.length-1),!(0,td.hj)(i)||i>=s)return e.slice(l,u+1);if(i<=0||u<=0)return[];for(var c=1===i?s:Math.floor(s/(i-1)),E=[],h=l,p=0;p=u);p++)h=Math.min(l+p*c,u),p===i-1&&r?E.push(e[u]):E.push(e[h]);return E}var eX=Math.sqrt(50),eK=Math.sqrt(10),ez=Math.sqrt(2),eZ=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){void 0===t&&(t=5);var e,n,i,r=this._domain.slice(),o=0,a=this._domain.length-1,s=this._domain[o],l=this._domain[a];return l0?i=e$(s=Math.floor(s/i)*i,l=Math.ceil(l/i)*i,t):i<0&&(i=e$(s=Math.ceil(s*i)/i,l=Math.floor(l*i)/i,t)),i>0?(r[o]=Math.floor(s/i)*i,r[a]=Math.ceil(l/i)*i,this.domain(r)):i<0&&(r[o]=Math.ceil(s*i)/i,r[a]=Math.floor(l*i)/i,this.domain(r)),this},t.prototype.ticks=function(t){return void 0===t&&(t=5),function(t,e,n){var i,r,o,a,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((i=e0)for(t=Math.ceil(t/a),o=Array(r=Math.ceil((e=Math.floor(e/a))-t+1));++s=0?(o>=eX?10:o>=eK?5:o>=ez?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(o>=eX?10:o>=eK?5:o>=ez?2:1)}function eJ(t,e,n){return("ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e))*e}function ej(t,e,n){var i=eJ(t,n,"floor"),r=eJ(e,n,"ceil");i=(0,td.ri)(i,n),r=(0,td.ri)(r,n);for(var o=[],a=Math.max((r-i)/4095,n),s=i;s<=r;s+=a){var l=(0,td.ri)(s,a);o.push(l)}return{min:i,max:r,ticks:o}}function eq(t,e,n){var i,r=t.minLimit,o=t.maxLimit,a=t.min,s=t.max,l=t.tickCount,u=void 0===l?5:l,c=(0,td.UM)(r)?(0,td.UM)(e)?a:e:r,E=(0,td.UM)(o)?(0,td.UM)(n)?s:n:o;if(c>E&&(E=(i=[c,E])[0],c=i[1]),u<=2)return[c,E];for(var h=(E-c)/(u-1),p=[],T=0;TMath.abs(t)?t:parseFloat(t.toFixed(15))}var e0=[1,5,2,2.5,4,3],e1=100*Number.EPSILON;function e2(t,e,n){if(void 0===n&&(n=5),t===e)return{max:e,min:t,ticks:[t]};var i=n<0?0:Math.round(n);if(0===i)return{max:e,min:t,ticks:[]};var r=(e-t)/i,o=Math.pow(10,Math.floor(Math.log10(r))),a=o;2*o-r<1.5*(r-a)&&(a=2*o,5*o-r<2.75*(r-a)&&(a=5*o,10*o-r<1.5*(r-a)&&(a=10*o)));for(var s=Math.ceil(e/a),l=Math.floor(t/a),u=Math.max(s*a,e),c=Math.min(l*a,t),E=Math.floor((u-c)/a)+1,h=Array(E),p=0;p1e148){var s=n||5,l=(e-t)/s;return{min:t,max:e,ticks:Array(s).fill(null).map(function(e,n){return eQ(t+l*n)})}}for(var u={score:-2,lmin:0,lmax:0,lstep:0},c=1;c<1/0;){for(var E=0;E=a?2-(O-1)/(a-1):1;if(o[0]*p+o[1]+o[2]*f+o[3]i?1-Math.pow((n-i)/2,2)/Math.pow(.1*i,2):1}(t,e,A*(T-1));if(o[0]*p+o[1]*S+o[2]*f+o[3]=0&&(l=1),1-s/(a-1)-n+l}(h,r,c,y,v,A),C=1-.5*(Math.pow(e-v,2)+Math.pow(t-y,2))/Math.pow(.1*(e-t),2),m=function(t,e,n,i,r,o){var a=(t-1)/(o-r),s=(e-1)/(Math.max(o,i)-Math.min(n,r));return 2-Math.max(a/s,s/a)}(T,a,t,e,y,v),L=o[0]*N+o[1]*C+o[2]*m+1*o[3];L>u.score&&(!i||y<=t&&v>=e)&&(u.lmin=y,u.lmax=v,u.lstep=A,u.score=L)}d+=1}T+=1}}c+=1}var _=eQ(u.lmax),x=eQ(u.lmin),M=eQ(u.lstep),P=Math.floor(Math.round(1e12*((_-x)/M))/1e12)+1,D=Array(P);D[0]=eQ(x);for(var E=1;E>>1;t[a][1]>e?o=a:r=a+1}return r}(e_,(n-e)/(a=o))-1,l=e_[s],s<0?l=e_[0]:s>=e_.length&&(l=(0,td.Z$)(e_)),l)[1];var a,s,l,u=(n-e)/r/o;u>1&&(r*=Math.ceil(u)),i&&r31536e6)for(var l,u=e5(n),c=Math.ceil(o/31536e6),E=s;E<=u+c;E+=c)a.push((l=E,new Date(l,0,1).getTime()));else if(o>26784e5)for(var h,p,T,f,d=Math.ceil(o/26784e5),A=e6(e),S=(h=e5(e),p=e5(n),T=e6(e),(p-h)*12+(e6(n)-T)%12),E=0;E<=S+d;E+=d)a.push((f=E+A,new Date(s,f,1).getTime()));else if(o>864e5)for(var R=new Date(e),g=R.getFullYear(),I=R.getMonth(),O=R.getDate(),y=Math.ceil(o/864e5),v=Math.ceil((n-e)/864e5),E=0;E36e5)for(var R=new Date(e),g=R.getFullYear(),I=R.getMonth(),y=R.getDate(),N=R.getHours(),C=Math.ceil(o/36e5),m=Math.ceil((n-e)/36e5),E=0;E<=m+C;E+=C)a.push(new Date(g,I,y,N+E).getTime());else if(o>6e4)for(var L=Math.ceil((n-e)/6e4),_=Math.ceil(o/6e4),E=0;E<=L+_;E+=_)a.push(e+6e4*E);else{var x=o;x<1e3&&(x=1e3);for(var M=1e3*Math.floor(e/1e3),P=Math.ceil((n-e)/1e3),D=Math.ceil(x/1e3),E=0;E=512&&console.warn("Notice: current ticks length("+a.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+o+") is too small, increase the value to solve the problem!"),a},t3.log=function(t){var e,n=t.base,i=t.tickCount,r=t.min,o=t.max,a=t.values,s=eU(n,o);if(r>0)e=Math.floor(eU(n,r));else{var l=eb(a,n,o);e=Math.floor(eU(n,l))}for(var u=Math.ceil((s-e)/i),c=[],E=e;E=0?1:-1)})},t3.quantile=function(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var i=n.slice().sort(function(t,e){return t-e}),r=[],o=0;o=0&&this.radius<=1&&(n*=this.radius),this.d=Math.floor(n*(1-this.innerRadius)/e),this.a=this.d/(2*Math.PI),this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*n,end:this.innerRadius*n+.99*this.d}},e.prototype.convertPoint=function(t){var e,n=t.x,i=t.y;this.isTransposed&&(n=(e=[i,n])[0],i=e[1]);var r=this.convertDim(n,"x"),o=this.a*r,a=this.convertDim(i,"y");return{x:this.center.x+Math.cos(r)*(o+a),y:this.center.y+Math.sin(r)*(o+a)}},e.prototype.invertPoint=function(t){var e,n=this.d+this.y.start,i=nr.$X([0,0],[t.x,t.y],[this.center.x,this.center.y]),r=ne.Dg(i,[1,0],!0),o=r*this.a;nr.kE(i)this.width/i?(e=this.width/i,this.circleCenter={x:this.center.x-(.5-o)*this.width,y:this.center.y-(.5-a)*e*r}):(e=this.height/r,this.circleCenter={x:this.center.x-(.5-o)*e*i,y:this.center.y-(.5-a)*this.height}),this.polarRadius=this.radius,this.radius?this.radius>0&&this.radius<=1?this.polarRadius=e*this.radius:(this.radius<=0||this.radius>e)&&(this.polarRadius=e):this.polarRadius=e,this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*this.polarRadius,end:this.polarRadius}},e.prototype.getRadius=function(){return this.polarRadius},e.prototype.convertPoint=function(t){var e,n=this.getCenter(),i=t.x,r=t.y;return this.isTransposed&&(i=(e=[r,i])[0],r=e[1]),i=this.convertDim(i,"x"),r=this.convertDim(r,"y"),{x:n.x+Math.cos(i)*r,y:n.y+Math.sin(i)*r}},e.prototype.invertPoint=function(t){var e,n=this.getCenter(),i=[t.x-n.x,t.y-n.y],r=this.startAngle,o=this.endAngle;this.isReflect("x")&&(r=(e=[o,r])[0],o=e[1]);var a=[1,0,0,0,1,0,0,0,1];ne.zu(a,a,r);var s=[1,0,0];e7(s,s,a);var l=[s[0],s[1]],u=ne.Dg(l,i,o0?E:-E;var h=this.invertDim(c,"y"),p={x:0,y:0};return p.x=this.isTransposed?h:E,p.y=this.isTransposed?E:h,p},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,e=this.endAngle;if(Math.abs(e-t)>=2*Math.PI)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(t),Math.cos(e)],i=[0,Math.sin(t),Math.sin(e)],r=Math.min(t,e);r=0;i--)t.removeChild(e[i])}function nS(t){var e=t.start,n=t.end,i=Math.min(e.x,n.x),r=Math.min(e.y,n.y),o=Math.max(e.x,n.x),a=Math.max(e.y,n.y);return{x:i,y:r,minX:i,minY:r,maxX:o,maxY:a,width:o-i,height:a-r}}function nR(t,e,n,i){var r=t+n,o=e+i;return{x:t,y:e,width:n,height:i,minX:t,minY:e,maxX:isNaN(r)?0:r,maxY:isNaN(o)?0:o}}function ng(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}}var nI=function(t,e,n){return void 0===n&&(n=Math.pow(Number.EPSILON,.5)),[t,e].includes(1/0)?Math.abs(t)===Math.abs(e):Math.abs(t-e)0?(0,td.S6)(h,function(e){if(e.get("visible")){if(e.isGroup()&&0===e.get("children").length)return!0;var n=t(e),i=e.applyToMatrix([n.minX,n.minY,1]),r=e.applyToMatrix([n.minX,n.maxY,1]),o=e.applyToMatrix([n.maxX,n.minY,1]),a=e.applyToMatrix([n.maxX,n.maxY,1]),s=Math.min(i[0],r[0],o[0],a[0]),h=Math.max(i[0],r[0],o[0],a[0]),p=Math.min(i[1],r[1],o[1],a[1]),T=Math.max(i[1],r[1],o[1],a[1]);su&&(u=h),pE&&(E=T)}}):(l=0,u=0,c=0,E=0),o=nR(l,c,u-l,E-c)}else o=e.getBBox();return s?nR(i=Math.max((n=o).minX,s.minX),r=Math.max(n.minY,s.minY),Math.min(n.maxX,s.maxX)-i,Math.min(n.maxY,s.maxY)-r):o}(t)),t},e.prototype.addGroup=function(t,e){this.appendDelegateObject(t,e);var n=t.addGroup(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addShape=function(t,e){this.appendDelegateObject(t,e);var n=t.addShape(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addComponent=function(t,e){var n=e.id,i=e.component,r=(0,tf._T)(e,["id","component"]),o=new i((0,tf.pi)((0,tf.pi)({},r),{id:n,container:t,updateAutoRender:this.get("updateAutoRender")}));return o.init(),o.render(),this.get("isRegister")&&this.registerElement(o.get("group")),o},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){this.get("group").off()},e.prototype.getElementId=function(t){return this.get("id")+"-"+this.get("name")+"-"+t},e.prototype.registerElement=function(t){var e=t.get("id");this.get("shapesMap")[e]=t},e.prototype.unregisterElement=function(t){var e=t.get("id");delete this.get("shapesMap")[e]},e.prototype.moveElementTo=function(t,e){var n=nh(e);t.attr("matrix",n)},e.prototype.addAnimation=function(t,e,n){var i=e.attr("opacity");(0,td.UM)(i)&&(i=1),e.attr("opacity",0),e.animate({opacity:i},n)},e.prototype.removeAnimation=function(t,e,n){e.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,e,n,i){e.animate(n,i)},e.prototype.updateElements=function(t,e){var n,i=this,r=this.get("animate"),o=this.get("animateOption"),a=t.getChildren().slice(0);(0,td.S6)(a,function(t){var a=t.get("id"),s=i.getElementById(a),l=t.get("name");if(s){if(t.get("isComponent")){var u=t.get("component"),c=s.get("component"),E=(0,td.ei)(u.cfg,(0,td.e5)((0,td.XP)(u.cfg),nL));c.update(E),s.set(nC,"update")}else{var h=i.getReplaceAttrs(s,t);r&&o.update?i.updateAnimation(l,s,h,o.update):s.attr(h),t.isGroup()&&i.updateElements(t,s),(0,td.S6)(nm,function(e){s.set(e,t.get(e))}),function(t,e){if(t.getClip()||e.getClip()){var n=e.getClip();if(!n){t.setClip(null);return}var i={type:n.get("type"),attrs:n.attr()};t.setClip(i)}}(s,t),n=s,s.set(nC,"update")}}else{e.add(t);var p=e.getChildren();if(p.splice(p.length-1,1),n){var T=p.indexOf(n);p.splice(T+1,0,t)}else p.unshift(t);if(i.registerElement(t),t.set(nC,"add"),t.get("isComponent")){var u=t.get("component");u.set("container",e)}else t.isGroup()&&i.registerNewGroup(t);if(n=t,r){var f=i.get("isInit")?o.appear:o.enter;f&&i.addAnimation(l,t,f)}}})},e.prototype.clearUpdateStatus=function(t){var e=t.getChildren();(0,td.S6)(e,function(t){t.set(nC,null)})},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t,e=this.get("name");return(t={})[e]=this,t.component=this,t},e.prototype.appendDelegateObject=function(t,e){var n=t.get("delegateObject");e.delegateObject||(e.delegateObject={}),(0,td.CD)(e.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,e){var n=t.attr(),i=e.attr();return(0,td.S6)(n,function(t,e){void 0===i[e]&&(i[e]=void 0)}),i},e.prototype.registerNewGroup=function(t){var e=this,n=t.getChildren();(0,td.S6)(n,function(t){e.registerElement(t),t.set(nC,"add"),t.isGroup()&&e.registerNewGroup(t)})},e.prototype.deleteElements=function(){var t=this,e=this.get("shapesMap"),n=[];(0,td.S6)(e,function(t,e){!t.get(nC)||t.destroyed?n.push([e,t]):t.set(nC,null)});var i=this.get("animate"),r=this.get("animateOption");(0,td.S6)(n,function(n){var o=n[0],a=n[1];if(!a.destroyed){var s=a.get("name");if(i&&r.leave){var l=(0,td.CD)({callback:function(){t.removeElement(a)}},r.leave);t.removeAnimation(s,a,l)}else t.removeElement(a)}delete e[o]})},e.prototype.removeElement=function(t){if(t.get("isGroup")){var e=t.get("component");e&&e.destroy()}t.remove()},e}(nN);function nx(t,e){return t.charCodeAt(e)>0&&128>t.charCodeAt(e)?1:2}function nM(t){if(t.length>400)return function(t){for(var e=t.map(function(t){var e=t.attr("text");return(0,td.UM)(e)?"":""+e}),n=0,i=0,r=0;r=19968&&s<=40869?o+=2:o+=1}o>n&&(n=o,i=r)}return t[i].getBBox().width}(t);var e=0;return(0,td.S6)(t,function(t){var n=t.getBBox().width;e=0?function(t,e,n){void 0===n&&(n="tail");var i=t.length,r="";if("tail"===n){for(var o=0,a=0;o1||i<0)&&(i=1),{x:(r=t.x,o=e.x,(1-(a=i))*r+o*a),y:(s=t.y,l=e.y,(1-(u=i))*s+l*u)}},e.prototype.renderLabel=function(t){var e=this.get("text"),n=this.get("start"),i=this.get("end"),r=e.position,o=e.content,a=e.style,s=e.offsetX,l=e.offsetY,u=e.autoRotate,c=e.maxLength,E=e.autoEllipsis,h=e.ellipsisPosition,p=e.background,T=e.isVertical,f=this.getLabelPoint(n,i,r),d=f.x+s,A=f.y+l,S={id:this.getElementId("line-text"),name:"annotation-line-text",x:d,y:A,content:o,style:a,maxLength:c,autoEllipsis:E,ellipsisPosition:h,background:p,isVertical:void 0!==T&&T};if(u){var R=[i.x-n.x,i.y-n.y];S.rotate=Math.atan2(R[1],R[0])}nD(t,S)},e}(n_),nF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"annotation",type:"text",locationType:"point",x:0,y:0,content:"",rotate:null,style:{},background:null,maxLength:null,autoEllipsis:!0,isVertical:!1,ellipsisPosition:"tail",defaultCfg:{style:{fill:nU.textColor,fontSize:12,textAlign:"center",textBaseline:"middle",fontFamily:nU.fontFamily}}})},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.renderInner=function(t){var e=this.getLocation(),n=e.x,i=e.y,r=this.get("content"),o=this.get("style");nD(t,{id:this.getElementId("text"),name:this.get("name")+"-text",x:n,y:i,content:r,style:o,maxLength:this.get("maxLength"),autoEllipsis:this.get("autoEllipsis"),isVertical:this.get("isVertical"),ellipsisPosition:this.get("ellipsisPosition"),background:this.get("background"),rotate:this.get("rotate")})},e.prototype.resetLocation=function(){var t=this.getElementByLocalId("text-group");if(t){var e=this.getLocation(),n=e.x,i=e.y,r=this.get("rotate");nf(t,n,i),nT(t,r,n,i)}},e}(n_),nB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"annotation",type:"arc",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2,style:{stroke:"#999",lineWidth:1}})},e.prototype.renderInner=function(t){this.renderArc(t)},e.prototype.getArcPath=function(){var t=this.getLocation(),e=t.center,n=t.radius,i=t.startAngle,r=t.endAngle,o=ng(e,n,i),a=ng(e,n,r),s=r-i>Math.PI?1:0,l=[["M",o.x,o.y]];if(r-i==2*Math.PI){var u=ng(e,n,i+Math.PI);l.push(["A",n,n,0,s,1,u.x,u.y]),l.push(["A",n,n,0,s,1,a.x,a.y])}else l.push(["A",n,n,0,s,1,a.x,a.y]);return l},e.prototype.renderArc=function(t){var e=this.getArcPath(),n=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:(0,tf.pi)({path:e},n)})},e}(n_),nG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:nU.regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var e=this.get("start"),n=this.get("end"),i=this.get("style"),r=nS({start:e,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:(0,tf.pi)({x:r.x,y:r.y,width:r.width,height:r.height},i)})},e}(n_),nw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),e=this.get("end"),n=this.get("style"),i=nS({start:t,end:e}),r=this.get("src");return(0,tf.pi)({x:i.x,y:i.y,img:r,width:i.width,height:i.height},n)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(n_),nH=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:nU.lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:nU.textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:nU.fontFamily}}}})},e.prototype.renderInner=function(t){(0,td.U2)(this.get("line"),"display")&&this.renderLine(t),(0,td.U2)(this.get("text"),"display")&&this.renderText(t),(0,td.U2)(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var e=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:e})},e.prototype.renderLine=function(t){var e=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:e})},e.prototype.renderText=function(t){var e=this.getShapeAttrs().text,n=e.x,i=e.y,r=e.text,o=(0,tf._T)(e,["x","y","text"]),a=this.get("text"),s=a.background,l=a.maxLength,u=a.autoEllipsis,c=a.isVertival,E=a.ellipsisPosition;nD(t,{x:n,y:i,id:this.getElementId("text"),name:"annotation-text",content:r,style:o,background:s,maxLength:l,autoEllipsis:u,isVertival:c,ellipsisPosition:E})},e.prototype.autoAdjust=function(t){var e=this.get("direction"),n=this.get("x"),i=this.get("y"),r=(0,td.U2)(this.get("line"),"length",0),o=this.get("coordinateBBox"),a=t.getBBox(),s=a.minX,l=a.maxX,u=a.minY,c=a.maxY,E=t.findById(this.getElementId("text-group")),h=t.findById(this.getElementId("text")),p=t.findById(this.getElementId("line"));if(o&&E){var T=E.attr("x"),f=E.attr("y"),d=h.getCanvasBBox(),A=d.width,S=d.height,R=0,g=0;if(n+s<=o.minX){if("leftward"===e)R=1;else{var I=o.minX-(n+s);T=E.attr("x")+I}}else if(n+l>=o.maxX){if("rightward"===e)R=-1;else{var I=n+l-o.maxX;T=E.attr("x")-I}}if(R&&(p&&p.attr("path",[["M",0,0],["L",r*R,0]]),T=(r+2+A)*R),i+u<=o.minY){if("upward"===e)g=1;else{var I=o.minY-(i+u);f=E.attr("y")+I}}else if(i+c>=o.maxY){if("downward"===e)g=-1;else{var I=i+c-o.maxY;f=E.attr("y")-I}}g&&(p&&p.attr("path",[["M",0,0],["L",0,r*g]]),f=(r+2+S)*g),(T!==E.attr("x")||f!==E.attr("y"))&&nf(E,T,f)}},e.prototype.getShapeAttrs=function(){var t=(0,td.U2)(this.get("line"),"display"),e=(0,td.U2)(this.get("point"),"style",{}),n=(0,td.U2)(this.get("line"),"style",{}),i=(0,td.U2)(this.get("text"),"style",{}),r=this.get("direction"),o=t?(0,td.U2)(this.get("line"),"length",0):0,a=0,s=0,l="top",u="start";switch(r){case"upward":s=-1,l="bottom";break;case"downward":s=1,l="top";break;case"leftward":a=-1,u="end";break;case"rightward":a=1,u="start"}return{point:(0,tf.pi)({x:0,y:0},e),line:(0,tf.pi)({path:[["M",0,0],["L",o*a,o*s]]},n),text:(0,tf.pi)({x:(o+2)*a,y:(o+2)*s,text:(0,td.U2)(this.get("text"),"content",""),textBaseline:l,textAlign:u},i)}},e}(n_),nY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:nU.regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:nU.textColor,fontFamily:nU.fontFamily}}}})},e.prototype.renderInner=function(t){var e,n,i,r,o,a,s=(0,td.U2)(this.get("region"),"style",{});(0,td.U2)(this.get("text"),"style",{});var l=this.get("lineLength")||0,u=this.get("points");if(u.length){var c=(e=u.map(function(t){return t.x}),n=u.map(function(t){return t.y}),i=Math.min.apply(Math,e),r=Math.min.apply(Math,n),{x:i,y:r,minX:i,minY:r,maxX:o=Math.max.apply(Math,e),maxY:a=Math.max.apply(Math,n),width:o-i,height:a-r}),E=[];E.push(["M",u[0].x,c.minY-l]),u.forEach(function(t){E.push(["L",t.x,t.y])}),E.push(["L",u[u.length-1].x,u[u.length-1].y-l]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:(0,tf.pi)({path:E},s)}),nD(t,(0,tf.pi)({id:this.getElementId("text"),name:"annotation-text",x:(c.minX+c.maxX)/2,y:c.minY-l},this.get("text")))}},e}(n_),nk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var e=this,n=this.get("start"),i=this.get("end"),r=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});(0,td.S6)(this.get("shapes"),function(t,n){var i=t.get("type"),o=(0,td.d9)(t.attr());e.adjustShapeAttrs(o),e.addShape(r,{id:e.getElementId("shape-"+i+"-"+n),capture:!1,type:i,attrs:o})});var o=nS({start:n,end:i});r.setClip({type:"rect",attrs:{x:o.minX,y:o.minY,width:o.width,height:o.height}})},e.prototype.adjustShapeAttrs=function(t){var e=this.get("color");t.fill&&(t.fill=t.fillStyle=e),t.stroke=t.strokeStyle=e},e}(n_),nV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"annotation",type:"shape",draw:td.ZT})},e.prototype.renderInner=function(t){var e=this.get("render");(0,td.mf)(e)&&e(t)},e}(n_);function nW(t,e,n){var i;try{i=window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.style[e]}catch(t){}finally{i=void 0===i?n:i}return i}var nX=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{container:null,containerTpl:"
",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){this.get("container").style.display="",this.set("visible",!0)},e.prototype.hide=function(){this.get("container").style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.getContainer(),n=t?"auto":"none";e.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer();return nR(parseFloat(t.style.left)||0,parseFloat(t.style.top)||0,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){nA(this.get("container"))},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),t.prototype.destroy.call(this)},e.prototype.init=function(){t.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if((0,td.UM)(t)){t=this.createDom();var e=this.get("parent");(0,td.HD)(e)&&(e=document.getElementById(e),this.set("parent",e)),e.appendChild(t),this.get("containerId")&&t.setAttribute("id",this.get("containerId")),this.set("container",t)}else(0,td.HD)(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),e=this.get("defaultStyles");t=t?(0,td.b$)({},e,t):e,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var e=this.getContainer();this.applyChildrenStyles(e,t);var n=this.get("containerClassName");n&&e.className.match(RegExp("(\\s|^)"+n+"(\\s|$)"))&&tO(e,t[n])}},e.prototype.applyChildrenStyles=function(t,e){(0,td.S6)(e,function(e,n){var i=t.getElementsByClassName(n);(0,td.S6)(i,function(t){tO(t,e)})})},e.prototype.applyStyle=function(t,e){tO(e,this.get("domStyles")[t])},e.prototype.createDom=function(){return tI(this.get("containerTpl"))},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){(0,td.wH)(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(nN),nK=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),e=this.get("html");nA(t);var n=(0,td.mf)(e)?e(t):e;if((0,td.kK)(n))t.appendChild(n);else if((0,td.HD)(n)||(0,td.hj)(n)){var i=tI(""+n);i&&t.appendChild(i)}this.resetPosition()},e.prototype.resetPosition=function(){var t,e,n,i,r,o,a,s,l,u,c,E,h=this.getContainer(),p=this.getLocation(),T=p.x,f=p.y,d=this.get("alignX"),A=this.get("alignY"),S=this.get("offsetX"),R=this.get("offsetY"),g=("auto"===(t=nW(h,"width",void 0))&&(t=h.offsetWidth),e=parseFloat(t),n=parseFloat(nW(h,"borderLeftWidth"))||0,i=parseFloat(nW(h,"paddingLeft"))||0,r=parseFloat(nW(h,"paddingRight"))||0,o=parseFloat(nW(h,"borderRightWidth"))||0,a=parseFloat(nW(h,"marginRight"))||0,e+n+o+i+r+(parseFloat(nW(h,"marginLeft"))||0)+a),I=("auto"===(s=nW(h,"height",void 0))&&(s=h.offsetHeight),l=parseFloat(s),u=parseFloat(nW(h,"borderTopWidth"))||0,c=parseFloat(nW(h,"paddingTop"))||0,E=parseFloat(nW(h,"paddingBottom"))||0,l+u+(parseFloat(nW(h,"borderBottomWidth"))||0)+c+E+(parseFloat(nW(h,"marginTop"))||0)+(parseFloat(nW(h,"marginBottom"))||0)),O={x:T,y:f};"middle"===d?O.x-=Math.round(g/2):"right"===d&&(O.x-=Math.round(g)),"middle"===A?O.y-=Math.round(I/2):"bottom"===A&&(O.y-=Math.round(I)),S&&(O.x+=S),R&&(O.y+=R),tO(h,{position:"absolute",left:O.x+"px",top:O.y+"px",zIndex:this.get("zIndex")})},e}(nX);function nz(t,e,n){var i=e+"Style",r=null;return(0,td.S6)(n,function(e,n){t[n]&&e[i]&&(r||(r={}),(0,td.CD)(r,e[i]))}),r}var nZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"axis",ticks:[],line:{},tickLine:{},subTickLine:null,title:null,label:{},verticalFactor:1,verticalLimitLength:null,overlapOrder:["autoRotate","autoEllipsis","autoHide"],tickStates:{},optimize:{},defaultCfg:{line:{style:{lineWidth:1,stroke:nU.lineColor}},tickLine:{style:{lineWidth:1,stroke:nU.lineColor},alignTick:!0,length:5,displayWithLabel:!0},subTickLine:{style:{lineWidth:1,stroke:nU.lineColor},count:4,length:2},label:{autoRotate:!0,autoHide:!1,autoEllipsis:!1,style:{fontSize:12,fill:nU.textColor,fontFamily:nU.fontFamily,fontWeight:"normal"},offset:10,offsetX:0,offsetY:0},title:{autoRotate:!0,spacing:5,position:"center",style:{fontSize:12,fill:nU.textColor,textBaseline:"middle",fontFamily:nU.fontFamily,textAlign:"center"},iconStyle:{fill:nU.descriptionIconFill,stroke:nU.descriptionIconStroke},description:""},tickStates:{active:{labelStyle:{fontWeight:500},tickLineStyle:{lineWidth:2}},inactive:{labelStyle:{fill:nU.uncheckedColor}}},optimize:{enable:!0,threshold:400}},theme:{}})},e.prototype.renderInner=function(t){this.get("line")&&this.drawLine(t),this.drawTicks(t),this.get("title")&&this.drawTitle(t)},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get("ticks")},e.prototype.setItems=function(t){this.update({ticks:t})},e.prototype.updateItem=function(t,e){(0,td.CD)(t,e),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId("label-group");t&&t.clear()},e.prototype.setItemState=function(t,e,n){t[e]=n,this.updateTickStates(t)},e.prototype.hasState=function(t,e){return!!t[e]},e.prototype.getItemStates=function(t){var e=this.get("tickStates"),n=[];return(0,td.S6)(e,function(e,i){t[i]&&n.push(i)}),n},e.prototype.clearItemsState=function(t){var e=this,n=this.getItemsByState(t);(0,td.S6)(n,function(n){e.setItemState(n,t,!1)})},e.prototype.getItemsByState=function(t){var e=this,n=this.getItems();return(0,td.hX)(n,function(n){return e.hasState(n,t)})},e.prototype.getSidePoint=function(t,e){var n=this.getSideVector(e,t);return{x:t.x+n[0],y:t.y+n[1]}},e.prototype.getTextAnchor=function(t){var e;return(0,td.vQ)(t[0],0)?e="center":t[0]>0?e="start":t[0]<0&&(e="end"),e},e.prototype.getTextBaseline=function(t){var e;return(0,td.vQ)(t[1],0)?e="middle":t[1]>0?e="top":t[1]<0&&(e="bottom"),e},e.prototype.processOverlap=function(t){},e.prototype.drawLine=function(t){var e=this.getLinePath(),n=this.get("line");this.addShape(t,{type:"path",id:this.getElementId("line"),name:"axis-line",attrs:(0,td.CD)({path:e},n.style)})},e.prototype.getTickLineItems=function(t){var e=this,n=[],i=this.get("tickLine"),r=i.alignTick,o=i.length,a=1;return t.length>=2&&(a=t[1].value-t[0].value),(0,td.S6)(t,function(t){var i=t.point;r||(i=e.getTickPoint(t.value-a/2));var s=e.getSidePoint(i,o);n.push({startPoint:i,tickValue:t.value,endPoint:s,tickId:t.id,id:"tickline-"+t.id})}),n},e.prototype.getSubTickLineItems=function(t){var e=[],n=this.get("subTickLine"),i=n.count,r=t.length;if(r>=2)for(var o=0;o0){var n=(0,td.dp)(e);if(n>t.threshold){var i=Math.ceil(n/t.threshold),r=e.filter(function(t,e){return e%i==0});this.set("ticks",r),this.set("originalTicks",e)}}},e.prototype.getLabelAttrs=function(t,e,n){var i=this.get("label"),r=i.offset,o=i.offsetX,a=i.offsetY,s=i.rotate,l=i.formatter,u=this.getSidePoint(t.point,r),c=this.getSideVector(r,u),E=l?l(t.name,t,e):t.name,h=i.style;h=(0,td.mf)(h)?(0,td.U2)(this.get("theme"),["label","style"],{}):h;var p=(0,td.CD)({x:u.x+o,y:u.y+a,text:E,textAlign:this.getTextAnchor(c),textBaseline:this.getTextBaseline(c)},h);return s&&(p.matrix=nE(u,s)),p},e.prototype.drawLabels=function(t){var e=this,n=this.get("ticks"),i=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});(0,td.S6)(n,function(t,r){e.addShape(i,{type:"text",name:"axis-label",id:e.getElementId("label-"+t.id),attrs:e.getLabelAttrs(t,r,n),delegateObject:{tick:t,item:t,index:r}})}),this.processOverlap(i);var r=i.getChildren(),o=(0,td.U2)(this.get("theme"),["label","style"],{}),a=this.get("label"),s=a.style,l=a.formatter;if((0,td.mf)(s)){var u=r.map(function(t){return(0,td.U2)(t.get("delegateObject"),"tick")});(0,td.S6)(r,function(t,e){var n=t.get("delegateObject").tick,i=l?l(n.name,n,e):n.name,r=(0,td.CD)({},o,s(i,e,u));t.attr(r)})}},e.prototype.getTitleAttrs=function(){var t=this.get("title"),e=t.style,n=t.position,i=t.offset,r=t.spacing,o=void 0===r?0:r,a=t.autoRotate,s=e.fontSize,l=.5;"start"===n?l=0:"end"===n&&(l=1);var u=this.getTickPoint(l),c=this.getSidePoint(u,i||o+s/2),E=(0,td.CD)({x:c.x,y:c.y,text:t.text},e),h=t.rotate,p=h;if((0,td.UM)(h)&&a){var T=this.getAxisVector(u);p=ne.Dg(T,[1,0],!0)}if(p){var f=nE(c,p);E.matrix=f}return E},e.prototype.drawTitle=function(t){var e,n=this.getTitleAttrs(),i=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"axis-title",attrs:n});(null===(e=this.get("title"))||void 0===e?void 0:e.description)&&this.drawDescriptionIcon(t,i,n.matrix)},e.prototype.drawDescriptionIcon=function(t,e,n){var i=this.addGroup(t,{name:"axis-description",id:this.getElementById("description")}),r=e.getBBox(),o=r.maxX,a=r.maxY,s=r.height,l=this.get("title").iconStyle,u=s/2,c=u/6,E=o+4,h=a-s/2,p=[E+u,h-u],T=p[0],f=p[1],d=[T+u,f+u],A=d[0],S=d[1],R=[T,S+u],g=R[0],I=R[1],O=[E,f+u],y=O[0],v=O[1],N=[E+u,h-s/4],C=N[0],m=N[1],L=[C,m+c],_=L[0],x=L[1],M=[_,x+c],P=M[0],D=M[1],U=[P,D+3*u/4],b=U[0],F=U[1];this.addShape(i,{type:"path",id:this.getElementId("title-description-icon"),name:"axis-title-description-icon",attrs:(0,tf.pi)({path:[["M",T,f],["A",u,u,0,0,1,A,S],["A",u,u,0,0,1,g,I],["A",u,u,0,0,1,y,v],["A",u,u,0,0,1,T,f],["M",C,m],["L",_,x],["M",P,D],["L",b,F]],lineWidth:c,matrix:n},l)}),this.addShape(i,{type:"rect",id:this.getElementId("title-description-rect"),name:"axis-title-description-rect",attrs:{x:E,y:h-s/2,width:s,height:s,stroke:"#000",fill:"#000",opacity:0,matrix:n,cursor:"pointer"}})},e.prototype.applyTickStates=function(t,e){if(this.getItemStates(t).length){var n=this.get("tickStates"),i=this.getElementId("label-"+t.id),r=e.findById(i);if(r){var o=nz(t,"label",n);o&&r.attr(o)}var a=this.getElementId("tickline-"+t.id),s=e.findById(a);if(s){var l=nz(t,"tickLine",n);l&&s.attr(l)}}},e.prototype.updateTickStates=function(t){var e=this.getItemStates(t),n=this.get("tickStates"),i=this.get("label"),r=this.getElementByLocalId("label-"+t.id),o=this.get("tickLine"),a=this.getElementByLocalId("tickline-"+t.id);if(e.length){if(r){var s=nz(t,"label",n);s&&r.attr(s)}if(a){var l=nz(t,"tickLine",n);l&&a.attr(l)}}else r&&r.attr(i.style),a&&a.attr(o.style)},e}(n_);function n$(t,e,n,i){var r=e.getChildren(),o=!1;return(0,td.S6)(r,function(e){var r=nP(t,e,n,i);o=o||r}),o}function nJ(){return nq}function nj(t,e,n){return n$(t,e,n,"head")}function nq(t,e,n){return n$(t,e,n,"tail")}function nQ(t,e,n){return n$(t,e,n,"middle")}function n0(t){var e,n;return((e=t.attr("matrix"))&&1!==e[0]?(e7(n=[0,0,0],[1,0,0],t.attr("matrix")),Math.atan2(n[1],n[0])):0)%360}function n1(t,e,n,i){var r=!1,o=n0(e),a=t?Math.abs(n.attr("y")-e.attr("y")):Math.abs(n.attr("x")-e.attr("x")),s=(t?n.attr("y")>e.attr("y"):n.attr("x")>e.attr("x"))?e.getBBox():n.getBBox();if(t){var l=Math.abs(Math.cos(o));r=nI(l,0,Math.PI/180)?s.width+i>a:s.height/l+i>a}else{var l=Math.abs(Math.sin(o));r=nI(l,0,Math.PI/180)?s.width+i>a:s.height/l+i>a}return r}function n2(t,e,n,i){var r=(null==i?void 0:i.minGap)||0,o=e.getChildren().slice().filter(function(t){return t.get("visible")});if(!o.length)return!1;var a=!1;n&&o.reverse();for(var s=o.length,l=o[0],u=1;u1){h=Math.ceil(h);for(var f=0;f2){var a=r[0],s=r[r.length-1];!a.get("visible")&&(a.show(),n2(t,e,!1,i)&&(o=!0)),!s.get("visible")&&(s.show(),n2(t,e,!0,i)&&(o=!0))}return o}function it(t,e,n,i){var r=e.getChildren();if(!r.length||!t&&r.length<2)return!1;var o=nM(r),a=!1;if(a=t?!!n&&o>n:o>Math.abs(r[1].attr("x")-r[0].attr("x"))){var s=i(n,o);(0,td.S6)(r,function(t){var e=nE({x:t.attr("x"),y:t.attr("y")},s);t.attr("matrix",e)})}return a}function ie(){return ii}function ii(t,e,n,i){return it(t,e,n,function(){return(0,td.hj)(i)?i:t?nU.verticalAxisRotate:nU.horizontalAxisRotate})}function ir(t,e,n){return it(t,e,n,function(e,n){if(!e)return t?nU.verticalAxisRotate:nU.horizontalAxisRotate;if(t)return-Math.acos(e/n);var i=0;return e>n?i=Math.PI/4:(i=Math.asin(e/n))>Math.PI/4&&(i=Math.PI/4),i})}var io=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),e=this.get("end"),n=[];return n.push(["M",t.x,t.y]),n.push(["L",e.x,e.y]),n},e.prototype.getInnerLayoutBBox=function(){var e=this.get("start"),n=this.get("end"),i=t.prototype.getInnerLayoutBBox.call(this),r=Math.min(e.x,n.x,i.x),o=Math.min(e.y,n.y,i.y),a=Math.max(e.x,n.x,i.maxX),s=Math.max(e.y,n.y,i.maxY);return{x:r,y:o,minX:r,minY:o,maxX:a,maxY:s,width:a-r,height:s-o}},e.prototype.isVertical=function(){var t=this.get("start"),e=this.get("end");return(0,td.vQ)(t.x,e.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),e=this.get("end");return(0,td.vQ)(t.y,e.y)},e.prototype.getTickPoint=function(t){var e=this.get("start"),n=this.get("end"),i=n.x-e.x,r=n.y-e.y;return{x:e.x+i*t,y:e.y+r*t}},e.prototype.getSideVector=function(t){var e=this.getAxisVector(),n=nr.Fv([0,0],e),i=this.get("verticalFactor"),r=[n[1],-1*n[0]];return nr.bA([0,0],r,t*i)},e.prototype.getAxisVector=function(){var t=this.get("start"),e=this.get("end");return[e.x-t.x,e.y-t.y]},e.prototype.processOverlap=function(t){var e=this,n=this.isVertical(),i=this.isHorizontal();if(n||i){var r=this.get("label"),o=this.get("title"),a=this.get("verticalLimitLength"),s=r.offset,l=a,u=0,c=0;o&&(u=o.style.fontSize,c=o.spacing),l&&(l=l-s-c-u);var E=this.get("overlapOrder");if((0,td.S6)(E,function(n){r[n]&&e.canProcessOverlap(n)&&e.autoProcessOverlap(n,r[n],t,l)}),o&&(0,td.UM)(o.offset)){var h=t.getCanvasBBox(),p=n?h.width:h.height;o.offset=s+p+c+u/2}}},e.prototype.canProcessOverlap=function(t){var e=this.get("label");return"autoRotate"!==t||(0,td.UM)(e.rotate)},e.prototype.autoProcessOverlap=function(t,e,n,i){var r=this,o=this.isVertical(),a=!1,s=ts[t];if(!0===e?(this.get("label"),a=s.getDefault()(o,n,i)):(0,td.mf)(e)?a=e(o,n,i):(0,td.Kn)(e)?s[e.type]&&(a=s[e.type](o,n,i,e.cfg)):s[e]&&(a=s[e](o,n,i)),"autoRotate"===t){if(a){var l=n.getChildren(),u=this.get("verticalFactor");(0,td.S6)(l,function(t){"center"===t.attr("textAlign")&&t.attr("textAlign",u>0?"end":"start")})}}else if("autoHide"===t){var c=n.getChildren().slice(0);(0,td.S6)(c,function(t){t.get("visible")||(r.get("isRegister")&&r.unregisterElement(t),t.remove())})}},e}(nZ),ia=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getLinePath=function(){var t=this.get("center"),e=t.x,n=t.y,i=this.get("radius"),r=this.get("startAngle"),o=this.get("endAngle"),a=[];if(Math.abs(o-r)===2*Math.PI)a=[["M",e,n-i],["A",i,i,0,1,1,e,n+i],["A",i,i,0,1,1,e,n-i],["Z"]];else{var s=this.getCirclePoint(r),l=this.getCirclePoint(o),u=Math.abs(o-r)>Math.PI?1:0,c=r>o?0:1;a=[["M",e,n],["L",s.x,s.y],["A",i,i,0,u,c,l.x,l.y],["L",e,n]]}return a},e.prototype.getTickPoint=function(t){var e=this.get("startAngle"),n=this.get("endAngle");return this.getCirclePoint(e+(n-e)*t)},e.prototype.getSideVector=function(t,e){var n=this.get("center"),i=[e.x-n.x,e.y-n.y],r=this.get("verticalFactor"),o=nr.kE(i);return nr.bA(i,i,r*t/o),i},e.prototype.getAxisVector=function(t){var e=this.get("center"),n=[t.x-e.x,t.y-e.y];return[n[1],-1*n[0]]},e.prototype.getCirclePoint=function(t,e){var n=this.get("center");return e=e||this.get("radius"),{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},e.prototype.canProcessOverlap=function(t){var e=this.get("label");return"autoRotate"!==t||(0,td.UM)(e.rotate)},e.prototype.processOverlap=function(t){var e=this,n=this.get("label"),i=this.get("title"),r=this.get("verticalLimitLength"),o=n.offset,a=r,s=0,l=0;i&&(s=i.style.fontSize,l=i.spacing),a&&(a=a-o-l-s);var u=this.get("overlapOrder");if((0,td.S6)(u,function(i){n[i]&&e.canProcessOverlap(i)&&e.autoProcessOverlap(i,n[i],t,a)}),i&&(0,td.UM)(i.offset)){var c=t.getCanvasBBox().height;i.offset=o+c+l+s/2}},e.prototype.autoProcessOverlap=function(t,e,n,i){var r=this,o=!1,a=ts[t];if(i>0&&(!0===e?o=a.getDefault()(!1,n,i):(0,td.mf)(e)?o=e(!1,n,i):(0,td.Kn)(e)?a[e.type]&&(o=a[e.type](!1,n,i,e.cfg)):a[e]&&(o=a[e](!1,n,i))),"autoRotate"===t){if(o){var s=n.getChildren(),l=this.get("verticalFactor");(0,td.S6)(s,function(t){"center"===t.attr("textAlign")&&t.attr("textAlign",l>0?"end":"start")})}}else if("autoHide"===t){var u=n.getChildren().slice(0);(0,td.S6)(u,function(t){t.get("visible")||(r.get("isRegister")&&r.unregisterElement(t),t.remove())})}},e}(nZ),is=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:nU.lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:nU.textColor,textAlign:"center",textBaseline:"middle",fontFamily:nU.fontFamily}},textBackground:{padding:5,style:{stroke:nU.lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var e=this.get("text"),n=e.style,i=e.autoRotate,r=e.content;if(!(0,td.UM)(r)){var o=this.getTextPoint(),a=null;i&&(a=nE(o,this.getRotateAngle())),this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:(0,tf.pi)((0,tf.pi)((0,tf.pi)({},o),{text:r,matrix:a}),n)})}},e.prototype.renderLine=function(t){var e=this.getLinePath(),n=this.get("line").style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:(0,tf.pi)({path:e},n)})},e.prototype.renderBackground=function(t){var e=this.getElementId("text"),n=t.findById(e),i=this.get("textBackground");if(i&&n){var r=n.getBBox(),o=nd(i.padding),a=i.style;this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:(0,tf.pi)({x:r.x-o[3],y:r.y-o[0],width:r.width+o[1]+o[3],height:r.height+o[0]+o[2],matrix:n.attr("matrix")},a)}).toBack()}},e}(n_),il=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.start,n=t.end,i=this.get("text").position,r=Math.atan2(n.y-e.y,n.x-e.x);return"start"===i?r-Math.PI/2:r+Math.PI/2},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,i=this.get("text");return ny(e,n,i.position,i.offset)},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.start,n=t.end;return[["M",e.x,e.y],["L",n.x,n.y]]},e}(is),iu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.startAngle,n=t.endAngle;return"start"===this.get("text").position?e+Math.PI/2:n-Math.PI/2},e.prototype.getTextPoint=function(){var t=this.get("text"),e=t.position,n=t.offset,i=this.getLocation(),r=i.center,o=i.radius,a=i.startAngle,s=i.endAngle,l=this.getRotateAngle()-Math.PI,u=ng(r,o,"start"===e?a:s),c=Math.cos(l)*n,E=Math.sin(l)*n;return{x:u.x+c,y:u.y+E}},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.center,n=t.radius,i=t.startAngle,r=t.endAngle,o=null;if(r-i==2*Math.PI){var a=e.x,s=e.y;o=[["M",a,s-n],["A",n,n,0,1,1,a,s+n],["A",n,n,0,1,1,a,s-n],["Z"]]}else{var l=ng(e,n,i),u=ng(e,n,r),c=Math.abs(r-i)>Math.PI?1:0,E=i>r?0:1;o=[["M",l.x,l.y],["A",n,n,0,c,E,u.x,u.y]]}return o},e}(is),ic="g2-crosshair",iE=ic+"-line",ih=ic+"-text",ip=((V={})[""+ic]={position:"relative"},V[""+iE]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},V[""+ih]={position:"absolute",color:nU.textColor,fontFamily:nU.fontFamily},V),iT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'
',crosshairTpl:'
',textTpl:'{content}',domStyles:null,containerClassName:ic,defaultStyles:ip,defaultCfg:{text:{position:"start",content:null,align:"center",offset:10}}})},e.prototype.render=function(){this.resetText(),this.resetPosition()},e.prototype.initCrossHair=function(){var t=this.getContainer(),e=tI(this.get("crosshairTpl"));t.appendChild(e),this.applyStyle(iE,e),this.set("crosshairEl",e)},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,i=this.get("text");return ny(e,n,i.position,i.offset)},e.prototype.resetText=function(){var t=this.get("text"),e=this.get("textEl");if(t){var n=t.content;if(!e){var i=this.getContainer();e=tI((0,td.ng)(this.get("textTpl"),t)),i.appendChild(e),this.applyStyle(ih,e),this.set("textEl",e)}e.innerHTML=n}else e&&e.remove()},e.prototype.isVertical=function(t,e){return t.x===e.x},e.prototype.resetPosition=function(){var t=this.get("crosshairEl");t||(this.initCrossHair(),t=this.get("crosshairEl"));var e=this.get("start"),n=this.get("end"),i=Math.min(e.x,n.x),r=Math.min(e.y,n.y);this.isVertical(e,n)?tO(t,{width:"1px",height:nO(Math.abs(n.y-e.y))}):tO(t,{height:"1px",width:nO(Math.abs(n.x-e.x))}),tO(t,{top:nO(r),left:nO(i)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var e=this.get("text").align,n=t.clientWidth,i=this.getTextPoint();switch(e){case"center":i.x=i.x-n/2;break;case"right":i.x=i.x-n}tO(t,{top:nO(i.y),left:nO(i.x)})}},e.prototype.updateInner=function(e){(0,td.wH)(e,"text")&&this.resetText(),t.prototype.updateInner.call(this,e)},e}(nX),id=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:nU.lineColor}}}})},e.prototype.getLineType=function(){return(this.get("line")||this.get("defaultCfg").line).type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,e){var n=this.getGridPath(t),i=e.slice(0).reverse(),r=this.getGridPath(i,!0);return this.get("closed")?n=n.concat(r):(r[0][0]="L",(n=n.concat(r)).push(["Z"])),n},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var e=this,n=this.get("line"),i=this.get("items"),r=this.get("alternateColor"),o=null;(0,td.S6)(i,function(a,s){var l=a.id||s;if(n){var u=e.getPathStyle();u=(0,td.mf)(u)?u(a,s,i):u;var c=e.getElementId("line-"+l),E=e.getGridPath(a.points);e.addShape(t,{type:"path",name:"grid-line",id:c,attrs:(0,td.CD)({path:E},u)})}if(r&&s>0){var h=e.getElementId("region-"+l),p=s%2==0;if((0,td.HD)(r))p&&e.drawAlternateRegion(h,t,o.points,a.points,r);else{var T=p?r[1]:r[0];e.drawAlternateRegion(h,t,o.points,a.points,T)}}o=a})},e.prototype.drawAlternateRegion=function(t,e,n,i,r){var o=this.getAlternatePath(n,i);this.addShape(e,{type:"path",id:t,name:"grid-region",attrs:{path:o,fill:r}})},e}(n_),iA=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,e){var n=this.getLineType(),i=this.get("closed"),r=[];if(t.length){if("circle"===n){var o,a,s,l,u,c,E=this.get("center"),h=t[0],p=(o=E.x,a=E.y,s=h.x,l=h.y,Math.sqrt((u=s-o)*u+(c=l-a)*c)),T=e?0:1;i?(r.push(["M",E.x,E.y-p]),r.push(["A",p,p,0,0,T,E.x,E.y+p]),r.push(["A",p,p,0,0,T,E.x,E.y-p]),r.push(["Z"])):(0,td.S6)(t,function(t,e){0===e?r.push(["M",t.x,t.y]):r.push(["A",p,p,0,0,T,t.x,t.y])})}else(0,td.S6)(t,function(t,e){0===e?r.push(["M",t.x,t.y]):r.push(["L",t.x,t.y])}),i&&r.push(["Z"])}return r},e}(id),iS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{type:"line"})},e.prototype.getGridPath=function(t){var e=[];return(0,td.S6)(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e},e}(id),iR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var e=t.prototype.getLayoutBBox.call(this),n=this.get("maxWidth"),i=this.get("maxHeight"),r=e.width,o=e.height;return n&&(r=Math.min(r,n)),i&&(o=Math.min(o,i)),nR(e.minX,e.minY,r,o)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),e=this.get("y"),n=this.get("offsetX"),i=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+n,y:e+i})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var e=this.get("background"),n=t.getBBox(),i=nd(e.padding),r=(0,tf.pi)({x:0,y:0,width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},e.style);this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:r}).toBack()},e.prototype.drawTitle=function(t){var e=this.get("currentPoint"),n=this.get("title"),i=n.spacing,r=n.style,o=n.text,a=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:(0,tf.pi)({text:o,x:e.x,y:e.y},r)}).getBBox();this.set("currentPoint",{x:e.x,y:a.maxY+i})},e.prototype.resetDraw=function(){var t=this.get("background"),e={x:0,y:0};if(t){var n=nd(t.padding);e.x=n[3],e.y=n[0]}this.set("currentPoint",e)},e}(n_),ig={marker:{style:{inactiveFill:"#000",inactiveOpacity:.45,fill:"#000",opacity:1,size:12}},text:{style:{fill:"#ccc",fontSize:12}}},iI={fill:nU.textColor,fontSize:12,textAlign:"start",textBaseline:"middle",fontFamily:nU.fontFamily,fontWeight:"normal",lineHeight:12},iO="navigation-arrow-right",iy="navigation-arrow-left",iv={right:90*Math.PI/180,left:270*Math.PI/180,up:0,down:180*Math.PI/180},iN=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.currentPageIndex=1,e.totalPagesCnt=1,e.pageWidth=0,e.pageHeight=0,e.startX=0,e.startY=0,e.onNavigationBack=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndex>1){e.currentPageIndex-=1,e.updateNavigation();var n=e.getCurrentNavigationMatrix();e.get("animate")?t.animate({matrix:n},100):t.attr({matrix:n})}},e.onNavigationAfter=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndexT&&(T=S),"horizontal"===E?(f&&fs))&&(1===d&&(A=f.x+c,n.moveElementTo(p,{x:y,y:f.y+E/2-T.height/2-T.minY})),d+=1,f.x=i,f.y+=O),n.moveElementTo(t,f),t.getParent().setClip({type:"rect",attrs:{x:f.x,y:f.y,width:a+c,height:E}}),f.x+=a+c})}else{(0,td.S6)(a,function(t){var e=t.getBBox();e.width>S&&(S=e.width)}),R=S,S+=c,s&&(S=Math.min(s,S),R=Math.min(s,R)),this.pageWidth=S,this.pageHeight=l-Math.max(T.height,E+g);var v=Math.floor(this.pageHeight/(E+g));(0,td.S6)(a,function(t,e){0!==e&&e%v==0&&(d+=1,f.x+=S,f.y=r),n.moveElementTo(t,f),t.getParent().setClip({type:"rect",attrs:{x:f.x,y:f.y,width:S,height:E}}),f.y+=E+g}),this.totalPagesCnt=d,this.moveElementTo(p,{x:i+R/2-T.width/2-T.minX,y:l-T.height-T.minY})}this.pageHeight&&this.pageWidth&&e.getParent().setClip({type:"rect",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),"horizontal"===o&&this.get("maxRow")?this.totalPagesCnt=Math.ceil(d/this.get("maxRow")):this.totalPagesCnt=d,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(p),e.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,e,n,i){var r={x:0,y:0},o=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),a=(0,td.U2)(i.marker,"style",{}),s=a.size,l=void 0===s?12:s,u=(0,tf._T)(a,["size"]),c=this.drawArrow(o,r,iy,"horizontal"===e?"up":"left",l,u);c.on("click",this.onNavigationBack);var E=c.getBBox();r.x+=E.width+2;var h=this.addShape(o,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:(0,tf.pi)({x:r.x,y:r.y+l/2,text:n,textBaseline:"middle"},(0,td.U2)(i.text,"style"))}).getBBox();return r.x+=h.width+2,this.drawArrow(o,r,iO,"horizontal"===e?"down":"right",l,u).on("click",this.onNavigationAfter),o},e.prototype.updateNavigation=function(t){var e=(0,td.b$)({},ig,this.get("pageNavigator")).marker.style,n=e.fill,i=e.opacity,r=e.inactiveFill,o=e.inactiveOpacity,a=this.currentPageIndex+"/"+this.totalPagesCnt,s=t?t.getChildren()[1]:this.getElementByLocalId("navigation-text"),l=t?t.findById(this.getElementId(iy)):this.getElementByLocalId(iy),u=t?t.findById(this.getElementId(iO)):this.getElementByLocalId(iO);s.attr("text",a),l.attr("opacity",1===this.currentPageIndex?o:i),l.attr("fill",1===this.currentPageIndex?r:n),l.attr("cursor",1===this.currentPageIndex?"not-allowed":"pointer"),u.attr("opacity",this.currentPageIndex===this.totalPagesCnt?o:i),u.attr("fill",this.currentPageIndex===this.totalPagesCnt?r:n),u.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer");var c=l.getBBox().maxX+2;s.attr("x",c),c+=s.getBBox().width+2,this.updateArrowPath(u,{x:c,y:0})},e.prototype.drawArrow=function(t,e,n,i,r,o){var a=e.x,s=e.y,l=this.addShape(t,{type:"path",id:this.getElementId(n),name:n,attrs:(0,tf.pi)({size:r,direction:i,path:[["M",a+r/2,s],["L",a,s+r],["L",a+r,s+r],["Z"]],cursor:"pointer"},o)});return l.attr("matrix",nE({x:a+r/2,y:s+r/2},iv[i])),l},e.prototype.updateArrowPath=function(t,e){var n=e.x,i=e.y,r=t.attr(),o=r.size,a=nE({x:n+o/2,y:i+o/2},iv[r.direction]);t.attr("path",[["M",n+o/2,i],["L",n,i+o],["L",n+o,i+o],["Z"]]),t.attr("matrix",a)},e.prototype.getCurrentNavigationMatrix=function(){var t=this.currentPageIndex,e=this.pageWidth,n=this.pageHeight;return nh("horizontal"===this.get("layout")?{x:0,y:n*(1-t)}:{x:e*(1-t),y:0})},e.prototype.applyItemStates=function(t,e){if(this.getItemStates(t).length>0){var n=e.getChildren(),i=this.get("itemStates");(0,td.S6)(n,function(e){var n=e.get("name").split("-")[2],r=nz(t,n,i);r&&(e.attr(r),"marker"===n&&!(e.get("isStroke")&&e.get("isFill"))&&(e.get("isStroke")&&e.attr("fill",null),e.get("isFill")&&e.attr("stroke",null)))})}},e.prototype.getLimitItemWidth=function(){var t=this.get("itemWidth"),e=this.get("maxItemWidth");return e?t&&(e=t<=e?t:e):t&&(e=t),e},e}(iR),iC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{type:"continue",min:0,max:100,value:null,colors:[],track:{},rail:{},label:{},handler:{},slidable:!0,tip:null,step:null,maxWidth:null,maxHeight:null,defaultCfg:{label:{align:"rail",spacing:5,formatter:null,style:{fontSize:12,fill:nU.textColor,textBaseline:"middle",fontFamily:nU.fontFamily}},handler:{size:10,style:{fill:"#fff",stroke:"#333"}},track:{},rail:{type:"color",size:20,defaultLength:100,style:{fill:"#DCDEE2"}},title:{spacing:5,style:{fill:nU.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}}}})},e.prototype.isSlider=function(){return!0},e.prototype.getValue=function(){return this.getCurrentValue()},e.prototype.getRange=function(){return{min:this.get("min"),max:this.get("max")}},e.prototype.setRange=function(t,e){this.update({min:t,max:e})},e.prototype.setValue=function(t){var e=this.getValue();this.set("value",t);var n=this.get("group");this.resetTrackClip(),this.get("slidable")&&this.resetHandlers(n),this.delegateEmit("valuechanged",{originValue:e,value:t})},e.prototype.initEvent=function(){var t=this.get("group");this.bindSliderEvent(t),this.bindRailEvent(t),this.bindTrackEvent(t)},e.prototype.drawLegendContent=function(t){this.drawRail(t),this.drawLabels(t),this.fixedElements(t),this.resetTrack(t),this.resetTrackClip(t),this.get("slidable")&&this.resetHandlers(t)},e.prototype.bindSliderEvent=function(t){this.bindHandlersEvent(t)},e.prototype.bindHandlersEvent=function(t){var e=this;t.on("legend-handler-min:drag",function(t){var n=e.getValueByCanvasPoint(t.x,t.y),i=e.getCurrentValue()[1];in&&(i=n),e.setValue([i,n])})},e.prototype.bindRailEvent=function(t){},e.prototype.bindTrackEvent=function(t){var e=this,n=null;t.on("legend-track:dragstart",function(t){n={x:t.x,y:t.y}}),t.on("legend-track:drag",function(t){if(n){var i=e.getValueByCanvasPoint(n.x,n.y),r=e.getValueByCanvasPoint(t.x,t.y),o=e.getCurrentValue(),a=o[1]-o[0],s=e.getRange(),l=r-i;l<0?o[0]+l>s.min?e.setValue([o[0]+l,o[1]+l]):e.setValue([s.min,s.min+a]):l>0&&(l>0&&o[1]+lo&&(u=o),u0&&this.changeRailLength(i,r,n[r]-u)}},e.prototype.changeRailLength=function(t,e,n){var i,r=t.getBBox();i="height"===e?this.getRailPath(r.x,r.y,r.width,n):this.getRailPath(r.x,r.y,n,r.height),t.attr("path",i)},e.prototype.changeRailPosition=function(t,e,n){var i=t.getBBox(),r=this.getRailPath(e,n,i.width,i.height);t.attr("path",r)},e.prototype.fixedHorizontal=function(t,e,n,i){var r=this.get("label"),o=r.align,a=r.spacing,s=n.getBBox(),l=t.getBBox(),u=e.getBBox(),c=s.height;this.fitRailLength(l,u,s,n),s=n.getBBox(),"rail"===o?(t.attr({x:i.x,y:i.y+c/2}),this.changeRailPosition(n,i.x+l.width+a,i.y),e.attr({x:i.x+l.width+s.width+2*a,y:i.y+c/2})):"top"===o?(t.attr({x:i.x,y:i.y}),e.attr({x:i.x+s.width,y:i.y}),this.changeRailPosition(n,i.x,i.y+l.height+a)):(this.changeRailPosition(n,i.x,i.y),t.attr({x:i.x,y:i.y+s.height+a}),e.attr({x:i.x+s.width,y:i.y+s.height+a}))},e.prototype.fixedVertail=function(t,e,n,i){var r=this.get("label"),o=r.align,a=r.spacing,s=n.getBBox(),l=t.getBBox(),u=e.getBBox();if(this.fitRailLength(l,u,s,n),s=n.getBBox(),"rail"===o)t.attr({x:i.x,y:i.y}),this.changeRailPosition(n,i.x,i.y+l.height+a),e.attr({x:i.x,y:i.y+l.height+s.height+2*a});else if("right"===o)t.attr({x:i.x+s.width+a,y:i.y}),this.changeRailPosition(n,i.x,i.y),e.attr({x:i.x+s.width+a,y:i.y+s.height});else{var c=Math.max(l.width,u.width);t.attr({x:i.x,y:i.y}),this.changeRailPosition(n,i.x+c+a,i.y),e.attr({x:i.x,y:i.y+s.height})}},e}(iR),im="g2-tooltip",iL="g2-tooltip-title",i_="g2-tooltip-list",ix="g2-tooltip-list-item",iM="g2-tooltip-marker",iP="g2-tooltip-value",iD="g2-tooltip-name",iU="g2-tooltip-crosshair-x",ib="g2-tooltip-crosshair-y",iF=((W={})[""+im]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:nU.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},W[""+iL]={marginBottom:"4px"},W[""+i_]={margin:"0px",listStyleType:"none",padding:"0px"},W[""+ix]={listStyleType:"none",marginBottom:"4px"},W[""+iM]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},W[""+iP]={display:"inline-block",float:"right",marginLeft:"30px"},W[""+iU]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},W[""+ib]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},W),iB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'
    ',itemTpl:'
  • \n \n {name}:\n {value}\n
  • ',xCrosshairTpl:'
    ',yCrosshairTpl:'
    ',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:im,crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:iF})},e.prototype.render=function(){this.get("customContent")?this.renderCustomContent():(this.resetTitle(),this.renderItems()),this.resetPosition()},e.prototype.clear=function(){this.clearCrosshairs(),this.setTitle(""),this.clearItemDoms()},e.prototype.show=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!0),tO(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!1),tO(t,{visibility:"hidden"}),this.setCrossHairsVisible(!1))},e.prototype.getLocation=function(){return{x:this.get("x"),y:this.get("y")}},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetPosition()},e.prototype.setCrossHairsVisible=function(t){var e=t?"":"none",n=this.get("xCrosshairDom"),i=this.get("yCrosshairDom");n&&tO(n,{display:e}),i&&tO(i,{display:e})},e.prototype.initContainer=function(){if(t.prototype.initContainer.call(this),this.get("customContent")){this.get("container")&&this.get("container").remove();var e=this.getHtmlContentNode();this.get("parent").appendChild(e),this.set("container",e),this.resetStyles(),this.applyStyles()}},e.prototype.updateInner=function(e){if(this.get("customContent"))this.renderCustomContent();else{var n;n=!1,(0,td.S6)(["title","showTitle"],function(t){if((0,td.wH)(e,t))return n=!0,!1}),n&&this.resetTitle(),(0,td.wH)(e,"items")&&this.renderItems()}t.prototype.updateInner.call(this,e)},e.prototype.initDom=function(){this.cacheDoms()},e.prototype.removeDom=function(){t.prototype.removeDom.call(this),this.clearCrosshairs()},e.prototype.resetPosition=function(){var t,e=this.get("x"),n=this.get("y"),i=this.get("offset"),r=this.getOffset(),o=r.offsetX,a=r.offsetY,s=this.get("position"),l=this.get("region"),u=this.getContainer(),c=this.getBBox(),E=c.width,h=c.height;l&&(t=nS(l));var p=function(t,e,n,i,r,o,a){var s=function(t,e,n,i,r,o){var a=t,s=e;switch(o){case"left":a=t-i-n,s=e-r/2;break;case"right":a=t+n,s=e-r/2;break;case"top":a=t-i/2,s=e-r-n;break;case"bottom":a=t-i/2,s=e+n;break;default:a=t+n,s=e-r-n}return{x:a,y:s}}(t,e,n,i,r,o);if(a){var l,u,c=(l=s.x,u=s.y,{left:la.x+a.width,top:ua.y+a.height});"auto"===o?(c.right&&(s.x=Math.max(0,t-i-n)),c.top&&(s.y=Math.max(0,e-r-n))):"top"===o||"bottom"===o?(c.left&&(s.x=a.x),c.right&&(s.x=a.x+a.width-i),"top"===o&&c.top&&(s.y=e+n),"bottom"===o&&c.bottom&&(s.y=e-r-n)):(c.top&&(s.y=a.y),c.bottom&&(s.y=a.y+a.height-r),"left"===o&&c.left&&(s.x=t+n),"right"===o&&c.right&&(s.x=t-i-n))}return s}(e,n,i,E,h,s,t);tO(u,{left:nO(p.x+o),top:nO(p.y+a)}),this.resetCrosshairs()},e.prototype.renderCustomContent=function(){var t=this.getHtmlContentNode(),e=this.get("parent"),n=this.get("container");n&&n.parentNode===e?e.replaceChild(t,n):e.appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()},e.prototype.getHtmlContentNode=function(){var t,e=this.get("customContent");if(e){var n=e(this.get("title"),this.get("items"));t=(0,td.kK)(n)?n:tI(n)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),e=t.getElementsByClassName(iL)[0],n=t.getElementsByClassName(i_)[0];this.set("titleDom",e),this.set("listDom",n)},e.prototype.resetTitle=function(){var t=this.get("title");this.get("showTitle")&&t?this.setTitle(t):this.setTitle("")},e.prototype.setTitle=function(t){var e=this.get("titleDom");e&&(e.innerText=t)},e.prototype.resetCrosshairs=function(){var t=this.get("crosshairsRegion"),e=this.get("crosshairs");if(t&&e){var n=nS(t),i=this.get("xCrosshairDom"),r=this.get("yCrosshairDom");"x"===e?(this.resetCrosshair("x",n),r&&(r.remove(),this.set("yCrosshairDom",null))):"y"===e?(this.resetCrosshair("y",n),i&&(i.remove(),this.set("xCrosshairDom",null))):(this.resetCrosshair("x",n),this.resetCrosshair("y",n)),this.setCrossHairsVisible(this.get("visible"))}else this.clearCrosshairs()},e.prototype.resetCrosshair=function(t,e){var n=this.checkCrosshair(t),i=this.get(t);"x"===t?tO(n,{left:nO(i),top:nO(e.y),height:nO(e.height)}):tO(n,{top:nO(i),left:nO(e.x),width:nO(e.width)})},e.prototype.checkCrosshair=function(t){var e=t+"CrosshairDom",n=tu["CROSSHAIR_"+t.toUpperCase()],i=this.get(e),r=this.get("parent");return i||(i=tI(this.get(t+"CrosshairTpl")),this.applyStyle(n,i),r.appendChild(i),this.set(e,i)),i},e.prototype.renderItems=function(){this.clearItemDoms();var t=this.get("items"),e=this.get("itemTpl"),n=this.get("listDom");n&&((0,td.S6)(t,function(t){var i=tQ.toCSSGradient(t.color),r=(0,tf.pi)((0,tf.pi)({},t),{color:i}),o=tI((0,td.ng)(e,r));n.appendChild(o)}),this.applyChildrenStyles(n,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&nA(this.get("listDom"))},e.prototype.clearCrosshairs=function(){var t=this.get("xCrosshairDom"),e=this.get("yCrosshairDom");t&&t.remove(),e&&e.remove(),this.set("xCrosshairDom",null),this.set("yCrosshairDom",null)},e}(nX),iG={opacity:0},iw={stroke:"#C5C5C5",strokeOpacity:.85},iH={fill:"#CACED4",opacity:.85},iY=n(39499);function ik(t){return(0,td.UI)(t,function(t,e){return[0===e?"M":"L",t[0],t[1]]})}var iV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"trend",x:0,y:0,width:200,height:16,smooth:!0,isArea:!1,data:[],backgroundStyle:iG,lineStyle:iw,areaStyle:iH})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,i=e.height,r=e.data,o=e.smooth,a=e.isArea,s=e.backgroundStyle,l=e.lineStyle,u=e.areaStyle;this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:(0,tf.pi)({x:0,y:0,width:n,height:i},s)});var c=(void 0===(E=o)&&(E=!0),h=new eP({values:r}),p=new t8({values:(0,td.UI)(r,function(t,e){return e})}),T=(0,td.UI)(r,function(t,e){return[p.scale(e)*n,i-h.scale(t)*i]}),E?function(t){if(t.length<=2)return ik(t);var e=[];(0,td.S6)(t,function(t){(0,td.Xy)(t,e.slice(e.length-2))||e.push(t[0],t[1])});var n=(0,iY.e9)(e,!1),i=(0,td.YM)(t),r=i[0],o=i[1];return n.unshift(["M",r,o]),n}(T):ik(T));if(this.addShape(t,{id:this.getElementId("line"),type:"path",attrs:(0,tf.pi)({path:c},l)}),a){var E,h,p,T,f,d,A,S,R=(f=(0,tf.pr)(c),A=(d=new eP({values:r})).max<0?d.max:Math.max(0,d.min),S=i-d.scale(A)*i,f.push(["L",n,S]),f.push(["L",0,S]),f.push(["Z"]),f);this.addShape(t,{id:this.getElementId("area"),type:"path",attrs:(0,tf.pi)({path:R},u)})}},e.prototype.applyOffset=function(){var t=this.cfg,e=t.x,n=t.y;this.moveElementTo(this.get("group"),{x:e,y:n})},e}(n_),iW={fill:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"},iX=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"handler",x:0,y:0,width:10,height:24,style:iW})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,i=e.height,r=e.style,o=r.fill,a=r.stroke,s=r.radius,l=r.opacity,u=r.cursor;this.addShape(t,{type:"rect",id:this.getElementId("background"),attrs:{x:0,y:0,width:n,height:i,fill:o,stroke:a,radius:s,opacity:l,cursor:u}});var c=1/3*n,E=2/3*n,h=1/4*i,p=3/4*i;this.addShape(t,{id:this.getElementId("line-left"),type:"line",attrs:{x1:c,y1:h,x2:c,y2:p,stroke:a,cursor:u}}),this.addShape(t,{id:this.getElementId("line-right"),type:"line",attrs:{x1:E,y1:h,x2:E,y2:p,stroke:a,cursor:u}})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.bindEvents=function(){var t=this;this.get("group").on("mouseenter",function(){var e=t.get("style").highLightFill;t.getElementByLocalId("background").attr("fill",e),t.draw()}),this.get("group").on("mouseleave",function(){var e=t.get("style").fill;t.getElementByLocalId("background").attr("fill",e),t.draw()})},e.prototype.draw=function(){var t=this.get("container").get("canvas");t&&t.draw()},e}(n_),iK={fill:"#416180",opacity:.05},iz={fill:"#5B8FF9",opacity:.15,cursor:"move"},iZ={width:10,height:24},i$={textBaseline:"middle",fill:"#000",opacity:.45},iJ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onMouseDown=function(t){return function(n){e.currentTarget=t;var i=n.originalEvent;i.stopPropagation(),i.preventDefault(),e.prevX=(0,td.U2)(i,"touches.0.pageX",i.pageX),e.prevY=(0,td.U2)(i,"touches.0.pageY",i.pageY);var r=e.getContainerDOM();r.addEventListener("mousemove",e.onMouseMove),r.addEventListener("mouseup",e.onMouseUp),r.addEventListener("mouseleave",e.onMouseUp),r.addEventListener("touchmove",e.onMouseMove),r.addEventListener("touchend",e.onMouseUp),r.addEventListener("touchcancel",e.onMouseUp)}},e.onMouseMove=function(t){var n=e.cfg.width,i=[e.get("start"),e.get("end")];t.stopPropagation(),t.preventDefault();var r=(0,td.U2)(t,"touches.0.pageX",t.pageX),o=(0,td.U2)(t,"touches.0.pageY",t.pageY),a=r-e.prevX,s=e.adjustOffsetRange(a/n);e.updateStartEnd(s),e.updateUI(e.getElementByLocalId("foreground"),e.getElementByLocalId("minText"),e.getElementByLocalId("maxText")),e.prevX=r,e.prevY=o,e.draw(),e.emit("sliderchange",[e.get("start"),e.get("end")].sort()),e.delegateEmit("valuechanged",{originValue:i,value:[e.get("start"),e.get("end")]})},e.onMouseUp=function(){e.currentTarget&&(e.currentTarget=void 0);var t=e.getContainerDOM();t&&(t.removeEventListener("mousemove",e.onMouseMove),t.removeEventListener("mouseup",e.onMouseUp),t.removeEventListener("mouseleave",e.onMouseUp),t.removeEventListener("touchmove",e.onMouseMove),t.removeEventListener("touchend",e.onMouseUp),t.removeEventListener("touchcancel",e.onMouseUp))},e}return(0,tf.ZT)(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.get("start"),i=this.get("end"),r=(0,td.uZ)(n,t,e),o=(0,td.uZ)(i,t,e);this.get("isInit")||n===r&&i===o||this.setValue([r,o])},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var e=this.getRange();if((0,td.kJ)(t)&&2===t.length){var n=[this.get("start"),this.get("end")];this.update({start:(0,td.uZ)(t[0],e.min,e.max),end:(0,td.uZ)(t[1],e.min,e.max)}),this.get("updateAutoRender")||this.render(),this.delegateEmit("valuechanged",{originValue:n,value:t})}},e.prototype.getValue=function(){return[this.get("start"),this.get("end")]},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"slider",x:0,y:0,width:100,height:16,backgroundStyle:{},foregroundStyle:{},handlerStyle:{},textStyle:{},defaultCfg:{backgroundStyle:iK,foregroundStyle:iz,handlerStyle:iZ,textStyle:i$}})},e.prototype.update=function(e){var n=e.start,i=e.end,r=(0,tf.pi)({},e);(0,td.UM)(n)||(r.start=(0,td.uZ)(n,0,1)),(0,td.UM)(i)||(r.end=(0,td.uZ)(i,0,1)),t.prototype.update.call(this,r),this.minHandler=this.getChildComponentById(this.getElementId("minHandler")),this.maxHandler=this.getChildComponentById(this.getElementId("maxHandler")),this.trend=this.getChildComponentById(this.getElementId("trend"))},e.prototype.init=function(){this.set("start",(0,td.uZ)(this.get("start"),0,1)),this.set("end",(0,td.uZ)(this.get("end"),0,1)),t.prototype.init.call(this)},e.prototype.render=function(){t.prototype.render.call(this),this.updateUI(this.getElementByLocalId("foreground"),this.getElementByLocalId("minText"),this.getElementByLocalId("maxText"))},e.prototype.renderInner=function(t){var e=this.cfg,n=(e.start,e.end,e.width),i=e.height,r=e.trendCfg,o=void 0===r?{}:r,a=e.minText,s=e.maxText,l=e.backgroundStyle,u=void 0===l?{}:l,c=e.foregroundStyle,E=void 0===c?{}:c,h=e.textStyle,p=void 0===h?{}:h,T=(0,td.b$)({},iW,this.cfg.handlerStyle);(0,td.dp)((0,td.U2)(o,"data"))&&(this.trend=this.addComponent(t,(0,tf.pi)({component:iV,id:this.getElementId("trend"),x:0,y:0,width:n,height:i},o))),this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:(0,tf.pi)({x:0,y:0,width:n,height:i},u)}),this.addShape(t,{id:this.getElementId("minText"),type:"text",attrs:(0,tf.pi)({y:i/2,textAlign:"right",text:a,silent:!1},p)}),this.addShape(t,{id:this.getElementId("maxText"),type:"text",attrs:(0,tf.pi)({y:i/2,textAlign:"left",text:s,silent:!1},p)}),this.addShape(t,{id:this.getElementId("foreground"),name:"foreground",type:"rect",attrs:(0,tf.pi)({y:0,height:i},E)});var f=(0,td.U2)(T,"width",10),d=(0,td.U2)(T,"height",24);this.minHandler=this.addComponent(t,{component:iX,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(i-d)/2,width:f,height:d,cursor:"ew-resize",style:T}),this.maxHandler=this.addComponent(t,{component:iX,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(i-d)/2,width:f,height:d,cursor:"ew-resize",style:T})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.updateUI=function(t,e,n){var i=this.cfg,r=i.start,o=i.end,a=i.width,s=i.minText,l=i.maxText,u=i.handlerStyle,c=i.height,E=r*a,h=o*a;this.trend&&(this.trend.update({width:a,height:c}),this.get("updateAutoRender")||this.trend.render()),t.attr("x",E),t.attr("width",h-E);var p=(0,td.U2)(u,"width",10);e.attr("text",s),n.attr("text",l);var T=this._dodgeText([E,h],e,n),f=T[0],d=T[1];this.minHandler&&(this.minHandler.update({x:E-p/2}),this.get("updateAutoRender")||this.minHandler.render()),(0,td.S6)(f,function(t,n){return e.attr(n,t)}),this.maxHandler&&(this.maxHandler.update({x:h-p/2}),this.get("updateAutoRender")||this.maxHandler.render()),(0,td.S6)(d,function(t,e){return n.attr(e,t)})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("handler-min:mousedown",this.onMouseDown("minHandler")),t.on("handler-min:touchstart",this.onMouseDown("minHandler")),t.on("handler-max:mousedown",this.onMouseDown("maxHandler")),t.on("handler-max:touchstart",this.onMouseDown("maxHandler"));var e=t.findById(this.getElementId("foreground"));e.on("mousedown",this.onMouseDown("foreground")),e.on("touchstart",this.onMouseDown("foreground"))},e.prototype.adjustOffsetRange=function(t){var e=this.cfg,n=e.start,i=e.end;switch(this.currentTarget){case"minHandler":var r=0-n,o=1-n;return Math.min(o,Math.max(r,t));case"maxHandler":var r=0-i,o=1-i;return Math.min(o,Math.max(r,t));case"foreground":var r=0-n,o=1-i;return Math.min(o,Math.max(r,t))}},e.prototype.updateStartEnd=function(t){var e=this.cfg,n=e.start,i=e.end;switch(this.currentTarget){case"minHandler":n+=t;break;case"maxHandler":i+=t;break;case"foreground":n+=t,i+=t}this.set("start",n),this.set("end",i)},e.prototype._dodgeText=function(t,e,n){var i,r,o=this.cfg,a=o.handlerStyle,s=o.width,l=(0,td.U2)(a,"width",10),u=t[0],c=t[1],E=!1;u>c&&(u=(i=[c,u])[0],c=i[1],e=(r=[n,e])[0],n=r[1],E=!0);var h=e.getBBox(),p=n.getBBox(),T=h.width>u-2?{x:u+l/2+2,textAlign:"left"}:{x:u-l/2-2,textAlign:"right"},f=p.width>s-c-2?{x:c-l/2-2,textAlign:"right"}:{x:c+l/2+2,textAlign:"left"};return E?[f,T]:[T,f]},e.prototype.draw=function(){var t=this.get("container"),e=t&&t.get("canvas");e&&e.draw()},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e}(n_);function ij(t,e,n){if(t){if("function"==typeof t.addEventListener)return t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}};if("function"==typeof t.attachEvent)return t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}}}var iq={default:{trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},hover:{thumbColor:"rgba(0,0,0,0.2)"}},iQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.clearEvents=td.ZT,e.onStartEvent=function(t){return function(n){e.isMobile=t,n.originalEvent.preventDefault();var i=t?(0,td.U2)(n.originalEvent,"touches.0.clientX"):n.clientX,r=t?(0,td.U2)(n.originalEvent,"touches.0.clientY"):n.clientY;e.startPos=e.cfg.isHorizontal?i:r,e.bindLaterEvent()}},e.bindLaterEvent=function(){var t=e.getContainerDOM(),n=[];n=e.isMobile?[ij(t,"touchmove",e.onMouseMove),ij(t,"touchend",e.onMouseUp),ij(t,"touchcancel",e.onMouseUp)]:[ij(t,"mousemove",e.onMouseMove),ij(t,"mouseup",e.onMouseUp),ij(t,"mouseleave",e.onMouseUp)],e.clearEvents=function(){n.forEach(function(t){t.remove()})}},e.onMouseMove=function(t){var n=e.cfg,i=n.isHorizontal,r=n.thumbOffset;t.preventDefault();var o=e.isMobile?(0,td.U2)(t,"touches.0.clientX"):t.clientX,a=e.isMobile?(0,td.U2)(t,"touches.0.clientY"):t.clientY,s=i?o:a,l=s-e.startPos;e.startPos=s,e.updateThumbOffset(r+l)},e.onMouseUp=function(t){t.preventDefault(),e.clearEvents()},e.onTrackClick=function(t){var n=e.cfg,i=n.isHorizontal,r=n.x,o=n.y,a=n.thumbLen,s=e.getContainerDOM().getBoundingClientRect(),l=t.clientX,u=t.clientY,c=i?l-s.left-r-a/2:u-s.top-o-a/2,E=e.validateRange(c);e.updateThumbOffset(E)},e.onThumbMouseOver=function(){var t=e.cfg.theme.hover.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e.onThumbMouseOut=function(){var t=e.cfg.theme.default.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e}return(0,tf.ZT)(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.getValue(),i=(0,td.uZ)(n,t,e);n===i||this.get("isInit")||this.setValue(i)},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var e=this.getRange(),n=this.getValue();this.update({thumbOffset:(this.get("trackLen")-this.get("thumbLen"))*(0,td.uZ)(t,e.min,e.max)}),this.delegateEmit("valuechange",{originalValue:n,value:this.getValue()})},e.prototype.getValue=function(){return(0,td.uZ)(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,tf.pi)((0,tf.pi)({},e),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:iq})},e.prototype.renderInner=function(t){this.renderTrackShape(t),this.renderThumbShape(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.renderTrackShape=function(t){var e=this.cfg,n=e.trackLen,i=e.theme,r=(0,td.b$)({},iq,void 0===i?{default:{}}:i).default,o=r.lineCap,a=r.trackColor,s=r.size,l=(0,td.U2)(this.cfg,"size",s),u=this.get("isHorizontal")?{x1:0+l/2,y1:l/2,x2:n-l/2,y2:l/2,lineWidth:l,stroke:a,lineCap:o}:{x1:l/2,y1:0+l/2,x2:l/2,y2:n-l/2,lineWidth:l,stroke:a,lineCap:o};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:u})},e.prototype.renderThumbShape=function(t){var e=this.cfg,n=e.thumbOffset,i=e.thumbLen,r=e.theme,o=(0,td.b$)({},iq,r).default,a=o.size,s=o.lineCap,l=o.thumbColor,u=(0,td.U2)(this.cfg,"size",a),c=this.get("isHorizontal")?{x1:n+u/2,y1:u/2,x2:n+i-u/2,y2:u/2,lineWidth:u,stroke:l,lineCap:s,cursor:"default"}:{x1:u/2,y1:n+u/2,x2:u/2,y2:n+i-u/2,lineWidth:u,stroke:l,lineCap:s,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:c})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("mousedown",this.onStartEvent(!1)),t.on("mouseup",this.onMouseUp),t.on("touchstart",this.onStartEvent(!0)),t.on("touchend",this.onMouseUp),t.findById(this.getElementId("track")).on("click",this.onTrackClick);var e=t.findById(this.getElementId("thumb"));e.on("mouseover",this.onThumbMouseOver),e.on("mouseout",this.onThumbMouseOut)},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e.prototype.validateRange=function(t){var e=this.cfg,n=e.thumbLen,i=e.trackLen,r=t;return t+n>i?r=i-n:t+nt.x?t.x:e,n=nt.y?t.y:i,r=r=i&&t<=r}function i9(t,e){return"object"==typeof t&&e.forEach(function(e){delete t[e]}),t}function i7(t,e,n){void 0===e&&(e=[]),void 0===n&&(n=new Map);for(var i=0;i=this.minX&&t.maxX<=this.maxX&&t.minY>=this.minY&&t.maxY<=this.maxY},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.add=function(){for(var t=[],e=0;et.minX&&this.minYt.minY},t.prototype.size=function(){return this.width*this.height},t.prototype.isPointIn=function(t){return t.x>=this.minX&&t.x<=this.maxX&&t.y>=this.minY&&t.y<=this.maxY},t}();function re(t){if(t.isPolar&&!t.isTransposed)return(t.endAngle-t.startAngle)*t.getRadius();var e=t.convert({x:0,y:0}),n=t.convert({x:1,y:0});return Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))}function rn(t,e){var n=t.getCenter();return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function ri(t,e){var n=!1;if(t){if("theta"===t.type){var i=t.start,r=t.end;n=i8(e.x,i.x,r.x)&&i8(e.y,i.y,r.y)}else{var o=t.invert(e);n=i8(o.x,0,1)&&i8(o.y,0,1)}}return n}function rr(t,e){var n=t.getCenter();return Math.atan2(e.y-n.y,e.x-n.x)}function ro(t,e){void 0===e&&(e=0);var n,i=t.start,r=t.end,o=t.getWidth(),a=t.getHeight();if(t.isPolar){var s=t.startAngle,l=t.endAngle,u=t.getCenter(),c=t.getRadius();return{type:"path",startState:{path:i5(u.x,u.y,c+e,s,s)},endState:function(t){var n=(l-s)*t+s;return{path:i5(u.x,u.y,c+e,s,n)}},attrs:{path:i5(u.x,u.y,c+e,s,l)}}}return n=t.isTransposed?{height:a+2*e}:{width:o+2*e},{type:"rect",startState:{x:i.x-e,y:r.y-e,width:t.isTransposed?o+2*e:0,height:t.isTransposed?0:a+2*e},endState:n,attrs:{x:i.x-e,y:r.y-e,width:o+2*e,height:a+2*e}}}var ra=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;function rs(t){return t.alias||t.field}function rl(t,e,n){var i,r=t.values.length;if(1===r)i=[.5,1];else{var o=0;i=!function(t){if(t.isPolar){var e=t.startAngle;return t.endAngle-e==2*Math.PI}return!1}(e)?[o=1/r/2,1-o]:e.isTransposed?[(o=1/r*(0,td.U2)(n,"widthRatio.multiplePie",1/1.3))/2,1-o/2]:[0,1-1/r]}return i}function ru(t,e){var n,i,r={start:{x:0,y:0},end:{x:0,y:0}};t.isRect?r=function(t){var e,n;switch(t){case P.TOP:e={x:0,y:1},n={x:1,y:1};break;case P.RIGHT:e={x:1,y:0},n={x:1,y:1};break;case P.BOTTOM:e={x:0,y:0},n={x:1,y:0};break;case P.LEFT:e={x:0,y:0},n={x:0,y:1};break;default:e=n={x:0,y:0}}return{start:e,end:n}}(e):t.isPolar&&(t.isTransposed?(n={x:0,y:0},i={x:1,y:0}):(n={x:0,y:0},i={x:0,y:1}),r={start:n,end:i});var o=r.start,a=r.end;return{start:t.convert(o),end:t.convert(a)}}function rc(t){var e=t.start,n=t.end;return e.x===n.x}function rE(t,e){var n=t.start,i=t.end;return rc(t)?(n.y-i.y)*(e.x-n.x)>0?1:-1:(i.x-n.x)*(n.y-e.y)>0?-1:1}function rh(t,e){var n=(0,td.U2)(t,["components","axis"],{});return(0,td.b$)({},(0,td.U2)(n,["common"],{}),(0,td.b$)({},(0,td.U2)(n,[e],{})))}function rp(t,e,n){var i=(0,td.U2)(t,["components","axis"],{});return(0,td.b$)({},(0,td.U2)(i,["common","title"],{}),(0,td.b$)({},(0,td.U2)(i,[e,"title"],{})),n)}function rT(t){var e=t.x,n=t.y,i=t.circleCenter,r=n.start>n.end,o=t.isTransposed?t.convert({x:r?0:1,y:0}):t.convert({x:0,y:r?0:1}),a=[o.x-i.x,o.y-i.y],s=[1,0],l=o.y>i.y?nr.EU(a,s):-1*nr.EU(a,s),u=l+(e.end-e.start),c=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2));return{center:i,radius:c,startAngle:l,endAngle:u}}function rf(t,e){return(0,td.jn)(t)?!1!==t&&{}:(0,td.U2)(t,[e])}function rd(t,e){return(0,td.U2)(t,"position",e)}function rA(t,e){return(0,td.U2)(e,["title","text"],rs(t))}var rS=function(){function t(t,e){this.destroyed=!1,this.facets=[],this.view=t,this.cfg=(0,td.b$)({},this.getDefaultCfg(),e)}return t.prototype.init=function(){this.container||(this.container=this.createContainer());var t=this.view.getData();this.facets=this.generateFacets(t)},t.prototype.render=function(){this.renderViews()},t.prototype.update=function(){},t.prototype.clear=function(){this.clearFacetViews()},t.prototype.destroy=function(){this.clear(),this.container&&(this.container.remove(!0),this.container=void 0),this.destroyed=!0,this.view=void 0,this.facets=[]},t.prototype.facetToView=function(t){var e=t.region,n=t.data,i=t.padding,r=void 0===i?this.cfg.padding:i,o=this.view.createView({region:e,padding:r});o.data(n||[]),t.view=o,this.beforeEachView(o,t);var a=this.cfg.eachView;return a&&a(o,t),this.afterEachView(o,t),o},t.prototype.createContainer=function(){return this.view.getLayer(M.FORE).addGroup()},t.prototype.renderViews=function(){this.createFacetViews()},t.prototype.createFacetViews=function(){var t=this;return this.facets.map(function(e){return t.facetToView(e)})},t.prototype.clearFacetViews=function(){var t=this;(0,td.S6)(this.facets,function(e){e.view&&(t.view.removeView(e.view),e.view=void 0)})},t.prototype.parseSpacing=function(){var t=this.view.viewBBox,e=t.width,n=t.height;return this.cfg.spacing.map(function(t,i){return(0,td.hj)(t)?t/(0===i?e:n):parseFloat(t)/100})},t.prototype.getFieldValues=function(t,e){var n=[],i={};return(0,td.S6)(t,function(t){var r=t[e];(0,td.UM)(r)||i[r]||(n.push(r),i[r]=!0)}),n},t.prototype.getRegion=function(t,e,n,i){var r=this.parseSpacing(),o=r[0],a=r[1],s=(1+o)/(0===e?1:e)-o,l=(1+a)/(0===t?1:t)-a,u={x:(s+o)*n,y:(l+a)*i},c={x:u.x+s,y:u.y+l};return{start:u,end:c}},t.prototype.getDefaultCfg=function(){return{eachView:void 0,showTitle:!0,spacing:[0,0],padding:10,fields:[]}},t.prototype.getDefaultTitleCfg=function(){return{style:{fontSize:14,fill:"#666",fontFamily:this.view.getTheme().fontFamily}}},t.prototype.processAxis=function(t,e){var n=t.getOptions(),i=n.coordinate,r=t.geometries;if("rect"===(0,td.U2)(i,"type","rect")&&r.length){(0,td.UM)(n.axes)&&(n.axes={});var o=n.axes,a=r[0].getXYFields(),s=a[0],l=a[1],u=rf(o,s),c=rf(o,l);!1!==u&&(n.axes[s]=this.getXAxisOption(s,o,u,e)),!1!==c&&(n.axes[l]=this.getYAxisOption(l,o,c,e))}},t.prototype.getFacetDataFilter=function(t){return function(e){return(0,td.yW)(t,function(t){var n=t.field,i=t.value;return!!(0,td.UM)(i)||!n||e[n]===i})}},t}(),rR={},rg=function(t,e){rR[(0,td.vl)(t)]=e},rI=function(){function t(t,e){this.context=t,this.cfg=e,t.addAction(this)}return t.prototype.applyCfg=function(t){(0,td.f0)(this,t)},t.prototype.init=function(){this.applyCfg(this.cfg)},t.prototype.destroy=function(){this.context.removeAction(this),this.context=null},t}(),rO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.callback=null},e}(rI),ry={};function rv(t){var e=ry[t];return(0,td.U2)(e,"ActionClass")}function rN(t,e,n){ry[t]={ActionClass:e,cfg:n}}function rC(t,e){for(var n=[t[0]],i=1,r=t.length;i=e||n.height>=e?n:null}function rD(t){var e,n=t.event.target;return n&&(e=n.get("element")),e}function rU(t){var e,n=t.event.target;return n&&(e=n.get("delegateObject")),e}function rb(t){var e=t.event.gEvent;return!e||!e.fromShape||!e.toShape||e.fromShape.get("element")!==e.toShape.get("element")}function rF(t){return t&&t.component&&t.component.isList()}function rB(t){return t&&t.component&&t.component.isSlider()}function rG(t){var e=t.event.target;return e&&"mask"===e.get("name")}function rw(t,e){if("path"===t.event.target.get("type")){var n,i,r,o,a=(o=(r=t.event.target).getCanvasBBox()).width>=e||o.height>=e?r.attr("path"):null;if(!a)return;return n=rY(t.view),i=rX(a),n.filter(function(t){var e,n,r=t.shape;return n="path"===r.get("type")?rX(r.attr("path")):[[(e=r.getCanvasBBox()).minX,e.minY],[e.maxX,e.minY],[e.maxX,e.maxY],[e.minX,e.maxY]],(0,iY.Wq)(i,n)})}var s=rP(t,e);return s?rW(t.view,s):null}function rH(t,e,n){var i=rP(t,n);if(!i)return null;var r=t.view,o=rJ(r,e,{x:i.x,y:i.y}),a=rJ(r,e,{x:i.maxX,y:i.maxY}),s={minX:o.x,minY:o.y,maxX:a.x,maxY:a.y};return rW(e,s)}function rY(t){var e=t.geometries,n=[];return(0,td.S6)(e,function(t){var e=t.elements;n=n.concat(e)}),t.views&&t.views.length&&(0,td.S6)(t.views,function(t){n=n.concat(rY(t))}),n}function rk(t,e){var n=t.geometries,i=[];return(0,td.S6)(n,function(t){var n=t.getElementsBy(function(t){return t.hasState(e)});i=i.concat(n)}),i}function rV(t,e){var n=t.getModel().data;return(0,td.kJ)(n)?n[0][e]:n[e]}function rW(t,e){var n=rY(t),i=[];return(0,td.S6)(n,function(t){var n=t.shape.getCanvasBBox();n.minX>e.maxX||n.maxXe.maxY||n.maxY=e.x&&t.y<=e.y&&t.maxY>e.y}function r$(t){var e=t.parent,n=null;return e&&(n=e.views.filter(function(e){return e!==t})),n}function rJ(t,e,n){var i=t.getCoordinate().invert(n);return e.getCoordinate().convert(i)}function rj(t,e,n,i){var r=!1;return(0,td.S6)(t,function(t){if(t[n]===e[n]&&t[i]===e[i])return r=!0,!1}),r}function rq(t,e){var n=t.getScaleByField(e);return!n&&t.views&&(0,td.S6)(t.views,function(t){if(n=rq(t,e))return!1}),n}var rQ=function(){function t(t){this.actions=[],this.event=null,this.cacheMap={},this.view=t}return t.prototype.cache=function(){for(var t=[],e=0;e=0&&e.splice(n,1)},t.prototype.getCurrentPoint=function(){var t=this.event;return t?t.target instanceof HTMLElement?this.view.getCanvas().getPointByClient(t.clientX,t.clientY):{x:t.x,y:t.y}:null},t.prototype.getCurrentShape=function(){return(0,td.U2)(this.event,["gEvent","shape"])},t.prototype.isInPlot=function(){var t=this.getCurrentPoint();return!!t&&this.view.isPointInPlot(t)},t.prototype.isInShape=function(t){var e=this.getCurrentShape();return!!e&&e.get("name")===t},t.prototype.isInComponent=function(t){var e=rK(this.view),n=this.getCurrentPoint();return!!n&&!!e.find(function(e){var i=e.getBBox();return t?e.get("name")===t&&rZ(i,n):rZ(i,n)})},t.prototype.destroy=function(){(0,td.S6)(this.actions.slice(),function(t){t.destroy()}),this.view=null,this.event=null,this.actions=null,this.cacheMap=null},t}(),r0=function(){function t(t,e){this.view=t,this.cfg=e}return t.prototype.init=function(){this.initEvents()},t.prototype.initEvents=function(){},t.prototype.clearEvents=function(){},t.prototype.destroy=function(){this.clearEvents()},t}();function r1(t,e,n){var i=t.split(":"),r=i[0],o=e.getAction(r)||function(t,e){var n=ry[t],i=null;if(n){var r=n.ActionClass,o=n.cfg;(i=new r(e,o)).name=t,i.init()}return i}(r,e);if(!o)throw Error("There is no action named "+r);return{action:o,methodName:i[1],arg:n}}function r2(t){var e=t.action,n=t.methodName,i=t.arg;if(e[n])e[n](i);else throw Error("Action("+e.name+") doesn't have a method called "+n)}var r5={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},r6=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.callbackCaches={},i.emitCaches={},i.steps=n,i}return(0,tf.ZT)(e,t),e.prototype.init=function(){this.initContext(),t.prototype.init.call(this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;(0,td.S6)(this.steps,function(e,n){(0,td.S6)(e,function(e){var i=t.getActionCallback(n,e);i&&t.bindEvent(e.trigger,i)})})},e.prototype.clearEvents=function(){var t=this;(0,td.S6)(this.steps,function(e,n){(0,td.S6)(e,function(e){var i=t.getActionCallback(n,e);i&&t.offEvent(e.trigger,i)})})},e.prototype.initContext=function(){var t=this.view,e=new rQ(t);this.context=e;var n=this.steps;(0,td.S6)(n,function(t){(0,td.S6)(t,function(t){if((0,td.mf)(t.action)){var n,i;t.actionObject={action:(n=t.action,(i=new rO(e)).callback=n,i.name="callback",i),methodName:"execute"}}else if((0,td.HD)(t.action))t.actionObject=r1(t.action,e,t.arg);else if((0,td.kJ)(t.action)){var r=t.action,o=(0,td.kJ)(t.arg)?t.arg:[t.arg];t.actionObject=[],(0,td.S6)(r,function(n,i){t.actionObject.push(r1(n,e,o[i]))})}})})},e.prototype.isAllowStep=function(t){var e=this.currentStepName,n=this.steps;if(e===t||t===r5.SHOW_ENABLE)return!0;if(t===r5.PROCESSING)return e===r5.START;if(t===r5.START)return e!==r5.PROCESSING;if(t===r5.END)return e===r5.PROCESSING||e===r5.START;if(t===r5.ROLLBACK){if(n[r5.END])return e===r5.END;if(e===r5.START)return!0}return!1},e.prototype.isAllowExecute=function(t,e){if(this.isAllowStep(t)){var n=this.getKey(t,e);return(!e.once||!this.emitCaches[n])&&(!e.isEnable||e.isEnable(this.context))}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,e){t!==r5.SHOW_ENABLE&&this.currentStepName!==t&&this.enterStep(t);var n=this.getKey(t,e);this.emitCaches[n]=!0},e.prototype.getKey=function(t,e){return t+e.trigger+e.action},e.prototype.getActionCallback=function(t,e){var n=this,i=this.context,r=this.callbackCaches,o=e.actionObject;if(e.action&&o){var a=this.getKey(t,e);if(!r[a]){var s=function(r){i.event=r,n.isAllowExecute(t,e)?((0,td.kJ)(o)?(0,td.S6)(o,function(t){i.event=r,r2(t)}):(i.event=r,r2(o)),n.afterExecute(t,e),e.callback&&(i.event=r,e.callback(i))):i.event=null};e.debounce?r[a]=(0,td.Ds)(s,e.debounce.wait,e.debounce.immediate):e.throttle?r[a]=(0,td.P2)(s,e.throttle.wait,{leading:e.throttle.leading,trailing:e.throttle.trailing}):r[a]=s}return r[a]}return null},e.prototype.bindEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.addEventListener(n[1],e):"document"===n[0]?document.addEventListener(n[1],e):this.view.on(t,e)},e.prototype.offEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.removeEventListener(n[1],e):"document"===n[0]?document.removeEventListener(n[1],e):this.view.off(t,e)},e}(r0),r3={};function r4(t,e){r3[(0,td.vl)(t)]=e}function r8(t){var e,n={point:{default:{fill:t.pointFillColor,r:t.pointSize,stroke:t.pointBorderColor,lineWidth:t.pointBorder,fillOpacity:t.pointFillOpacity},active:{stroke:t.pointActiveBorderColor,lineWidth:t.pointActiveBorder},selected:{stroke:t.pointSelectedBorderColor,lineWidth:t.pointSelectedBorder},inactive:{fillOpacity:t.pointInactiveFillOpacity,strokeOpacity:t.pointInactiveBorderOpacity}},hollowPoint:{default:{fill:t.hollowPointFillColor,lineWidth:t.hollowPointBorder,stroke:t.hollowPointBorderColor,strokeOpacity:t.hollowPointBorderOpacity,r:t.hollowPointSize},active:{stroke:t.hollowPointActiveBorderColor,strokeOpacity:t.hollowPointActiveBorderOpacity},selected:{lineWidth:t.hollowPointSelectedBorder,stroke:t.hollowPointSelectedBorderColor,strokeOpacity:t.hollowPointSelectedBorderOpacity},inactive:{strokeOpacity:t.hollowPointInactiveBorderOpacity}},area:{default:{fill:t.areaFillColor,fillOpacity:t.areaFillOpacity,stroke:null},active:{fillOpacity:t.areaActiveFillOpacity},selected:{fillOpacity:t.areaSelectedFillOpacity},inactive:{fillOpacity:t.areaInactiveFillOpacity}},hollowArea:{default:{fill:null,stroke:t.hollowAreaBorderColor,lineWidth:t.hollowAreaBorder,strokeOpacity:t.hollowAreaBorderOpacity},active:{fill:null,lineWidth:t.hollowAreaActiveBorder},selected:{fill:null,lineWidth:t.hollowAreaSelectedBorder},inactive:{strokeOpacity:t.hollowAreaInactiveBorderOpacity}},interval:{default:{fill:t.intervalFillColor,fillOpacity:t.intervalFillOpacity},active:{stroke:t.intervalActiveBorderColor,lineWidth:t.intervalActiveBorder},selected:{stroke:t.intervalSelectedBorderColor,lineWidth:t.intervalSelectedBorder},inactive:{fillOpacity:t.intervalInactiveFillOpacity,strokeOpacity:t.intervalInactiveBorderOpacity}},hollowInterval:{default:{fill:t.hollowIntervalFillColor,stroke:t.hollowIntervalBorderColor,lineWidth:t.hollowIntervalBorder,strokeOpacity:t.hollowIntervalBorderOpacity},active:{stroke:t.hollowIntervalActiveBorderColor,lineWidth:t.hollowIntervalActiveBorder,strokeOpacity:t.hollowIntervalActiveBorderOpacity},selected:{stroke:t.hollowIntervalSelectedBorderColor,lineWidth:t.hollowIntervalSelectedBorder,strokeOpacity:t.hollowIntervalSelectedBorderOpacity},inactive:{stroke:t.hollowIntervalInactiveBorderColor,lineWidth:t.hollowIntervalInactiveBorder,strokeOpacity:t.hollowIntervalInactiveBorderOpacity}},line:{default:{stroke:t.lineBorderColor,lineWidth:t.lineBorder,strokeOpacity:t.lineBorderOpacity,fill:null,lineAppendWidth:10,lineCap:"round",lineJoin:"round"},active:{lineWidth:t.lineActiveBorder},selected:{lineWidth:t.lineSelectedBorder},inactive:{strokeOpacity:t.lineInactiveBorderOpacity}}},i={title:{autoRotate:!0,position:"center",spacing:t.axisTitleSpacing,style:{fill:t.axisTitleTextFillColor,fontSize:t.axisTitleTextFontSize,lineHeight:t.axisTitleTextLineHeight,textBaseline:"middle",fontFamily:t.fontFamily}},label:{autoRotate:!1,autoEllipsis:!1,autoHide:{type:"equidistance",cfg:{minGap:6}},offset:t.axisLabelOffset,style:{fill:t.axisLabelFillColor,fontSize:t.axisLabelFontSize,lineHeight:t.axisLabelLineHeight,fontFamily:t.fontFamily}},line:{style:{lineWidth:t.axisLineBorder,stroke:t.axisLineBorderColor}},grid:{line:{type:"line",style:{stroke:t.axisGridBorderColor,lineWidth:t.axisGridBorder,lineDash:t.axisGridLineDash}},alignTick:!0,animate:!0},tickLine:{style:{lineWidth:t.axisTickLineBorder,stroke:t.axisTickLineBorderColor},alignTick:!0,length:t.axisTickLineLength},subTickLine:null,animate:!0},r={title:null,marker:{symbol:"circle",spacing:t.legendMarkerSpacing,style:{r:t.legendCircleMarkerSize,fill:t.legendMarkerColor}},itemName:{spacing:5,style:{fill:t.legendItemNameFillColor,fontFamily:t.fontFamily,fontSize:t.legendItemNameFontSize,lineHeight:t.legendItemNameLineHeight,fontWeight:t.legendItemNameFontWeight,textAlign:"start",textBaseline:"middle"}},itemStates:{active:{nameStyle:{opacity:.8}},unchecked:{nameStyle:{fill:"#D8D8D8"},markerStyle:{fill:"#D8D8D8",stroke:"#D8D8D8"}},inactive:{nameStyle:{fill:"#D8D8D8"},markerStyle:{opacity:.2}}},flipPage:!0,pageNavigator:{marker:{style:{size:t.legendPageNavigatorMarkerSize,inactiveFill:t.legendPageNavigatorMarkerInactiveFillColor,inactiveOpacity:t.legendPageNavigatorMarkerInactiveFillOpacity,fill:t.legendPageNavigatorMarkerFillColor,opacity:t.legendPageNavigatorMarkerFillOpacity}},text:{style:{fill:t.legendPageNavigatorTextFillColor,fontSize:t.legendPageNavigatorTextFontSize}}},animate:!1,maxItemWidth:200,itemSpacing:t.legendItemSpacing,itemMarginBottom:t.legendItemMarginBottom,padding:t.legendPadding};return{background:t.backgroundColor,defaultColor:t.brandColor,subColor:t.subColor,semanticRed:t.paletteSemanticRed,semanticGreen:t.paletteSemanticGreen,padding:"auto",fontFamily:t.fontFamily,columnWidthRatio:.5,maxColumnWidth:null,minColumnWidth:null,roseWidthRatio:.9999999,multiplePieWidthRatio:1/1.3,colors10:t.paletteQualitative10,colors20:t.paletteQualitative20,sequenceColors:t.paletteSequence,shapes:{point:["hollow-circle","hollow-square","hollow-bowtie","hollow-diamond","hollow-hexagon","hollow-triangle","hollow-triangle-down","circle","square","bowtie","diamond","hexagon","triangle","triangle-down","cross","tick","plus","hyphen","line"],line:["line","dash","dot","smooth"],area:["area","smooth","line","smooth-line"],interval:["rect","hollow-rect","line","tick"]},sizes:[1,10],geometries:{interval:{rect:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:function(t){var e=t.geometry.coordinate;if(e.isPolar&&e.isTransposed){var i=i3(t.getModel(),e),r=(i.startAngle+i.endAngle)/2,o=7.5*Math.cos(r),a=7.5*Math.sin(r);return{matrix:ne.vs(null,[["t",o,a]])}}return n.interval.selected}}},"hollow-rect":{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},line:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},tick:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},funnel:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}},pyramid:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}}},line:{line:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},dot:{default:{style:(0,tf.pi)((0,tf.pi)({},n.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:(0,tf.pi)((0,tf.pi)({},n.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:(0,tf.pi)((0,tf.pi)({},n.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:(0,tf.pi)((0,tf.pi)({},n.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:(0,tf.pi)((0,tf.pi)({},n.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:(0,tf.pi)((0,tf.pi)({},n.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:(0,tf.pi)((0,tf.pi)({},n.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:(0,tf.pi)((0,tf.pi)({},n.line.selected),{lineCap:null,lineDash:[5.5,1]})}},smooth:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},hv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vh:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},hvh:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vhv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}}},polygon:{polygon:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}}},point:{circle:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},square:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},bowtie:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},diamond:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},hexagon:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},triangle:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},"triangle-down":{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},"hollow-circle":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-square":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-bowtie":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-diamond":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-hexagon":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-triangle":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-triangle-down":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},cross:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},tick:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},plus:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},hyphen:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},line:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}}},area:{area:{default:{style:n.area.default},active:{style:n.area.active},inactive:{style:n.area.inactive},selected:{style:n.area.selected}},smooth:{default:{style:n.area.default},active:{style:n.area.active},inactive:{style:n.area.inactive},selected:{style:n.area.selected}},line:{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}},"smooth-line":{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}}},schema:{candle:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},box:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}}},edge:{line:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vhv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},smooth:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},arc:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}}},violin:{violin:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},smooth:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},hollow:{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}},"hollow-smooth":{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}}}},components:{axis:{common:i,top:{position:"top",grid:null,title:null,verticalLimitLength:.5},bottom:{position:"bottom",grid:null,title:null,verticalLimitLength:.5},left:{position:"left",title:null,line:null,tickLine:null,verticalLimitLength:1/3},right:{position:"right",title:null,line:null,tickLine:null,verticalLimitLength:1/3},circle:{title:null,grid:(0,td.b$)({},i.grid,{line:{type:"line"}})},radius:{title:null,grid:(0,td.b$)({},i.grid,{line:{type:"circle"}})}},legend:{common:r,right:{layout:"vertical",padding:t.legendVerticalPadding},left:{layout:"vertical",padding:t.legendVerticalPadding},top:{layout:"horizontal",padding:t.legendHorizontalPadding},bottom:{layout:"horizontal",padding:t.legendHorizontalPadding},continuous:{title:null,background:null,track:{},rail:{type:"color",size:t.sliderRailHeight,defaultLength:t.sliderRailWidth,style:{fill:t.sliderRailFillColor,stroke:t.sliderRailBorderColor,lineWidth:t.sliderRailBorder}},label:{align:"rail",spacing:4,formatter:null,style:{fill:t.sliderLabelTextFillColor,fontSize:t.sliderLabelTextFontSize,lineHeight:t.sliderLabelTextLineHeight,textBaseline:"middle",fontFamily:t.fontFamily}},handler:{size:t.sliderHandlerWidth,style:{fill:t.sliderHandlerFillColor,stroke:t.sliderHandlerBorderColor}},slidable:!0,padding:r.padding}},tooltip:{showContent:!0,follow:!0,showCrosshairs:!1,showMarkers:!0,shared:!1,enterable:!1,position:"auto",marker:{symbol:"circle",stroke:"#fff",shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0,0,0,0.09)",lineWidth:2,r:4},crosshairs:{line:{style:{stroke:t.tooltipCrosshairsBorderColor,lineWidth:t.tooltipCrosshairsBorder}},text:null,textBackground:{padding:2,style:{fill:"rgba(0, 0, 0, 0.25)",lineWidth:0,stroke:null}},follow:!1},domStyles:((e={})[""+im]={position:"absolute",visibility:"hidden",zIndex:8,transition:"left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s",backgroundColor:t.tooltipContainerFillColor,opacity:t.tooltipContainerFillOpacity,boxShadow:t.tooltipContainerShadow,borderRadius:t.tooltipContainerBorderRadius+"px",color:t.tooltipTextFillColor,fontSize:t.tooltipTextFontSize+"px",fontFamily:t.fontFamily,lineHeight:t.tooltipTextLineHeight+"px",padding:"0 12px 0 12px"},e[""+iL]={marginBottom:"12px",marginTop:"12px"},e[""+i_]={margin:0,listStyleType:"none",padding:0},e[""+ix]={listStyleType:"none",padding:0,marginBottom:"12px",marginTop:"12px",marginLeft:0,marginRight:0},e[""+iM]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},e[""+iP]={display:"inline-block",float:"right",marginLeft:"30px"},e)},annotation:{arc:{style:{stroke:t.annotationArcBorderColor,lineWidth:t.annotationArcBorder},animate:!0},line:{style:{stroke:t.annotationLineBorderColor,lineDash:t.annotationLineDash,lineWidth:t.annotationLineBorder},text:{position:"start",autoRotate:!0,style:{fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,textAlign:"start",fontFamily:t.fontFamily,textBaseline:"bottom"}},animate:!0},text:{style:{fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,textBaseline:"middle",textAlign:"start",fontFamily:t.fontFamily},animate:!0},region:{top:!1,style:{lineWidth:t.annotationRegionBorder,stroke:t.annotationRegionBorderColor,fill:t.annotationRegionFillColor,fillOpacity:t.annotationRegionFillOpacity},animate:!0},image:{top:!1,animate:!0},dataMarker:{top:!0,point:{style:{r:3,stroke:t.brandColor,lineWidth:2}},line:{style:{stroke:t.annotationLineBorderColor,lineWidth:t.annotationLineBorder},length:t.annotationDataMarkerLineLength},text:{style:{textAlign:"start",fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,fontFamily:t.fontFamily}},direction:"upward",autoAdjust:!0,animate:!0},dataRegion:{style:{region:{fill:t.annotationRegionFillColor,fillOpacity:t.annotationRegionFillOpacity},text:{textAlign:"center",textBaseline:"bottom",fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,fontFamily:t.fontFamily}},animate:!0}},slider:{common:{padding:[8,8,8,8],backgroundStyle:{fill:t.cSliderBackgroundFillColor,opacity:t.cSliderBackgroundFillOpacity},foregroundStyle:{fill:t.cSliderForegroundFillColor,opacity:t.cSliderForegroundFillOpacity},handlerStyle:{width:t.cSliderHandlerWidth,height:t.cSliderHandlerHeight,fill:t.cSliderHandlerFillColor,opacity:t.cSliderHandlerFillOpacity,stroke:t.cSliderHandlerBorderColor,lineWidth:t.cSliderHandlerBorder,radius:t.cSliderHandlerBorderRadius,highLightFill:t.cSliderHandlerHighlightFillColor},textStyle:{fill:t.cSliderTextFillColor,opacity:t.cSliderTextFillOpacity,fontSize:t.cSliderTextFontSize,lineHeight:t.cSliderTextLineHeight,fontWeight:t.cSliderTextFontWeight,stroke:t.cSliderTextBorderColor,lineWidth:t.cSliderTextBorder}}},scrollbar:{common:{padding:[8,8,8,8]},default:{style:{trackColor:t.scrollbarTrackFillColor,thumbColor:t.scrollbarThumbFillColor}},hover:{style:{thumbColor:t.scrollbarThumbHighlightFillColor}}}},labels:{offset:12,style:{fill:t.labelFillColor,fontSize:t.labelFontSize,fontFamily:t.fontFamily,stroke:t.labelBorderColor,lineWidth:t.labelBorder},fillColorDark:t.labelFillColorDark,fillColorLight:t.labelFillColorLight,autoRotate:!0},innerLabels:{style:{fill:t.innerLabelFillColor,fontSize:t.innerLabelFontSize,fontFamily:t.fontFamily,stroke:t.innerLabelBorderColor,lineWidth:t.innerLabelBorder},autoRotate:!0},overflowLabels:{style:{fill:t.overflowLabelFillColor,fontSize:t.overflowLabelFontSize,fontFamily:t.fontFamily,stroke:t.overflowLabelBorderColor,lineWidth:t.overflowLabelBorder}},pieLabels:{labelHeight:14,offset:10,labelLine:{style:{lineWidth:t.labelLineBorder}},autoRotate:!0}}}var r9={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},r7={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},ot=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],oe=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],on=["#B8E1FF","#9AC5FF","#7DAAFF","#5B8FF9","#3D76DD","#085EC0","#0047A5","#00318A","#001D70"],oi=function(t){void 0===t&&(t={});var e=t.backgroundColor,n=t.subColor,i=t.paletteQualitative10,r=void 0===i?ot:i,o=t.paletteQualitative20,a=t.paletteSemanticRed,s=t.paletteSemanticGreen,l=t.paletteSemanticYellow,u=t.paletteSequence,c=t.fontFamily,E=t.brandColor,h=void 0===E?r[0]:E;return{backgroundColor:void 0===e?"transparent":e,brandColor:h,subColor:void 0===n?"rgba(0,0,0,0.05)":n,paletteQualitative10:r,paletteQualitative20:void 0===o?oe:o,paletteSemanticRed:void 0===a?"#F4664A":a,paletteSemanticGreen:void 0===s?"#30BF78":s,paletteSemanticYellow:void 0===l?"#FAAD14":l,paletteSequence:void 0===u?on:u,fontFamily:void 0===c?'"Segoe UI", Roboto, "Helvetica Neue", Arial,\n "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",\n "Noto Color Emoji"':c,axisLineBorderColor:r9[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:r9[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisTickLineBorderColor:r9[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:r9[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:r9[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:r9[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:r9[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:h,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:r9[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],legendPageNavigatorMarkerSize:12,legendPageNavigatorMarkerInactiveFillColor:r9[100],legendPageNavigatorMarkerInactiveFillOpacity:.45,legendPageNavigatorMarkerFillColor:r9[100],legendPageNavigatorMarkerFillOpacity:1,legendPageNavigatorTextFillColor:r9[45],legendPageNavigatorTextFontSize:12,sliderRailFillColor:r9[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:r9[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:r9[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:r9[25],annotationArcBorderColor:r9[15],annotationArcBorder:1,annotationLineBorderColor:r9[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:r9[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:r9[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:r9[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"rgb(255, 255, 255)",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 0px 10px #aeaeae",tooltipContainerBorderRadius:3,tooltipTextFillColor:r9[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:r9[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:r7[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:r9[65],overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:r7[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:r9[25],cSliderRailHieght:16,cSliderBackgroundFillColor:"#416180",cSliderBackgroundFillOpacity:.05,cSliderForegroundFillColor:"#5B8FF9",cSliderForegroundFillOpacity:.15,cSliderHandlerHeight:24,cSliderHandlerWidth:10,cSliderHandlerFillColor:"#F7F7F7",cSliderHandlerFillOpacity:1,cSliderHandlerHighlightFillColor:"#FFF",cSliderHandlerBorderColor:"#BFBFBF",cSliderHandlerBorder:1,cSliderHandlerBorderRadius:2,cSliderTextFillColor:"#000",cSliderTextFillOpacity:.45,cSliderTextFontSize:12,cSliderTextLineHeight:12,cSliderTextFontWeight:"normal",cSliderTextBorderColor:null,cSliderTextBorder:0,scrollbarTrackFillColor:"rgba(0,0,0,0)",scrollbarThumbFillColor:"rgba(0,0,0,0.15)",scrollbarThumbHighlightFillColor:"rgba(0,0,0,0.2)",pointFillColor:h,pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:r7[100],pointBorderOpacity:1,pointActiveBorderColor:r9[100],pointSelectedBorder:2,pointSelectedBorderColor:r9[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:h,hollowPointBorderOpacity:.95,hollowPointFillColor:r7[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:r9[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:r9[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:h,lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:h,areaFillOpacity:.25,areaActiveFillColor:h,areaActiveFillOpacity:.5,areaSelectedFillColor:h,areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:h,hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:r9[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:r9[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:h,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:r9[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:r9[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:h,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:r7[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:r9[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:r9[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3}};function or(t){var e=t.styleSheet,n=(0,tf._T)(t,["styleSheet"]),i=oi(void 0===e?{}:e);return(0,td.b$)({},r8(i),n)}oi();var oo={default:or({})};function oa(t){return(0,td.U2)(oo,(0,td.vl)(t),oo.default)}function os(t,e,n){var i=n.translate(t),r=n.translate(e);return(0,td.vQ)(i,r)}function ol(t,e,n){var i=n.coordinate,r=n.getYScale(),o=r.field,a=i.invert(e),s=r.invert(a.y);return(0,td.sE)(t,function(t){var e=t[tR];return e[o][0]<=s&&e[o][1]>=s})||t[t.length-1]}var ou=(0,td.HP)(function(t){if(t.isCategory)return 1;for(var e=t.values,n=e.length,i=t.translate(e[0]),r=i,o=0;or&&(r=s)}return(r-i)/(n-1)});function oc(t){for(var e,n,i=(e=(0,td.VO)(t.attributes),(0,td.hX)(e,function(t){return(0,td.FX)(tS,t.type)})),r=0;r(1+a)/2&&(l=s),r.translate(r.invert(l))),C=y[tR][h],m=y[tR][p],L=v[tR][h],_=E.isLinear&&(0,td.kJ)(m);if((0,td.kJ)(C)){for(var R=0;R=N){if(_)(0,td.kJ)(T)||(T=[]),T.push(x);else{T=x;break}}}(0,td.kJ)(T)&&(T=ol(T,t,n))}else{var M=void 0;if(c.isLinear||"timeCat"===c.type){if((N>c.translate(L)||Nc.max||NMath.abs(c.translate(M[tR][h])-N)&&(v=M)}var F=ou(n.getXScale());return!T&&Math.abs(c.translate(v[tR][h])-N)<=F/2&&(T=v),T}function oh(t,e,n,i){void 0===n&&(n=""),void 0===i&&(i=!1);var r,o,a,s,l,u,c,E,h,p=t[tR],T=(r=n,o=e.getAttribute("position").getFields(),l=(s=e.scales[a=(0,td.mf)(r)||!r?o[0]:r])?s.getText(p[a]):p[a]||a,(0,td.mf)(r)?r(l,p):l),f=e.tooltipOption,d=e.theme.defaultColor,A=[];function S(e,n){if(i||!(0,td.UM)(n)&&""!==n){var r={title:T,data:p,mappingData:t,name:e,value:n,color:t.color||d,marker:!0};A.push(r)}}if((0,td.Kn)(f)){var R=f.fields,g=f.callback;if(g){var I=R.map(function(e){return t[tR][e]}),O=g.apply(void 0,I),y=(0,tf.pi)({data:t[tR],mappingData:t,title:T,color:t.color||d,marker:!0},O);A.push(y)}else for(var v=e.scales,N=0;N');y.appendChild(v);var N=tv(y,s,r,o),C=new(function(t){var e=tg[t];if(!e)throw Error("G engine '"+t+"' is not exist, please register it at first.");return e}(E)).Canvas((0,tf.pi)({container:v,pixelRatio:h,localRefresh:T,supportCSSTransform:void 0!==d&&d},N));return(n=t.call(this,{parent:null,canvas:C,backgroundGroup:C.addGroup({zIndex:tA.BG}),middleGroup:C.addGroup({zIndex:tA.MID}),foregroundGroup:C.addGroup({zIndex:tA.FORE}),padding:l,appendPadding:u,visible:void 0===f||f,options:R,limitInPlot:g,theme:I,syncViewPadding:O})||this).onResize=(0,td.Ds)(function(){n.forceFit()},300),n.ele=y,n.canvas=C,n.width=N.width,n.height=N.height,n.autoFit=s,n.localRefresh=T,n.renderer=E,n.wrapperElement=v,n.updateCanvasStyle(),n.bindAutoFit(),n.initDefaultInteractions(S),n}return(0,tf.ZT)(e,t),e.prototype.initDefaultInteractions=function(t){var e=this;(0,td.S6)(t,function(t){e.interaction(t)})},e.prototype.aria=function(t){var e="aria-label";!1===t?this.ele.removeAttribute(e):this.ele.setAttribute(e,t.label)},e.prototype.changeSize=function(t,e){return this.width===t&&this.height===e||(this.emit(U.BEFORE_CHANGE_SIZE),this.width=t,this.height=e,this.canvas.changeSize(t,e),this.render(!0),this.emit(U.AFTER_CHANGE_SIZE)),this},e.prototype.clear=function(){t.prototype.clear.call(this),this.aria(!1)},e.prototype.destroy=function(){var e,n;t.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),(n=(e=this.wrapperElement).parentNode)&&n.removeChild(e),this.wrapperElement=null},e.prototype.changeVisible=function(e){return t.prototype.changeVisible.call(this,e),this.wrapperElement.style.display=e?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=tv(this.ele,!0,this.width,this.height),e=t.width,n=t.height;this.changeSize(e,n)}},e.prototype.updateCanvasStyle=function(){tO(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}(ov),om=function(){function t(t){this.visible=!0,this.components=[],this.view=t}return t.prototype.clear=function(t){(0,td.S6)(this.components,function(t){t.component.destroy()}),this.components=[]},t.prototype.destroy=function(){this.clear()},t.prototype.getComponents=function(){return this.components},t.prototype.changeVisible=function(t){this.visible!==t&&(this.components.forEach(function(e){t?e.component.show():e.component.hide()}),this.visible=t)},t}(),oL=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isLocked=!1,e}return(0,tf.ZT)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"tooltip"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.isVisible=function(){return!1!==this.view.getOptions().tooltip},e.prototype.render=function(){},e.prototype.showTooltip=function(t){if(this.point=t,this.isVisible()){var e=this.view,n=this.getTooltipItems(t);if(!n.length){this.hideTooltip();return}var i=this.getTitle(n),r={x:n[0].x,y:n[0].y};e.emit("tooltip:show",oR.fromData(e,"tooltip:show",(0,tf.pi)({items:n,title:i},t)));var o=this.getTooltipCfg(),a=o.follow,s=o.showMarkers,l=o.showCrosshairs,u=o.showContent,c=o.marker,E=this.items,h=this.title;if((0,td.Xy)(h,i)&&(0,td.Xy)(E,n)?(this.tooltip&&a&&(this.tooltip.update(t),this.tooltip.show()),this.tooltipMarkersGroup&&this.tooltipMarkersGroup.show()):(e.emit("tooltip:change",oR.fromData(e,"tooltip:change",(0,tf.pi)({items:n,title:i},t))),((0,td.mf)(u)?u(n):u)&&(this.tooltip||this.renderTooltip(),this.tooltip.update((0,td.CD)({},o,{items:this.getItemsAfterProcess(n),title:i},a?t:{})),this.tooltip.show()),s&&this.renderTooltipMarkers(n,c)),this.items=n,this.title=i,l){var p=(0,td.U2)(o,["crosshairs","follow"],!1);this.renderCrosshairs(p?t:r,o)}}},e.prototype.hideTooltip=function(){if(!this.getTooltipCfg().follow){this.point=null;return}var t=this.tooltipMarkersGroup;t&&t.hide();var e=this.xCrosshair,n=this.yCrosshair;e&&e.hide(),n&&n.hide();var i=this.tooltip;i&&i.hide(),this.view.emit("tooltip:hide",oR.fromData(this.view,"tooltip:hide",{})),this.point=null},e.prototype.lockTooltip=function(){this.isLocked=!0,this.tooltip&&this.tooltip.setCapture(!0)},e.prototype.unlockTooltip=function(){this.isLocked=!1;var t=this.getTooltipCfg();this.tooltip&&this.tooltip.setCapture(t.capture)},e.prototype.isTooltipLocked=function(){return this.isLocked},e.prototype.clear=function(){var t=this.tooltip,e=this.xCrosshair,n=this.yCrosshair,i=this.tooltipMarkersGroup;t&&(t.hide(),t.clear()),e&&e.clear(),n&&n.clear(),i&&i.clear(),(null==t?void 0:t.get("customContent"))&&(this.tooltip.destroy(),this.tooltip=null),this.title=null,this.items=null},e.prototype.destroy=function(){this.tooltip&&this.tooltip.destroy(),this.xCrosshair&&this.xCrosshair.destroy(),this.yCrosshair&&this.yCrosshair.destroy(),this.guideGroup&&this.guideGroup.remove(!0),this.reset()},e.prototype.reset=function(){this.items=null,this.title=null,this.tooltipMarkersGroup=null,this.tooltipCrosshairsGroup=null,this.xCrosshair=null,this.yCrosshair=null,this.tooltip=null,this.guideGroup=null,this.isLocked=!1,this.point=null},e.prototype.changeVisible=function(t){if(this.visible!==t){var e=this.tooltip,n=this.tooltipMarkersGroup,i=this.xCrosshair,r=this.yCrosshair;t?(e&&e.show(),n&&n.show(),i&&i.show(),r&&r.show()):(e&&e.hide(),n&&n.hide(),i&&i.hide(),r&&r.hide()),this.visible=t}},e.prototype.getTooltipItems=function(t){var e=this.findItemsFromView(this.view,t);if(e.length){e=(0,td.xH)(e);for(var n=0,i=e;n1){for(var c=e[0],E=Math.abs(t.y-c[0].y),h=0,p=e;h'+i+"":i}})},e.prototype.getTitle=function(t){var e=t[0].title||t[0].name;return this.title=e,e},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),e={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},n=this.getTooltipCfg(),i=new iB((0,tf.pi)((0,tf.pi)({parent:t.get("el").parentNode,region:e},n),{visible:!1,crosshairs:null}));i.init(),this.tooltip=i},e.prototype.renderTooltipMarkers=function(t,e){for(var n=this.getTooltipMarkersGroup(),i=0;i-1)return;n.push(t),("active"===t||"selected"===t)&&(null==o||o.toFront())}else{if(-1===s)return;n.splice(s,1),("active"===t||"selected"===t)&&(this.geometry.zIndexReversed?o.setZIndex(this.geometry.elements.length-this.elementIndex):o.setZIndex(this.elementIndex))}var l=i.drawShape(a,r,this.getOffscreenGroup());n.length?this.syncShapeStyle(o,l,n,null):this.syncShapeStyle(o,l,["reset"],null),l.remove(!0);var u={state:t,stateStatus:e,element:this,target:this.container};this.container.emit("statechange",u),nu(this.shape,"statechange",u)},e.prototype.clearStates=function(){var t=this,e=this.states;(0,td.S6)(e,function(e){t.setState(e,!1)}),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this.shape,e=this.labelShape,n={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return t&&(n=t.getCanvasBBox()),e&&e.forEach(function(t){var e=t.getCanvasBBox();n.x=Math.min(e.x,n.x),n.y=Math.min(e.y,n.y),n.minX=Math.min(e.minX,n.minX),n.minY=Math.min(e.minY,n.minY),n.maxX=Math.max(e.maxX,n.maxX),n.maxY=Math.max(e.maxY,n.maxY)}),n.width=n.maxX-n.minX,n.height=n.maxY-n.minY,n},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this.shapeType,e=this.geometry,n=this.shapeFactory,i=e.stateOption,r=n.defaultShapeType,o=n.theme[t]||n.theme[r];this.statesStyle=(0,td.b$)({},o,i)}return this.statesStyle},e.prototype.getStateStyle=function(t,e){var n=this.getStatesStyle(),i=(0,td.U2)(n,[t,"style"],{}),r=i[e]||i;return(0,td.mf)(r)?r(this):r},e.prototype.getAnimateCfg=function(t){var e=this,n=this.animate;if(n){var i=n[t];return i?(0,tf.pi)((0,tf.pi)({},i),{callback:function(){var t;(0,td.mf)(i.callback)&&i.callback(),null===(t=e.geometry)||void 0===t||t.emit(b.AFTER_DRAW_ANIMATE)}}):i}return null},e.prototype.drawShape=function(t,e){void 0===e&&(e=!1);var n,i=this.shapeFactory,r=this.container,o=this.shapeType;if(this.shape=i.drawShape(o,t,r),this.shape){this.setShapeInfo(this.shape,t);var a=this.shape.cfg.name;a?(0,td.HD)(a)&&(this.shape.cfg.name=["element",a]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var s=e?"enter":"appear",l=this.getAnimateCfg(s);l&&(null===(n=this.geometry)||void 0===n||n.emit(b.BEFORE_DRAW_ANIMATE),oF(this.shape,l,{coordinate:i.coordinate,toAttrs:(0,tf.pi)({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,e){var n=this;t.cfg.origin=e,t.cfg.element=this,t.isGroup()&&t.get("children").forEach(function(t){n.setShapeInfo(t,e)})},e.prototype.syncShapeStyle=function(t,e,n,i,r){var o,a=this;if(void 0===n&&(n=[]),void 0===r&&(r=0),t&&e){var s=t.get("clipShape"),l=e.get("clipShape");if(this.syncShapeStyle(s,l,n,i),t.isGroup())for(var u=t.get("children"),c=e.get("children"),E=0;E=a[u]?1:0,h=c>Math.PI?1:0,p=n.convert(s),T=rn(n,p);if(T>=.5){if(c===2*Math.PI){var f={x:(s.x+a.x)/2,y:(s.y+a.y)/2},d=n.convert(f);l.push(["A",T,T,0,h,E,d.x,d.y]),l.push(["A",T,T,0,h,E,p.x,p.y])}else l.push(["A",T,T,0,h,E,p.x,p.y])}return l}(n,t,s)):i.push(rC(t,s));break;case"a":i.push(rm(t,s));break;default:i.push(t)}}),r=i,(0,td.S6)(r,function(t,e){if("a"===t[0].toLowerCase()){var n=r[e-1],i=r[e+1];i&&"a"===i[0].toLowerCase()?n&&"l"===n[0].toLowerCase()&&(n[0]="M"):n&&"a"===n[0].toLowerCase()&&i&&"l"===i[0].toLowerCase()&&(i[0]="M")}}),l=i):(o=l,a=[],(0,td.S6)(o,function(t){switch(t[0].toLowerCase()){case"m":case"l":case"c":a.push(rC(t,s));break;case"a":a.push(rm(t,s));break;default:a.push(t)}}),l=a),l},parsePoint:function(t){return this.coordinate.convert(t)},parsePoints:function(t){var e=this.coordinate;return t.map(function(t){return e.convert(t)})},draw:function(t,e){}},oX={};function oK(t,e){var n=(0,td.jC)(t),i=(0,tf.pi)((0,tf.pi)((0,tf.pi)({},oV),e),{geometryType:t});return oX[n]=i,i}function oz(t,e,n){var i=oX[(0,td.jC)(t)],r=(0,tf.pi)((0,tf.pi)({},oW),n);return i[e]=r,r}function oZ(t){return oX[(0,td.jC)(t)]}function o$(t,e){return(0,td.G)(["color","shape","size","x","y","isInCircle","data","style","defaultStyle","points","mappingData"],function(n){return!(0,td.Xy)(t[n],e[n])})}function oJ(t){return(0,td.kJ)(t)?t:t.split("*")}function oj(t,e){for(var n=[],i=[],r=[],o=new Map,a=0;a=0?e:n<=0?n:0},e.prototype.createAttrOption=function(t,e,n){if((0,td.UM)(e)||(0,td.Kn)(e))(0,td.Kn)(e)&&(0,td.Xy)(Object.keys(e),["values"])?(0,td.t8)(this.attributeOption,t,{fields:e.values}):(0,td.t8)(this.attributeOption,t,e);else{var i={};(0,td.hj)(e)?i.values=[e]:i.fields=oJ(e),n&&((0,td.mf)(n)?i.callback=n:i.values=n),(0,td.t8)(this.attributeOption,t,i)}},e.prototype.initAttributes=function(){var t=this,e=this.attributes,n=this.attributeOption,i=this.theme,r=this.shapeType;this.groupScales=[];var o={},a=function(a){if(n.hasOwnProperty(a)){var s=n[a];if(!s)return{value:void 0};var l=(0,tf.pi)({},s),u=l.callback,c=l.values,E=l.fields,h=(void 0===E?[]:E).map(function(e){var n=t.scales[e];return n.isCategory&&!o[e]&&tS.includes(a)&&(t.groupScales.push(n),o[e]=!0),n});l.scales=h,"position"!==a&&1===h.length&&"identity"===h[0].type?l.values=h[0].values:u||c||("size"===a?l.values=i.sizes:"shape"===a?l.values=i.shapes[r]||[]:"color"===a&&(h.length?l.values=h[0].values.length<=10?i.colors10:i.colors20:l.values=i.colors10));var p=e4(a);e[a]=new p(l)}};for(var s in n){var l=a(s);if("object"==typeof l)return l.value}},e.prototype.processData=function(t){this.hasSorted=!1;for(var e=this.getAttribute("position").scales.filter(function(t){return t.isCategory}),n=this.groupData(t),i=[],r=0,o=n.length;ro&&(o=u)}var c=this.scaleDefs,E={};rt.max&&!(0,td.U2)(c,[i,"max"])&&(E.max=o),t.change(E)},e.prototype.beforeMapping=function(t){if(this.sortable&&this.sort(t),this.generatePoints)for(var e=0,n=t.length;e1)for(var c=0;c=e.getCount()&&!t.destroyed&&e.add(t)})})(E,u[e],{data:o,origin:a,animateCfg:c,coordinate:s}),i.shapesMap[e]=E}else{r.add(t);var h=(0,td.U2)(t.get("animateCfg"),n?"enter":"appear");h&&oF(t,h,{toAttrs:(0,tf.pi)({},t.attr()),coordinate:t.get("coordinate")})}delete l[e]}}),(0,td.S6)(l,function(t){var e=(0,td.U2)(t.get("animateCfg"),"leave");e?oF(t,e,{toAttrs:null,coordinate:t.get("coordinate")}):t.remove(!0)}),this.lastShapesMap=u,o.destroy()},t.prototype.clear=function(){this.container.clear(),this.shapesMap={},this.lastShapesMap={}},t.prototype.destroy=function(){this.container.destroy(),this.shapesMap=null,this.lastShapesMap=null},t.prototype.renderLabel=function(t,e){var n,i=t.id,r=t.elementId,o=t.data,a=t.mappingData,s=t.coordinate,l=t.animate,u=t.content,c={id:i,elementId:r,data:o,origin:(0,tf.pi)((0,tf.pi)({},a),{data:a[tR]}),coordinate:s},E=e.addGroup((0,tf.pi)({name:"label",animateCfg:!1!==this.animate&&null!==l&&!1!==l&&(0,td.b$)({},this.animate,l)},c));if(u.isGroup&&u.isGroup()||u.isShape&&u.isShape()){var h=u.getCanvasBBox(),p=h.width,T=h.height,f=(0,td.U2)(t,"textAlign","left"),d=t.x,A=t.y-T/2;"center"===f?d-=p/2:("right"===f||"end"===f)&&(d-=p),o0(u,d,A),n=u,E.add(u)}else{var S=(0,td.U2)(t,["style","fill"]);n=E.addShape("text",(0,tf.pi)({attrs:(0,tf.pi)((0,tf.pi)({x:t.x,y:t.y,textAlign:t.textAlign,textBaseline:(0,td.U2)(t,"textBaseline","middle"),text:t.content},t.style),{fill:(0,td.Ft)(S)?t.color:S})},c))}t.rotate&&o1(n,t.rotate),this.shapesMap[i]=E},t.prototype.doLayout=function(t,e){var n=this;if(this.layout){var i=(0,td.kJ)(this.layout)?this.layout:[this.layout];(0,td.S6)(i,function(i){var r=oH[(0,td.U2)(i,"type","").toLowerCase()];if(r){var o=[],a=[];(0,td.S6)(n.shapesMap,function(t,n){o.push(t),a.push(e[t.get("elementId")])}),r(t,o,a,n.region,i.cfg)}})}},t.prototype.renderLabelLine=function(t){var e=this;(0,td.S6)(t,function(t){var n=(0,td.U2)(t,"coordinate");if(t&&n){var i=n.getCenter(),r=n.getRadius();if(t.labelLine){var o=(0,td.U2)(t,"labelLine",{}),a=t.id,s=o.path;if(!s){var l=i2(i.x,i.y,r,t.angle);s=[["M",l.x,l.y],["L",t.x,t.y]]}var u=e.shapesMap[a];u.destroyed||u.addShape("path",{capture:!1,attrs:(0,tf.pi)({path:s,stroke:t.color?t.color:(0,td.U2)(t,["style","fill"],"#000"),fill:null},o.style),id:a,origin:t.mappingData,data:t.data,coordinate:t.coordinate})}}})},t.prototype.renderLabelBackground=function(t){var e=this;(0,td.S6)(t,function(t){var n=(0,td.U2)(t,"coordinate"),i=(0,td.U2)(t,"background");if(i&&n){var r=t.id,o=e.shapesMap[r];if(!o.destroyed){var a=o.getChildren()[0];if(a){var s=o5(o,t,i.padding),l=s.rotation,u=(0,tf._T)(s,["rotation"]),c=o.addShape("rect",{attrs:(0,tf.pi)((0,tf.pi)({},u),i.style||{}),id:r,origin:t.mappingData,data:t.data,coordinate:t.coordinate});if(c.setZIndex(-1),l){var E=a.getMatrix();c.setMatrix(E)}}}}})},t.prototype.createOffscreenGroup=function(){return new(this.container.getGroupBase())({})},t.prototype.adjustLabel=function(t){var e=this;(0,td.S6)(t,function(t){if(t){var n=t.id,i=e.shapesMap[n];if(!i.destroyed){var r=i.findAll(function(t){return"path"!==t.get("type")});(0,td.S6)(r,function(e){e&&(t.offsetX&&e.attr("x",e.attr("x")+t.offsetX),t.offsetY&&e.attr("y",e.attr("y")+t.offsetY))})}}})},t}();function o3(t){var e=0;return(0,td.S6)(t,function(t){e+=t}),e/t.length}var o4=function(){function t(t){this.geometry=t}return t.prototype.getLabelItems=function(t){var e=this,n=[],i=this.getLabelCfgs(t);return(0,td.S6)(t,function(t,r){var o=i[r];if(!o||(0,td.UM)(t.x)||(0,td.UM)(t.y)){n.push(null);return}var a=(0,td.kJ)(o.content)?o.content:[o.content];o.content=a;var s=a.length;(0,td.S6)(a,function(i,r){if((0,td.UM)(i)||""===i){n.push(null);return}var a=(0,tf.pi)((0,tf.pi)({},o),e.getLabelPoint(o,t,r));a.textAlign||(a.textAlign=e.getLabelAlign(a,r,s)),a.offset<=0&&(a.labelLine=null),n.push(a)})}),n},t.prototype.render=function(t,e){void 0===e&&(e=!1);var n=this.getLabelItems(t),i=this.getLabelsRenderer(),r=this.getGeometryShapes();i.render(n,r,e)},t.prototype.clear=function(){var t=this.labelsRenderer;t&&t.clear()},t.prototype.destroy=function(){var t=this.labelsRenderer;t&&t.destroy(),this.labelsRenderer=null},t.prototype.getCoordinate=function(){return this.geometry.coordinate},t.prototype.getDefaultLabelCfg=function(t,e){var n=this.geometry,i=n.type,r=n.theme;return"polygon"===i||"interval"===i&&"middle"===e||t<0&&!["line","point","path"].includes(i)?(0,td.U2)(r,"innerLabels",{}):(0,td.U2)(r,"labels",{})},t.prototype.getThemedLabelCfg=function(t){var e=this.geometry,n=this.getDefaultLabelCfg(),i=e.type,r=e.theme;return"polygon"===i||t.offset<0&&!["line","point","path"].includes(i)?(0,td.b$)({},n,r.innerLabels,t):(0,td.b$)({},n,r.labels,t)},t.prototype.setLabelPosition=function(t,e,n,i){},t.prototype.getLabelOffset=function(t){var e=this.getCoordinate(),n=this.getOffsetVector(t);return e.isTransposed?n[0]:n[1]},t.prototype.getLabelOffsetPoint=function(t,e,n){var i=t.offset,r=this.getCoordinate().isTransposed,o=r?"x":"y",a=r?1:-1,s={x:0,y:0};return e>0||1===n?s[o]=i*a:s[o]=-(i*a*1),s},t.prototype.getLabelPoint=function(t,e,n){var i=this.getCoordinate(),r=t.content.length;function o(e,n,i){void 0===i&&(i=!1);var r=e;return(0,td.kJ)(r)&&(r=1===t.content.length?i?o3(r):r.length<=2?r[e.length-1]:o3(r):r[n]),r}var a={content:t.content[n],x:0,y:0,start:{x:0,y:0},color:"#fff"},s=(0,td.kJ)(e.shape)?e.shape[0]:e.shape,l="funnel"===s||"pyramid"===s;if("polygon"===this.geometry.type){var u=function(t,e){if((0,td.hj)(t)&&(0,td.hj)(e))return[t,e];if(i0(t)||i0(e))return[i1(t),i1(e)];for(var n,i,r=-1,o=0,a=0,s=t.length-1,l=0;++r1&&0===e&&("right"===i?i="left":"left"===i&&(i="right"))}return i},t.prototype.getLabelId=function(t){var e=this.geometry,n=e.type,i=e.getXScale(),r=e.getYScale(),o=t[tR],a=e.getElementId(t);return"line"===n||"area"===n?a+=" "+o[i.field]:"path"===n&&(a+=" "+o[i.field]+"-"+o[r.field]),a},t.prototype.getLabelsRenderer=function(){var t=this.geometry,e=t.labelsContainer,n=t.labelOption,i=t.canvasRegion,r=t.animateOption,o=this.geometry.coordinate,a=this.labelsRenderer;return a||(a=new o6({container:e,layout:(0,td.U2)(n,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=a),a.region=i,a.animate=!!r&&ob("label",o),a},t.prototype.getLabelCfgs=function(t){var e=this,n=this.geometry,i=n.labelOption,r=n.scales,o=n.coordinate,a=i.fields,s=i.callback,l=i.cfg,u=a.map(function(t){return r[t]}),c=[];return(0,td.S6)(t,function(t,n){var i,r=t[tR],E=e.getLabelText(r,u);if(s){var h=a.map(function(t){return r[t]});if(i=s.apply(void 0,h),(0,td.UM)(i)){c.push(null);return}}var p=(0,tf.pi)((0,tf.pi)({id:e.getLabelId(t),elementId:e.geometry.getElementId(t),data:r,mappingData:t,coordinate:o},l),i);(0,td.mf)(p.position)&&(p.position=p.position(r,t,n));var T=e.getLabelOffset(p.offset||0),f=e.getDefaultLabelCfg(T,p.position);(p=(0,td.b$)({},f,p)).offset=e.getLabelOffset(p.offset||0);var d=p.content;(0,td.mf)(d)?p.content=d(r,t,n):(0,td.o8)(d)&&(p.content=E[0]),c.push(p)}),c},t.prototype.getLabelText=function(t,e){var n=[];return(0,td.S6)(e,function(e){var i=t[e.field];i=(0,td.kJ)(i)?i.map(function(t){return e.getText(t)}):e.getText(i),(0,td.UM)(i)||""===i?n.push(null):n.push(i)}),n},t.prototype.getOffsetVector=function(t){void 0===t&&(t=0);var e=this.getCoordinate(),n=0;return(0,td.hj)(t)&&(n=t),e.isTransposed?e.applyMatrix(n,0):e.applyMatrix(0,n)},t.prototype.getGeometryShapes=function(){var t=this.geometry,e={};return(0,td.S6)(t.elementsMap,function(t,n){e[n]=t.shape}),(0,td.S6)(t.getOffscreenGroup().getChildren(),function(n){e[t.getElementId(n.get("origin").mappingData)]=n}),e},t}();function o8(t,e,n){if(!t)return n;if(t.callback&&t.callback.length>1){var i,r=Array(t.callback.length-1).fill("");i=t.mapping.apply(t,(0,tf.ev)([e],r,!1)).join("")}else i=t.mapping(e).join("");return i||n}var o9={hexagon:function(t,e,n){var i=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+i,e-n/2],["L",t+i,e+n/2],["L",t,e+n],["L",t-i,e+n/2],["L",t-i,e-n/2],["Z"]]},bowtie:function(t,e,n){var i=n-1.5;return[["M",t-n,e-i],["L",t+n,e+i],["L",t+n,e-i],["L",t-n,e+i],["Z"]]},cross:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},tick:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},plus:function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},hyphen:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},line:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]}},o7=["line","cross","tick","plus","hyphen"];function at(t){var e=t.symbol;(0,td.HD)(e)&&o9[e]&&(t.symbol=o9[e])}function ae(t){return t.startsWith(P.LEFT)||t.startsWith(P.RIGHT)?"vertical":"horizontal"}function an(t,e,n,i,r){var o=n.getScale(n.type);if(o.isCategory){var a=o.field,s=e.getAttribute("color"),l=e.getAttribute("shape"),u=t.getTheme().defaultColor,c=e.coordinate.isPolar;return o.getTicks().map(function(n,E){var h,p,T,f=n.text,d=n.value,A=o.invert(d),S=0===t.filterFieldData(a,[((T={})[a]=A,T)]).length;(0,td.S6)(t.views,function(t){var e;t.filterFieldData(a,[((e={})[a]=A,e)]).length||(S=!0)});var R=o8(s,A,u),g=o8(l,A,"point"),I=e.getShapeMarker(g,{color:R,isInPolar:c}),O=r;return(0,td.mf)(O)&&(O=O(f,E,(0,tf.pi)({name:f,value:A},(0,td.b$)({},i,I)))),!function(t,e){var n=t.symbol;if((0,td.HD)(n)&&-1!==o7.indexOf(n)){var i=(0,td.U2)(t,"style",{}),r=(0,td.U2)(i,"lineWidth",1),o=i.stroke||i.fill||e;t.style=(0,td.b$)({},t.style,{lineWidth:r,stroke:o,fill:null})}}(I=(0,td.b$)({},i,I,i9((0,tf.pi)({},O),["style"])),R),O&&O.style&&(I.style=(h=I.style,p=O.style,(0,td.mf)(p)?p(h):(0,td.b$)({},h,p))),at(I),{id:A,name:f,value:A,marker:I,unchecked:S}})}return[]}function ai(t,e){var n=(0,td.U2)(t,["components","legend"],{});return(0,td.b$)({},(0,td.U2)(n,["common"],{}),(0,td.b$)({},(0,td.U2)(n,[e],{})))}var ar={getLegendItems:an,translate:o0,rotate:o1,zoom:function(t,e){var n=t.getBBox(),i=(n.minX+n.maxX)/2,r=(n.minY+n.maxY)/2;t.applyToMatrix([i,r,1]);var o=oQ(t.getMatrix(),[["t",-i,-r],["s",e,e],["t",i,r]]);t.setMatrix(o)},transform:oQ,getAngle:i3,getSectorPath:i5,polarToCartesian:i2,getDelegationObject:rU,getTooltipItems:oh,getMappingValue:o8},ao={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},aa={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},as=(void 0===E&&(E={}),h=E.backgroundColor,p=E.subColor,f=void 0===(T=E.paletteQualitative10)?["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#E86452","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"]:T,d=E.paletteQualitative20,A=E.paletteSemanticRed,S=E.paletteSemanticGreen,R=E.paletteSemanticYellow,g=E.paletteSequence,I=E.fontFamily,{backgroundColor:void 0===h?"#141414":h,brandColor:void 0===(O=E.brandColor)?f[0]:O,subColor:void 0===p?"rgba(255,255,255,0.05)":p,paletteQualitative10:f,paletteQualitative20:void 0===d?["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#E86452","#F8D0CB","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"]:d,paletteSemanticRed:void 0===A?"#F4664A":A,paletteSemanticGreen:void 0===S?"#30BF78":S,paletteSemanticYellow:void 0===R?"#FAAD14":R,paletteSequence:void 0===g?["#B8E1FF","#9AC5FF","#7DAAFF","#5B8FF9","#3D76DD","#085EC0","#0047A5","#00318A","#001D70"]:g,fontFamily:void 0===I?'"Segoe UI", Roboto, "Helvetica Neue", Arial,\n "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",\n "Noto Color Emoji"':I,axisLineBorderColor:aa[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:aa[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisTickLineBorderColor:aa[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:aa[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:aa[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:aa[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:aa[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:"#5B8FF9",legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:aa[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendSpacing:16,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],legendPageNavigatorMarkerSize:12,legendPageNavigatorMarkerInactiveFillColor:aa[45],legendPageNavigatorMarkerInactiveFillOpacity:.45,legendPageNavigatorMarkerFillColor:aa[45],legendPageNavigatorMarkerFillOpacity:1,legendPageNavigatorTextFillColor:aa[65],legendPageNavigatorTextFontSize:12,sliderRailFillColor:aa[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:aa[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:ao[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:ao[25],annotationArcBorderColor:aa[15],annotationArcBorder:1,annotationLineBorderColor:aa[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:aa[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:aa[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:aa[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"#1f1f1f",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 2px 4px rgba(0,0,0,.5)",tooltipContainerBorderRadius:3,tooltipTextFillColor:aa[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:aa[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:ao[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:aa[65],overflowLabelFillColorDark:"#2c3542",overflowLabelFillColorLight:"#ffffff",overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:ao[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:aa[25],cSliderRailHieght:16,cSliderBackgroundFillColor:"#416180",cSliderBackgroundFillOpacity:.05,cSliderForegroundFillColor:"#5B8FF9",cSliderForegroundFillOpacity:.15,cSliderHandlerHeight:24,cSliderHandlerWidth:10,cSliderHandlerFillColor:"#F7F7F7",cSliderHandlerFillOpacity:1,cSliderHandlerHighlightFillColor:"#FFF",cSliderHandlerBorderColor:"#BFBFBF",cSliderHandlerBorder:1,cSliderHandlerBorderRadius:2,cSliderTextFillColor:"#fff",cSliderTextFillOpacity:.45,cSliderTextFontSize:12,cSliderTextLineHeight:12,cSliderTextFontWeight:"normal",cSliderTextBorderColor:null,cSliderTextBorder:0,scrollbarTrackFillColor:"rgba(255,255,255,0.65)",scrollbarThumbFillColor:"rgba(0,0,0,0.35)",scrollbarThumbHighlightFillColor:"rgba(0,0,0,0.45)",pointFillColor:"#5B8FF9",pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:ao[100],pointBorderOpacity:1,pointActiveBorderColor:aa[100],pointSelectedBorder:2,pointSelectedBorderColor:aa[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:"#5B8FF9",hollowPointBorderOpacity:.95,hollowPointFillColor:ao[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:aa[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:aa[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:"#5B8FF9",lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:"#5B8FF9",areaFillOpacity:.25,areaActiveFillColor:"#5B8FF9",areaActiveFillOpacity:.5,areaSelectedFillColor:"#5B8FF9",areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:"#5B8FF9",hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:aa[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:aa[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:"#5B8FF9",intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:aa[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:aa[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:"#5B8FF9",hollowIntervalBorderOpacity:1,hollowIntervalFillColor:ao[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:aa[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:aa[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3});function al(t,e,n,i){var r=t-n,o=e-i;return Math.sqrt(r*r+o*o)}function au(t,e,n,i,r,o){return r>=t&&r<=t+n&&o>=e&&o<=e+i}function ac(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY1&&(n*=Math.sqrt(p),i*=Math.sqrt(p));var T=n*n*(h*h)+i*i*(E*E),f=T?Math.sqrt((n*n*(i*i)-T)/T):1;o===a&&(f*=-1),isNaN(f)&&(f=0);var d=i?f*n*h/i:0,A=n?-(f*i)*E/n:0,S=(s+u)/2+Math.cos(r)*d-Math.sin(r)*A,R=(l+c)/2+Math.sin(r)*d+Math.cos(r)*A,g=[(E-d)/n,(h-A)/i],I=[(-1*E-d)/n,(-1*h-A)/i],O=aR([1,0],g),y=aR(g,I);return -1>=aS(g,I)&&(y=Math.PI),aS(g,I)>=1&&(y=0),0===a&&y>0&&(y-=2*Math.PI),1===a&&y<0&&(y+=2*Math.PI),{cx:S,cy:R,rx:aE(t,[u,c])?0:n,ry:aE(t,[u,c])?0:i,startAngle:O,endAngle:O+y,xRotation:r,arcFlag:o,sweepFlag:a}}var aI=Math.sin,aO=Math.cos,ay=Math.atan2,av=Math.PI;function aN(t,e,n,i,r,o,a){var s=e.stroke,l=e.lineWidth,u=ay(i-o,n-r),c=new a0({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*aO(av/6)+","+10*aI(av/6)+" L0,0 L"+10*aO(av/6)+",-"+10*aI(av/6),stroke:s,lineWidth:l}});c.translate(r,o),c.rotateAtPoint(r,o,u),t.set(a?"startArrowShape":"endArrowShape",c)}function aC(t,e,n,i,r,o,a){var s=e.startArrow,l=e.endArrow,u=e.stroke,c=e.lineWidth,E=a?s:l,h=E.d,p=E.fill,T=E.stroke,f=E.lineWidth,d=(0,tf._T)(E,["d","fill","stroke","lineWidth"]),A=ay(i-o,n-r);h&&(r-=aO(A)*h,o-=aI(A)*h);var S=new a0({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:(0,tf.pi)((0,tf.pi)({},d),{stroke:T||u,lineWidth:f||c,fill:p})});S.translate(r,o),S.rotateAtPoint(r,o,A),t.set(a?"startArrowShape":"endArrowShape",S)}function am(t,e,n,i,r){var o=ay(i-e,n-t);return{dx:aO(o)*r,dy:aI(o)*r}}function aL(t,e,n,i,r,o){"object"==typeof e.startArrow?aC(t,e,n,i,r,o,!0):e.startArrow?aN(t,e,n,i,r,o,!0):t.set("startArrowShape",null)}function a_(t,e,n,i,r,o){"object"==typeof e.endArrow?aC(t,e,n,i,r,o,!1):e.endArrow?aN(t,e,n,i,r,o,!1):t.set("startArrowShape",null)}var ax={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function aM(t,e){var n=e.attr();for(var i in n){var r=n[i],o=ax[i]?ax[i]:i;"matrix"===o&&r?t.transform(r[0],r[1],r[3],r[4],r[6],r[7]):"lineDash"===o&&t.setLineDash?(0,td.kJ)(r)&&t.setLineDash(r):("strokeStyle"===o||"fillStyle"===o?r=function(t,e,n){var i,r,o,a,s,l,u,c,E,h,p,T=e.getBBox();if(isNaN(T.x)||isNaN(T.y)||isNaN(T.width)||isNaN(T.height))return n;if((0,td.HD)(n)){if("("===n[1]||"("===n[2]){if("l"===n[0])return a=parseFloat((o=ah.exec(n))[1])%360*(Math.PI/180),s=o[2],l=e.getBBox(),a>=0&&a<.5*Math.PI?(i={x:l.minX,y:l.minY},r={x:l.maxX,y:l.maxY}):.5*Math.PI<=a&&ag?R:g,C=R>g?1:R/g,m=R>g?g/R:1;e.translate(A,S),e.rotate(y),e.scale(C,m),e.arc(0,0,N,I,O,1-v),e.scale(1/C,1/m),e.rotate(-y),e.translate(-A,-S)}break;case"Z":e.closePath()}if("Z"===h)s=l;else{var L=E.length;s=[E[L-2],E[L-1]]}}}}function ab(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),!(t.cfg.parent&&t.cfg.parent.get("hasChanged"))&&(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))}var aF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.onCanvasChange=function(t){ab(this,t)},e.prototype.getShapeBase=function(){return tc},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,e){e&&(t.save(),aM(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,e=[],n=[];(0,td.S6)(t,function(t){var i=t.cfg.cacheCanvasBBox;i&&t.cfg.isInView&&(e.push(i.minX,i.maxX),n.push(i.minY,i.maxY))});var i=null;if(e.length){var r=(0,td.VV)(e),o=(0,td.Fp)(e),a=(0,td.VV)(n),s=(0,td.Fp)(n);i={minX:r,minY:a,x:r,y:a,maxX:o,maxY:s,width:o-r,height:s-a};var l=this.cfg.canvas;if(l){var u=l.getViewRange();this.set("isInView",ac(i,u))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",i)},e.prototype.draw=function(t,e){var n=this.cfg.children,i=!e||this.cfg.refresh;n.length&&i&&(t.save(),aM(t,this),this._applyClip(t,this.getClip()),aP(t,n,e),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(tm.AbstractGroup),aB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return tc},e.prototype.getGroupBase=function(){return aF},e.prototype.onCanvasChange=function(t){ab(this,t)},e.prototype.calculateBBox=function(){var t=this.get("type"),e=this.getHitLineWidth(),n=(0,tm.getBBoxMethod)(t)(this),i=e/2,r=n.x-i,o=n.y-i,a=n.x+n.width+i,s=n.y+n.height+i;return{x:r,minX:r,y:o,minY:o,width:n.width+e,height:n.height+e,maxX:a,maxY:s}},e.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},e.prototype.isStroke=function(){return!!this.attrs.stroke},e.prototype._applyClip=function(t,e){e&&(t.save(),aM(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.draw=function(t,e){var n=this.cfg.clipShape;if(e){if(!1===this.cfg.refresh){this.set("hasChanged",!1);return}if(!ac(e,this.getCanvasBBox())){this.set("hasChanged",!1),this.cfg.isInView&&this._afterDraw();return}}t.save(),aM(t,this),this._applyClip(t,n),this.drawPath(t),t.restore(),this._afterDraw()},e.prototype.getCanvasViewBox=function(){var t=this.cfg.canvas;return t?t.getViewRange():null},e.prototype.cacheCanvasBBox=function(){var t=this.getCanvasViewBox();if(t){var e=this.getCanvasBBox(),n=ac(e,t);this.set("isInView",n),n?this.set("cacheCanvasBBox",e):this.set("cacheCanvasBBox",null)}},e.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},e.prototype.drawPath=function(t){this.createPath(t),this.strokeAndFill(t),this.afterDrawPath(t)},e.prototype.fill=function(t){t.fill()},e.prototype.stroke=function(t){t.stroke()},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,i=e.opacity,r=e.strokeOpacity,o=e.fillOpacity;this.isFill()&&((0,td.UM)(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=i)),this.isStroke()&&n>0&&((0,td.UM)(r)||1===r||(t.globalAlpha=r),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,e){var n=this.isStroke(),i=this.isFill(),r=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,i,r)},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(tm.AbstractShape),aG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){var o=this.attr(),a=o.x,s=o.y,l=o.r,u=r/2,c=al(a,s,t,e);return i&&n?c<=l+u:i?c<=l:!!n&&c>=l-u&&c<=l+u},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,i=e.y,r=e.r;t.beginPath(),t.arc(n,i,r,0,2*Math.PI,!1),t.closePath()},e}(aB),aw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){var o,a,s,l,u,c,E=this.attr(),h=r/2,p=E.x,T=E.y,f=E.rx,d=E.ry,A=(t-p)*(t-p),S=(e-T)*(e-T);return i&&n?1>=A/((o=f+h)*o)+S/((a=d+h)*a):i?1>=A/(f*f)+S/(d*d):!!n&&A/((s=f-h)*s)+S/((l=d-h)*l)>=1&&1>=A/((u=f+h)*u)+S/((c=d+h)*c)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,i=e.y,r=e.rx,o=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,i,r,o,0,0,2*Math.PI,!1);else{var a=r>o?r:o,s=r>o?1:r/o,l=r>o?o/r:1;t.save(),t.translate(n,i),t.scale(s,l),t.arc(0,0,a,0,2*Math.PI),t.restore(),t.closePath()}},e}(aB);function aH(t){return t instanceof HTMLElement&&(0,td.HD)(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var aY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var e=this,n=this.attrs;if((0,td.HD)(t)){var i=new Image;i.onload=function(){if(e.destroyed)return!1;e.attr("img",i),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},i.crossOrigin="Anonymous",i.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):aH(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,t.getAttribute("height")))},e.prototype.onAttrChange=function(e,n,i){t.prototype.onAttrChange.call(this,e,n,i),"img"===e&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading")){this.set("toDraw",!0),this.set("context",t);return}var e=this.attr(),n=e.x,i=e.y,r=e.width,o=e.height,a=e.sx,s=e.sy,l=e.swidth,u=e.sheight,c=e.img;(c instanceof Image||aH(c))&&((0,td.UM)(a)||(0,td.UM)(s)||(0,td.UM)(l)||(0,td.UM)(u)?t.drawImage(c,n,i,r,o):t.drawImage(c,a,s,l,u,n,i,r,o))},e}(aB),ak=n(32793);function aV(t,e,n,i,r,o,a){var s=Math.min(t,n),l=Math.max(t,n),u=Math.min(e,i),c=Math.max(e,i),E=r/2;return o>=s-E&&o<=l+E&&a>=u-E&&a<=c+E&&ak.x1.pointToLine(t,e,n,i,o,a)<=r/2}var aW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,i){t.prototype.onAttrChange.call(this,e,n,i),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,i=t.x2,r=t.y2,o=t.startArrow,a=t.endArrow;o&&aL(this,t,i,r,e,n),a&&a_(this,t,e,n,i,r)},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){if(!n||!r)return!1;var o=this.attr();return aV(o.x1,o.y1,o.x2,o.y2,r,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.startArrow,s=e.endArrow,l={dx:0,dy:0},u={dx:0,dy:0};a&&a.d&&(l=am(n,i,r,o,e.startArrow.d)),s&&s.d&&(u=am(n,i,r,o,e.endArrow.d)),t.beginPath(),t.moveTo(n+l.dx,i+l.dy),t.lineTo(r-u.dx,o-u.dy)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,i=t.x2,r=t.y2;return ak.x1.length(e,n,i,r)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,i=e.y1,r=e.x2,o=e.y2;return ak.x1.pointAt(n,i,r,o,t)},e}(aB),aX={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var i=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+i],["L",t,e-i],["L",t+n,e+i],["Z"]]},"triangle-down":function(t,e,n){var i=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-i],["L",t+n,e-i],["L",t,e+i],["Z"]]}},aK=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,i){t.prototype.onAttrChange.call(this,e,n,i),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return(0,td.UM)(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,i=this.attr(),r=i.x,o=i.y,a=i.symbol||"circle",s=this._getR(i);if((0,td.mf)(a))n=(t=a)(r,o,s),n=(0,iY.wb)(n);else{if(!(t=e.Symbols[a]))return console.warn(a+" marker is not supported."),null;n=t(r,o,s)}return n},e.prototype.createPath=function(t){aU(this,t,{path:this._getPath()},this.get("paramsCache"))},e.Symbols=aX,e}(aB);function az(t,e,n){var i=(0,tm.getOffScreenContext)();return t.createPath(i),i.isPointInPath(e,n)}function aZ(t){return 1e-6>Math.abs(t)?0:t<0?-1:1}function a$(t,e,n){var i=!1,r=t.length;if(r<=2)return!1;for(var o=0;o0!=aZ(l[1]-n)>0&&0>aZ(e-(n-s[1])*(s[0]-l[0])/(s[1]-l[1])-s[0])&&(i=!i)}return i}function aJ(t,e,n,i,r,o,a,s){var l=(Math.atan2(s-e,a-t)+2*Math.PI)%(2*Math.PI);if(lr)return!1;var u={x:t+n*Math.cos(l),y:e+n*Math.sin(l)};return al(u.x,u.y,a,s)<=o/2}var aj=ne.vs,aq=(0,tf.pi)({hasArc:function(t){for(var e=!1,n=t.length,i=0;i0&&i.push(r),{polygons:n,polylines:i}},isPointInStroke:function(t,e,n,i,r){for(var o=!1,a=e/2,s=0;sA?d:A;e7(I,I,aj(null,[["t",-T,-f],["r",-g],["s",1/(d>A?1:d/A),1/(d>A?A/d:1)]])),o=aJ(0,0,O,S,R,e,I[0],I[1])}if(o)break}}return o}},tm.PathUtil);function aQ(t,e,n){for(var i=!1,r=0;r=i[0]&&t<=i[1]&&(e=(t-i[0])/(i[1]-i[0]),n=r)});var o=r[n];if((0,td.UM)(o)||(0,td.UM)(n))return null;var a=o.length,s=r[n+1];return ak.Ll.pointAt(o[a-2],o[a-1],s[1],s[2],s[3],s[4],s[5],s[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",aq.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,i=0,r=0,o=[],a=this.get("curve");if(a){if((0,td.S6)(a,function(t,r){e=a[r+1],n=t.length,e&&(i+=ak.Ll.length(t[n-2],t[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0)}),this.set("totalLength",i),0===i){this.set("tCache",[]);return}(0,td.S6)(a,function(s,l){e=a[l+1],n=s.length,e&&((t=[])[0]=r/i,r+=ak.Ll.length(s[n-2],s[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0,t[1]=r/i,o.push(t))}),this.set("tCache",o)}},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,i=e[1].currentPoint,r=e[1].startTangent;t=[],r?(t.push([n[0]-r[0],n[1]-r[1]]),t.push([n[0],n[1]])):(t.push([i[0],i[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var i=e[n-2].currentPoint,r=e[n-1].currentPoint,o=e[n-1].endTangent;t=[],o?(t.push([r[0]-o[0],r[1]-o[1]]),t.push([r[0],r[1]])):(t.push([i[0],i[1]]),t.push([r[0],r[1]]))}return t},e}(aB);function a1(t,e,n,i,r){var o=t.length;if(o<2)return!1;for(var a=0;a=i[0]&&t<=i[1]&&(e=(t-i[0])/(i[1]-i[0]),n=r)}),ak.x1.pointAt(i[n][0],i[n][1],i[n+1][0],i[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var i=0,r=[];(0,td.S6)(e,function(o,a){e[a+1]&&((t=[])[0]=i/n,i+=ak.x1.length(o[0],o[1],e[a+1][0],e[a+1][1]),t[1]=i/n,r.push(t))}),this.set("tCache",r)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(aB),a6=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){var o,a=this.attr(),s=a.x,l=a.y,u=a.width,c=a.height,E=a.radius;if(E){var h=!1;return n&&(h=aV(s+E,l,s+u-E,l,r,t,e)||aV(s+u,l+E,s+u,l+c-E,r,t,e)||aV(s+u-E,l+c,s+E,l+c,r,t,e)||aV(s,l+c-E,s,l+E,r,t,e)||aJ(s+u-E,l+E,E,1.5*Math.PI,2*Math.PI,r,t,e)||aJ(s+u-E,l+c-E,E,0,.5*Math.PI,r,t,e)||aJ(s+E,l+c-E,E,.5*Math.PI,Math.PI,r,t,e)||aJ(s+E,l+E,E,Math.PI,1.5*Math.PI,r,t,e)),!h&&i&&(h=az(this,t,e)),h}var p=r/2;return i&&n?au(s-p,l-p,u+p,c+p,t,e):i?au(s,l,u,c,t,e):n?au(s-(o=r/2),l-o,u,r,t,e)||au(s+u-o,l-o,r,c,t,e)||au(s+o,l+c-o,u,r,t,e)||au(s-o,l+o,r,c,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,i=e.y,r=e.width,o=e.height,a=e.radius;if(t.beginPath(),0===a)t.rect(n,i,r,o);else{var s,l,u,c,E=(s=0,l=0,u=0,c=0,(0,td.kJ)(a)?1===a.length?s=l=u=c=a[0]:2===a.length?(s=u=a[0],l=c=a[1]):3===a.length?(s=a[0],l=c=a[1],u=a[2]):(s=a[0],l=a[1],u=a[2],c=a[3]):s=l=u=c=a,[s,l,u,c]),h=E[0],p=E[1],T=E[2],f=E[3];t.moveTo(n+h,i),t.lineTo(n+r-p,i),0!==p&&t.arc(n+r-p,i+p,p,-Math.PI/2,0),t.lineTo(n+r,i+o-T),0!==T&&t.arc(n+r-T,i+o-T,T,0,Math.PI/2),t.lineTo(n+f,i+o),0!==f&&t.arc(n+f,i+o-f,f,Math.PI/2,Math.PI),t.lineTo(n,i+h),0!==h&&t.arc(n+h,i+h,h,Math.PI,1.5*Math.PI),t.closePath()}},e}(aB),a3=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=(0,tm.assembleFont)(t)},e.prototype._setText=function(t){var e=null;(0,td.HD)(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,i){t.prototype.onAttrChange.call(this,e,n,i),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var i,r=this.attrs,o=r.textBaseline,a=r.x,s=r.y,l=1*r.fontSize,u=this._getSpaceingY(),c=(0,tm.getTextHeight)(r.text,r.fontSize,r.lineHeight);(0,td.S6)(e,function(e,r){i=s+r*(u+l)-c+l,"middle"===o&&(i+=c-l-(c-l)/2),"top"===o&&(i+=c-l),(0,td.UM)(e)||(n?t.fillText(e,a,i):t.strokeText(e,a,i))})},e.prototype._drawText=function(t,e){var n=this.attr(),i=n.x,r=n.y,o=this.get("textArr");if(o)this._drawTextArr(t,o,e);else{var a=n.text;(0,td.UM)(a)||(e?t.fillText(a,i,r):t.strokeText(a,i,r))}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,i=e.opacity,r=e.strokeOpacity,o=e.fillOpacity;this.isStroke()&&n>0&&((0,td.UM)(r)||1===r||(t.globalAlpha=i),this.stroke(t)),this.isFill()&&((0,td.UM)(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=i)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(aB);function a4(t,e,n){var i=t.getTotalMatrix();if(i){var r=function(t,e){if(e){var n=(0,tm.invert)(e);return(0,tm.multiplyVec2)(n,t)}return t}([e,n,1],i);return[r[0],r[1]]}return[e,n]}function a8(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!(0,tm.isAllowCapture)(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var i=a4(t,e,n),r=i[0],o=i[1];if(t.isClipped(r,o))return!1}var a=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=a.minX&&e<=a.maxX&&n>=a.minY&&n<=a.maxY}var a9=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.renderer="canvas",e.autoDraw=!0,e.localRefresh=!0,e.refreshElements=[],e.clipView=!0,e.quickHit=!1,e},e.prototype.onCanvasChange=function(t){("attr"===t||"sort"===t||"changeSize"===t)&&(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return tc},e.prototype.getGroupBase=function(){return aF},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||(window?window.devicePixelRatio:1);return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var i=this.get("context"),r=this.get("el"),o=this.getPixelRatio();r.width=o*e,r.height=o*n,o>1&&i.scale(o,o)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){return this.get("quickHit")?function t(e,n,i){if(!a8(e,n,i))return null;for(var r=null,o=e.getChildren(),a=o.length,s=a-1;s>=0;s--){var l=o[s];if(l.isGroup())r=t(l,n,i);else if(a8(l,n,i)){var u=a4(l,n,i),c=u[0],E=u[1];l.isInShape(c,E)&&(r=l)}if(r)break}return r}(this,e,n):t.prototype.getShape.call(this,e,n,null)},e.prototype._getRefreshRegion=function(){var t,e,n=this.get("refreshElements"),i=this.getViewRange();return n.length&&n[0]===this?e=i:(e=function(t){if(!t.length)return null;var e=[],n=[],i=[],r=[];return(0,td.S6)(t,function(t){var o=function(t){var e;if(t.destroyed)e=t._cacheCanvasBBox;else{var n=t.get("cacheCanvasBBox"),i=n&&!!(n.width&&n.height),r=t.getCanvasBBox(),o=r&&!!(r.width&&r.height);i&&o?e=n&&r?{minX:Math.min(n.minX,r.minX),minY:Math.min(n.minY,r.minY),maxX:Math.max(n.maxX,r.maxX),maxY:Math.max(n.maxY,r.maxY)}:n||r:i?e=n:o&&(e=r)}return e}(t);o&&(e.push(o.minX),n.push(o.minY),i.push(o.maxX),r.push(o.maxY))}),{minX:(0,td.VV)(e),minY:(0,td.VV)(n),maxX:(0,td.Fp)(i),maxY:(0,td.Fp)(r)}}(n))&&(e.minX=Math.floor(e.minX),e.minY=Math.floor(e.minY),e.maxX=Math.ceil(e.maxX),e.maxY=Math.ceil(e.maxY),e.maxY+=1,this.get("clipView"))&&(e=(t=e)&&i&&ac(t,i)?{minX:Math.max(t.minX,i.minX),minY:Math.max(t.minY,i.minY),maxX:Math.min(t.maxX,i.maxX),maxY:Math.min(t.maxY,i.maxY)}:null),e},e.prototype.refreshElement=function(t){this.get("refreshElements").push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&((0,td.VS)(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),aM(t,this),aP(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t,e,n=this.get("context"),i=this.get("refreshElements"),r=this.getChildren(),o=this._getRefreshRegion();o?(n.clearRect(o.minX,o.minY,o.maxX-o.minX,o.maxY-o.minY),n.save(),n.beginPath(),n.rect(o.minX,o.minY,o.maxX-o.minX,o.maxY-o.minY),n.clip(),aM(n,this),t=this,e=t.get("refreshElements"),(0,td.S6)(e,function(e){if(e!==t)for(var n=e.cfg.parent;n&&n!==t&&!n.cfg.refresh;)n.cfg.refresh=!0,n=n.cfg.parent}),e[0]===t?aD(r,o):function t(e,n){for(var i=0;ie)n.insertBefore(t,r);else if(o0&&(e?"stroke"in n?this._setColor(t,"stroke",o):"strokeStyle"in n&&this._setColor(t,"stroke",a):this._setColor(t,"stroke",o||a),l&&c.setAttribute(se.strokeOpacity,l),u&&c.setAttribute(se.lineWidth,u))},e.prototype._setColor=function(t,e,n){var i=this.get("el");if(!n){i.setAttribute(se[e],"none");return}if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var r=t.find("gradient",n);r||(r=t.addGradient(n)),i.setAttribute(se[e],"url(#"+r+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var r=t.find("pattern",n);r||(r=t.addPattern(n)),i.setAttribute(se[e],"url(#"+r+")")}else i.setAttribute(se[e],n)},e.prototype.shadow=function(t,e){var n=this.attr(),i=e||n,r=i.shadowOffsetX,o=i.shadowOffsetY,a=i.shadowBlur,s=i.shadowColor;(r||o||a||s)&&function(t,e){var n=t.cfg.el,i=t.attr(),r={dx:i.shadowOffsetX,dy:i.shadowOffsetY,blur:i.shadowBlur,color:i.shadowColor};if(r.dx||r.dy||r.blur||r.color){var o=e.find("filter",r);o||(o=e.addShadow(r)),n.setAttribute("filter","url(#"+o+")")}else n.removeAttribute("filter")}(this,t)},e.prototype.transform=function(t){var e=this.attr();(t||e).matrix&&so(this)},e.prototype.isInShape=function(t,e){return this.isPointInPath(t,e)},e.prototype.isPointInPath=function(t,e){var n=this.get("el"),i=this.get("canvas").get("el").getBoundingClientRect(),r=t+i.left,o=e+i.top,a=document.elementFromPoint(r,o);return!!(a&&a.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,e=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?e+n:0},e}(tm.AbstractShape),sE=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get("el");(0,td.S6)(e||n,function(t,e){"x"===e||"y"===e?i.setAttribute("c"+e,t):se[e]&&i.setAttribute(se[e],t)})},e}(sc),sh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}return(0,tf.ZT)(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get("el");if((0,td.S6)(e||n,function(t,e){se[e]&&i.setAttribute(se[e],t)}),"function"==typeof n.html){var r=n.html.call(this,n);if(r instanceof Element||r instanceof HTMLDocument){for(var o=i.childNodes,a=o.length-1;a>=0;a--)i.removeChild(o[a]);i.appendChild(r)}else i.innerHTML=r}else i.innerHTML=n.html},e}(sc),sp=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get("el");(0,td.S6)(e||n,function(t,e){"x"===e||"y"===e?i.setAttribute("c"+e,t):se[e]&&i.setAttribute(se[e],t)})},e}(sc),sT=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,i=this.attr(),r=this.get("el");(0,td.S6)(e||i,function(t,e){"img"===e?n._setImage(i.img):se[e]&&r.setAttribute(se[e],t)})},e.prototype.setAttr=function(t,e){this.attrs[t]=e,"img"===t&&this._setImage(e)},e.prototype._setImage=function(t){var e=this.attr(),n=this.get("el");if((0,td.HD)(t))n.setAttribute("href",t);else if(t instanceof window.Image)e.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&(0,td.HD)(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase())n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var i=document.createElement("canvas");i.setAttribute("width",""+t.width),i.setAttribute("height",""+t.height),i.getContext("2d").putImageData(t,0,0),e.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",i.toDataURL())}},e}(sc),sf=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get("el");(0,td.S6)(e||n,function(e,r){if("startArrow"===r||"endArrow"===r){if(e){var o=(0,td.Kn)(e)?t.addArrow(n,se[r]):t.getDefaultArrow(n,se[r]);i.setAttribute(se[r],"url(#"+o+")")}else i.removeAttribute(se[r])}else se[r]&&i.setAttribute(se[r],e)})},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,i=t.x2,r=t.y2;return ak.x1.length(e,n,i,r)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,i=e.y1,r=e.x2,o=e.y2;return ak.x1.pointAt(n,i,r,o,t)},e}(sc),sd={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,-(2*n),0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var i=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+i],["L",t,e-i],["L",t+n,e+i],["z"]]},triangleDown:function(t,e,n){var i=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-i],["L",t+n,e-i],["L",t,e+i],["Z"]]}},sA={get:function(t){return sd[t]},register:function(t,e){sd[t]=e},remove:function(t){delete sd[t]},getAll:function(){return sd}},sS=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return(0,tf.ZT)(e,t),e.prototype.createPath=function(t){this.get("el").setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return(0,td.kJ)(t)?t.map(function(t){return t.join(" ")}).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,i=e.y,r=e.r||e.radius,o=e.symbol||"circle";return(t=(0,td.mf)(o)?o:sA.get(o))?t(n,i,r):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=sA,e}(sc),sR=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,i=this.attr(),r=this.get("el");(0,td.S6)(e||i,function(e,o){if("path"===o&&(0,td.kJ)(e))r.setAttribute("d",n._formatPath(e));else if("startArrow"===o||"endArrow"===o){if(e){var a=(0,td.Kn)(e)?t.addArrow(i,se[o]):t.getDefaultArrow(i,se[o]);r.setAttribute(se[o],"url(#"+a+")")}else r.removeAttribute(se[o])}else se[o]&&r.setAttribute(se[o],e)})},e.prototype._formatPath=function(t){var e=t.map(function(t){return t.join(" ")}).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var i=e?e.getPointAtLength(t*n):null;return i?{x:i.x,y:i.y}:null},e}(sc),sg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return(0,tf.ZT)(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get("el");(0,td.S6)(e||n,function(t,e){"points"===e&&(0,td.kJ)(t)&&t.length>=2?i.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):se[e]&&i.setAttribute(se[e],t)})},e}(sc),sI=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,i){t.prototype.onAttrChange.call(this,e,n,i),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get("el");(0,td.S6)(e||n,function(t,e){"points"===e&&(0,td.kJ)(t)&&t.length>=2?i.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):se[e]&&i.setAttribute(se[e],t)})},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return(0,td.UM)(e)?(this.set("totalLength",ak.aH.length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,i=this.attr().points,r=this.get("tCache");return r||(this._setTcache(),r=this.get("tCache")),(0,td.S6)(r,function(i,r){t>=i[0]&&t<=i[1]&&(e=(t-i[0])/(i[1]-i[0]),n=r)}),ak.x1.pointAt(i[n][0],i[n][1],i[n+1][0],i[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var i=0,r=[];(0,td.S6)(e,function(o,a){e[a+1]&&((t=[])[0]=i/n,i+=ak.x1.length(o[0],o[1],e[a+1][0],e[a+1][1]),t[1]=i/n,r.push(t))}),this.set("tCache",r)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(sc),sO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,i=this.attr(),r=this.get("el"),o=!1,a=["x","y","width","height","radius"];(0,td.S6)(e||i,function(t,e){-1===a.indexOf(e)||o?-1===a.indexOf(e)&&se[e]&&r.setAttribute(se[e],t):(r.setAttribute("d",n._assembleRect(i)),o=!0)})},e.prototype._assembleRect=function(t){var e,n,i,r,o=t.x,a=t.y,s=t.width,l=t.height,u=t.radius;if(!u)return"M "+o+","+a+" l "+s+",0 l 0,"+l+" l"+-s+" 0 z";var c=(e=0,n=0,i=0,r=0,(0,td.kJ)(u)?1===u.length?e=n=i=r=u[0]:2===u.length?(e=i=u[0],n=r=u[1]):3===u.length?(e=u[0],n=r=u[1],i=u[2]):(e=u[0],n=u[1],i=u[2],r=u[3]):e=n=i=r=u,{r1:e,r2:n,r3:i,r4:r});return(0,td.kJ)(u)?1===u.length?c.r1=c.r2=c.r3=c.r4=u[0]:2===u.length?(c.r1=c.r3=u[0],c.r2=c.r4=u[1]):3===u.length?(c.r1=u[0],c.r2=c.r4=u[1],c.r3=u[2]):(c.r1=u[0],c.r2=u[1],c.r3=u[2],c.r4=u[3]):c.r1=c.r2=c.r3=c.r4=u,[["M "+(o+c.r1)+","+a],["l "+(s-c.r1-c.r2)+",0"],["a "+c.r2+","+c.r2+",0,0,1,"+c.r2+","+c.r2],["l 0,"+(l-c.r2-c.r3)],["a "+c.r3+","+c.r3+",0,0,1,"+-c.r3+","+c.r3],["l "+(c.r3+c.r4-s)+",0"],["a "+c.r4+","+c.r4+",0,0,1,"+-c.r4+","+-c.r4],["l 0,"+(c.r4+c.r1-l)],["a "+c.r1+","+c.r1+",0,0,1,"+c.r1+","+-c.r1],["z"]].join(" ")},e}(sc),sy=n(43631),sv={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},sN={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},sC={left:"left",start:"left",center:"middle",right:"end",end:"end"},sm=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return(0,tf.ZT)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,tf.pi)((0,tf.pi)({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,i=this.attr(),r=this.get("el");this._setFont(),(0,td.S6)(e||i,function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?so(n):se[e]&&r.setAttribute(se[e],t)}),r.setAttribute("paint-order","stroke"),r.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,i=e.textAlign,r=(0,sy.qY)();r&&"firefox"===r.name?t.setAttribute("dominant-baseline",sN[n]||"alphabetic"):t.setAttribute("alignment-baseline",sv[n]||"baseline"),t.setAttribute("text-anchor",sC[i]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),i=n.x,r=n.textBaseline,o=void 0===r?"bottom":r;if(t){if(~t.indexOf("\n")){var a=t.split("\n"),s=a.length-1,l="";(0,td.S6)(a,function(t,e){0===e?"alphabetic"===o?l+=''+t+"":"top"===o?l+=''+t+"":"middle"===o?l+=''+t+"":"bottom"===o?l+=''+t+"":"hanging"===o&&(l+=''+t+""):l+=''+t+""}),e.innerHTML=l}else e.innerHTML=t}else e.innerHTML=""},e}(sc),sL=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,s_=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,sx=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function sM(t){var e=t.match(sx);if(!e)return"";var n="";return e.sort(function(t,e){return t=t.split(":"),e=e.split(":"),Number(t[0])-Number(e[0])}),(0,td.S6)(e,function(t){n+=''}),n}var sP=function(){function t(t){this.cfg={};var e,n,i,r,o,a,s,l,u,c,E,h,p,T,f,d,A=null,S=(0,td.EL)("gradient_");return"l"===t.toLowerCase()[0]?(e=A=sn("linearGradient"),r=sL.exec(t),o=(0,td.wQ)((0,td.c$)(parseFloat(r[1])),2*Math.PI),a=r[2],o>=0&&o<.5*Math.PI?(n={x:0,y:0},i={x:1,y:1}):.5*Math.PI<=o&&o';e.innerHTML=n},t}(),sF=function(){function t(t,e){this.cfg={};var n=sn("marker"),i=(0,td.EL)("marker_");n.setAttribute("id",i);var r=sn("path");r.setAttribute("stroke",t.stroke||"none"),r.setAttribute("fill",t.fill||"none"),n.appendChild(r),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=r,this.id=i;var o=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===o?this._setDefaultPath(e,r):(this.cfg=o,this._setMarker(t.lineWidth,r)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,i=this.cfg.path,r=this.cfg.d;(0,td.kJ)(i)&&(i=i.map(function(t){return t.join(" ")}).join("")),e.setAttribute("d",i),n.appendChild(e),r&&n.setAttribute("refX",""+r/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}(),sB=function(){function t(t){this.type="clip",this.cfg={};var e=sn("clipPath");this.el=e,this.id=(0,td.EL)("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}(),sG=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,sw=function(){function t(t){this.cfg={};var e=sn("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=sn("image");e.appendChild(n);var i=(0,td.EL)("pattern_");e.id=i,this.el=e,this.id=i,this.cfg=t;var r=sG.exec(t)[2];n.setAttribute("href",r);var o=new Image;function a(){e.setAttribute("width",""+o.width),e.setAttribute("height",""+o.height)}return r.match(/^data:/i)||(o.crossOrigin="Anonymous"),o.src=r,o.complete?a():(o.onload=a,o.src=o.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}(),sH=function(){function t(t){var e=sn("defs"),n=(0,td.EL)("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,i=null,r=0;r0&&(u[0][0]="L")),o=o.concat(u)}),o.push(["Z"])}return o}(h,s,n,i,r))}return o.path=u,o}function s2(t){var e=t.start,n=t.end;return[[e.x,n.y],[n.x,e.y]]}oK("area",{defaultShapeType:"area",getDefaultPoints:function(t){var e=t.x,n=t.y0;return((0,td.kJ)(t.y)?t.y:[n,t.y]).map(function(t){return{x:e,y:t}})}}),oz("area","area",{draw:function(t,e){var n=s1(t,!1,!1,this);return e.addShape({type:"path",attrs:n,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,fill:t.color}}}});var s5=function(t){function e(e){var n=t.call(this,e)||this;n.type="area",n.shapeType="area",n.generatePoints=!0,n.startOnZero=!0;var i=e.startOnZero,r=e.sortable,o=e.showSinglePoint;return n.startOnZero=void 0===i||i,n.sortable=void 0!==r&&r,n.showSinglePoint=void 0!==o&&o,n}return(0,tf.ZT)(e,t),e.prototype.getPointsAndData=function(t){for(var e=[],n=[],i=0,r=t.length;ii&&(i=r),r=e[0]}));for(var E=this.scales[u],h=0,p=t;he&&(n=n?e/(1+i/n):0,i=e-n),r+o>e&&(r=r?e/(1+o/r):0,o=e-r),[n||0,i||0,r||0,o||0]}function s7(t,e,n){var i=[];if(n.isRect){var r=n.isTransposed?{x:n.start.x,y:e[0].y}:{x:e[0].x,y:n.start.y},o=n.isTransposed?{x:n.end.x,y:e[2].y}:{x:e[3].x,y:n.end.y},a=(0,td.U2)(t,["background","style","radius"]);if(a){var s=s9(a,Math.min(n.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,n.isTransposed?n.getWidth():n.getHeight())),l=s[0],u=s[1],c=s[2],E=s[3];i.push(["M",r.x,o.y+l]),0!==l&&i.push(["A",l,l,0,0,1,r.x+l,o.y]),i.push(["L",o.x-u,o.y]),0!==u&&i.push(["A",u,u,0,0,1,o.x,o.y+u]),i.push(["L",o.x,r.y-c]),0!==c&&i.push(["A",c,c,0,0,1,o.x-c,r.y]),i.push(["L",r.x+E,r.y]),0!==E&&i.push(["A",E,E,0,0,1,r.x,r.y-E])}else i.push(["M",r.x,r.y]),i.push(["L",o.x,r.y]),i.push(["L",o.x,o.y]),i.push(["L",r.x,o.y]),i.push(["L",r.x,r.y]);i.push(["z"])}if(n.isPolar){var h=n.getCenter(),p=i3(t,n),T=p.startAngle,f=p.endAngle;if("theta"===n.type||n.isTransposed){var d=function(t){return Math.pow(t,2)},l=Math.sqrt(d(h.x-e[0].x)+d(h.y-e[0].y)),u=Math.sqrt(d(h.x-e[2].x)+d(h.y-e[2].y));i=i5(h.x,h.y,l,n.startAngle,n.endAngle,u)}else i=i5(h.x,h.y,n.getRadius(),T,f)}return i}function lt(t,e,n){var i=[];return(0,td.UM)(e)?n?i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",(t[2].x+t[3].x)/2,(t[2].y+t[3].y)/2],["Z"]):i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",t[2].x,t[2].y],["L",t[3].x,t[3].y],["Z"]):i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",e[1].x,e[1].y],["L",e[0].x,e[0].y],["Z"]),i}function le(t){var e=t.theme,n=t.coordinate,i=t.getXScale(),r=i.values,o=t.beforeMappingData,a=r.length,s=re(t.coordinate),l=t.intervalPadding,u=t.dodgePadding,c=t.maxColumnWidth||e.maxColumnWidth,E=t.minColumnWidth||e.minColumnWidth,h=t.columnWidthRatio||e.columnWidthRatio,p=t.multiplePieWidthRatio||e.multiplePieWidthRatio,T=t.roseWidthRatio||e.roseWidthRatio;if(i.isLinear&&r.length>1){r.sort();var f=function(t,e){var n=t.length,i=t;(0,td.HD)(i[0])&&(i=t.map(function(t){return e.translate(t)}));for(var r=i[1]-i[0],o=2;oa&&(r=a)}return r}(r,i);a=(i.max-i.min)/f,r.length>a&&(a=r.length)}var d=i.range,A=1/a,S=1;if(n.isPolar?S=n.isTransposed&&a>1?p:T:(i.isLinear&&(A*=d[1]-d[0]),S=h),!(0,td.UM)(l)&&l>=0?A=(1-(a-1)*(l/s))/a:A*=S,t.getAdjust("dodge")){var R=function(t,e){if(e){var n=(0,td.xH)(t);return(0,td.I)(n,e).length}return t.length}(o,t.getAdjust("dodge").dodgeBy);!(0,td.UM)(u)&&u>=0?A=(A-u/s*(R-1))/R:(!(0,td.UM)(l)&&l>=0&&(A*=S),A/=R),A=A>=0?A:0}if(!(0,td.UM)(c)&&c>=0){var g=c/s;A>g&&(A=g)}if(!(0,td.UM)(E)&&E>=0){var I=E/s;An[1].x?(h=n[0],u=n[1],c=n[2],E=n[3],p=(s=s9(r,Math.min(h.x-u.x,u.y-c.y)))[0],d=s[1],f=s[2],T=s[3]):(T=(l=s9(r,Math.min(h.x-u.x,u.y-c.y)))[0],f=l[1],d=l[2],p=l[3])),(A=[]).push(["M",c.x,c.y+p]),0!==p&&A.push(["A",p,p,0,0,1,c.x+p,c.y]),A.push(["L",E.x-T,E.y]),0!==T&&A.push(["A",T,T,0,0,1,E.x,E.y+T]),A.push(["L",h.x,h.y-f]),0!==f&&A.push(["A",f,f,0,0,1,h.x-f,h.y]),A.push(["L",u.x+d,u.y]),0!==d&&A.push(["A",d,d,0,0,1,u.x,u.y-d]),A.push(["L",c.x,c.y+p]),A.push(["z"]),m=A):m=this.parsePath((S=t.points,R=L.lineCap,I=(g=this.coordinate).getWidth(),O=g.getHeight(),y="rect"===g.type,v=[],N=(S[2].x-S[1].x)/2,C=g.isTransposed?N*O/I:N*I/O,"round"===R?(y?(v.push(["M",S[0].x,S[0].y+C]),v.push(["L",S[1].x,S[1].y-C]),v.push(["A",N,N,0,0,1,S[2].x,S[2].y-C]),v.push(["L",S[3].x,S[3].y+C]),v.push(["A",N,N,0,0,1,S[0].x,S[0].y+C])):(v.push(["M",S[0].x,S[0].y]),v.push(["L",S[1].x,S[1].y]),v.push(["A",N,N,0,0,1,S[2].x,S[2].y]),v.push(["L",S[3].x,S[3].y]),v.push(["A",N,N,0,0,1,S[0].x,S[0].y])),v.push(["z"])):v=s8(S),v));var D=_.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},L),{path:m}),name:"interval"});return x?_:D},getMarker:function(t){var e=t.color;return t.isInPolar?{symbol:"circle",style:{r:4.5,fill:e}}:{symbol:"square",style:{r:4,fill:e}}}});var ln=function(t){function e(e){var n=t.call(this,e)||this;n.type="interval",n.shapeType="interval",n.generatePoints=!0;var i=e.background;return n.background=i,n}return(0,tf.ZT)(e,t),e.prototype.createShapePointsCfg=function(e){var n,i=t.prototype.createShapePointsCfg.call(this,e),r=this.getAttribute("size");return r?n=this.getAttributeValues(r,e)[0]/re(this.coordinate):(this.defaultSize||(this.defaultSize=le(this)),n=this.defaultSize),i.size=n,i},e.prototype.adjustScale=function(){t.prototype.adjustScale.call(this);var e,n=this.getYScale();if("theta"===this.coordinate.type)n.change({nice:!1,min:0,max:(e=n.values.filter(function(t){return!(0,td.UM)(t)&&!isNaN(t)}),Math.max.apply(Math,(0,tf.ev)((0,tf.ev)([],e,!1),[(0,td.UM)(n.max)?-1/0:n.max],!1)))});else{var i=this.scaleDefs,r=n.field,o=n.min,a=n.max;"time"!==n.type&&(o>0&&!(0,td.U2)(i,[r,"min"])&&n.change({min:0}),a<=0&&!(0,td.U2)(i,[r,"max"])&&n.change({max:0}))}},e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return n.background=this.background,n},e}(oq),li=function(t){function e(e){var n=t.call(this,e)||this;n.type="line";var i=e.sortable;return n.sortable=void 0!==i&&i,n}return(0,tf.ZT)(e,t),e}(s0),lr=["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"];function lo(t,e,n,i,r){var o=sZ(e,r,!r,"r"),a=t.parsePoints(e.points),s=a[0];if(e.isStack)s=a[1];else if(a.length>1){for(var l=n.addGroup(),u=0;u2?"weight":"normal";if(t.isInCircle){var a,s,l,u,c,E,h,p={x:0,y:1};return"normal"===o?(a=r[0],s=lE(r[1],p),(l=[["M",a.x,a.y]]).push(s),n=l):(i.fill=i.stroke,c=lE((u=r)[1],p),E=lE(u[3],p),(h=[["M",u[0].x,u[0].y]]).push(E),h.push(["L",u[3].x,u[3].y]),h.push(["L",u[2].x,u[2].y]),h.push(c),h.push(["L",u[1].x,u[1].y]),h.push(["L",u[0].x,u[0].y]),h.push(["Z"]),n=h),n=this.parsePath(n),e.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},i),{path:n})})}if("normal"===o)return n=i6(((r=this.parsePoints(r))[1].x+r[0].x)/2,r[0].y,Math.abs(r[1].x-r[0].x)/2,Math.PI,2*Math.PI),e.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},i),{path:n})});var T=lc(r[1],r[3]),f=lc(r[2],r[0]);return n=[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],T,["L",r[3].x,r[3].y],["L",r[2].x,r[2].y],f,["Z"]],n=this.parsePath(n),i.fill=i.stroke,e.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},i),{path:n})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}}),oz("edge","smooth",{draw:function(t,e){var n,i,r,o=sZ(t,!0,!1,"lineWidth"),a=t.points,s=this.parsePath((i=lc(n=a[0],a[1]),(r=[["M",n.x,n.y]]).push(i),r));return e.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},o),{path:s})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}});var lh=1/3;oz("edge","vhv",{draw:function(t,e){var n,i,r,o,a=sZ(t,!0,!1,"lineWidth"),s=t.points,l=this.parsePath((n=s[0],i=s[1],(r=[]).push({x:n.x,y:n.y*(1-lh)+i.y*lh}),r.push({x:i.x,y:n.y*(1-lh)+i.y*lh}),r.push(i),o=[["M",n.x,n.y]],(0,td.S6)(r,function(t){o.push(["L",t.x,t.y])}),o));return e.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},a),{path:l})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}}),oz("interval","funnel",{getPoints:function(t){return t.size=2*t.size,s4(t)},draw:function(t,e){var n=sZ(t,!1,!0),i=this.parsePath(lt(t.points,t.nextPoints,!1));return e.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},n),{path:i}),name:"interval"})},getMarker:function(t){return{symbol:"square",style:{r:4,fill:t.color}}}}),oz("interval","hollow-rect",{draw:function(t,e){var n=sZ(t,!0,!1),i=e,r=null==t?void 0:t.background;if(r){i=e.addGroup();var o=s$(t),a=s7(t,this.parsePoints(t.points),this.coordinate);i.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},o),{path:a}),zIndex:-1,name:oB})}var s=this.parsePath(s8(t.points)),l=i.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},n),{path:s}),name:"interval"});return r?i:l},getMarker:function(t){var e=t.color;return t.isInPolar?{symbol:"circle",style:{r:4.5,stroke:e,fill:null}}:{symbol:"square",style:{r:4,stroke:e,fill:null}}}}),oz("interval","line",{getPoints:function(t){var e,n,i;return e=t.x,n=t.y,i=t.y0,(0,td.kJ)(n)?n.map(function(t,n){return{x:(0,td.kJ)(e)?e[n]:e,y:t}}):[{x:e,y:i},{x:e,y:n}]},draw:function(t,e){var n=sZ(t,!0,!1,"lineWidth"),i=i9((0,tf.pi)({},n),["fill"]),r=this.parsePath(s8(t.points,!1));return e.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},i),{path:r}),name:"interval"})},getMarker:function(t){return{symbol:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]},style:{r:5,stroke:t.color}}}}),oz("interval","pyramid",{getPoints:function(t){return t.size=2*t.size,s4(t)},draw:function(t,e){var n=sZ(t,!1,!0),i=this.parsePath(lt(t.points,t.nextPoints,!0));return e.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},n),{path:i}),name:"interval"})},getMarker:function(t){return{symbol:"square",style:{r:4,fill:t.color}}}}),oz("interval","tick",{getPoints:function(t){var e,n,i,r,o,a,s,l;return i=t.x,r=t.y,o=t.y0,a=t.size,(0,td.kJ)(r)?(e=r[0],n=r[1]):(e=o,n=r),s=i+a/2,l=i-a/2,[{x:i,y:e},{x:i,y:n},{x:l,y:e},{x:s,y:e},{x:l,y:n},{x:s,y:n}]},draw:function(t,e){var n,i=sZ(t,!0,!1),r=this.parsePath([["M",(n=t.points)[0].x,n[0].y],["L",n[1].x,n[1].y],["M",n[2].x,n[2].y],["L",n[3].x,n[3].y],["M",n[4].x,n[4].y],["L",n[5].x,n[5].y]]);return e.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},i),{path:r}),name:"interval"})},getMarker:function(t){return{symbol:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},style:{r:5,stroke:t.color}}}});var lp=function(t,e,n){var i,r=t.x,o=t.y,a=e.x,s=e.y;switch(n){case"hv":i=[{x:a,y:o}];break;case"vh":i=[{x:r,y:s}];break;case"hvh":var l=(a+r)/2;i=[{x:l,y:o},{x:l,y:s}];break;case"vhv":var u=(o+s)/2;i=[{x:r,y:u},{x:a,y:u}]}return i};function lT(t){var e=(0,td.kJ)(t)?t:[t],n=e[0],i=e[e.length-1],r=e.length>1?e[1]:n,o=e.length>3?e[3]:i,a=e.length>2?e[2]:r;return{min:n,max:i,min1:r,max1:o,median:a}}function lf(t,e,n){var i,r=n/2;if((0,td.kJ)(e)){var o=lT(e),a=o.min,s=o.max,l=o.median,u=o.min1,c=o.max1,E=t-r,h=t+r;i=[[E,s],[h,s],[t,s],[t,c],[E,u],[E,c],[h,c],[h,u],[t,u],[t,a],[E,a],[h,a],[E,l],[h,l]]}else{e=(0,td.UM)(e)?.5:e;var p=lT(t),a=p.min,s=p.max,l=p.median,u=p.min1,c=p.max1,T=e-r,f=e+r;i=[[a,T],[a,f],[a,e],[u,e],[u,T],[u,f],[c,f],[c,T],[c,e],[s,e],[s,T],[s,f],[l,T],[l,f]]}return i.map(function(t){return{x:t[0],y:t[1]}})}function ld(t,e,n){var i,r=function(t,e,n){if((0,td.HD)(t))return t.padEnd(e,n);if((0,td.kJ)(t)){var i=t.length;if(i1){for(var o=e.addGroup(),a=0;a0?"left":"right");break;case"left":t.x=s,t.y=(r+a)/2,t.textAlign=(0,td.U2)(t,"textAlign",p>0?"left":"right");break;case"bottom":u&&(t.x=(o+s)/2),t.y=a,t.textAlign=(0,td.U2)(t,"textAlign","center"),t.textBaseline=(0,td.U2)(t,"textBaseline",p>0?"bottom":"top");break;case"middle":u&&(t.x=(o+s)/2),t.y=(r+a)/2,t.textAlign=(0,td.U2)(t,"textAlign","center"),t.textBaseline=(0,td.U2)(t,"textBaseline","middle");break;case"top":u&&(t.x=(o+s)/2),t.y=r,t.textAlign=(0,td.U2)(t,"textAlign","center"),t.textBaseline=(0,td.U2)(t,"textBaseline",p>0?"bottom":"top")}},e}(o4),lS=Math.PI/2,lR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getLabelOffset=function(t){var e=this.getCoordinate(),n=0;if((0,td.hj)(t))n=t;else if((0,td.HD)(t)&&-1!==t.indexOf("%")){var i=e.getRadius();e.innerRadius>0&&(i*=1-e.innerRadius),n=.01*parseFloat(t)*i}return n},e.prototype.getLabelItems=function(e){var n=t.prototype.getLabelItems.call(this,e),i=this.geometry.getYScale();return(0,td.UI)(n,function(t){if(t&&i){var e=i.scale((0,td.U2)(t.data,i.field));return(0,tf.pi)((0,tf.pi)({},t),{percent:e})}return t})},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate();if(t.labelEmit)e=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(n.isTransposed){var i=n.getCenter(),r=t.offset;e=1>Math.abs(t.x-i.x)?"center":t.angle>Math.PI||t.angle<=0?r>0?"left":"right":r>0?"right":"left"}else e="center";return e},e.prototype.getLabelPoint=function(t,e,n){var i,r=1,o=t.content[n];this.isToMiddle(e)?i=this.getMiddlePoint(e.points):(1===t.content.length&&0===n?n=1:0===n&&(r=-1),i=this.getArcPoint(e,n));var a=t.offset*r,s=this.getPointAngle(i),l=t.labelEmit,u=this.getCirclePoint(s,a,i,l);return 0===u.r?u.content="":(u.content=o,u.angle=s,u.color=e.color),u.rotate=t.autoRotate?this.getLabelRotate(s,a,l):t.rotate,u.start={x:i.x,y:i.y},u},e.prototype.getArcPoint=function(t,e){return(void 0===e&&(e=0),(0,td.kJ)(t.x)||(0,td.kJ)(t.y))?{x:(0,td.kJ)(t.x)?t.x[e]:t.x,y:(0,td.kJ)(t.y)?t.y[e]:t.y}:{x:t.x,y:t.y}},e.prototype.getPointAngle=function(t){return rr(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,e,n,i){var r=this.getCoordinate(),o=r.getCenter(),a=rn(r,n);if(0===a)return(0,tf.pi)((0,tf.pi)({},o),{r:a});var s=t;return r.isTransposed&&a>e&&!i?s=t+2*Math.asin(e/(2*a)):a+=e,{x:o.x+a*Math.cos(s),y:o.y+a*Math.sin(s),r:a}},e.prototype.getLabelRotate=function(t,e,n){var i=t+lS;return n&&(i-=lS),i&&(i>lS?i-=Math.PI:i<-lS&&(i+=Math.PI)),i},e.prototype.getMiddlePoint=function(t){var e=this.getCoordinate(),n=t.length,i={x:0,y:0};return(0,td.S6)(t,function(t){i.x+=t.x,i.y+=t.y}),i.x/=n,i.y/=n,i=e.convert(i)},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(o4),lg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.defaultLayout="distribute",e}return(0,tf.ZT)(e,t),e.prototype.getDefaultLabelCfg=function(e,n){var i=t.prototype.getDefaultLabelCfg.call(this,e,n);return(0,td.b$)({},i,(0,td.U2)(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(e){return t.prototype.getLabelOffset.call(this,e)||0},e.prototype.getLabelRotate=function(t,e,n){var i;return e<0&&((i=t)>Math.PI/2&&(i-=Math.PI),i<-Math.PI/2&&(i+=Math.PI)),i},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate().getCenter();return e=t.angle<=Math.PI/2&&t.x>=n.x?"left":"right",t.offset<=0&&(e="right"===e?"left":"right"),e},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var e,n=this.getCoordinate(),i={x:(0,td.kJ)(t.x)?t.x[0]:t.x,y:t.y[0]},r={x:(0,td.kJ)(t.x)?t.x[1]:t.x,y:t.y[1]},o=rr(n,i);if(t.points&&t.points[0].y===t.points[1].y)e=o;else{var a=rr(n,r);o>=a&&(a+=2*Math.PI),e=o+(a-o)/2}return e},e.prototype.getCirclePoint=function(t,e){var n=this.getCoordinate(),i=n.getCenter(),r=n.getRadius()+e;return(0,tf.pi)((0,tf.pi)({},i2(i.x,i.y,r,t)),{angle:t,r:r})},e}(lR);function lI(t,e,n){var i,r=t.filter(function(t){return!t.invisible});r.sort(function(t,e){return t.y-e.y});var o=!0,a=n.minY,s=Math.abs(a-n.maxY),l=0,u=Number.MIN_VALUE,c=r.map(function(t){return t.y>l&&(l=t.y),t.ys&&(s=l-a);o;)for(c.forEach(function(t){var e=(Math.min.apply(u,t.targets)+Math.max.apply(u,t.targets))/2;t.pos=Math.min(Math.max(u,e-t.size/2),s-t.size),t.pos=Math.max(0,t.pos)}),o=!1,i=c.length;i--;)if(i>0){var E=c[i-1],h=c[i];E.pos+E.size>h.pos&&(E.size+=h.size,E.targets=E.targets.concat(h.targets),E.pos+E.size>s&&(E.pos=s-E.size),c.splice(i,1),o=!0)}i=0,c.forEach(function(t){var n=a+e/2;t.targets.forEach(function(){r[i].y=t.pos+n,n+=e,i++})})}var lO=function(){function t(t){void 0===t&&(t={}),this.bitmap={};var e=t.xGap,n=t.yGap;this.xGap=void 0===e?1:e,this.yGap=void 0===n?8:n}return t.prototype.hasGap=function(t){for(var e=!0,n=this.bitmap,i=Math.round(t.minX),r=Math.round(t.maxX),o=Math.round(t.minY),a=Math.round(t.maxY),s=i;s<=r;s+=1){if(!n[s]){n[s]={};continue}if(s===i||s===r){for(var l=o;l<=a;l++)if(n[s][l]){e=!1;break}}else if(n[s][o]||n[s][a]){e=!1;break}}return e},t.prototype.fillGap=function(t){for(var e=this.bitmap,n=Math.round(t.minX),i=Math.round(t.maxX),r=Math.round(t.minY),o=Math.round(t.maxY),a=n;a<=i;a+=1)e[a]||(e[a]={});for(var a=n;a<=i;a+=this.xGap){for(var s=r;s<=o;s+=this.yGap)e[a][s]=!0;e[a][o]=!0}if(1!==this.yGap)for(var a=r;a<=o;a+=1)e[n][a]=!0,e[i][a]=!0;if(1!==this.xGap)for(var a=n;a<=i;a+=1)e[a][r]=!0,e[a][o]=!0},t.prototype.destroy=function(){this.bitmap={}},t}(),ly=nr.AK;function lv(t){if(t.length>4)return[];var e=function(t,e){return[e.x-t.x,e.y-t.y]};return[e(t[0],t[1]),e(t[1],t[2])]}function lN(t,e,n){void 0===e&&(e=0),void 0===n&&(n={x:0,y:0});var i=t.x,r=t.y;return{x:(i-n.x)*Math.cos(-e)+(r-n.y)*Math.sin(-e)+n.x,y:(n.x-i)*Math.sin(-e)+(r-n.y)*Math.cos(-e)+n.y}}function lC(t){var e=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],n=t.rotation;return n?[lN(e[0],n,e[0]),lN(e[1],n,e[0]),lN(e[2],n,e[0]),lN(e[3],n,e[0])]:e}function lm(t,e){if(t.length>4)return{min:0,max:0};var n=[];return t.forEach(function(t){n.push(ly([t.x,t.y],e))}),{min:Math.min.apply(Math,n),max:Math.max.apply(Math,n)}}function lL(t){return(0,td.hj)(t)&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0}function l_(t){return Object.values(t).every(lL)}var lx={"#5B8FF9":!0},lM=function(t){var e=tQ.toRGB(t).toUpperCase();if(lx[e])return lx[e];var n=tQ.rgb2arr(e);return(299*n[0]+587*n[1]+114*n[2])/1e3<128};function lP(t,e,n){return t.some(function(t){return n(t,e)})}function lD(t,e){return lP(t,e,function(t,e){var n,i,r=o2(t),o=o2(e);return n=r.getCanvasBBox(),i=o.getCanvasBBox(),Math.max(0,Math.min(n.x+n.width+2,i.x+i.width+2)-Math.max(n.x-2,i.x-2))*Math.max(0,Math.min(n.y+n.height+2,i.y+i.height+2)-Math.max(n.y-2,i.y-2))>0})}function lU(t,e,n){return t.some(function(t){return n(t,e)})}function lb(t,e){return lU(t,e,function(t,e){var n,i,r=o2(t),o=o2(e);return n=r.getCanvasBBox(),i=o.getCanvasBBox(),Math.max(0,Math.min(n.x+n.width+2,i.x+i.width+2)-Math.max(n.x-2,i.x-2))*Math.max(0,Math.min(n.y+n.height+2,i.y+i.height+2)-Math.max(n.y-2,i.y-2))>0})}var lF=(0,td.HP)(function(t,e){void 0===e&&(e={});var n=e.fontSize,i=e.fontFamily,r=e.fontWeight,o=e.fontStyle,a=e.fontVariant,s=(X||(X=document.createElement("canvas").getContext("2d")),X);return s.font=[o,a,r,n+"px",i].join(" "),s.measureText((0,td.HD)(t)?t:"").width},function(t,e){return void 0===e&&(e={}),(0,tf.ev)([t],(0,td.VO)(e),!0).join("")}),lB=function(t,e,n){var i,r,o,a=lF("...",n);i=(0,td.HD)(t)?t:(0,td.BB)(t);var s=e,l=[];if(lF(t,n)<=e)return t;for(;!((o=lF(r=i.substr(0,16),n))+a>s)||!(o>s);)if(l.push(r),s-=o,!(i=i.substr(16)))return l.join("");for(;!((o=lF(r=i.substr(0,1),n))+a>s);)if(l.push(r),s-=o,!(i=i.substr(1)))return l.join("");return l.join("")+"..."};function lG(t,e,n,i,r){var o,a,s,l,u,c,E=n.start,h=n.end,p=n.getWidth(),T=n.getHeight();"y"===r?(u=E.x+p/2,c=i.yE.x?i.x:E.x,c=E.y+T/2):"xy"===r&&(n.isPolar?(u=n.getCenter().x,c=n.getCenter().y):(u=(E.x+h.x)/2,c=(E.y+h.y)/2));var f=(s=(o=[u,c])[0],l=o[1],t.applyToMatrix([s,l,1]),"x"===r?(t.setMatrix(ne.vs(t.getMatrix(),[["t",-s,-l],["s",.01,1],["t",s,l]])),a=ne.vs(t.getMatrix(),[["t",-s,-l],["s",100,1],["t",s,l]])):"y"===r?(t.setMatrix(ne.vs(t.getMatrix(),[["t",-s,-l],["s",1,.01],["t",s,l]])),a=ne.vs(t.getMatrix(),[["t",-s,-l],["s",1,100],["t",s,l]])):"xy"===r&&(t.setMatrix(ne.vs(t.getMatrix(),[["t",-s,-l],["s",.01,.01],["t",s,l]])),a=ne.vs(t.getMatrix(),[["t",-s,-l],["s",100,100],["t",s,l]])),a);t.animate({matrix:f},e)}function lw(t,e){var n,i=ag(t,e),r=i.startAngle,o=i.endAngle;return!(0,td.vQ)(r,-(.5*Math.PI))&&r<-(.5*Math.PI)&&(r+=2*Math.PI),!(0,td.vQ)(o,-(.5*Math.PI))&&o<-(.5*Math.PI)&&(o+=2*Math.PI),0===e[5]&&(r=(n=[o,r])[0],o=n[1]),(0,td.vQ)(r,1.5*Math.PI)&&(r=-.5*Math.PI),(0,td.vQ)(o,-.5*Math.PI)&&(o=1.5*Math.PI),{startAngle:r,endAngle:o}}function lH(t){var e;return"M"===t[0]||"L"===t[0]?e=[t[1],t[2]]:("a"===t[0]||"A"===t[0]||"C"===t[0])&&(e=[t[t.length-2],t[t.length-1]]),e}function lY(t){var e,n,i,r=t.filter(function(t){return"A"===t[0]||"a"===t[0]});if(0===r.length)return{startAngle:0,endAngle:0,radius:0,innerRadius:0};var o=r[0],a=r.length>1?r[1]:r[0],s=t.indexOf(o),l=t.indexOf(a),u=lH(t[s-1]),c=lH(t[l-1]),E=lw(u,o),h=E.startAngle,p=E.endAngle,T=lw(c,a),f=T.startAngle,d=T.endAngle;(0,td.vQ)(h,f)&&(0,td.vQ)(p,d)?(n=h,i=p):(n=Math.min(h,f),i=Math.max(p,d));var A=o[1],S=r[r.length-1][1];return A=0;o--)for(var a=this.getFacetsByLevel(t,o),s=0;s=n){var r=i.parsePosition([t[a],t[o.field]]);r&&c.push(r)}if(t[a]===u)return!1}),c},e.prototype.parsePercentPosition=function(t){var e=parseFloat(t[0])/100,n=parseFloat(t[1])/100,i=this.view.getCoordinate(),r=i.start,o=i.end,a={x:Math.min(r.x,o.x),y:Math.min(r.y,o.y)};return{x:i.getWidth()*e+a.x,y:i.getHeight()*n+a.y}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),e=t.start,n=t.end,i=t.getWidth(),r=t.getHeight(),o={x:Math.min(e.x,n.x),y:Math.min(e.y,n.y)};return{x:o.x,y:o.y,minX:o.x,minY:o.y,maxX:o.x+i,maxY:o.y+r,width:i,height:r}},e.prototype.getAnnotationCfg=function(t,e,n){var i=this,r=this.view.getCoordinate(),o=this.view.getCanvas(),a={};if((0,td.UM)(e))return null;if("arc"===t){var s=e.start,l=e.end,u=(0,tf._T)(e,["start","end"]),c=this.parsePosition(s),E=this.parsePosition(l),h=rr(r,c),p=rr(r,E);h>p&&(p=2*Math.PI+p),a=(0,tf.pi)((0,tf.pi)({},u),{center:r.getCenter(),radius:rn(r,c),startAngle:h,endAngle:p})}else if("image"===t){var s=e.start,l=e.end,u=(0,tf._T)(e,["start","end"]);a=(0,tf.pi)((0,tf.pi)({},u),{start:this.parsePosition(s),end:this.parsePosition(l),src:e.src})}else if("line"===t){var s=e.start,l=e.end,u=(0,tf._T)(e,["start","end"]);a=(0,tf.pi)((0,tf.pi)({},u),{start:this.parsePosition(s),end:this.parsePosition(l),text:(0,td.U2)(e,"text",null)})}else if("region"===t){var s=e.start,l=e.end,u=(0,tf._T)(e,["start","end"]);a=(0,tf.pi)((0,tf.pi)({},u),{start:this.parsePosition(s),end:this.parsePosition(l)})}else if("text"===t){var T=this.view.getData(),f=e.position,d=e.content,u=(0,tf._T)(e,["position","content"]),A=d;(0,td.mf)(d)&&(A=d(T)),a=(0,tf.pi)((0,tf.pi)((0,tf.pi)({},this.parsePosition(f)),u),{content:A})}else if("dataMarker"===t){var f=e.position,S=e.point,R=e.line,g=e.text,I=e.autoAdjust,O=e.direction,u=(0,tf._T)(e,["position","point","line","text","autoAdjust","direction"]);a=(0,tf.pi)((0,tf.pi)((0,tf.pi)({},u),this.parsePosition(f)),{coordinateBBox:this.getCoordinateBBox(),point:S,line:R,text:g,autoAdjust:I,direction:O})}else if("dataRegion"===t){var s=e.start,l=e.end,y=e.region,g=e.text,v=e.lineLength,u=(0,tf._T)(e,["start","end","region","text","lineLength"]);a=(0,tf.pi)((0,tf.pi)({},u),{points:this.getRegionPoints(s,l),region:y,text:g,lineLength:v})}else if("regionFilter"===t){var s=e.start,l=e.end,N=e.apply,C=e.color,u=(0,tf._T)(e,["start","end","apply","color"]),m=this.view.geometries,L=[],_=function(t){t&&(t.isGroup()?t.getChildren().forEach(function(t){return _(t)}):L.push(t))};(0,td.S6)(m,function(t){N?(0,td.FX)(N,t.type)&&(0,td.S6)(t.elements,function(t){_(t.shape)}):(0,td.S6)(t.elements,function(t){_(t.shape)})}),a=(0,tf.pi)((0,tf.pi)({},u),{color:C,shapes:L,start:this.parsePosition(s),end:this.parsePosition(l)})}else if("shape"===t){var x=e.render,M=(0,tf._T)(e,["render"]);a=(0,tf.pi)((0,tf.pi)({},M),{render:function(t){if((0,td.mf)(e.render))return x(t,i.view,{parsePosition:i.parsePosition.bind(i)})}})}else if("html"===t){var P=e.html,f=e.position,M=(0,tf._T)(e,["html","position"]);a=(0,tf.pi)((0,tf.pi)((0,tf.pi)({},M),this.parsePosition(f)),{parent:o.get("el").parentNode,html:function(t){return(0,td.mf)(P)?P(t,i.view):P}})}var D=(0,td.b$)({},n,(0,tf.pi)((0,tf.pi)({},a),{top:e.top,style:e.style,offsetX:e.offsetX,offsetY:e.offsetY}));return"html"!==t&&(D.container=this.getComponentContainer(D)),D.animate=this.view.getOptions().animate&&D.animate&&(0,td.U2)(e,"animate",D.animate),D.animateOption=(0,td.b$)({},oP,D.animateOption,e.animateOption),D},e.prototype.isTop=function(t){return(0,td.U2)(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return(0,td.U2)(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var e=this.cache.get(this.getCacheKey(t));if(e){var n=t.type,i=this.getAnnotationTheme(n),r=this.getAnnotationCfg(n,t,i);i9(r,["container"]),e.component.update(r),(0,td.q9)(lQ,t.type)&&e.component.render()}else(e=this.createAnnotation(t))&&(e.component.init(),(0,td.q9)(lQ,t.type)&&e.component.render());return e},e.prototype.syncCache=function(t){var e=this,n=new Map(this.cache);return t.forEach(function(t,e){n.set(e,t)}),n.forEach(function(t,i){(0,td.sE)(e.option,function(t){return i===e.getCacheKey(t)})||(t.component.destroy(),n.delete(i))}),n},e.prototype.getCacheKey=function(t){return t},e}(om);function l1(t,e){var n=(0,td.b$)({},(0,td.U2)(t,["components","axis","common"]),(0,td.U2)(t,["components","axis",e]));return(0,td.U2)(n,["grid"],{})}function l2(t,e,n,i){var r=[],o=e.getTicks();return t.isPolar&&o.push({value:1,text:"",tickValue:""}),o.reduce(function(e,o,a){var s=o.value;if(i)r.push({points:[t.convert("y"===n?{x:0,y:s}:{x:s,y:0}),t.convert("y"===n?{x:1,y:s}:{x:s,y:1})]});else if(a){var l=(e.value+s)/2;r.push({points:[t.convert("y"===n?{x:0,y:l}:{x:l,y:0}),t.convert("y"===n?{x:1,y:l}:{x:l,y:1})]})}return o},o[0]),r}function l5(t,e,n,i,r){var o=e.values.length,a=[],s=n.getTicks();return s.reduce(function(e,n){var s=e?e.value:n.value,l=n.value,u=(s+l)/2;return"x"===r?a.push({points:[t.convert({x:i?l:u,y:0}),t.convert({x:i?l:u,y:1})]}):a.push({points:(0,td.UI)(Array(o+1),function(e,n){return t.convert({x:n/o,y:i?l:u})})}),n},s[0]),a}function l6(t,e){var n=(0,td.U2)(e,"grid");if(null===n)return!1;var i=(0,td.U2)(t,"grid");return!(void 0===n&&null===i)}var l3=["container"],l4=(0,tf.pi)((0,tf.pi)({},oP),{appear:null}),l8=function(t){function e(e){var n=t.call(this,e)||this;return n.cache=new Map,n.gridContainer=n.view.getLayer(M.BG).addGroup(),n.gridForeContainer=n.view.getLayer(M.FORE).addGroup(),n.axisContainer=n.view.getLayer(M.BG).addGroup(),n.axisForeContainer=n.view.getLayer(M.FORE).addGroup(),n}return(0,tf.ZT)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"axis"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this,e=this.view.getCoordinate();(0,td.S6)(this.getComponents(),function(n){var i,r=n.component,o=n.direction,a=n.type,s=n.extra,l=s.dim,u=s.scale,c=s.alignTick;a===D.AXIS?e.isPolar?"x"===l?i=e.isTransposed?ru(e,o):rT(e):"y"===l&&(i=e.isTransposed?rT(e):ru(e,o)):i=ru(e,o):a===D.GRID&&(i=e.isPolar?{items:e.isTransposed?"x"===l?l5(e,t.view.getYScales()[0],u,c,l):l2(e,u,l,c):"x"===l?l2(e,u,l,c):l5(e,t.view.getXScale(),u,c,l),center:t.view.getCoordinate().getCenter()}:{items:l2(e,u,l,c)}),r.update(i)})},e.prototype.update=function(){this.option=this.view.getOptions().axes;var t=new Map;this.updateXAxes(t),this.updateYAxes(t);var e=new Map;this.cache.forEach(function(n,i){t.has(i)?e.set(i,n):n.component.destroy()}),this.cache=e},e.prototype.clear=function(){t.prototype.clear.call(this),this.cache.clear(),this.gridContainer.clear(),this.gridForeContainer.clear(),this.axisContainer.clear(),this.axisForeContainer.clear()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.gridContainer.remove(!0),this.gridForeContainer.remove(!0),this.axisContainer.remove(!0),this.axisForeContainer.remove(!0)},e.prototype.getComponents=function(){var t=[];return this.cache.forEach(function(e){t.push(e)}),t},e.prototype.updateXAxes=function(t){var e=this.view.getXScale();if(e&&!e.isIdentity){var n=rf(this.option,e.field);if(!1!==n){var i=rd(n,P.BOTTOM),r=M.BG,o=this.view.getCoordinate(),a=this.getId("axis",e.field),s=this.getId("grid",e.field);if(o.isRect){var l=this.cache.get(a);if(l){var u=this.getLineAxisCfg(e,n,i);i9(u,l3),l.component.update(u),t.set(a,l)}else l=this.createLineAxis(e,n,r,i,"x"),this.cache.set(a,l),t.set(a,l);var c=this.cache.get(s);if(c){var u=this.getLineGridCfg(e,n,i,"x");i9(u,l3),c.component.update(u),t.set(s,c)}else(c=this.createLineGrid(e,n,r,i,"x"))&&(this.cache.set(s,c),t.set(s,c))}else if(o.isPolar){var l=this.cache.get(a);if(l){var u=o.isTransposed?this.getLineAxisCfg(e,n,P.RADIUS):this.getCircleAxisCfg(e,n,i);i9(u,l3),l.component.update(u),t.set(a,l)}else{if(o.isTransposed){if((0,td.o8)(n))return;l=this.createLineAxis(e,n,r,P.RADIUS,"x")}else l=this.createCircleAxis(e,n,r,i,"x");this.cache.set(a,l),t.set(a,l)}var c=this.cache.get(s);if(c){var u=o.isTransposed?this.getCircleGridCfg(e,n,P.RADIUS,"x"):this.getLineGridCfg(e,n,P.CIRCLE,"x");i9(u,l3),c.component.update(u),t.set(s,c)}else{if(o.isTransposed){if((0,td.o8)(n))return;c=this.createCircleGrid(e,n,r,P.RADIUS,"x")}else c=this.createLineGrid(e,n,r,P.CIRCLE,"x");c&&(this.cache.set(s,c),t.set(s,c))}}}}},e.prototype.updateYAxes=function(t){var e=this,n=this.view.getYScales();(0,td.S6)(n,function(n,i){if(n&&!n.isIdentity){var r=n.field,o=rf(e.option,r);if(!1!==o){var a=M.BG,s=e.getId("axis",r),l=e.getId("grid",r),u=e.view.getCoordinate();if(u.isRect){var c=rd(o,0===i?P.LEFT:P.RIGHT),E=e.cache.get(s);if(E){var h=e.getLineAxisCfg(n,o,c);i9(h,l3),E.component.update(h),t.set(s,E)}else E=e.createLineAxis(n,o,a,c,"y"),e.cache.set(s,E),t.set(s,E);var p=e.cache.get(l);if(p){var h=e.getLineGridCfg(n,o,c,"y");i9(h,l3),p.component.update(h),t.set(l,p)}else(p=e.createLineGrid(n,o,a,c,"y"))&&(e.cache.set(l,p),t.set(l,p))}else if(u.isPolar){var E=e.cache.get(s);if(E){var h=u.isTransposed?e.getCircleAxisCfg(n,o,P.CIRCLE):e.getLineAxisCfg(n,o,P.RADIUS);i9(h,l3),E.component.update(h),t.set(s,E)}else{if(u.isTransposed){if((0,td.o8)(o))return;E=e.createCircleAxis(n,o,a,P.CIRCLE,"y")}else E=e.createLineAxis(n,o,a,P.RADIUS,"y");e.cache.set(s,E),t.set(s,E)}var p=e.cache.get(l);if(p){var h=u.isTransposed?e.getLineGridCfg(n,o,P.CIRCLE,"y"):e.getCircleGridCfg(n,o,P.RADIUS,"y");i9(h,l3),p.component.update(h),t.set(l,p)}else{if(u.isTransposed){if((0,td.o8)(o))return;p=e.createLineGrid(n,o,a,P.CIRCLE,"y")}else p=e.createCircleGrid(n,o,a,P.RADIUS,"y");p&&(e.cache.set(l,p),t.set(l,p))}}}}})},e.prototype.createLineAxis=function(t,e,n,i,r){var o={component:new io(this.getLineAxisCfg(t,e,i)),layer:n,direction:i===P.RADIUS?P.NONE:i,type:D.AXIS,extra:{dim:r,scale:t}};return o.component.set("field",t.field),o.component.init(),o},e.prototype.createLineGrid=function(t,e,n,i,r){var o=this.getLineGridCfg(t,e,i,r);if(o){var a={component:new iS(o),layer:n,direction:P.NONE,type:D.GRID,extra:{dim:r,scale:t,alignTick:(0,td.U2)(o,"alignTick",!0)}};return a.component.init(),a}},e.prototype.createCircleAxis=function(t,e,n,i,r){var o={component:new ia(this.getCircleAxisCfg(t,e,i)),layer:n,direction:i,type:D.AXIS,extra:{dim:r,scale:t}};return o.component.set("field",t.field),o.component.init(),o},e.prototype.createCircleGrid=function(t,e,n,i,r){var o=this.getCircleGridCfg(t,e,i,r);if(o){var a={component:new iA(o),layer:n,direction:P.NONE,type:D.GRID,extra:{dim:r,scale:t,alignTick:(0,td.U2)(o,"alignTick",!0)}};return a.component.init(),a}},e.prototype.getLineAxisCfg=function(t,e,n){var i=(0,td.U2)(e,["top"])?this.axisForeContainer:this.axisContainer,r=this.view.getCoordinate(),o=ru(r,n),a=rA(t,e),s=rh(this.view.getTheme(),n),l=(0,td.U2)(e,["title"])?(0,td.b$)({title:{style:{text:a}}},{title:rp(this.view.getTheme(),n,e.title)},e):e,u=(0,td.b$)((0,tf.pi)((0,tf.pi)({container:i},o),{ticks:t.getTicks().map(function(t){return{id:""+t.tickValue,name:t.text,value:t.value}}),verticalFactor:r.isPolar?-1*rE(o,r.getCenter()):rE(o,r.getCenter()),theme:s}),s,l),c=this.getAnimateCfg(u),E=c.animate,h=c.animateOption;u.animateOption=h,u.animate=E;var p=rc(o),T=(0,td.U2)(u,"verticalLimitLength",p?1/3:.5);if(T<=1){var f=this.view.getCanvas().get("width"),d=this.view.getCanvas().get("height");u.verticalLimitLength=T*(p?f:d)}return u},e.prototype.getLineGridCfg=function(t,e,n,i){if(l6(rh(this.view.getTheme(),n),e)){var r=l1(this.view.getTheme(),n),o=(0,td.b$)({container:(0,td.U2)(e,["top"])?this.gridForeContainer:this.gridContainer},r,(0,td.U2)(e,"grid"),this.getAnimateCfg(e));return o.items=l2(this.view.getCoordinate(),t,i,(0,td.U2)(o,"alignTick",!0)),o}},e.prototype.getCircleAxisCfg=function(t,e,n){var i=(0,td.U2)(e,["top"])?this.axisForeContainer:this.axisContainer,r=this.view.getCoordinate(),o=t.getTicks().map(function(t){return{id:""+t.tickValue,name:t.text,value:t.value}});t.isCategory||Math.abs(r.endAngle-r.startAngle)!==2*Math.PI||o.pop();var a=rA(t,e),s=rh(this.view.getTheme(),P.CIRCLE),l=(0,td.U2)(e,["title"])?(0,td.b$)({title:{style:{text:a}}},{title:rp(this.view.getTheme(),n,e.title)},e):e,u=(0,td.b$)((0,tf.pi)((0,tf.pi)({container:i},rT(this.view.getCoordinate())),{ticks:o,verticalFactor:1,theme:s}),s,l),c=this.getAnimateCfg(u),E=c.animate,h=c.animateOption;return u.animate=E,u.animateOption=h,u},e.prototype.getCircleGridCfg=function(t,e,n,i){if(l6(rh(this.view.getTheme(),n),e)){var r=l1(this.view.getTheme(),P.RADIUS),o=(0,td.b$)({container:(0,td.U2)(e,["top"])?this.gridForeContainer:this.gridContainer,center:this.view.getCoordinate().getCenter()},r,(0,td.U2)(e,"grid"),this.getAnimateCfg(e)),a=(0,td.U2)(o,"alignTick",!0),s="x"===i?this.view.getYScales()[0]:this.view.getXScale();return o.items=l5(this.view.getCoordinate(),s,t,a,i),o}},e.prototype.getId=function(t,e){return t+"-"+e+"-"+this.view.getCoordinate().type},e.prototype.getAnimateCfg=function(t){return{animate:this.view.getOptions().animate&&(0,td.U2)(t,"animate"),animateOption:t&&t.animateOption?(0,td.b$)({},l4,t.animateOption):l4}},e}(om);function l9(t,e,n){return n===P.TOP?[t.minX+t.width/2-e.width/2,t.minY]:n===P.BOTTOM?[t.minX+t.width/2-e.width/2,t.maxY-e.height]:n===P.LEFT?[t.minX,t.minY+t.height/2-e.height/2]:n===P.RIGHT?[t.maxX-e.width,t.minY+t.height/2-e.height/2]:n===P.TOP_LEFT||n===P.LEFT_TOP?[t.tl.x,t.tl.y]:n===P.TOP_RIGHT||n===P.RIGHT_TOP?[t.tr.x-e.width,t.tr.y]:n===P.BOTTOM_LEFT||n===P.LEFT_BOTTOM?[t.bl.x,t.bl.y-e.height]:n===P.BOTTOM_RIGHT||n===P.RIGHT_BOTTOM?[t.br.x-e.width,t.br.y-e.height]:[0,0]}function l7(t,e){return(0,td.jn)(t)?!1!==t&&{}:(0,td.U2)(t,[e],t)}function ut(t){return(0,td.U2)(t,"position",P.BOTTOM)}var ue=function(t){function e(e){var n=t.call(this,e)||this;return n.container=n.view.getLayer(M.FORE).addGroup(),n}return(0,tf.ZT)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"legend"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this;this.layoutBBox=this.view.viewBBox,(0,td.S6)(this.components,function(e){var n=e.component,i=e.direction,r=ae(i),o=n.get("maxWidthRatio"),a=n.get("maxHeightRatio"),s=t.getCategoryLegendSizeCfg(r,o,a),l=n.get("maxWidth"),u=n.get("maxHeight");n.update({maxWidth:Math.min(s.maxWidth,l||0),maxHeight:Math.min(s.maxHeight,u||0)});var c=n.get("padding"),E=n.getLayoutBBox(),h=new rt(E.x,E.y,E.width,E.height).expand(c),p=l9(t.view.viewBBox,h,i),T=p[0],f=p[1],d=l9(t.layoutBBox,h,i),A=d[0],S=d[1],R=0,g=0;i.startsWith("top")||i.startsWith("bottom")?(R=T,g=S):(R=A,g=f),n.setLocation({x:R+c[3],y:g+c[0]}),t.layoutBBox=t.layoutBBox.cut(h,i)})},e.prototype.update=function(){var t=this;this.option=this.view.getOptions().legends;var e={};if((0,td.U2)(this.option,"custom")){var n="global-custom",i=this.getComponentById(n);if(i){var r=this.getCategoryCfg(void 0,void 0,void 0,this.option,!0);i9(r,["container"]),i.component.update(r),e[n]=!0}else{var o=this.createCustomLegend(void 0,void 0,void 0,this.option);if(o){o.init();var a=M.FORE,s=ut(this.option);this.components.push({id:n,component:o,layer:a,direction:s,type:D.LEGEND,extra:void 0}),e[n]=!0}}}else this.loopLegends(function(n,i,r){var o=t.getId(r.field),a=t.getComponentById(o);if(a){var s=void 0,l=l7(t.option,r.field);!1!==l&&((0,td.U2)(l,"custom")?s=t.getCategoryCfg(n,i,r,l,!0):r.isLinear?s=t.getContinuousCfg(n,i,r,l):r.isCategory&&(s=t.getCategoryCfg(n,i,r,l))),s&&(i9(s,["container"]),a.direction=ut(l),a.component.update(s),e[o]=!0)}else{var u=t.createFieldLegend(n,i,r);u&&(u.component.init(),t.components.push(u),e[o]=!0)}});var l=[];(0,td.S6)(this.getComponents(),function(t){e[t.id]?l.push(t):t.component.destroy()}),this.components=l},e.prototype.clear=function(){t.prototype.clear.call(this),this.container.clear()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.container.remove(!0)},e.prototype.getGeometries=function(t){var e=this,n=t.geometries;return(0,td.S6)(t.views,function(t){n=n.concat(e.getGeometries(t))}),n},e.prototype.loopLegends=function(t){if(this.view.getRootView()===this.view){var e=this.getGeometries(this.view),n={};(0,td.S6)(e,function(e){var i=e.getGroupAttributes();(0,td.S6)(i,function(i){var r=i.getScale(i.type);r&&"identity"!==r.type&&!n[r.field]&&(t(e,i,r),n[r.field]=!0)})})}},e.prototype.createFieldLegend=function(t,e,n){var i,r=l7(this.option,n.field),o=M.FORE,a=ut(r);if(!1!==r&&((0,td.U2)(r,"custom")?i=this.createCustomLegend(t,e,n,r):n.isLinear?i=this.createContinuousLegend(t,e,n,r):n.isCategory&&(i=this.createCategoryLegend(t,e,n,r))),i)return i.set("field",n.field),{id:this.getId(n.field),component:i,layer:o,direction:a,type:D.LEGEND,extra:{scale:n}}},e.prototype.createCustomLegend=function(t,e,n,i){var r=this.getCategoryCfg(t,e,n,i,!0);return new iN(r)},e.prototype.createContinuousLegend=function(t,e,n,i){var r=this.getContinuousCfg(t,e,n,i9(i,["value"]));return new iC(r)},e.prototype.createCategoryLegend=function(t,e,n,i){var r=this.getCategoryCfg(t,e,n,i);return new iN(r)},e.prototype.getContinuousCfg=function(t,e,n,i){var r=n.getTicks(),o=(0,td.sE)(r,function(t){return 0===t.value}),a=(0,td.sE)(r,function(t){return 1===t.value}),s=r.map(function(t){var i=t.value,r=t.tickValue,o=e.mapping(n.invert(i)).join("");return{value:r,attrValue:o,color:o,scaleValue:i}});o||s.push({value:n.min,attrValue:e.mapping(n.invert(0)).join(""),color:e.mapping(n.invert(0)).join(""),scaleValue:0}),a||s.push({value:n.max,attrValue:e.mapping(n.invert(1)).join(""),color:e.mapping(n.invert(1)).join(""),scaleValue:1}),s.sort(function(t,e){return t.value-e.value});var l={min:(0,td.YM)(s).value,max:(0,td.Z$)(s).value,colors:[],rail:{type:e.type},track:{}};"size"===e.type&&(l.track={style:{fill:"size"===e.type?this.view.getTheme().defaultColor:void 0}}),"color"===e.type&&(l.colors=s.map(function(t){return t.attrValue}));var u=this.container,c=ae(ut(i)),E=(0,td.U2)(i,"title");return E&&(E=(0,td.b$)({text:rs(n)},E)),l.container=u,l.layout=c,l.title=E,l.animateOption=oP,this.mergeLegendCfg(l,i,"continuous")},e.prototype.getCategoryCfg=function(t,e,n,i,r){var o=this.container,a=(0,td.U2)(i,"position",P.BOTTOM),s=ai(this.view.getTheme(),a),l=(0,td.U2)(s,["marker"]),u=(0,td.U2)(i,"marker"),c=ae(a),E=(0,td.U2)(s,["pageNavigator"]),h=(0,td.U2)(i,"pageNavigator"),p=r?i.items.map(function(t,e){var n=u;(0,td.mf)(n)&&(n=n(t.name,e,(0,td.b$)({},l,t)));var i=(0,td.mf)(t.marker)?t.marker(t.name,e,(0,td.b$)({},l,t)):t.marker,r=(0,td.b$)({},l,n,i);return at(r),t.marker=r,t}):an(this.view,t,e,l,u),T=(0,td.U2)(i,"title");T&&(T=(0,td.b$)({text:n?rs(n):""},T));var f=(0,td.U2)(i,"maxWidthRatio"),d=(0,td.U2)(i,"maxHeightRatio"),A=this.getCategoryLegendSizeCfg(c,f,d);A.container=o,A.layout=c,A.items=p,A.title=T,A.animateOption=oP,A.pageNavigator=(0,td.b$)({},E,h);var S=this.mergeLegendCfg(A,i,a);S.reversed&&S.items.reverse();var R=(0,td.U2)(S,"maxItemWidth");return R&&R<=1&&(S.maxItemWidth=this.view.viewBBox.width*R),S},e.prototype.mergeLegendCfg=function(t,e,n){var i=n.split("-")[0],r=ai(this.view.getTheme(),i);return(0,td.b$)({},r,t,e)},e.prototype.getId=function(t){return this.name+"-"+t},e.prototype.getComponentById=function(t){return(0,td.sE)(this.components,function(e){return e.id===t})},e.prototype.getCategoryLegendSizeCfg=function(t,e,n){void 0===e&&(e=.25),void 0===n&&(n=.25);var i=this.view.viewBBox,r=i.width,o=i.height;return"vertical"===t?{maxWidth:r*e,maxHeight:o}:{maxWidth:r,maxHeight:o*n}},e}(om),un=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=td.ZT,n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t[0],i=t[1];n.start=e,n.end=i,n.changeViewData(e,i)},n.container=n.view.getLayer(M.FORE).addGroup(),n.onChangeFn=(0,td.P2)(n.onValueChange,20,{leading:!0}),n.width=0,n.view.on(U.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(U.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return(0,tf.ZT)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"slider"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(U.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(U.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().slider;var t=this.getSliderCfg(),e=t.start,n=t.end;(0,td.UM)(this.start)&&(this.start=e,this.end=n);var i=this.view.getOptions().data;this.option&&!(0,td.xb)(i)?this.slider?this.slider=this.updateSlider():(this.slider=this.createSlider(),this.slider.component.on("sliderchange",this.onChangeFn)):this.slider&&(this.slider.component.destroy(),this.slider=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.width&&(this.measureSlider(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.start,t.end)},0)),this.slider){var e=this.view.coordinateBBox.width,n=this.slider.component.get("padding"),i=n[0],r=(n[1],n[2],n[3]),o=this.slider.component.getLayoutBBox(),a=new rt(o.x,o.y,Math.min(o.width,e),o.height).expand(n),s=this.getMinMaxText(this.start,this.end),l=s.minText,u=s.maxText,c=l9(this.view.viewBBox,a,P.BOTTOM),E=(c[0],c[1]),h=l9(this.view.coordinateBBox,a,P.BOTTOM),p=h[0];h[1],this.slider.component.update((0,tf.pi)((0,tf.pi)({},this.getSliderCfg()),{x:p+r,y:E+i,width:this.width,start:this.start,end:this.end,minText:l,maxText:u})),this.view.viewBBox=this.view.viewBBox.cut(a,P.BOTTOM)}},e.prototype.update=function(){this.render()},e.prototype.createSlider=function(){var t=this.getSliderCfg(),e=new iJ((0,tf.pi)({container:this.container},t));return e.init(),{component:e,layer:M.FORE,direction:P.BOTTOM,type:D.SLIDER}},e.prototype.updateSlider=function(){var t=this.getSliderCfg();if(this.width){var e=this.getMinMaxText(this.start,this.end),n=e.minText,i=e.maxText;t=(0,tf.pi)((0,tf.pi)({},t),{width:this.width,start:this.start,end:this.end,minText:n,maxText:i})}return this.slider.component.update(t),this.slider},e.prototype.measureSlider=function(){var t=this.getSliderCfg().width;this.width=t},e.prototype.getSliderCfg=function(){var t={height:16,start:0,end:1,minText:"",maxText:"",x:0,y:0,width:this.view.coordinateBBox.width};if((0,td.Kn)(this.option)){var e=(0,tf.pi)({data:this.getData()},(0,td.U2)(this.option,"trendCfg",{}));t=(0,td.b$)({},t,this.getThemeOptions(),this.option),t=(0,tf.pi)((0,tf.pi)({},t),{trendCfg:e})}return t.start=(0,td.uZ)(Math.min((0,td.UM)(t.start)?0:t.start,(0,td.UM)(t.end)?1:t.end),0,1),t.end=(0,td.uZ)(Math.max((0,td.UM)(t.start)?0:t.start,(0,td.UM)(t.end)?1:t.end),0,1),t},e.prototype.getData=function(){var t=this.view.getOptions().data,e=this.view.getYScales()[0],n=this.view.getGroupScales();if(n.length){var i=n[0],r=i.field,o=i.ticks;return t.reduce(function(t,n){return n[r]===o[0]&&t.push(n[e.field]),t},[])}return t.map(function(t){return t[e.field]||0})},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return(0,td.U2)(t,["components","slider","common"],{})},e.prototype.getMinMaxText=function(t,e){var n=this.view.getOptions().data,i=this.view.getXScale(),r=(0,td.I)(n,i.field),o=(0,td.dp)(n);if(!i||!o)return{};var a=(0,td.dp)(r),s=Math.floor(t*(a-1)),l=Math.floor(e*(a-1)),u=(0,td.U2)(r,[s]),c=(0,td.U2)(r,[l]),E=this.getSliderCfg().formatter;return E&&(u=E(u,n[s],s),c=E(c,n[l],l)),{minText:u,maxText:c}},e.prototype.changeViewData=function(t,e){var n=this.view.getOptions().data,i=this.view.getXScale(),r=(0,td.dp)(n);if(i&&r){var o=(0,td.I)(n,i.field),a=(0,td.dp)(o),s=Math.floor(t*(a-1)),l=Math.floor(e*(a-1));this.view.filter(i.field,function(t,e){var n=o.indexOf(t);return!(n>-1)||i8(n,s,l)}),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(om),ui=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=td.ZT,n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t.ratio,i=n.getValidScrollbarCfg().animate;n.ratio=(0,td.uZ)(e,0,1);var r=n.view.getOptions().animate;i||n.view.animate(!1),n.changeViewData(n.getScrollRange(),!0),n.view.animate(r)},n.container=n.view.getLayer(M.FORE).addGroup(),n.onChangeFn=(0,td.P2)(n.onValueChange,20,{leading:!0}),n.trackLen=0,n.thumbLen=0,n.ratio=0,n.view.on(U.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(U.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return(0,tf.ZT)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(U.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(U.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)})),this.scrollbar){var e=this.view.coordinateBBox.width,n=this.scrollbar.component.get("padding"),i=this.scrollbar.component.getLayoutBBox(),r=new rt(i.x,i.y,Math.min(i.width,e),i.height).expand(n),o=this.getScrollbarComponentCfg(),a=void 0,s=void 0;if(o.isHorizontal){var l=l9(this.view.viewBBox,r,P.BOTTOM),u=l[0],c=l[1],E=l9(this.view.coordinateBBox,r,P.BOTTOM),h=E[0],p=E[1];a=h,s=c}else{var T=l9(this.view.viewBBox,r,P.RIGHT),u=T[0],c=T[1],f=l9(this.view.viewBBox,r,P.RIGHT),h=f[0],p=f[1];a=h,s=c}a+=n[3],s+=n[0],this.trackLen?this.scrollbar.component.update((0,tf.pi)((0,tf.pi)({},o),{x:a,y:s,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update((0,tf.pi)((0,tf.pi)({},o),{x:a,y:s})),this.view.viewBBox=this.view.viewBBox.cut(r,o.isHorizontal?P.BOTTOM:P.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.setValue=function(t){this.onValueChange({ratio:t})},e.prototype.getValue=function(){return this.ratio},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return(0,td.U2)(t,["components","scrollbar","common"],{})},e.prototype.getScrollbarTheme=function(t){var e=(0,td.U2)(this.view.getTheme(),["components","scrollbar"]),n=t||{},i=n.thumbHighlightColor,r=(0,tf._T)(n,["thumbHighlightColor"]);return{default:(0,td.b$)({},(0,td.U2)(e,["default","style"],{}),r),hover:(0,td.b$)({},(0,td.U2)(e,["hover","style"],{}),{thumbColor:i})}},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),e=this.view.getYScales().slice();this.data=this.getScrollbarData(),this.step=this.getStep(),this.cnt=this.getCnt();var n=this.getScrollbarComponentCfg(),i=n.trackLen,r=n.thumbLen;this.trackLen=i,this.thumbLen=r,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=e},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*(0,td.uZ)(this.ratio,0,1)),e=Math.min(t+this.step-1,this.cnt-1);return[t,e]},e.prototype.changeViewData=function(t,e){var n=this,i=t[0],r=t[1],o=this.getValidScrollbarCfg().type,a=(0,td.I)(this.data,this.xScaleCfg.field),s="vertical"!==o?a:a.reverse();this.yScalesCfg.forEach(function(t){n.view.scale(t.field,{formatter:t.formatter,type:t.type,min:t.min,max:t.max})}),this.view.filter(this.xScaleCfg.field,function(t){var e=s.indexOf(t);return!(e>-1)||i8(e,i,r)}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,e=new iQ((0,tf.pi)((0,tf.pi)({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return e.init(),{component:e,layer:M.FORE,direction:"vertical"!==t?P.BOTTOM:P.RIGHT,type:D.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),e=this.trackLen?(0,tf.pi)((0,tf.pi)({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):(0,tf.pi)({},t);return this.scrollbar.component.update(e),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,e=this.getValidScrollbarCfg(),n=e.type,i=e.categorySize;return Math.floor(("vertical"!==n?t.width:t.height)/i)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),e=this.getScrollbarData(),n=(0,td.I)(e,t.field);return(0,td.dp)(n)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,e=t.coordinateBBox,n=t.viewBBox,i=this.getValidScrollbarCfg(),r=i.type,o=i.padding,a=i.width,s=i.height,l=i.style,u="vertical"!==r,c=o[0],E=o[1],h=o[2],p=o[3],T=u?{x:e.minX+p,y:n.maxY-s-h}:{x:n.maxX-a-E,y:e.minY+c},f=this.getStep(),d=this.getCnt(),A=u?e.width-p-E:e.height-c-h,S=Math.max(A*(0,td.uZ)(f/d,0,1),20);return(0,tf.pi)((0,tf.pi)({},this.getThemeOptions()),{x:T.x,y:T.y,size:u?s:a,isHorizontal:u,trackLen:A,thumbLen:S,thumbOffset:0,theme:this.getScrollbarTheme(l)})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:32,width:8,height:8,padding:[0,0,0,0],animate:!0,style:{}};return(0,td.Kn)(this.option)&&(t=(0,tf.pi)((0,tf.pi)({},t),this.option)),(0,td.Kn)(this.option)&&this.option.padding||(t.padding=(t.type,[0,0,0,0])),t},e.prototype.getScrollbarData=function(){var t=this.view.getCoordinate(),e=this.getValidScrollbarCfg(),n=this.view.getOptions().data||[];return t.isReflect("y")&&"vertical"===e.type&&(n=(0,tf.ev)([],n,!0).reverse()),n},e}(om),ur={fill:"#CCD6EC",opacity:.3},uo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.show=function(t){var e=this.context.view,n=this.context.event,i=e.getController("tooltip").getTooltipCfg(),r=function(t,e,n){var i=function(t,e,n){for(var i=of(t,e,n),r=0,o=t.views;r1){for(var h=i[0],p=Math.abs(e.y-h[0].y),T=0,f=i;TE.maxY&&(E=e)):(e.minXE.maxX&&(E=e)),h.x=Math.min(e.minX,h.minX),h.y=Math.min(e.minY,h.minY),h.width=Math.max(e.maxX,h.maxX)-h.x,h.height=Math.max(e.maxY,h.maxY)-h.y});var p=e.backgroundGroup,T=e.coordinateBBox,f=void 0;if(u.isRect){var d=e.getXScale(),A=t||{},S=A.appendRatio,R=A.appendWidth;(0,td.UM)(R)&&(S=(0,td.UM)(S)?d.isLinear?0:.25:S,R=u.isTransposed?S*E.height:S*c.width);var g=void 0,I=void 0,O=void 0,y=void 0;u.isTransposed?(g=T.minX,I=Math.min(E.minY,c.minY)-R,O=T.width,y=h.height+2*R):(g=Math.min(c.minX,E.minX)-R,I=T.minY,O=h.width+2*R,y=T.height),f=[["M",g,I],["L",g+O,I],["L",g+O,I+y],["L",g,I+y],["Z"]]}else{var v=(0,td.YM)(s),N=(0,td.Z$)(s),C=i3(v.getModel(),u).startAngle,m=i3(N.getModel(),u).endAngle,L=u.getCenter(),_=u.getRadius(),x=u.innerRadius*_;f=i5(L.x,L.y,_,C,m,x)}if(this.regionPath)this.regionPath.attr("path",f),this.regionPath.show();else{var M=(0,td.U2)(t,"style",ur);this.regionPath=p.addShape({type:"path",name:"active-region",capture:!1,attrs:(0,tf.pi)((0,tf.pi)({},M),{path:f})})}}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),t.prototype.destroy.call(this)},e}(rI),ua=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return(0,tf.ZT)(e,t),e.prototype.show=function(){var t=this.context,e=t.event,n=t.view;if(!n.isTooltipLocked()){var i=this.timeStamp,r=+new Date;if(r-i>(0,td.U2)(t.view.getOptions(),"tooltip.showDelay",16)){var o=this.location,a={x:e.x,y:e.y};o&&(0,td.Xy)(o,a)||this.showTooltip(n,a),this.timeStamp=r,this.location=a}}},e.prototype.hide=function(){var t=this.context.view,e=t.getController("tooltip"),n=this.context.event,i=n.clientX,r=n.clientY;e.isCursorEntered({x:i,y:r})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,e){t.showTooltip(e)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}(rI),us=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.showTooltip=function(t,e){var n=r$(t);(0,td.S6)(n,function(n){var i=rJ(t,n,e);n.showTooltip(i)})},e.prototype.hideTooltip=function(t){var e=r$(t);(0,td.S6)(e,function(t){t.hideTooltip()})},e}(ua),ul=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return(0,tf.ZT)(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context.event,e=this.timeStamp,n=+new Date;if(n-e>16){var i=this.location,r={x:t.x,y:t.y};i&&(0,td.Xy)(i,r)||this.showTooltip(r),this.timeStamp=n,this.location=r}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var e=this.context.event.target;if(e&&e.get("tip")){this.tooltip||this.renderTooltip();var n=e.get("tip");this.tooltip.update((0,tf.pi)({title:n},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,e=this.context.view,n=e.canvas,i={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},r=e.getTheme(),o=(0,td.U2)(r,["components","tooltip","domStyles"],{}),a=new iB({parent:n.get("el").parentNode,region:i,visible:!1,crosshairs:null,domStyles:(0,tf.pi)({},(0,td.b$)({},o,((t={})[im]={"max-width":"50%"},t[iL]={"word-break":"break-all"},t)))});a.init(),a.setCapture(!1),this.tooltip=a},e}(rI),uu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e}return(0,tf.ZT)(e,t),e.prototype.hasState=function(t){return t.hasState(this.stateName)},e.prototype.setElementState=function(t,e){t.setState(this.stateName,e)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.clear=function(){var t=this.context.view;this.clearViewState(t)},e.prototype.clearViewState=function(t){var e=this,n=rk(t,this.stateName);(0,td.S6)(n,function(t){e.setElementState(t,!1)})},e}(rI);function uc(t){return(0,td.U2)(t.get("delegateObject"),"item")}var uE=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreListItemStates=["unchecked"],e}return(0,tf.ZT)(e,t),e.prototype.isItemIgnore=function(t,e){return!!this.ignoreListItemStates.filter(function(n){return e.hasState(t,n)}).length},e.prototype.setStateByComponent=function(t,e,n){var i=this.context.view,r=t.get("field"),o=rY(i);this.setElementsStateByItem(o,r,e,n)},e.prototype.setStateByElement=function(t,e){this.setElementState(t,e)},e.prototype.isMathItem=function(t,e,n){var i=rq(this.context.view,e),r=rV(t,e);return!(0,td.UM)(r)&&n.name===i.getText(r)},e.prototype.setElementsStateByItem=function(t,e,n,i){var r=this;(0,td.S6)(t,function(t){r.isMathItem(t,e,n)&&t.setState(r.stateName,i)})},e.prototype.setStateEnable=function(t){var e=rD(this.context);if(e)rb(this.context)&&this.setStateByElement(e,t);else{var n=rU(this.context);if(rF(n)){var i=n.item,r=n.component;if(i&&r&&!this.isItemIgnore(i,r)){var o=this.context.event.gEvent;if(o&&o.fromShape&&o.toShape&&uc(o.fromShape)===uc(o.toShape))return;this.setStateByComponent(r,i,t)}}}},e.prototype.toggle=function(){var t=rD(this.context);if(t){var e=t.hasState(this.stateName);this.setElementState(t,!e)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(uu),uh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return(0,tf.ZT)(e,t),e.prototype.active=function(){this.setState()},e}(uE),up=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache={},e}return(0,tf.ZT)(e,t),e.prototype.getColorScale=function(t,e){var n=e.geometry.getAttribute("color");return n?t.getScaleByField(n.getFields()[0]):null},e.prototype.getLinkPath=function(t,e){var n=this.context.view.getCoordinate().isTransposed,i=t.shape.getCanvasBBox(),r=e.shape.getCanvasBBox();return n?[["M",i.minX,i.minY],["L",r.minX,r.maxY],["L",r.maxX,r.maxY],["L",i.maxX,i.minY],["Z"]]:[["M",i.maxX,i.minY],["L",r.minX,r.minY],["L",r.minX,r.maxY],["L",i.maxX,i.maxY],["Z"]]},e.prototype.addLinkShape=function(t,e,n,i){var r={opacity:.4,fill:e.shape.attr("fill")};t.addShape({type:"path",attrs:(0,tf.pi)((0,tf.pi)({},(0,td.b$)({},r,(0,td.mf)(i)?i(r,e):i)),{path:this.getLinkPath(e,n)})})},e.prototype.linkByElement=function(t,e){var n=this,i=this.context.view,r=this.getColorScale(i,t);if(r){var o=rV(t,r.field);if(!this.cache[o]){var a,s=(a=r.field,rY(i).filter(function(t){return rV(t,a)===o})),l=this.linkGroup.addGroup();this.cache[o]=l;var u=s.length;(0,td.S6)(s,function(t,i){if(i=0},e)},e}(uT),uL=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return(0,tf.ZT)(e,t),e.prototype.highlight=function(){this.setState()},e.prototype.setElementState=function(t,e){uI(rY(this.context.view),function(e){return t===e},e)},e.prototype.clear=function(){ug(this.context.view)},e}(ud),u_=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return(0,tf.ZT)(e,t),e.prototype.selected=function(){this.setState()},e}(uT),ux=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return(0,tf.ZT)(e,t),e.prototype.selected=function(){this.setState()},e}(uE),uM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return(0,tf.ZT)(e,t),e.prototype.selected=function(){this.setState()},e}(ud),uP=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e.ignoreItemStates=[],e}return(0,tf.ZT)(e,t),e.prototype.getTriggerListInfo=function(){var t=rU(this.context),e=null;return rF(t)&&(e={item:t.item,list:t.component}),e},e.prototype.getAllowComponents=function(){var t=this,e=rK(this.context.view),n=[];return(0,td.S6)(e,function(e){e.isList()&&t.allowSetStateByElement(e)&&n.push(e)}),n},e.prototype.hasState=function(t,e){return t.hasState(e,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,e=this.getAllowComponents();(0,td.S6)(e,function(e){e.clearItemsState(t.stateName)})},e.prototype.allowSetStateByElement=function(t){var e=t.get("field");if(!e)return!1;if(this.cfg&&this.cfg.componentNames){var n=t.get("name");if(-1===this.cfg.componentNames.indexOf(n))return!1}var i=rq(this.context.view,e);return i&&i.isCategory},e.prototype.allowSetStateByItem=function(t,e){var n=this.ignoreItemStates;return!n.length||0===n.filter(function(n){return e.hasState(t,n)}).length},e.prototype.setStateByElement=function(t,e,n){var i=t.get("field"),r=rq(this.context.view,i),o=rV(e,i),a=r.getText(o);this.setItemsState(t,a,n)},e.prototype.setStateEnable=function(t){var e=this,n=rD(this.context);if(n){var i=this.getAllowComponents();(0,td.S6)(i,function(i){e.setStateByElement(i,n,t)})}else{var r=rU(this.context);if(rF(r)){var o=r.item,a=r.component;this.allowSetStateByElement(a)&&this.allowSetStateByItem(o,a)&&this.setItemState(a,o,t)}}},e.prototype.setItemsState=function(t,e,n){var i=this,r=t.getItems();(0,td.S6)(r,function(r){r.name===e&&i.setItemState(t,r,n)})},e.prototype.setItemState=function(t,e,n){t.setItemState(e,this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item,i=this.hasState(e,n);this.setItemState(e,n,!i)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(rI),uD=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return(0,tf.ZT)(e,t),e.prototype.active=function(){this.setState()},e}(uP),uU="inactive",ub="active",uF="inactive",uB="active",uG=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=uB,e.ignoreItemStates=["unchecked"],e}return(0,tf.ZT)(e,t),e.prototype.setItemsState=function(t,e,n){this.setHighlightBy(t,function(t){return t.name===e},n)},e.prototype.setItemState=function(t,e,n){t.getItems(),this.setHighlightBy(t,function(t){return t===e},n)},e.prototype.setHighlightBy=function(t,e,n){var i=t.getItems();if(n)(0,td.S6)(i,function(n){e(n)?(t.hasState(n,uF)&&t.setItemState(n,uF,!1),t.setItemState(n,uB,!0)):t.hasState(n,uB)||t.setItemState(n,uF,!0)});else{var r=t.getItemsByState(uB),o=!0;(0,td.S6)(r,function(t){if(!e(t))return o=!1,!1}),o?this.clear():(0,td.S6)(i,function(n){e(n)&&(t.hasState(n,uB)&&t.setItemState(n,uB,!1),t.setItemState(n,uF,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t,e,n=this.getTriggerListInfo();if(n)e=(t=n.list).getItems(),(0,td.S6)(e,function(e){t.hasState(e,ub)&&t.setItemState(e,ub,!1),t.hasState(e,uU)&&t.setItemState(e,uU,!1)});else{var i=this.getAllowComponents();(0,td.S6)(i,function(t){t.clearItemsState(uB),t.clearItemsState(uF)})}},e}(uP),uw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return(0,tf.ZT)(e,t),e.prototype.selected=function(){this.setState()},e}(uP),uH=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="unchecked",e}return(0,tf.ZT)(e,t),e.prototype.unchecked=function(){this.setState()},e}(uP),uY="unchecked",uk="checked",uV=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=uk,e}return(0,tf.ZT)(e,t),e.prototype.setItemState=function(t,e,n){this.setCheckedBy(t,function(t){return t===e},n)},e.prototype.setCheckedBy=function(t,e,n){var i=t.getItems();n&&(0,td.S6)(i,function(n){e(n)?(t.hasState(n,uY)&&t.setItemState(n,uY,!1),t.setItemState(n,uk,!0)):t.hasState(n,uk)||t.setItemState(n,uY,!0)})},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item;!(0,td.G)(e.getItems(),function(t){return e.hasState(t,uY)})||e.hasState(n,uY)?this.setItemState(e,n,!0):this.reset()}},e.prototype.checked=function(){this.setState()},e.prototype.reset=function(){var t=this.getAllowComponents();(0,td.S6)(t,function(t){t.clearItemsState(uk),t.clearItemsState(uY)})},e}(uP),uW=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.maskShape=null,e.points=[],e.starting=!1,e.moving=!1,e.preMovePoint=null,e.shapeType="path",e}return(0,tf.ZT)(e,t),e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var e=this.context.view,n=this.context.event;e.emit("mask:"+t,{target:this.maskShape,shape:this.maskShape,points:this.points,x:n.x,y:n.y})},e.prototype.createMask=function(){var t=this.context.view,e=this.getMaskAttrs();return t.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:(0,tf.pi)({fill:"#C5D4EB",opacity:.3},e)})},e.prototype.getMaskPath=function(){return[]},e.prototype.show=function(){this.maskShape&&(this.maskShape.show(),this.emitEvent("show"))},e.prototype.start=function(t){this.starting=!0,this.moving=!1,this.points=[this.getCurrentPoint()],this.maskShape||(this.maskShape=this.createMask(),this.maskShape.set("capture",!1)),this.updateMask(null==t?void 0:t.maskStyle),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint()},e.prototype.move=function(){if(this.moving&&this.maskShape){var t=this.getCurrentPoint(),e=this.preMovePoint,n=t.x-e.x,i=t.y-e.y,r=this.points;(0,td.S6)(r,function(t){t.x+=n,t.y+=i}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t}},e.prototype.updateMask=function(t){var e=(0,td.b$)({},this.getMaskAttrs(),t);this.maskShape.attr(e)},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.maskShape&&this.maskShape.set("capture",!0)},e.prototype.hide=function(){this.maskShape&&(this.maskShape.hide(),this.emitEvent("hide"))},e.prototype.resize=function(){this.starting&&this.maskShape&&(this.points.push(this.getCurrentPoint()),this.updateMask(),this.emitEvent("change"))},e.prototype.destroy=function(){this.points=[],this.maskShape&&this.maskShape.remove(),this.maskShape=null,this.preMovePoint=null,t.prototype.destroy.call(this)},e}(rI),uX=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="circle",e}return(0,tf.ZT)(e,t),e.prototype.getMaskAttrs=function(){var t=this.points,e=(0,td.Z$)(this.points),n=0,i=0,r=0;if(t.length){var o=t[0];n=rz(o,e)/2,i=(e.x+o.x)/2,r=(e.y+o.y)/2}return{x:i,y:r,r:n}},e}(uW),uK=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="rect",e}return(0,tf.ZT)(e,t),e.prototype.getRegion=function(){var t=this.points;return{start:(0,td.YM)(t),end:(0,td.Z$)(t)}},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),e=t.start,n=t.end;return{x:Math.min(e.x,n.x),y:Math.min(e.y,n.y),width:Math.abs(n.x-e.x),height:Math.abs(n.y-e.y)}},e}(uW);function uz(t){t.x=(0,td.uZ)(t.x,0,1),t.y=(0,td.uZ)(t.y,0,1)}var uZ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dim="x",e.inPlot=!0,e}return(0,tf.ZT)(e,t),e.prototype.getRegion=function(){var t=null,e=null,n=this.points,i=this.dim,r=this.context.view.getCoordinate(),o=r.invert((0,td.YM)(n)),a=r.invert((0,td.Z$)(n));return this.inPlot&&(uz(o),uz(a)),"x"===i?(t=r.convert({x:o.x,y:0}),e=r.convert({x:a.x,y:1})):(t=r.convert({x:0,y:o.y}),e=r.convert({x:1,y:a.y})),{start:t,end:e}},e}(uK),u$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getMaskPath=function(){var t=this.points,e=[];return t.length&&((0,td.S6)(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",t[0].x,t[0].y])),e},e.prototype.getMaskAttrs=function(){return{path:this.getMaskPath()}},e.prototype.addPoint=function(){this.resize()},e}(uW),uJ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getMaskPath=function(){return function(t,e){if(t.length<=2)return rx(t,!1);var n=t[0],i=[];(0,td.S6)(t,function(t){i.push(t.x),i.push(t.y)});var r=r_(i,e,null);return r.unshift(["M",n.x,n.y]),r}(this.points,!0)},e}(u$),uj=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.setCursor=function(t){this.context.view.getCanvas().setCursor(t)},e.prototype.default=function(){this.setCursor("default")},e.prototype.pointer=function(){this.setCursor("pointer")},e.prototype.move=function(){this.setCursor("move")},e.prototype.crosshair=function(){this.setCursor("crosshair")},e.prototype.wait=function(){this.setCursor("wait")},e.prototype.help=function(){this.setCursor("help")},e.prototype.text=function(){this.setCursor("text")},e.prototype.eResize=function(){this.setCursor("e-resize")},e.prototype.wResize=function(){this.setCursor("w-resize")},e.prototype.nResize=function(){this.setCursor("n-resize")},e.prototype.sResize=function(){this.setCursor("s-resize")},e.prototype.neResize=function(){this.setCursor("ne-resize")},e.prototype.nwResize=function(){this.setCursor("nw-resize")},e.prototype.seResize=function(){this.setCursor("se-resize")},e.prototype.swResize=function(){this.setCursor("sw-resize")},e.prototype.nsResize=function(){this.setCursor("ns-resize")},e.prototype.ewResize=function(){this.setCursor("ew-resize")},e}(rI),uq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.filterView=function(t,e,n){var i=this;t.getScaleByField(e)&&t.filter(e,n),t.views&&t.views.length&&(0,td.S6)(t.views,function(t){i.filterView(t,e,n)})},e.prototype.filter=function(){var t=rU(this.context);if(t){var e=this.context.view,n=t.component,i=n.get("field");if(rF(t)){if(i){var r=n.getItemsByState("unchecked"),o=rq(e,i),a=r.map(function(t){return t.name});a.length?this.filterView(e,i,function(t){var e=o.getText(t);return!a.includes(e)}):this.filterView(e,i,null),e.render(!0)}}else if(rB(t)){var s=n.getValue(),l=s[0],u=s[1];this.filterView(e,i,function(t){return t>=l&&t<=u}),e.render(!0)}}},e}(rI);function uQ(t,e,n,i){var r=Math.min(n[e],i[e]),o=Math.max(n[e],i[e]),a=t.range,s=a[0],l=a[1];if(rl&&(o=l),r===l&&o===l)return null;var u=t.invert(r),c=t.invert(o);if(!t.isCategory)return function(t){return t>=u&&t<=c};var E=t.values.indexOf(u),h=t.values.indexOf(c),p=t.values.slice(E,h+1);return function(t){return p.includes(t)}}(v=z||(z={})).FILTER="brush-filter-processing",v.RESET="brush-filter-reset",v.BEFORE_FILTER="brush-filter:beforefilter",v.AFTER_FILTER="brush-filter:afterfilter",v.BEFORE_RESET="brush-filter:beforereset",v.AFTER_RESET="brush-filter:afterreset";var u0=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.startPoint=null,e.isStarted=!1,e}return(0,tf.ZT)(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){if(rG(this.context)){var t,e,n=this.context.event.target.getCanvasBBox();t={x:n.x,y:n.y},e={x:n.maxX,y:n.maxY}}else{if(!this.isStarted)return;t=this.startPoint,e=this.context.getCurrentPoint()}if(!(5>Math.abs(t.x-e.x)||5>Math.abs(t.x-e.y))){var i=this.context,r=i.view,o={view:r,event:i.event,dims:this.dims};r.emit(z.BEFORE_FILTER,oR.fromData(r,z.BEFORE_FILTER,o));var a=r.getCoordinate(),s=a.invert(e),l=a.invert(t);if(this.hasDim("x")){var u=r.getXScale(),c=uQ(u,"x",s,l);this.filterView(r,u.field,c)}if(this.hasDim("y")){var E=r.getYScales()[0],c=uQ(E,"y",s,l);this.filterView(r,E.field,c)}this.reRender(r,{source:z.FILTER}),r.emit(z.AFTER_FILTER,oR.fromData(r,z.AFTER_FILTER,o))}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(t.emit(z.BEFORE_RESET,oR.fromData(t,z.BEFORE_RESET,{})),this.isStarted=!1,this.hasDim("x")){var e=t.getXScale();this.filterView(t,e.field,null)}if(this.hasDim("y")){var n=t.getYScales()[0];this.filterView(t,n.field,null)}this.reRender(t,{source:z.RESET}),t.emit(z.AFTER_RESET,oR.fromData(t,z.AFTER_RESET,{}))},e.prototype.filterView=function(t,e,n){t.filter(e,n)},e.prototype.reRender=function(t,e){t.render(!0,e)},e}(rI),u1=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.filterView=function(t,e,n){var i=r$(t);(0,td.S6)(i,function(t){t.filter(e,n)})},e.prototype.reRender=function(t){var e=r$(t);(0,td.S6)(e,function(t){t.render(!0)})},e}(u0),u2=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.filter=function(){var t=rU(this.context),e=this.context.view,n=rY(e);if(rG(this.context)){var i=rw(this.context,10);i&&(0,td.S6)(n,function(t){i.includes(t)?t.show():t.hide()})}else if(t){var r=t.component,o=r.get("field");if(rF(t)){if(o){var a=r.getItemsByState("unchecked"),s=rq(e,o),l=a.map(function(t){return t.name});(0,td.S6)(n,function(t){var e=rV(t,o),n=s.getText(e);l.indexOf(n)>=0?t.hide():t.show()})}}else if(rB(t)){var u=r.getValue(),c=u[0],E=u[1];(0,td.S6)(n,function(t){var e=rV(t,o);e>=c&&e<=E?t.show():t.hide()})}}},e.prototype.clear=function(){var t=rY(this.context.view);(0,td.S6)(t,function(t){t.show()})},e.prototype.reset=function(){this.clear()},e}(rI),u5=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.byRecord=!1,e}return(0,tf.ZT)(e,t),e.prototype.filter=function(){rG(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,e=rw(this.context,10);if(e){var n=t.getXScale().field,i=t.getYScales()[0].field,r=e.map(function(t){return t.getModel().data}),o=r$(t);(0,td.S6)(o,function(t){var e=rY(t);(0,td.S6)(e,function(t){rj(r,t.getModel().data,n,i)?t.show():t.hide()})})}},e.prototype.filterByBBox=function(){var t=this,e=r$(this.context.view);(0,td.S6)(e,function(e){var n=rH(t.context,e,10),i=rY(e);n&&(0,td.S6)(i,function(t){n.includes(t)?t.show():t.hide()})})},e.prototype.reset=function(){var t=r$(this.context.view);(0,td.S6)(t,function(t){var e=rY(t);(0,td.S6)(e,function(t){t.show()})})},e}(rI),u6=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},e}return(0,tf.ZT)(e,t),e.prototype.getButtonCfg=function(){return(0,td.b$)(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=e.addShape({type:"text",name:"button-text",attrs:(0,tf.pi)({text:t.text},t.textStyle)}).getBBox(),i=od(t.padding),r=e.addShape({type:"rect",name:"button-rect",attrs:(0,tf.pi)({x:n.x-i[3],y:n.y-i[0],width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},t.style)});r.toBack(),e.on("mouseenter",function(){r.attr(t.activeStyle)}),e.on("mouseleave",function(){r.attr(t.style)}),this.buttonGroup=e},e.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),i=ne.vs(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(i)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},e}(rI),u3=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.dragStart=!1,e}return(0,tf.ZT)(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(this.startPoint){var t=this.context.getCurrentPoint(),e=this.context.view,n=this.context.event;this.dragStart?e.emit("drag",{target:n.target,x:n.x,y:n.y}):rz(t,this.startPoint)>4&&(e.emit("dragstart",{target:n.target,x:n.x,y:n.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,e=this.context.event;t.emit("dragend",{target:e.target,x:e.x,y:e.y})}this.starting=!1,this.dragStart=!1},e}(rI),u4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.isMoving=!1,e.startPoint=null,e.startMatrix=null,e}return(0,tf.ZT)(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(this.starting){var t=this.startPoint,e=this.context.getCurrentPoint();if(rz(t,e)>5&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var n=this.context.view,i=ne.vs(this.startMatrix,[["t",e.x-t.x,e.y-t.y]]);n.backgroundGroup.setMatrix(i),n.foregroundGroup.setMatrix(i),n.middleGroup.setMatrix(i)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(rI),u8=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.cfgFields=["dims"],e.cacheScaleDefs={},e}return(0,tf.ZT)(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var e=this.context.view;return"x"===t?e.getXScale():e.getYScales()[0]},e.prototype.resetDim=function(t){var e=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var n=this.getScale(t);e.scale(n.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim("x"),this.resetDim("y"),this.context.view.render(!0)},e}(rI),u9=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.startPoint=null,e.starting=!1,e.startCache={},e}return(0,tf.ZT)(e,t),e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var e=this.dims;(0,td.S6)(e,function(e){var n=t.getScale(e),i=n.min,r=n.max,o=n.values;t.startCache[e]={min:i,max:r,values:o}})},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(this.starting){var e=this.startPoint,n=this.context.view.getCoordinate(),i=this.context.getCurrentPoint(),r=n.invert(e),o=n.invert(i),a=o.x-r.x,s=o.y-r.y,l=this.context.view,u=this.dims;(0,td.S6)(u,function(e){t.translateDim(e,{x:-1*a,y:-1*s})}),l.render(!0)}},e.prototype.translateDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.translateLinear(t,n,e)}},e.prototype.translateLinear=function(t,e,n){var i=this.context.view,r=this.startCache[t],o=r.min,a=r.max,s=n[t]*(a-o);this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:o,max:a}),i.scale(e.field,{nice:!1,min:o+s,max:a+s})},e.prototype.reset=function(){t.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}(u8),u7=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.zoomRatio=.05,e}return(0,tf.ZT)(e,t),e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var e=this,n=this.dims;(0,td.S6)(n,function(n){e.zoomDim(n,t)}),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.zoomLinear(t,n,e)}},e.prototype.zoomLinear=function(t,e,n){var i=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:e.min,max:e.max});var r=this.cacheScaleDefs[t],o=r.max-r.min,a=e.min,s=e.max,l=n*o,u=a-l,c=s+l,E=(c-u)/o;c>u&&E<100&&E>.01&&i.scale(e.field,{nice:!1,min:a-l,max:s+l})},e}(u8),ct=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.scroll=function(t){var e=this.context,n=e.view,i=e.event;if(n.getOptions().scrollbar){var r=(null==t?void 0:t.wheelDelta)||1,o=n.getController("scrollbar"),a=n.getXScale(),s=n.getOptions().data,l=(0,td.dp)((0,td.I)(s,a.field)),u=(0,td.dp)(a.values),c=Math.floor((l-u)*o.getValue())+(i.gEvent.originalEvent.deltaY>0?r:-r),E=r/(l-u)/1e4,h=(0,td.uZ)(c/(l-u)+E,0,1);o.setValue(h)}},e}(rI);function ce(t){return t.isInPlot()}function cn(t){return t.gEvent.preventDefault(),t.gEvent.originalEvent.deltaY>0}N=r8(as),oo[(0,td.vl)("dark")]=or(N),tg.canvas=tE,tg.svg=tp,oN("Polygon",ls),oN("Interval",ln),oN("Schema",ll),oN("Path",s0),oN("Point",la),oN("Line",li),oN("Area",s5),oN("Edge",s6),oN("Heatmap",s3),oN("Violin",lu),oY("base",o4),oY("interval",lA),oY("pie",lg),oY("polar",lR),ok("overlap",function(t,e,n,i){var r=new lO;(0,td.S6)(e,function(t){for(var e=t.find(function(t){return"text"===t.get("type")}),n=e.attr(),i=n.x,o=n.y,a=!1,s=0;s<=8;s++){var l=function(t,e,n,i){var r=t.getCanvasBBox(),o=r.width,a=r.height,s={x:e,y:n,textAlign:"center"};switch(i){case 0:s.y-=a+1,s.x+=1,s.textAlign="left";break;case 1:s.y-=a+1,s.x-=1,s.textAlign="right";break;case 2:s.y+=a+1,s.x-=1,s.textAlign="right";break;case 3:s.y+=a+1,s.x+=1,s.textAlign="left";break;case 5:s.y-=2*a+2;break;case 6:s.y+=2*a+2;break;case 7:s.x+=o+1,s.textAlign="left";break;case 8:s.x-=o+1,s.textAlign="right"}return t.attr(s),t.getCanvasBBox()}(e,i,o,s);if(r.hasGap(l)){r.fillGap(l),a=!0;break}}a||t.remove(!0)}),r.destroy()}),ok("distribute",function(t,e,n,i){if(t.length&&e.length){var r=t[0]?t[0].offset:0,o=e[0].get("coordinate"),a=o.getRadius(),s=o.getCenter();if(r>0){var l=2*(a+r)+28,u={start:o.start,end:o.end},c=[[],[]];t.forEach(function(t){t&&("right"===t.textAlign?c[0].push(t):c[1].push(t))}),c.forEach(function(t,n){var i=l/14;t.length>i&&(t.sort(function(t,e){return e["..percent"]-t["..percent"]}),t.splice(i,t.length-i)),t.sort(function(t,e){return t.y-e.y}),function(t,e,n,i,r,o){var a,s=!0,l=i.start,u=i.end,c=Math.min(l.y,u.y),E=Math.abs(l.y-u.y),h=0,p=Number.MIN_VALUE,T=e.map(function(t){return t.y>h&&(h=t.y),t.yE&&(E=h-c);s;)for(T.forEach(function(t){var e=(Math.min.apply(p,t.targets)+Math.max.apply(p,t.targets))/2;t.pos=Math.min(Math.max(p,e-t.size/2),E-t.size)}),s=!1,a=T.length;a--;)if(a>0){var f=T[a-1],d=T[a];f.pos+f.size>d.pos&&(f.size+=d.size,f.targets=f.targets.concat(d.targets),f.pos+f.size>E&&(f.pos=E-f.size),T.splice(a,1),s=!0)}a=0,T.forEach(function(t){var i=c+n/2;t.targets.forEach(function(){e[a].y=t.pos+i,i+=n,a++})});for(var A={},S=0;St.x+t.width+n||e.x+e.widtht.y+t.height+n||e.y+e.heightu.min)||!(l.minr.maxX||i.maxY>r.maxY)&&t.remove(!0)})}),ok("limit-in-canvas",function(t,e,n,i){(0,td.S6)(e,function(t){var e=i.minX,n=i.minY,r=i.maxX,o=i.maxY,a=t.getCanvasBBox(),s=a.minX,l=a.minY,u=a.maxX,c=a.maxY,E=a.x,h=a.y,p=a.width,T=a.height,f=E,d=h;(sr?f=r-p:u>r&&(f-=u-r),l>o?d=o-T:c>o&&(d-=c-o),(f!==E||d!==h)&&o0(t,f-E,d-h)})}),ok("limit-in-plot",function(t,e,n,i,r){if(!(e.length<=0)){var o,a,s,l,u,c,E,h=(null==r?void 0:r.direction)||["top","right","bottom","left"],p=(null==r?void 0:r.action)||"translate",T=(null==r?void 0:r.margin)||0,f=e[0].get("coordinate");if(f){var d=(void 0===(o=T)&&(o=0),a=f.start,s=f.end,l=f.getWidth(),u=f.getHeight(),c=Math.min(a.x,s.x),E=Math.min(a.y,s.y),rt.fromRange(c-o,E-o,c+l+o,E+u+o)),A=d.minX,S=d.minY,R=d.maxX,g=d.maxY;(0,td.S6)(e,function(t){var e=t.getCanvasBBox(),n=e.minX,i=e.minY,r=e.maxX,o=e.maxY,a=e.x,s=e.y,l=e.width,u=e.height,c=a,E=s;if(h.indexOf("left")>=0&&(n=0&&(i=0&&(n>R?c=R-l:r>R&&(c-=r-R)),h.indexOf("bottom")>=0&&(i>g?E=g-u:o>g&&(E-=o-g)),c!==a||E!==s){var T=c-a;"translate"===p?o0(t,T,E-s):"ellipsis"===p?t.findAll(function(t){return"text"===t.get("type")}).forEach(function(t){var e=(0,td.ei)(t.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),n=t.getCanvasBBox(),i=lB(t.attr("text"),n.width-Math.abs(T),e);t.attr("text",i)}):t.hide()}})}}}),ok("pie-outer",function(t,e,n,i){var r=(0,td.hX)(t,function(t){return!(0,td.UM)(t)}),o=e[0]&&e[0].get("coordinate");if(o){for(var a=o.getCenter(),s=o.getRadius(),l={},u=0;un&&(t.sort(function(t,e){return e.percent-t.percent}),(0,td.S6)(t,function(t,e){e+1>n&&(l[t.id].set("visible",!1),t.invisible=!0)})),lI(t,E,R)}),(0,td.S6)(T,function(t,e){(0,td.S6)(t,function(t){var n=e===p,i=l[t.id].getChildByIndex(0);if(i){var r=s+h,u=t.y-a.y,c=Math.pow(r,2),E=Math.pow(u,2),T=Math.sqrt(c-E>0?c-E:0),f=Math.abs(Math.cos(t.angle)*r);n?t.x=a.x+Math.max(T,f):t.x=a.x-Math.max(T,f)}i&&(i.attr("y",t.y),i.attr("x",t.x)),function(t,e){var n=e.getCenter(),i=e.getRadius();if(t&&t.labelLine){var r=t.angle,o=t.offset,a=i2(n.x,n.y,i,r),s=t.x+(0,td.U2)(t,"offsetX",0)*(Math.cos(r)>0?1:-1),l=t.y+(0,td.U2)(t,"offsetY",0)*(Math.sin(r)>0?1:-1),u={x:s-4*Math.cos(r),y:l-4*Math.sin(r)},c=t.labelLine.smooth,E=[],h=u.x-n.x,p=Math.atan((u.y-n.y)/h);if(h<0&&(p+=Math.PI),!1===c){(0,td.Kn)(t.labelLine)||(t.labelLine={});var T=0;(r<0&&r>-Math.PI/2||r>1.5*Math.PI)&&u.y>a.y&&(T=1),r>=0&&ra.y&&(T=1),r>=Math.PI/2&&ru.y&&(T=1),(r<-Math.PI/2||r>=Math.PI&&r<1.5*Math.PI)&&a.y>u.y&&(T=1);var f=o/2>4?4:Math.max(o/2-1,0),d=i2(n.x,n.y,i+f,r),A=i2(n.x,n.y,i+o/2,p);E.push("M "+a.x+" "+a.y),E.push("L "+d.x+" "+d.y),E.push("A "+n.x+" "+n.y+" 0 0 "+T+" "+A.x+" "+A.y),E.push("L "+u.x+" "+u.y)}else{var d=i2(n.x,n.y,i+(o/2>4?4:Math.max(o/2-1,0)),r),S=a.x11253517471925921e-23&&E.push.apply(E,["C",u.x+4*S,u.y,2*d.x-a.x,2*d.y-a.y,a.x,a.y]),E.push("L "+a.x+" "+a.y)}t.labelLine.path=E.join(" ")}}(t,o)})})}}}),ok("adjust-color",function(t,e,n){if(0!==n.length){var i=n[0].get("element").geometry.theme,r=i.labels||{},o=r.fillColorLight,a=r.fillColorDark;n.forEach(function(t,n){var r=e[n].find(function(t){return"text"===t.get("type")}),s=rt.fromObject(t.getBBox()),l=rt.fromObject(r.getCanvasBBox()),u=!s.contains(l),c=lM(t.attr("fill"));u?r.attr(i.overflowLabels.style):c?o&&r.attr("fill",o):a&&r.attr("fill",a)})}}),ok("interval-adjust-position",function(t,e,n){if(0!==n.length){var i,r=null===(i=n[0])||void 0===i?void 0:i.get("element"),o=null==r?void 0:r.geometry;o&&"interval"===o.type&&(o.getAdjust("stack")||e.every(function(t,e){var i,r,a,s,l=n[e];return i=o.coordinate,r=o2(t),a=rt.fromObject(r.getCanvasBBox()),s=rt.fromObject(l.getBBox()),i.isTransposed?s.height>=a.height:s.width>=a.width}))&&n.forEach(function(t,n){var i,r,a,s=e[n];i=o.coordinate,r=rt.fromObject(t.getBBox()),a=o2(s),i.isTransposed?a.attr({x:r.minX+r.width/2,textAlign:"center"}):a.attr({y:r.minY+r.height/2,textBaseline:"middle"})})}}),ok("interval-hide-overlap",function(t,e,n){if(0!==n.length){var i,r,o,a=null===(o=n[0])||void 0===o?void 0:o.get("element"),s=null==a?void 0:a.geometry;if(s&&"interval"===s.type){var l=(i=[],r=Math.max(Math.floor(e.length/500),1),(0,td.S6)(e,function(t,e){e%r==0?i.push(t):t.set("visible",!1)}),i),u=s.getXYFields()[0],c=[],E=[],h=(0,td.vM)(l,function(t){return t.get("data")[u]}),p=(0,td.jj)((0,td.UI)(l,function(t){return t.get("data")[u]}));l.forEach(function(t){t.set("visible",!0)});var T=function(t){t&&(t.length&&E.push(t.pop()),E.push.apply(E,t))};for((0,td.dp)(p)>0&&T(h[p.shift()]),(0,td.dp)(p)>0&&T(h[p.pop()]),(0,td.S6)(p.reverse(),function(t){T(h[t])});E.length>0;){var f=E.shift();f.get("visible")&&(function(t,e){var n=t.getBBox();return(0,td.G)(e,function(t){var e=t.getBBox();return Math.max(0,Math.min(n.x+n.width+2,e.x+e.width+2)-Math.max(n.x-2,e.x-2))*Math.max(0,Math.min(n.y+n.height+2,e.y+e.height+2)-Math.max(n.y-2,e.y-2))>0})}(f,c)?f.set("visible",!1):c.push(f))}}}}),ok("point-adjust-position",function(t,e,n,i,r){if(0!==n.length){var o,a,s=null===(o=n[0])||void 0===o?void 0:o.get("element"),l=null==s?void 0:s.geometry;if(l&&"point"===l.type){var u=l.getXYFields(),c=u[0],E=u[1],h=(0,td.vM)(e,function(t){return t.get("data")[c]}),p=[],T=r&&r.offset||(null===(a=t[0])||void 0===a?void 0:a.offset)||12;(0,td.UI)((0,td.XP)(h).reverse(),function(t){for(var e,n,i,r,o=(e=h[t],n=l.getXYFields()[1],i=[],(r=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]})).length>0&&i.push(r.shift()),r.length>0&&i.push(r.pop()),i.push.apply(i,r),i);o.length;){var a=o.shift(),s=o2(a);if(lP(p,a,function(t,e){return t.get("data")[c]===e.get("data")[c]&&t.get("data")[E]===e.get("data")[E]})){s.set("visible",!1);continue}var u=lD(p,a),f=!1;if(u&&(s.attr("y",s.attr("y")+2*T),f=lD(p,a)),f){s.set("visible",!1);continue}p.push(a)}})}}}),ok("pie-spider",function(t,e,n,i){var r=e[0]&&e[0].get("coordinate");if(r){for(var o=r.getCenter(),a=r.getRadius(),s={},l=0;lo.x||t.x===o.x&&t.y>o.y,n=(0,td.UM)(t.offsetX)?4:t.offsetX,i=i2(o.x,o.y,a+4,t.angle);t.x=o.x+(e?1:-1)*(a+(E+n)),t.y=i.y}});var h=r.start,p=r.end,T="right",f=(0,td.vM)(t,function(t){return t.xd&&(d=Math.min(e,Math.abs(h.y-p.y)))});var A={minX:h.x,maxX:p.x,minY:o.y-d/2,maxY:o.y+d/2};(0,td.S6)(f,function(t,e){var n=d/c;t.length>n&&(t.sort(function(t,e){return e.percent-t.percent}),(0,td.S6)(t,function(t,e){e>n&&(s[t.id].set("visible",!1),t.invisible=!0)})),lI(t,c,A)});var S=A.minY,R=A.maxY;(0,td.S6)(f,function(t,e){var n=e===T;(0,td.S6)(t,function(t){var e=(0,td.U2)(s,t&&[t.id]);if(e){if(t.yR){e.set("visible",!1);return}var i=e.getChildByIndex(0),o=i.getCanvasBBox(),a={x:n?o.x:o.maxX,y:o.y+o.height/2};o0(i,t.x-a.x,t.y-a.y),t.labelLine&&function(t,e,n){var i=e.getCenter(),r=e.getRadius(),o={x:t.x-(n?4:-4),y:t.y},a=i2(i.x,i.y,r+4,t.angle),s={x:o.x,y:o.y},l={x:a.x,y:a.y},u=i2(i.x,i.y,r,t.angle),c="";if(o.y!==a.y){var E=n?4:-4;s.y=o.y,t.angle<0&&t.angle>=-Math.PI/2&&(s.x=Math.max(a.x,o.x-E),o.y0&&t.anglea.y?l.y=s.y:(l.y=a.y,l.x=Math.max(l.x,s.x-E))),t.angle>Math.PI/2&&(s.x=Math.min(a.x,o.x-E),o.y>a.y?l.y=s.y:(l.y=a.y,l.x=Math.min(l.x,s.x-E))),t.angle<-Math.PI/2&&(s.x=Math.min(a.x,o.x-E),o.y["path","line","area"].indexOf(l.type))){var u=l.getXYFields(),c=u[0],E=u[1],h=(0,td.vM)(e,function(t){return t.get("data")[c]}),p=[],T=r&&r.offset||(null===(a=t[0])||void 0===a?void 0:a.offset)||12;(0,td.UI)((0,td.XP)(h).reverse(),function(t){for(var e,n,i,r,o=(e=h[t],n=l.getXYFields()[1],i=[],(r=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]})).length>0&&i.push(r.shift()),r.length>0&&i.push(r.pop()),i.push.apply(i,r),i);o.length;){var a=o.shift(),s=o2(a);if(lU(p,a,function(t,e){return t.get("data")[c]===e.get("data")[c]&&t.get("data")[E]===e.get("data")[E]})){s.set("visible",!1);continue}var u=lb(p,a),f=!1;if(u&&(s.attr("y",s.attr("y")+2*T),f=lb(p,a)),f){s.set("visible",!1);continue}p.push(a)}})}}}),oM("fade-in",function(t,e,n){var i={fillOpacity:(0,td.UM)(t.attr("fillOpacity"))?1:t.attr("fillOpacity"),strokeOpacity:(0,td.UM)(t.attr("strokeOpacity"))?1:t.attr("strokeOpacity"),opacity:(0,td.UM)(t.attr("opacity"))?1:t.attr("opacity")};t.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),t.animate(i,e)}),oM("fade-out",function(t,e,n){var i=e.easing,r=e.duration,o=e.delay;t.animate({fillOpacity:0,strokeOpacity:0,opacity:0},r,i,function(){t.remove(!0)},o)}),oM("grow-in-x",function(t,e,n){lG(t,e,n.coordinate,n.minYPoint,"x")}),oM("grow-in-xy",function(t,e,n){lG(t,e,n.coordinate,n.minYPoint,"xy")}),oM("grow-in-y",function(t,e,n){lG(t,e,n.coordinate,n.minYPoint,"y")}),oM("scale-in-x",function(t,e,n){var i=t.getBBox(),r=t.get("origin").mappingData.points,o=r[0].y-r[1].y>0?i.maxX:i.minX,a=(i.minY+i.maxY)/2;t.applyToMatrix([o,a,1]);var s=ne.vs(t.getMatrix(),[["t",-o,-a],["s",.01,1],["t",o,a]]);t.setMatrix(s),t.animate({matrix:ne.vs(t.getMatrix(),[["t",-o,-a],["s",100,1],["t",o,a]])},e)}),oM("scale-in-y",function(t,e,n){var i=t.getBBox(),r=t.get("origin").mappingData,o=(i.minX+i.maxX)/2,a=r.points,s=a[0].y-a[1].y<=0?i.maxY:i.minY;t.applyToMatrix([o,s,1]);var l=ne.vs(t.getMatrix(),[["t",-o,-s],["s",1,.01],["t",o,s]]);t.setMatrix(l),t.animate({matrix:ne.vs(t.getMatrix(),[["t",-o,-s],["s",1,100],["t",o,s]])},e)}),oM("wave-in",function(t,e,n){var i=ro(n.coordinate,20),r=i.type,o=i.startState,a=i.endState,s=t.setClip({type:r,attrs:o});s.animate(a,(0,tf.pi)((0,tf.pi)({},e),{callback:function(){t&&!t.get("destroyed")&&t.set("clipShape",null),s.remove(!0)}}))}),oM("zoom-in",function(t,e,n){lk(t,e,"zoomIn")}),oM("zoom-out",function(t,e,n){lk(t,e,"zoomOut")}),oM("position-update",function(t,e,n){var i=n.toAttrs,r=i.x,o=i.y;delete i.x,delete i.y,t.attr(i),t.animate({x:r,y:o},e)}),oM("sector-path-update",function(t,e,n){var i=n.toAttrs,r=n.coordinate,o=i.path||[],a=o.map(function(t){return t[0]});if(!(o.length<1)){var s=lY(o),l=s.startAngle,u=s.endAngle,c=s.radius,E=s.innerRadius,h=lY(t.attr("path")),p=h.startAngle,T=h.endAngle,f=r.getCenter(),d=l-p,A=u-T;if(0===d&&0===A){t.attr("path",o);return}t.animate(function(t){var e=p+t*d,n=T+t*A;return(0,tf.pi)((0,tf.pi)({},i),{path:(0,td.Xy)(a,["M","A","A","Z"])?i6(f.x,f.y,c,e,n):i5(f.x,f.y,c,e,n,E)})},(0,tf.pi)((0,tf.pi)({},e),{callback:function(){t.attr("path",o)}}))}}),oM("path-in",function(t,e,n){var i=t.getTotalLength();t.attr("lineDash",[i]),t.animate(function(t){return{lineDashOffset:(1-t)*i}},e)}),rg("rect",l$),rg("mirror",lZ),rg("list",lK),rg("matrix",lz),rg("circle",lX),rg("tree",lJ),oA.axis=l8,oA.legend=ue,oA.tooltip=oL,oA.annotation=l0,oA.slider=un,oA.scrollbar=ui,rN("tooltip",ua),rN("sibling-tooltip",us),rN("ellipsis-text",ul),rN("element-active",uh),rN("element-single-active",uA),rN("element-range-active",uf),rN("element-highlight",uv),rN("element-highlight-by-x",uC),rN("element-highlight-by-color",uN),rN("element-single-highlight",uL),rN("element-range-highlight",um),rN("element-sibling-highlight",um,{effectSiblings:!0,effectByRecord:!0}),rN("element-selected",ux),rN("element-single-selected",uM),rN("element-range-selected",u_),rN("element-link-by-color",up),rN("active-region",uo),rN("list-active",uD),rN("list-selected",uw),rN("list-highlight",uG),rN("list-unchecked",uH),rN("list-checked",uV),rN("legend-item-highlight",uG,{componentNames:["legend"]}),rN("axis-label-highlight",uG,{componentNames:["axis"]}),rN("rect-mask",uK),rN("x-rect-mask",uZ,{dim:"x"}),rN("y-rect-mask",uZ,{dim:"y"}),rN("circle-mask",uX),rN("path-mask",u$),rN("smooth-path-mask",uJ),rN("cursor",uj),rN("data-filter",uq),rN("brush",u0),rN("brush-x",u0,{dims:["x"]}),rN("brush-y",u0,{dims:["y"]}),rN("sibling-filter",u1),rN("sibling-x-filter",u1),rN("sibling-y-filter",u1),rN("element-filter",u2),rN("element-sibling-filter",u5),rN("element-sibling-filter-record",u5,{byRecord:!0}),rN("view-drag",u3),rN("view-move",u4),rN("scale-translate",u9),rN("scale-zoom",u7),rN("reset-button",u6,{name:"reset-button",text:"reset"}),rN("mousewheel-scroll",ct),r4("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),r4("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),r4("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),r4("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),r4("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),r4("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),r4("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]}),r4("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),r4("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),r4("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]}),r4("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]}),r4("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]}),r4("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:ce,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:ce,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:ce,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]}),r4("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]}),r4("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:ce,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:ce,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:ce,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]}),r4("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:ce,action:"path-mask:start"},{trigger:"mousedown",isEnable:ce,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]}),r4("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]}),r4("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","data-filter:filter"]}]}),r4("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]}),r4("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]}),r4("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","element-filter:filter"]}]}),r4("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]}),r4("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(t){return cn(t.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(t){return!cn(t.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]}),r4("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]}),r4("plot-mousewheel-scroll",{start:[{trigger:"plot:mousewheel",action:"mousewheel-scroll:scroll"}]});var ci=["type","alias","tickCount","tickInterval","min","max","nice","minLimit","maxLimit","range","tickMethod","base","exponent","mask","sync"];function cr(t){for(var e=[],n=1;n=0}),r=n.every(function(t){return 0>=(0,td.U2)(t,[e])});return i?{min:0}:r?{max:0}:{}}function cl(t,e,n,i,r){if(void 0===r&&(r=[]),!Array.isArray(t))return{nodes:[],links:[]};var o=[],a={},s=-1;return t.forEach(function(t){var l=t[e],u=t[n],c=t[i],E=ca(t,r);a[l]||(a[l]=(0,tf.pi)({id:++s,name:l},E)),a[u]||(a[u]=(0,tf.pi)({id:++s,name:u},E)),o.push((0,tf.pi)({source:a[l].id,target:a[u].id,value:c},E))}),{nodes:Object.values(a).sort(function(t,e){return t.id-e.id}),links:o}}function cu(t,e){var n=(0,td.hX)(t,function(t){var n=t[e];return null===n||"number"==typeof n&&!isNaN(n)});return co(Z.WARN,n.length===t.length,"illegal data existed in chart data."),n}(C=Z||(Z={})).ERROR="error",C.WARN="warn",C.INFO="log";var cc={}.toString,cE=function(t,e){return cc.call(t)==="[object "+e+"]"},ch=function(t){if(!("object"==typeof t&&null!==t)||!cE(t,"Object"))return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},cp=function(t,e,n,i){for(var r in n=n||0,i=i||5,e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=e[r];o?ch(o)?(ch(t[r])||(t[r]={}),n=(0,td.U2)(t,["views","length"],0)?cS(t):(0,td.u4)(t.views,function(t,e){return t.concat(cR(e))},cS(t))}function cg(t){if(!(0,td.P9)(t,"Object"))return t;var e=(0,tf.pi)({},t);return e.formatter&&!e.content&&(e.content=e.formatter),e}function cI(t){return"number"==typeof t&&!isNaN(t)}function cO(t){if((0,td.hj)(t))return[t,t,t,t];if((0,td.kJ)(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}function cy(t,e,n){void 0===e&&(e="bottom"),void 0===n&&(n=25);var i=cO(t),r=[e.startsWith("top")?n:0,e.startsWith("right")?n:0,e.startsWith("bottom")?n:0,e.startsWith("left")?n:0];return[i[0]+r[0],i[1]+r[1],i[2]+r[2],i[3]+r[3]]}function cv(t){var e=t.map(function(t){return cO(t)}),n=[0,0,0,0];return e.length>0&&(n=n.map(function(t,n){return e.forEach(function(i,r){t+=e[r][n]}),t})),n}(0,td.HP)(function(t,e){void 0===e&&(e={});var n=e.fontSize,i=e.fontFamily,r=e.fontWeight,o=e.fontStyle,a=e.fontVariant,s=($||($=document.createElement("canvas").getContext("2d")),$);return s.font=[o,r,a,"".concat(n,"px"),void 0===i?"sans-serif":i].join(" "),s.measureText((0,td.HD)(t)?t:"").width},function(t,e){return void 0===e&&(e={}),(0,tf.ev)([t],(0,td.VO)(e),!0).join("")});var cN=function(t,e,n,i){var r,o,a,s,l=[],u=!!i;if(u){a=[1/0,1/0],s=[-1/0,-1/0];for(var c=0,E=t.length;c"},key:"".concat(0===i?"top":"bottom","-statistic")},ca(e,["offsetX","offsetY","rotate","style","formatter"])))}})},cx=function(t,e,n){var i=e.statistic;[i.title,i.content].forEach(function(e){if(e){var i=(0,td.mf)(e.style)?e.style(n):e.style;t.annotation().html((0,tf.pi)({position:["50%","100%"],html:function(t,r){var o=r.getCoordinate(),a=r.views[0].getCoordinate(),s=a.getCenter(),l=a.getRadius(),u=Math.max(Math.sin(a.startAngle),Math.sin(a.endAngle))*l,c=s.y+u-o.y.start-parseFloat((0,td.U2)(i,"fontSize",0)),E=o.getRadius()*o.innerRadius*2;cL(t,(0,tf.pi)({width:"".concat(E,"px"),transform:"translate(-50%, ".concat(c,"px)")},cm(i)));var h=r.getData();if(e.customHtml)return e.customHtml(t,r,n,h);var p=e.content;return e.formatter&&(p=e.formatter(n,h)),p?(0,td.HD)(p)?p:"".concat(p):"
    "}},ca(e,["offsetX","offsetY","rotate","style","formatter"])))}})};function cM(t,e){return e?(0,td.u4)(e,function(t,e,n){return t.replace(RegExp("{\\s*".concat(n,"\\s*}"),"g"),e)},t):t}function cP(t,e){return t.views.find(function(t){return t.id===e})}function cD(t){var e=t.parent;return e?e.views:[]}function cU(t){return cD(t).filter(function(e){return e!==t})}function cb(t,e,n){void 0===n&&(n=t.geometries),"boolean"==typeof e?t.animate(e):t.animate(!0),(0,td.S6)(n,function(t){var n;n=(0,td.mf)(e)?e(t.type||t.shapeType,t)||!0:e,t.animate(n)})}function cF(){return"object"==typeof window?null==window?void 0:window.devicePixelRatio:2}function cB(t,e){void 0===e&&(e=t);var n=document.createElement("canvas"),i=cF();return n.width=t*i,n.height=e*i,n.style.width="".concat(t,"px"),n.style.height="".concat(e,"px"),n.getContext("2d").scale(i,i),n}function cG(t,e,n,i){void 0===i&&(i=n);var r=e.backgroundColor,o=e.opacity;t.globalAlpha=o,t.fillStyle=r,t.beginPath(),t.fillRect(0,0,n,i),t.closePath()}function cw(t,e,n){var i=t+e;return n?2*i:i}function cH(t,e){return e?[[t*(1/4),t*(1/4)],[t*(3/4),t*(3/4)]]:[[.5*t,.5*t]]}function cY(t,e){var n=e*Math.PI/180;return{a:Math.cos(n)*(1/t),b:Math.sin(n)*(1/t),c:-Math.sin(n)*(1/t),d:Math.cos(n)*(1/t),e:0,f:0}}var ck={size:6,padding:2,backgroundColor:"transparent",opacity:1,rotation:0,fill:"#fff",fillOpacity:.5,stroke:"transparent",lineWidth:0,isStagger:!0},cV={rotation:45,spacing:5,opacity:1,backgroundColor:"transparent",strokeOpacity:.5,stroke:"#fff",lineWidth:2},cW={size:6,padding:1,isStagger:!0,backgroundColor:"transparent",opacity:1,rotation:0,fill:"#fff",fillOpacity:.5,stroke:"transparent",lineWidth:0};function cX(t){var e=this;return function(n){var i,r=n.options,o=n.chart,a=r.pattern;return a?cT({},n,{options:((i={})[t]=function(n){for(var i,s,l,u=[],c=1;c0){var n;(function(t,e,n){var i,r=t.view,o=t.geometry,a=t.group,s=t.options,l=t.horizontal,u=s.offset,c=s.size,E=s.arrow,h=r.getCoordinate(),p=Eb(h,e)[3],T=Eb(h,n)[0],f=T.y-p.y,d=T.x-p.x;if("boolean"!=typeof E){var A=E.headSize,S=s.spacing;l?(d-A)/2R){var I=Math.max(1,Math.ceil(R/(g/f.length))-1),O="".concat(f.slice(0,I),"...");S.attr("text",O)}}}}(l,n,t)}})}})),t}),(o=!a.isStack,function(t){var e=t.chart,n=t.options.connectedArea,i=function(){e.removeInteraction(EP.hover),e.removeInteraction(EP.click)};if(!o&&n){var r=n.trigger||"hover";i(),e.interaction(EP[r],{start:ED(r,n.style)})}else i();return t}),c2)(t)}function EW(t){var e=t.options,n=e.xField,i=e.yField,r=e.xAxis,o=e.yAxis,a={left:"bottom",right:"top",top:"left",bottom:"right"},s=!1!==o&&(0,tf.pi)({position:a[(null==o?void 0:o.position)||"left"]},o),l=!1!==r&&(0,tf.pi)({position:a[(null==r?void 0:r.position)||"bottom"]},r);return(0,tf.pi)((0,tf.pi)({},t),{options:(0,tf.pi)((0,tf.pi)({},e),{xField:i,yField:n,xAxis:s,yAxis:l})})}function EX(t){var e=t.options.label;return!e||e.position||(e.position="left",e.layout||(e.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}])),cT({},t,{options:{label:e}})}function EK(t){var e=t.options,n=e.seriesField,i=e.isStack,r=e.legend;return n?!1!==r&&(r=(0,tf.pi)({position:i?"top-left":"right-top"},r||{})):r=!1,cT({},t,{options:{legend:r}})}function Ez(t){var e=[{type:"transpose"},{type:"reflectY"}].concat(t.options.coordinate||[]);return cT({},t,{options:{coordinate:e}})}function EZ(t){var e=t.chart,n=t.options,i=n.barStyle,r=n.barWidthRatio,o=n.minBarWidth,a=n.maxBarWidth,s=n.barBackground;return EV({chart:e,options:(0,tf.pi)((0,tf.pi)({},n),{columnStyle:i,columnWidthRatio:r,minColumnWidth:o,maxColumnWidth:a,columnBackground:s})},!0)}function E$(t){return cd(EW,EX,EK,cz,Ez,EZ)(t)}r4(EP.hover,{start:ED(EP.hover),end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),r4(EP.click,{start:ED(EP.click),end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]});var EJ=cT({},EE.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),Ej=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bar",e}return(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return EJ},e.prototype.changeData=function(t){this.updateOption({data:t});var e,n,i,r,o,a=this.chart,s=this.options,l=s.isPercent,u=s.xField,c=s.yField,E=s.xAxis,h=s.yAxis;u=(r=[c,u])[0],c=r[1],E=(o=[h,E])[0],h=o[1],EG({chart:a,options:(0,tf.pi)((0,tf.pi)({},s),{xField:u,yField:c,yAxis:h,xAxis:E})}),a.changeData((e=u,n=c,i=u,l?Eh(t,e,n,i):t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return E$},e}(EE),Eq=cT({},EE.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),EQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}return(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return Eq},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.yField,i=e.xField,r=e.isPercent;EG({chart:this.chart,options:this.options}),this.chart.changeData(r?Eh(t,n,i,n):t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return EV},e}(EE),E0="$$percentage$$",E1="$$mappingValue$$",E2="$$conversion$$",E5="$$totalPercentage$$",E6="$$x$$",E3="$$y$$",E4={appendPadding:[0,80],minSize:0,maxSize:1,meta:((J={})[E1]={min:0,max:1,nice:!1},J),label:{style:{fill:"#fff",fontSize:12}},tooltip:{showTitle:!1,showMarkers:!1,shared:!1},conversionTag:{offsetX:10,offsetY:0,style:{fontSize:12,fill:"rgba(0,0,0,0.45)"}}},E8="CONVERSION_TAG_NAME";function E9(t,e,n){var i=n.yField,r=n.maxSize,o=n.minSize,a=(0,td.U2)((0,td.UT)(e,i),[i]),s=(0,td.hj)(r)?r:1,l=(0,td.hj)(o)?o:0;return(0,td.UI)(t,function(e,n){var r=(e[i]||0)/a;return e[E0]=r,e[E1]=(s-l)*r+l,e[E2]=[(0,td.U2)(t,[n-1,i]),e[i]],e})}function E7(t){return function(e){var n=e.chart,i=e.options,r=i.conversionTag,o=i.filteredData||n.getOptions().data;if(r){var a=r.formatter;o.forEach(function(e,i){if(!(i<=0||Number.isNaN(e[E1]))){var s=t(e,i,o,{top:!0,name:E8,text:{content:(0,td.mf)(a)?a(e,o):a,offsetX:r.offsetX,offsetY:r.offsetY,position:"end",autoRotate:!1,style:(0,tf.pi)({textAlign:"start",textBaseline:"middle"},r.style)}});n.annotation().line(s)}})}return e}}function ht(t){var e=t.chart,n=t.options,i=n.data,r=void 0===i?[]:i,o=E9(r,r,{yField:n.yField,maxSize:n.maxSize,minSize:n.minSize});return e.data(o),t}function he(t){var e=t.chart,n=t.options,i=n.xField,r=n.yField,o=n.color,a=n.tooltip,s=n.label,l=n.shape,u=n.funnelStyle,c=n.state,E=c8(a,[i,r]),h=E.fields,p=E.formatter;return Et({chart:e,options:{type:"interval",xField:i,yField:E1,colorField:i,tooltipFields:(0,td.kJ)(h)&&h.concat([E0,E2]),mapping:{shape:void 0===l?"funnel":l,tooltip:p,color:o,style:u},label:s,state:c}}),cA(t.chart,"interval").adjust("symmetric"),t}function hn(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[]:[["transpose"],["scale",1,-1]]}),t}function hi(t){var e=t.options,n=t.chart,i=e.maxSize,r=(0,td.U2)(n,["geometries","0","dataArray"],[]),o=(0,td.U2)(n,["options","data","length"]),a=(0,td.UI)(r,function(t){return(0,td.U2)(t,["0","nextPoints","0","x"])*o-.5});return E7(function(t,e,n,r){var o=i-(i-t[E1])/2;return(0,tf.pi)((0,tf.pi)({},r),{start:[a[e-1]||e-.5,o],end:[a[e-1]||e-.5,o+.05]})})(t),t}function hr(t){return cd(ht,he,hn,hi)(t)}function ho(t){var e,n=t.chart,i=t.options,r=i.data,o=void 0===r?[]:r,a=i.yField;return n.data(o),n.scale(((e={})[a]={sync:!0},e)),t}function ha(t){var e=t.chart,n=t.options,i=n.data,r=n.xField,o=n.yField,a=n.color,s=n.compareField,l=n.isTransposed,u=n.tooltip,c=n.maxSize,E=n.minSize,h=n.label,p=n.funnelStyle,T=n.state,f=n.showFacetTitle;return e.facet("mirror",{fields:[s],transpose:!l,padding:l?0:[32,0,0,0],showTitle:f,eachView:function(t,e){var n=l?e.rowIndex:e.columnIndex;l||t.coordinate({type:"rect",actions:[["transpose"],["scale",0===n?-1:1,-1]]});var f=E9(e.data,i,{yField:o,maxSize:c,minSize:E});t.data(f);var d=c8(u,[r,o,s]),A=d.fields,S=d.formatter;Et({chart:t,options:{type:"interval",xField:r,yField:E1,colorField:r,tooltipFields:(0,td.kJ)(A)&&A.concat([E0,E2]),mapping:{shape:"funnel",tooltip:S,color:a,style:p},label:!1!==h&&cT({},l?{offset:0===n?10:-23,position:0===n?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:0===n?"end":"start"}},h),state:T}})}}),t}function hs(t){var e=t.chart,n=t.index,i=t.options,r=i.conversionTag,o=i.isTransposed;((0,td.hj)(n)?[e]:e.views).forEach(function(t,e){var a=(0,td.U2)(t,["geometries","0","dataArray"],[]),s=(0,td.U2)(t,["options","data","length"]),l=(0,td.UI)(a,function(t){return(0,td.U2)(t,["0","nextPoints","0","x"])*s-.5});E7(function(t,i,a,s){var u=0===(n||e)?-1:1;return cT({},s,{start:[l[i-1]||i-.5,t[E1]],end:[l[i-1]||i-.5,t[E1]+.05],text:o?{style:{textAlign:"start"}}:{offsetX:!1!==r?u*r.offsetX:0,style:{textAlign:0===(n||e)?"end":"start"}}})})(cT({},{chart:t,options:i}))})}function hl(t){return t.chart.once("beforepaint",function(){return hs(t)}),t}function hu(t){var e=t.chart,n=t.options,i=n.data,r=void 0===i?[]:i,o=n.yField,a=(0,td.u4)(r,function(t,e){return t+(e[o]||0)},0),s=(0,td.UT)(r,o)[o],l=(0,td.UI)(r,function(t,e){var n=[],i=[];if(t[E5]=(t[o]||0)/a,e){var l=r[e-1][E6],u=r[e-1][E3];n[0]=l[3],i[0]=u[3],n[1]=l[2],i[1]=u[2]}else n[0]=-.5,i[0]=1,n[1]=.5,i[1]=1;return i[2]=i[1]-t[E5],n[2]=(i[2]+1)/4,i[3]=i[2],n[3]=-n[2],t[E6]=n,t[E3]=i,t[E0]=(t[o]||0)/s,t[E2]=[(0,td.U2)(r,[e-1,o]),t[o]],t});return e.data(l),t}function hc(t){var e=t.chart,n=t.options,i=n.xField,r=n.yField,o=n.color,a=n.tooltip,s=n.label,l=n.funnelStyle,u=n.state,c=c8(a,[i,r]),E=c.fields,h=c.formatter;return Et({chart:e,options:{type:"polygon",xField:E6,yField:E3,colorField:i,tooltipFields:(0,td.kJ)(E)&&E.concat([E0,E2]),label:s,state:u,mapping:{tooltip:h,color:o,style:l}}}),t}function hE(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[["transpose"],["reflect","x"]]:[]}),t}function hh(t){return E7(function(t,e,n,i){return(0,tf.pi)((0,tf.pi)({},i),{start:[t[E6][1],t[E3][1]],end:[t[E6][1]+.05,t[E3][1]]})})(t),t}function hp(t){var e,n=t.chart,i=t.options,r=i.data,o=void 0===r?[]:r,a=i.yField;return n.data(o),n.scale(((e={})[a]={sync:!0},e)),t}function hT(t){var e=t.chart,n=t.options,i=n.seriesField,r=n.isTransposed,o=n.showFacetTitle;return e.facet("rect",{fields:[i],padding:[r?0:32,10,0,10],showTitle:o,eachView:function(e,n){hr(cT({},t,{chart:e,options:{data:n.data}}))}}),t}var hf=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rendering=!1,e}return(0,tf.ZT)(e,t),e.prototype.change=function(t){var e=this;if(!this.rendering){var n=t.seriesField,i=t.compareField,r=i?hs:hi,o=this.context.view,a=n||i?o.views:[o];(0,td.UI)(a,function(n,i){var o=n.getController("annotation"),a=(0,td.hX)((0,td.U2)(o,["option"],[]),function(t){return t.name!==E8});o.clear(!0),(0,td.S6)(a,function(t){"object"==typeof t&&n.annotation()[t.type](t)});var s=(0,td.U2)(n,["filteredData"],n.getOptions().data);r({chart:n,index:i,options:(0,tf.pi)((0,tf.pi)({},t),{filteredData:E9(s,s,t)})}),n.filterData(s),e.rendering=!0,n.render(!0)})}this.rendering=!1},e}(rI),hd="funnel-conversion-tag",hA="funnel-afterrender",hS={trigger:"afterrender",action:"".concat(hd,":change")};function hR(t){var e,n=t.options,i=n.compareField,r=n.xField,o=n.yField,a=n.locale,s=n.funnelStyle,l=n.data,u=c4(a);return(i||s)&&(e=function(t){return cT({},i&&{lineWidth:1,stroke:"#fff"},(0,td.mf)(s)?s(t):s)}),cT({options:{label:i?{fields:[r,o,i,E0,E2],formatter:function(t){return"".concat(t[o])}}:{fields:[r,o,E0,E2],offset:0,position:"middle",formatter:function(t){return"".concat(t[r]," ").concat(t[o])}},tooltip:{title:r,formatter:function(t){return{name:t[r],value:t[o]}}},conversionTag:{formatter:function(t){return"".concat(u.get(["conversionTag","label"]),": ").concat(EU.apply(void 0,t[E2]))}}}},t,{options:{funnelStyle:e,data:(0,td.d9)(l)}})}function hg(t){var e=t.options,n=e.compareField,i=e.dynamicHeight;return e.seriesField?cd(hp,hT)(t):n?cd(ho,ha,hl)(t):i?cd(hu,hc,hE,hh)(t):hr(t)}function hI(t){var e,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField;return cd(c0(((e={})[o]=i,e[a]=r,e)))(t)}function hO(t){return t.chart.axis(!1),t}function hy(t){var e=t.chart,n=t.options.legend;return!1===n?e.legend(!1):e.legend(n),t}function hv(t){var e=t.chart,n=t.options,i=n.interactions,r=n.dynamicHeight;return(0,td.S6)(i,function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg||{})}),r?e.removeInteraction(hA):e.interaction(hA,{start:[(0,tf.pi)((0,tf.pi)({},hS),{arg:n})]}),t}function hN(t){return cd(hR,hg,hI,hO,cz,hv,hy,c$,cJ,c1())(t)}rN(hd,hf),r4(hA,{start:[hS]});var hC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="funnel",e}return(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return E4},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return hN},e.prototype.setState=function(t,e,n){void 0===n&&(n=!0);var i=cR(this.chart);(0,td.S6)(i,function(i){e(i.getData())&&i.setState(t,n)})},e.prototype.getStates=function(){var t=cR(this.chart),e=[];return(0,td.S6)(t,function(t){var n=t.getData(),i=t.getStates();(0,td.S6)(i,function(i){e.push({data:n,state:i,geometry:t.geometry,element:t})})}),e},e.CONVERSATION_FIELD=E2,e.PERCENT_FIELD=E0,e.TOTAL_PERCENT_FIELD=E5,e}(EE),hm="range",hL="type",h_="percent",hx="indicator-view",hM="range-view",hP={percent:0,range:{ticks:[]},innerRadius:.9,radius:.95,startAngle:-7/6*Math.PI,endAngle:1/6*Math.PI,syncViewPadding:!0,axis:{line:null,label:{offset:-24,style:{textAlign:"center",textBaseline:"middle"}},subTickLine:{length:-8},tickLine:{length:-12},grid:null},indicator:{pointer:{style:{lineWidth:5,lineCap:"round"}},pin:{style:{r:9.75,lineWidth:4.5,fill:"#fff"}}},statistic:{title:!1},meta:((j={})[hm]={sync:"v"},j[h_]={sync:"v",tickCount:5,tickInterval:.2},j),animation:!1};function hD(t){var e;return[((e={})[h_]=(0,td.uZ)(t,0,1),e)]}function hU(t,e){var n=(0,td.U2)(e,["ticks"],[]),i=(0,td.dp)(n)?(0,td.jj)(n):[0,(0,td.uZ)(t,0,1),1];return i[0]||i.shift(),i.map(function(e,n){var r;return(r={})[hm]=e-(i[n-1]||0),r[hL]="".concat(n),r[h_]=t,r})}function hb(t){var e=t.chart,n=t.options,i=n.percent,r=n.range,o=n.radius,a=n.innerRadius,s=n.startAngle,l=n.endAngle,u=n.axis,c=n.indicator,E=n.gaugeStyle,h=n.type,p=n.meter,T=r.color,f=r.width;if(c){var d=hD(i),A=e.createView({id:hx});A.data(d),A.point().position("".concat(h_,"*1")).shape(c.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:c}),A.coordinate("polar",{startAngle:s,endAngle:l,radius:a*o}),A.axis(h_,u),A.scale(h_,ca(u,ci))}var S=hU(i,n.range),R=e.createView({id:hM});return R.data(S),Ei({chart:R,options:{xField:"1",yField:hm,seriesField:hL,rawFields:[h_],isStack:!0,interval:{color:(0,td.HD)(T)?[T,"#f0f0f0"]:T,style:E,shape:"meter"===h?"meter-gauge":null},args:{zIndexReversed:!0,sortZIndex:!0},minColumnWidth:f,maxColumnWidth:f}}).ext.geometry.customInfo({meter:p}),R.coordinate("polar",{innerRadius:a,radius:o,startAngle:s,endAngle:l}).transpose(),t}function hF(t){var e;return cd(c0(((e={range:{min:0,max:1,maxLimit:1,minLimit:0}})[h_]={},e)))(t)}function hB(t,e){var n=t.chart,i=t.options,r=i.statistic,o=i.percent;if(n.getController("annotation").clear(!0),r){var a=r.content,s=void 0;a&&(s=cT({},{content:"".concat((100*o).toFixed(2),"%"),style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},a)),cx(n,{statistic:(0,tf.pi)((0,tf.pi)({},r),{content:s})},{percent:o})}return e&&n.render(!0),t}function hG(t){var e=t.chart,n=t.options.tooltip;return n?e.tooltip(cT({showTitle:!1,showMarkers:!1,containerTpl:'
    ',domStyles:{"g2-tooltip":{padding:"4px 8px",fontSize:"10px"}},customContent:function(t,e){var n=(0,td.U2)(e,[0,"data",h_],0);return"".concat((100*n).toFixed(2),"%")}},n)):e.tooltip(!1),t}function hw(t){return t.chart.legend(!1),t}function hH(t){return cd(cJ,c$,hb,hF,hG,hB,cZ,c1(),hw)(t)}oz("point","gauge-indicator",{draw:function(t,e){var n=t.customInfo,i=n.indicator,r=n.defaultColor,o=i.pointer,a=i.pin,s=e.addGroup(),l=this.parsePoint({x:0,y:0});return o&&s.addShape("line",{name:"pointer",attrs:(0,tf.pi)({x1:l.x,y1:l.y,x2:t.x,y2:t.y,stroke:r},o.style)}),a&&s.addShape("circle",{name:"pin",attrs:(0,tf.pi)({x:l.x,y:l.y,stroke:r},a.style)}),s}}),oz("interval","meter-gauge",{draw:function(t,e){var n=t.customInfo.meter,i=void 0===n?{}:n,r=i.steps,o=void 0===r?50:r,a=i.stepRatio,s=void 0===a?.5:a;o=o<1?1:o,s=(0,td.uZ)(s,0,1);var l=this.coordinate,u=l.startAngle,c=l.endAngle,E=0;s>0&&s<1&&(E=(c-u)/o/(s/(1-s)+1-1/o));for(var h=E/(1-s)*s,p=e.addGroup(),T=this.coordinate.getCenter(),f=this.coordinate.getRadius(),d=ar.getAngle(t,this.coordinate),A=d.startAngle,S=d.endAngle,R=A;R1?l/(i-1):s.max),n||i||(u=l/(Math.ceil(Math.log(a.length)/Math.LN2)+1));var c={},E=(0,td.vM)(o,r);(0,td.xb)(E)?(0,td.S6)(o,function(t){var n=hk(t[e],u,i),r="".concat(n[0],"-").concat(n[1]);(0,td.wH)(c,r)||(c[r]={range:n,count:0}),c[r].count+=1}):Object.keys(E).forEach(function(t){(0,td.S6)(E[t],function(n){var o=hk(n[e],u,i),a="".concat(o[0],"-").concat(o[1]),s="".concat(a,"-").concat(t);(0,td.wH)(c,s)||(c[s]={range:o,count:0},c[s][r]=t),c[s].count+=1})});var h=[];return(0,td.S6)(c,function(t){h.push(t)}),h}var hW="range",hX="count",hK=cT({},EE.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});function hz(t){var e=t.chart,n=t.options,i=n.data,r=n.binField,o=n.binNumber,a=n.binWidth,s=n.color,l=n.stackField,u=n.legend,c=n.columnStyle,E=hV(i,r,a,o,l);return e.data(E),Ei(cT({},t,{options:{xField:hW,yField:hX,seriesField:l,isStack:!0,interval:{color:s,style:c}}})),u&&l?e.legend(l,u):e.legend(!1),t}function hZ(t){var e,n=t.options,i=n.xAxis,r=n.yAxis;return cd(c0(((e={})[hW]=i,e[hX]=r,e)))(t)}function h$(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis;return!1===i?e.axis(hW,!1):e.axis(hW,i),!1===r?e.axis(hX,!1):e.axis(hX,r),t}function hJ(t){var e=t.chart,n=t.options.label,i=cA(e,"interval");if(n){var r=n.callback,o=(0,tf._T)(n,["callback"]);i.label({fields:[hX],callback:r,cfg:cg(o)})}else i.label(!1);return t}function hj(t){return cd(cJ,cX("columnStyle"),hz,hZ,h$,cj,hJ,cz,cZ,c$)(t)}var hq=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="histogram",e}return(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return hK},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.binField,i=e.binNumber,r=e.binWidth,o=e.stackField;this.chart.changeData(hV(t,n,r,i,o))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return hj},e}(EE),hQ=cT({},EE.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left",radio:{}},isStack:!1});rN("marker-active",function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.active=function(){var t=this.getView(),e=this.context.event;if(e.data){var n=e.data.items,i=t.geometries.filter(function(t){return"point"===t.type});(0,td.S6)(i,function(t){(0,td.S6)(t.elements,function(t){var e=-1!==(0,td.cx)(n,function(e){return e.data===t.data});t.setState("active",e)})})}},e.prototype.reset=function(){var t=this.getView().geometries.filter(function(t){return"point"===t.type});(0,td.S6)(t,function(t){(0,td.S6)(t.elements,function(t){t.setState("active",!1)})})},e.prototype.getView=function(){return this.context.view},e}(rI)),r4("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}],end:[{trigger:"tooltip:hide",action:"marker-active:reset"}]});var h0=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e}return(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return hQ},e.prototype.changeData=function(t){this.updateOption({data:t}),ET({chart:this.chart,options:this.options}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Eg},e}(EE),h1=cT({},EE.getDefaultOptions(),{legend:{position:"right",radio:{}},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}}),h2=[1,0,0,0,1,0,0,0,1];function h5(t,e){var n=e?(0,tf.ev)([],e,!0):(0,tf.ev)([],h2,!0);return ar.transform(n,t)}var h6=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getActiveElements=function(){var t=ar.getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,i=t.item,r=n.get("field");if(r)return e.geometries[0].elements.filter(function(t){return t.getModel().data[r]===i.value})}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements();return t.geometries[0].labelsContainer.getChildren().filter(function(t){return e.find(function(e){return(0,td.Xy)(e.getData(),t.get("data"))})})},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach(function(e,i){var r=n[i],o=e.geometry.coordinate;if(o.isPolar&&o.isTransposed){var a=ar.getAngle(e.getModel(),o),s=(a.startAngle+a.endAngle)/2,l=t,u=l*Math.cos(s),c=l*Math.sin(s);e.shape.setMatrix(h5([["t",u,c]])),r.setMatrix(h5([["t",u,c]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(rI),h3=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getAnnotations=function(t){return(t||this.context.view).getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",function(){var n=t.getAnnotations(e);t.initialAnnotation=n})},e.prototype.change=function(t){var e,n,i=this.context,r=i.view,o=i.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var a=(0,td.U2)(o,["data","data"]);if(o.type.match("legend-item")){var s=ar.getDelegationObject(this.context),l=r.getGroupedFields()[0];if(s&&l){var u=s.item;a=r.getData().find(function(t){return t[l]===u.value})}}if(a){var c=(0,td.U2)(t,"annotations",[]),E=(0,td.U2)(t,"statistic",{});r.getController("annotation").clear(!0),(0,td.S6)(c,function(t){"object"==typeof t&&r.annotation()[t.type](t)}),c_(r,{statistic:E,plotType:"pie"},a),r.render(!0)}var h=((n=this.context.event.target)&&(e=n.get("element")),e);h&&h.shape.toFront()},e.prototype.reset=function(){var t=this.context.view;t.getController("annotation").clear(!0);var e=this.getInitialAnnotation();(0,td.S6)(e,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(rI),h4="pie-statistic";function h8(t,e){return(0,td.yW)(cu(t,e),function(t){return 0===t[e]})}function h9(t){var e=t.chart,n=t.options,i=n.data,r=n.angleField,o=n.colorField,a=n.color,s=n.pieStyle,l=n.shape,u=cu(i,r);if(h8(u,r)){var c="$$percentage$$";u=u.map(function(t){var e;return(0,tf.pi)((0,tf.pi)({},t),((e={})[c]=1/u.length,e))}),e.data(u);var E=cT({},t,{options:{xField:"1",yField:c,seriesField:o,isStack:!0,interval:{color:a,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});Ei(E)}else{e.data(u);var E=cT({},t,{options:{xField:"1",yField:r,seriesField:o,isStack:!0,interval:{color:a,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});Ei(E)}return t}function h7(t){var e,n=t.chart,i=t.options,r=i.meta,o=i.colorField,a=cT({},r);return n.scale(a,((e={})[o]={type:"cat"},e)),t}function pt(t){var e=t.chart,n=t.options,i=n.radius,r=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:"theta",cfg:{radius:i,innerRadius:r,startAngle:o,endAngle:a}}),t}function pe(t){var e=t.chart,n=t.options,i=n.label,r=n.colorField,o=n.angleField,a=e.geometries[0];if(i){var s=i.callback,l=cg((0,tf._T)(i,["callback"]));if(l.content){var u=l.content;l.content=function(t,n,i){var a=t[r],s=t[o],l=e.getScaleByField(o),c=null==l?void 0:l.scale(s);return(0,td.mf)(u)?u((0,tf.pi)((0,tf.pi)({},t),{percent:c}),n,i):(0,td.HD)(u)?cM(u,{value:s,name:a,percentage:(0,td.hj)(c)&&!(0,td.UM)(s)?"".concat((100*c).toFixed(2),"%"):null}):u}}var c=l.type?({inner:"",outer:"pie-outer",spider:"pie-spider"})[l.type]:"pie-outer",E=l.layout?(0,td.kJ)(l.layout)?l.layout:[l.layout]:[];l.layout=(c?[{type:c}]:[]).concat(E),a.label({fields:r?[o,r]:[o],callback:s,cfg:(0,tf.pi)((0,tf.pi)({},l),{offset:function(t,e){var n;switch(t){case"inner":if(n="-30%",(0,td.HD)(e)&&e.endsWith("%"))return .01*parseFloat(e)>0?n:e;return e<0?e:n;case"outer":if(n=12,(0,td.HD)(e)&&e.endsWith("%"))return .01*parseFloat(e)<0?n:e;return e>0?e:n;default:return e}}(l.type,l.offset),type:"pie"})})}else a.label(!1);return t}function pn(t){var e=t.innerRadius,n=t.statistic,i=t.angleField,r=t.colorField,o=t.meta,a=c4(t.locale);if(e&&n){var s=cT({},h1.statistic,n),l=s.title,u=s.content;return!1!==l&&(l=cT({},{formatter:function(t){var e=t?t[r]:(0,td.UM)(l.content)?a.get(["statistic","total"]):l.content;return((0,td.U2)(o,[r,"formatter"])||function(t){return t})(e)}},l)),!1!==u&&(u=cT({},{formatter:function(t,e){var n,r=t?t[i]:(n=null,(0,td.S6)(e,function(t){"number"==typeof t[i]&&(n+=t[i])}),n),a=(0,td.U2)(o,[i,"formatter"])||function(t){return t};return t?a(r):(0,td.UM)(u.content)?a(r):u.content}},u)),cT({},{statistic:{title:l,content:u}},t)}return t}function pi(t){var e=t.chart,n=pn(t.options),i=n.innerRadius,r=n.statistic;return e.getController("annotation").clear(!0),cd(c1())(t),i&&r&&c_(e,{statistic:r,plotType:"pie"}),t}function pr(t){var e=t.chart,n=t.options,i=n.tooltip,r=n.colorField,o=n.angleField,a=n.data;if(!1===i)e.tooltip(i);else if(e.tooltip(cT({},i,{shared:!1})),h8(a,o)){var s=(0,td.U2)(i,"fields"),l=(0,td.U2)(i,"formatter");(0,td.xb)((0,td.U2)(i,"fields"))&&(s=[r,o],l=l||function(t){return{name:t[r],value:(0,td.BB)(t[o])}}),e.geometries[0].tooltip(s.join("*"),c7(s,l))}return t}function po(t){var e=t.chart,n=pn(t.options),i=n.interactions,r=n.statistic,o=n.annotations;return(0,td.S6)(i,function(t){var n,i;if(!1===t.enable)e.removeInteraction(t.type);else if("pie-statistic-active"===t.type){var a=[];(null===(n=t.cfg)||void 0===n?void 0:n.start)||(a=[{trigger:"element:mouseenter",action:"".concat(h4,":change"),arg:{statistic:r,annotations:o}}]),(0,td.S6)(null===(i=t.cfg)||void 0===i?void 0:i.start,function(t){a.push((0,tf.pi)((0,tf.pi)({},t),{arg:{statistic:r,annotations:o}}))}),e.interaction(t.type,cT({},t.cfg,{start:a}))}else e.interaction(t.type,t.cfg||{})}),t}function pa(t){return cd(cX("pieStyle"),h9,h7,cJ,pt,cK,pr,pe,cj,pi,po,c$)(t)}rN(h4,h3),r4("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),rN("pie-legend",h6),r4("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]});var ps=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}return(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return h1},e.prototype.changeData=function(t){this.chart.emit(U.BEFORE_CHANGE_DATA,oR.fromData(this.chart,U.BEFORE_CHANGE_DATA,null));var e=this.options,n=this.options.angleField,i=cu(e.data,n),r=cu(t,n);h8(i,n)||h8(r,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(r),pi({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(U.AFTER_CHANGE_DATA,oR.fromData(this.chart,U.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return pa},e}(EE),pl={percent:.2,color:["#FAAD14","#E8EDF3"],animation:{}};function pu(t){var e=(0,td.uZ)(cI(t)?t:0,0,1);return[{current:"".concat(e),type:"current",percent:e},{current:"".concat(e),type:"target",percent:1}]}function pc(t){var e=t.chart,n=t.options,i=n.percent,r=n.progressStyle,o=n.color,a=n.barWidthRatio;return e.data(pu(i)),Ei(cT({},t,{options:{xField:"current",yField:"percent",seriesField:"type",widthRatio:a,interval:{style:r,color:(0,td.HD)(o)?[o,"#E8EDF3"]:o},args:{zIndexReversed:!0,sortZIndex:!0}}})),e.tooltip(!1),e.axis(!1),e.legend(!1),t}function pE(t){return t.chart.coordinate("rect").transpose(),t}function ph(t){return cd(pc,c0({}),pE,c$,cJ,c1())(t)}var pp=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="process",e}return(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return pl},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData(pu(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return ph},e}(EE);function pT(t){var e=t.chart,n=t.options,i=n.innerRadius,r=n.radius;return e.coordinate("theta",{innerRadius:i,radius:r}),t}function pf(t,e){var n=t.chart,i=t.options,r=i.innerRadius,o=i.statistic,a=i.percent,s=i.meta;if(n.getController("annotation").clear(!0),r&&o){var l=(0,td.U2)(s,["percent","formatter"])||function(t){return"".concat((100*t).toFixed(2),"%")},u=o.content;u&&(u=cT({},u,{content:(0,td.UM)(u.content)?l(a):u.content})),c_(n,{statistic:(0,tf.pi)((0,tf.pi)({},o),{content:u}),plotType:"ring-progress"},{percent:a})}return e&&n.render(!0),t}function pd(t){return cd(pc,c0({}),pT,pf,c$,cJ,c1())(t)}var pA={percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"}}},animation:{}},pS=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ring-process",e}return(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return pA},e.prototype.changeData=function(t){this.chart.emit(U.BEFORE_CHANGE_DATA,oR.fromData(this.chart,U.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(pu(t)),pf({chart:this.chart,options:this.options},!0),this.chart.emit(U.AFTER_CHANGE_DATA,oR.fromData(this.chart,U.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return pd},e}(EE),pR=n(56645),pg={exp:pR.regressionExp,linear:pR.regressionLinear,loess:pR.regressionLoess,log:pR.regressionLog,poly:pR.regressionPoly,pow:pR.regressionPow,quad:pR.regressionQuad},pI=function(t,e){var n=e.view,i=e.options,r=i.xField,o=i.yField,a=n.getScaleByField(r),s=n.getScaleByField(o);return function(t,e,n){var i=[],r=t[0],o=null;if(t.length<=2)return function(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var i=1,r=t.length;i
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}},pJ={appendPadding:2,tooltip:(0,tf.pi)({},p$),animation:{}};function pj(t){var e=t.chart,n=t.options,i=n.data,r=n.color,o=n.areaStyle,a=n.point,s=n.line,l=null==a?void 0:a.state,u=pZ(i);e.data(u);var c=cT({},t,{options:{xField:"x",yField:"y",area:{color:r,style:o},line:s,point:a}}),E=cT({},c,{options:{tooltip:!1}}),h=cT({},c,{options:{tooltip:!1,state:l}});return Ee(c),Er(E),Eo(h),e.axis(!1),e.legend(!1),t}function pq(t){var e,n,i=t.options,r=i.xAxis,o=i.yAxis,a=pZ(i.data);return cd(c0(((e={}).x=r,e.y=o,e),((n={}).x={type:"cat"},n.y=cs(a,"y"),n)))(t)}function pQ(t){return cd(cX("areaStyle"),pj,pq,cz,cJ,c$,c1())(t)}var p0={appendPadding:2,tooltip:(0,tf.pi)({},p$),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}},p1=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-area",e}return(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return p0},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart;pq({chart:e,options:this.options}),e.changeData(pZ(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return pQ},e}(EE);function p2(t){var e=t.chart,n=t.options,i=n.data,r=n.color,o=n.columnStyle,a=n.columnWidthRatio,s=pZ(i);return e.data(s),Ei(cT({},t,{options:{xField:"x",yField:"y",widthRatio:a,interval:{style:o,color:r}}})),e.axis(!1),e.legend(!1),e.interaction("element-active"),t}function p5(t){return cd(cJ,cX("columnStyle"),p2,pq,cz,c$,c1())(t)}var p6={appendPadding:2,tooltip:(0,tf.pi)({},{showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return"".concat((0,td.U2)(e,[0,"data","y"],0))},containerTpl:'
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}}),animation:{}},p3=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-column",e}return(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return p6},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart;pq({chart:e,options:this.options}),e.changeData(pZ(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return p5},e}(EE);function p4(t){var e=t.chart,n=t.options,i=n.data,r=n.color,o=n.lineStyle,a=n.point,s=null==a?void 0:a.state,l=pZ(i);e.data(l);var u=cT({},t,{options:{xField:"x",yField:"y",line:{color:r,style:o},point:a}}),c=cT({},u,{options:{tooltip:!1,state:s}});return Er(u),Eo(c),e.axis(!1),e.legend(!1),t}function p8(t){return cd(p4,pq,cJ,cz,c$,c1())(t)}var p9=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-line",e}return(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return pJ},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart;pq({chart:e,options:this.options}),e.changeData(pZ(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return p8},e}(EE),p7={line:Eg,pie:pa,column:EV,bar:E$,area:Ev,gauge:hH,"tiny-line":p8,"tiny-column":p5,"tiny-area":pQ,"ring-progress":pd,progress:ph,scatter:pD,histogram:hj,funnel:hN,stock:pK},Tt={line:h0,pie:ps,column:EQ,bar:Ej,area:EC,gauge:hY,"tiny-line":p9,"tiny-column":p3,"tiny-area":p1,"ring-progress":pS,progress:pp,scatter:pb,histogram:hq,funnel:hC,stock:pz},Te={pie:{label:!1},column:{tooltip:{showMarkers:!1}},bar:{tooltip:{showMarkers:!1}}};function Tn(t,e,n){var i=Tt[t];if(!i){console.error("could not find ".concat(t," plot"));return}(0,p7[t])({chart:e,options:cT({},i.getDefaultOptions(),(0,td.U2)(Te,t,{}),n)})}function Ti(t){var e=t.chart,n=t.options,i=n.views,r=n.legend;return(0,td.S6)(i,function(t){var n=t.region,i=t.data,r=t.meta,o=t.axes,a=t.coordinate,s=t.interactions,l=t.annotations,u=t.tooltip,c=t.geometries,E=e.createView({region:n});E.data(i);var h={};o&&(0,td.S6)(o,function(t,e){h[e]=ca(t,ci)}),h=cT({},r,h),E.scale(h),o?(0,td.S6)(o,function(t,e){E.axis(e,t)}):E.axis(!1),E.coordinate(a),(0,td.S6)(c,function(t){var e=Et({chart:E,options:t}).ext,n=t.adjust;n&&e.geometry.adjust(n)}),(0,td.S6)(s,function(t){!1===t.enable?E.removeInteraction(t.type):E.interaction(t.type,t.cfg)}),(0,td.S6)(l,function(t){E.annotation()[t.type]((0,tf.pi)({},t))}),"boolean"==typeof t.animation?E.animate(!1):(E.animate(!0),(0,td.S6)(E.geometries,function(e){e.animate(t.animation)})),u&&(E.interaction("tooltip"),E.tooltip(u))}),r?(0,td.S6)(r,function(t,n){e.legend(n,t)}):e.legend(!1),e.tooltip(n.tooltip),t}function Tr(t){var e=t.chart,n=t.options,i=n.plots,r=n.data,o=void 0===r?[]:r;return(0,td.S6)(i,function(t){var n=t.type,i=t.region,r=t.options,a=void 0===r?{}:r,s=t.top,l=a.tooltip;if(s){Tn(n,e,(0,tf.pi)((0,tf.pi)({},a),{data:o}));return}var u=e.createView((0,tf.pi)({region:i},ca(a,Ec)));l&&u.interaction("tooltip"),Tn(n,u,(0,tf.pi)({data:o},a))}),t}function To(t){var e=t.chart,n=t.options;return e.option("slider",n.slider),t}function Ta(t){return cd(c$,Ti,Tr,cZ,c$,cJ,cz,To,c1())(t)}rN("association",function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getAssociationItems=function(t,e){var n,i=this.context.event,r=e||{},o=r.linkField,a=r.dim,s=[];if(null===(n=i.data)||void 0===n?void 0:n.data){var l=i.data.data;(0,td.S6)(t,function(t){var e,n,i=o;if("x"===a?i=t.getXScale().field:"y"===a?i=null===(e=t.getYScales().find(function(t){return t.field===i}))||void 0===e?void 0:e.field:i||(i=null===(n=t.getGroupScales()[0])||void 0===n?void 0:n.field),i){var r=(0,td.UI)(cS(t),function(e){var n,r,o=!1,a=!1,s=(0,td.kJ)(l)?(0,td.U2)(l[0],i):(0,td.U2)(l,i);return(n=i,r=e.getModel().data,((0,td.kJ)(r)?r[0][n]:r[n])===s)?o=!0:a=!0,{element:e,view:t,active:o,inactive:a}});s.push.apply(s,r)}})}return s},e.prototype.showTooltip=function(t){var e=cU(this.context.view),n=this.getAssociationItems(e,t);(0,td.S6)(n,function(t){if(t.active){var e=t.element.shape.getCanvasBBox();t.view.showTooltip({x:e.minX+e.width/2,y:e.minY+e.height/2})}})},e.prototype.hideTooltip=function(){var t=cU(this.context.view);(0,td.S6)(t,function(t){t.hideTooltip()})},e.prototype.active=function(t){var e=cD(this.context.view),n=this.getAssociationItems(e,t);(0,td.S6)(n,function(t){var e=t.active,n=t.element;e&&n.setState("active",!0)})},e.prototype.selected=function(t){var e=cD(this.context.view),n=this.getAssociationItems(e,t);(0,td.S6)(n,function(t){var e=t.active,n=t.element;e&&n.setState("selected",!0)})},e.prototype.highlight=function(t){var e=cD(this.context.view),n=this.getAssociationItems(e,t);(0,td.S6)(n,function(t){var e=t.inactive,n=t.element;e&&n.setState("inactive",!0)})},e.prototype.reset=function(){var t=cD(this.context.view);(0,td.S6)(t,function(t){var e;e=cS(t),(0,td.S6)(e,function(t){t.hasState("active")&&t.setState("active",!1),t.hasState("selected")&&t.setState("selected",!1),t.hasState("inactive")&&t.setState("inactive",!1)})})},e}(rI)),r4("association-active",{start:[{trigger:"element:mouseenter",action:"association:active"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),r4("association-selected",{start:[{trigger:"element:mouseenter",action:"association:selected"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),r4("association-highlight",{start:[{trigger:"element:mouseenter",action:"association:highlight"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),r4("association-tooltip",{start:[{trigger:"element:mousemove",action:"association:showTooltip"}],end:[{trigger:"element:mouseleave",action:"association:hideTooltip"}]});var Ts=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="mix",e}return(0,tf.ZT)(e,t),e.prototype.getSchemaAdaptor=function(){return Ta},e}(EE);(m=q||(q={})).DEV="DEV",m.BETA="BETA",m.STABLE="STABLE",Object.defineProperty(function(){},"MultiView",{get:function(){var t,e;return t=q.STABLE,e="MultiView",console.warn(t===q.DEV?"Plot '".concat(e,"' is in DEV stage, just give us issues."):t===q.BETA?"Plot '".concat(e,"' is in BETA stage, DO NOT use it in production env."):t===q.STABLE?"Plot '".concat(e,"' is in STABLE stage, import it by \"import { ").concat(e," } from '@antv/g2plot'\"."):"invalid Stage type."),Ts},enumerable:!1,configurable:!0});var Tl="first-axes-view",Tu="second-axes-view",Tc="series-field-key";function TE(t,e,n,i,r){var o=[];e.forEach(function(e){i.forEach(function(i){var r,a=((r={})[t]=i[t],r[n]=e,r[e]=i[e],r);o.push(a)})});var a=Object.values((0,td.vM)(o,n)),s=a[0],l=void 0===s?[]:s,u=a[1],c=void 0===u?[]:u;return r?[l.reverse(),c.reverse()]:[l,c]}function Th(t){return"vertical"!==t}function Tp(t,e,n){var i=e[0],r=e[1],o=i.autoPadding,a=r.autoPadding,s=t.__axisPosition,l=s.layout,u=s.position;if(Th(l)&&"top"===u&&(i.autoPadding=n.instance(o.top,0,o.bottom,o.left),r.autoPadding=n.instance(a.top,o.left,a.bottom,0)),Th(l)&&"bottom"===u&&(i.autoPadding=n.instance(o.top,o.right/2+5,o.bottom,o.left),r.autoPadding=n.instance(a.top,a.right,a.bottom,o.right/2+5)),!Th(l)&&"bottom"===u){var c=o.left>=a.left?o.left:a.left;i.autoPadding=n.instance(o.top,o.right,o.bottom/2+5,c),r.autoPadding=n.instance(o.bottom/2+5,a.right,a.bottom,c)}if(!Th(l)&&"top"===u){var c=o.left>=a.left?o.left:a.left;i.autoPadding=n.instance(o.top,o.right,0,c),r.autoPadding=n.instance(0,a.right,o.top,c)}}function TT(t){var e,n,i=t.chart,r=t.options,o=r.data,a=r.xField,s=r.yField,l=r.color,u=r.barStyle,c=r.widthRatio,E=r.legend,h=r.layout,p=TE(a,s,Tc,o,Th(h));E?i.legend(Tc,E):!1===E&&i.legend(!1);var T=p[0],f=p[1];return Th(h)?((e=i.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:Tl})).coordinate().transpose().reflect("x"),(n=i.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:Tu})).coordinate().transpose(),e.data(T),n.data(f)):(e=i.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:Tl}),(n=i.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:Tu})).coordinate().reflect("y"),e.data(T),n.data(f)),Ei(cT({},t,{chart:e,options:{widthRatio:c,xField:a,yField:s[0],seriesField:Tc,interval:{color:l,style:u}}})),Ei(cT({},t,{chart:n,options:{xField:a,yField:s[1],seriesField:Tc,widthRatio:c,interval:{color:l,style:u}}})),t}function Tf(t){var e,n,i,r=t.options,o=t.chart,a=r.xAxis,s=r.yAxis,l=r.xField,u=r.yField,c=cP(o,Tl),E=cP(o,Tu),h={};return(0,td.XP)((null==r?void 0:r.meta)||{}).map(function(t){(0,td.U2)(null==r?void 0:r.meta,[t,"alias"])&&(h[t]=r.meta[t].alias)}),o.scale(((e={})[Tc]={sync:!0,formatter:function(t){return(0,td.U2)(h,t,t)}},e)),c0(((n={})[l]=a,n[u[0]]=s[u[0]],n))(cT({},t,{chart:c})),c0(((i={})[l]=a,i[u[1]]=s[u[1]],i))(cT({},t,{chart:E})),t}function Td(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField,s=n.layout,l=cP(e,Tl),u=cP(e,Tu);return(null==i?void 0:i.position)==="bottom"?u.axis(o,(0,tf.pi)((0,tf.pi)({},i),{label:{formatter:function(){return""}}})):u.axis(o,!1),!1===i?l.axis(o,!1):l.axis(o,(0,tf.pi)({position:Th(s)?"top":"bottom"},i)),!1===r?(l.axis(a[0],!1),u.axis(a[1],!1)):(l.axis(a[0],r[a[0]]),u.axis(a[1],r[a[1]])),e.__axisPosition={position:l.getOptions().axes[o].position,layout:s},t}function TA(t){var e=t.chart;return cZ(cT({},t,{chart:cP(e,Tl)})),cZ(cT({},t,{chart:cP(e,Tu)})),t}function TS(t){var e=t.chart,n=t.options,i=n.yField,r=n.yAxis;return c2(cT({},t,{chart:cP(e,Tl),options:{yAxis:r[i[0]]}})),c2(cT({},t,{chart:cP(e,Tu),options:{yAxis:r[i[1]]}})),t}function TR(t){var e=t.chart;return cJ(cT({},t,{chart:cP(e,Tl)})),cJ(cT({},t,{chart:cP(e,Tu)})),cJ(t),t}function Tg(t){var e=t.chart;return c$(cT({},t,{chart:cP(e,Tl)})),c$(cT({},t,{chart:cP(e,Tu)})),t}function TI(t){var e,n,i=this,r=t.chart,o=t.options,a=o.label,s=o.yField,l=o.layout,u=cP(r,Tl),c=cP(r,Tu),E=cA(u,"interval"),h=cA(c,"interval");if(a){var p=a.callback,T=(0,tf._T)(a,["callback"]);T.position||(T.position="middle"),void 0===T.offset&&(T.offset=2);var f=(0,tf.pi)({},T);if(Th(l)){var d=(null===(e=f.style)||void 0===e?void 0:e.textAlign)||("middle"===T.position?"center":"left");T.style=cT({},T.style,{textAlign:d}),f.style=cT({},f.style,{textAlign:{left:"right",right:"left",center:"center"}[d]})}else{var A={top:"bottom",bottom:"top",middle:"middle"};"string"==typeof T.position?T.position=A[T.position]:"function"==typeof T.position&&(T.position=function(){for(var t=[],e=0;e1?"".concat(e,"_").concat(n):"".concat(e)}function TU(t){var e=t.data,n=t.xField,i=t.measureField,r=t.rangeField,o=t.targetField,a=t.layout,s=[],l=[];e.forEach(function(t,e){var a=[t[r]].flat();a.sort(function(t,e){return t-e}),a.forEach(function(i,o){var l,u=0===o?i:a[o]-a[o-1];s.push(((l={rKey:"".concat(r,"_").concat(o)})[n]=n?t[n]:String(e),l[r]=u,l))});var u=[t[i]].flat();u.forEach(function(r,o){var a;s.push(((a={mKey:TD(u,i,o)})[n]=n?t[n]:String(e),a[i]=r,a))});var c=[t[o]].flat();c.forEach(function(i,r){var a;s.push(((a={tKey:TD(c,o,r)})[n]=n?t[n]:String(e),a[o]=i,a))}),l.push(t[r],t[i],t[o])});var u=Math.min.apply(Math,l.flat(1/0)),c=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,"vertical"===a&&s.reverse(),{min:u,max:c,ds:s}}function Tb(t){var e=t.chart,n=t.options,i=n.bulletStyle,r=n.targetField,o=n.rangeField,a=n.measureField,s=n.xField,l=n.color,u=n.layout,c=n.size,E=n.label,h=TU(n),p=h.min,T=h.max,f=h.ds;return e.data(f),Ei(cT({},t,{options:{xField:s,yField:o,seriesField:"rKey",isStack:!0,label:(0,td.U2)(E,"range"),interval:{color:(0,td.U2)(l,"range"),style:(0,td.U2)(i,"range"),size:(0,td.U2)(c,"range")}}})),e.geometries[0].tooltip(!1),Ei(cT({},t,{options:{xField:s,yField:a,seriesField:"mKey",isStack:!0,label:(0,td.U2)(E,"measure"),interval:{color:(0,td.U2)(l,"measure"),style:(0,td.U2)(i,"measure"),size:(0,td.U2)(c,"measure")}}})),Eo(cT({},t,{options:{xField:s,yField:r,seriesField:"tKey",label:(0,td.U2)(E,"target"),point:{color:(0,td.U2)(l,"target"),style:(0,td.U2)(i,"target"),size:(0,td.mf)((0,td.U2)(c,"target"))?function(t){return(0,td.U2)(c,"target")(t)/2}:(0,td.U2)(c,"target")/2,shape:"horizontal"===u?"line":"hyphen"}}})),"horizontal"===u&&e.coordinate().transpose(),(0,tf.pi)((0,tf.pi)({},t),{ext:{data:{min:p,max:T}}})}function TF(t){var e,n,i=t.options,r=t.ext,o=i.xAxis,a=i.yAxis,s=i.targetField,l=i.rangeField,u=i.measureField,c=i.xField,E=r.data;return cd(c0(((e={})[c]=o,e[u]=a,e),((n={})[u]={min:null==E?void 0:E.min,max:null==E?void 0:E.max,sync:!0},n[s]={sync:"".concat(u)},n[l]={sync:"".concat(u)},n)))(t)}function TB(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.measureField,s=n.rangeField,l=n.targetField;return e.axis("".concat(s),!1),e.axis("".concat(l),!1),!1===i?e.axis("".concat(o),!1):e.axis("".concat(o),i),!1===r?e.axis("".concat(a),!1):e.axis("".concat(a),r),t}function TG(t){var e=t.chart,n=t.options.legend;return e.removeInteraction("legend-filter"),e.legend(n),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),t}function Tw(t){var e=t.chart,n=t.options,i=n.label,r=n.measureField,o=n.targetField,a=n.rangeField,s=e.geometries,l=s[0],u=s[1],c=s[2];return(0,td.U2)(i,"range")?l.label("".concat(a),(0,tf.pi)({layout:[{type:"limit-in-plot"}]},cg(i.range))):l.label(!1),(0,td.U2)(i,"measure")?u.label("".concat(r),(0,tf.pi)({layout:[{type:"limit-in-plot"}]},cg(i.measure))):u.label(!1),(0,td.U2)(i,"target")?c.label("".concat(o),(0,tf.pi)({layout:[{type:"limit-in-plot"}]},cg(i.target))):c.label(!1),t}function TH(t){cd(Tb,TF,TB,TG,cJ,Tw,cz,cZ,c$)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="box",e}(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return TN},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options.yField,n=this.chart.views.find(function(t){return t.id===Tv});n&&n.data(t),this.chart.changeData(TC(t,e))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return TP}}(EE);var TY=cT({},EE.getDefaultOptions(),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}});!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bullet",e}(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return TY},e.prototype.changeData=function(t){this.updateOption({data:t});var e=TU(this.options),n=e.min,i=e.max,r=e.ds;TF({options:this.options,ext:{data:{min:n,max:i}},chart:this.chart}),this.chart.changeData(r)},e.prototype.getSchemaAdaptor=function(){return TH},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()}}(EE);var Tk={y:0,nodeWidthRatio:.05,weight:!1,nodePaddingRatio:.1,id:function(t){return t.id},source:function(t){return t.source},target:function(t){return t.target},sourceWeight:function(t){return t.value||1},targetWeight:function(t){return t.value||1},sortBy:null},TV="name",TW="source",TX={nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(t,e){return{offsetX:(t[0]+t[1])/2>.5?-4:4,content:e}},labelEmit:!0,style:{fill:"#8c8c8c"}},tooltip:{showTitle:!1,showMarkers:!1,fields:["source","target","value","isNode"],showContent:function(t){return!(0,td.U2)(t,[0,"data","isNode"])},formatter:function(t){var e=t.source,n=t.target,i=t.value;return{name:"".concat(e," -> ").concat(n),value:i}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05};function TK(t){var e,n,i,r,o,a,s=t.options,l=s.data,u=s.sourceField,c=s.targetField,E=s.weightField,h=s.nodePaddingRatio,p=s.nodeWidthRatio,T=s.rawFields,f=void 0===T?[]:T,d=cl(l,u,c,E),A=(e=(0,td.f0)({},Tk,{weight:!0,nodePaddingRatio:h,nodeWidthRatio:p}),n={},i=d.nodes,r=d.links,i.forEach(function(t){n[e.id(t)]=t}),(0,td.U5)(n,function(t,n){t.inEdges=r.filter(function(t){return"".concat(e.target(t))==="".concat(n)}),t.outEdges=r.filter(function(t){return"".concat(e.source(t))==="".concat(n)}),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach(function(n){t.value+=e.targetWeight(n)}),t.outEdges.forEach(function(n){t.value+=e.sourceWeight(n)})}),!(a=({weight:function(t,e){return e.value-t.value},frequency:function(t,e){return e.frequency-t.frequency},id:function(t,e){return"".concat(o.id(t)).localeCompare("".concat(o.id(e)))}})[(o=e).sortBy])&&(0,td.mf)(o.sortBy)&&(a=o.sortBy),a&&i.sort(a),{nodes:function(t,e){var n=t.length;if(!n)throw TypeError("Invalid nodes: it's empty!");if(e.weight){var i=e.nodePaddingRatio;if(i<0||i>=1)throw TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var r=i/(2*n),o=e.nodeWidthRatio;if(o<=0||o>=1)throw TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var a=0;t.forEach(function(t){a+=t.value}),t.forEach(function(t){t.weight=t.value/a,t.width=t.weight*(1-i),t.height=o}),t.forEach(function(n,i){for(var a=0,s=i-1;s>=0;s--)a+=t[s].width+2*r;var l=n.minX=r+a,u=n.maxX=n.minX+n.width,c=n.minY=e.y-o/2,E=n.maxY=c+o;n.x=[l,u,u,l],n.y=[c,c,E,E]})}else{var s=1/n;t.forEach(function(t,n){t.x=(n+.5)*s,t.y=e.y})}return t}(i,e),links:function(t,e,n){if(n.weight){var i={};(0,td.U5)(t,function(t,e){i[e]=t.value}),e.forEach(function(e){var r=n.source(e),o=n.target(e),a=t[r],s=t[o];if(a&&s){var l=i[r],u=n.sourceWeight(e),c=a.minX+(a.value-l)/a.value*a.width,E=c+u/a.value*a.width;i[r]-=u;var h=i[o],p=n.targetWeight(e),T=s.minX+(s.value-h)/s.value*s.width,f=T+p/s.value*s.width;i[o]-=p;var d=n.y;e.x=[c,E,T,f],e.y=[d,d,d,d],e.source=a,e.target=s}})}else e.forEach(function(e){var i=t[n.source(e)],r=t[n.target(e)];i&&r&&(e.x=[i.x,r.x],e.y=[i.y,r.y],e.source=i,e.target=r)});return e}(n,r,e)}),S=A.nodes,R=A.links,g=S.map(function(t){return(0,tf.pi)((0,tf.pi)({},ca(t,(0,tf.ev)(["id","x","y","name"],f,!0))),{isNode:!0})}),I=R.map(function(t){return(0,tf.pi)((0,tf.pi)({source:t.source.name,target:t.target.name,name:t.source.name||t.target.name},ca(t,(0,tf.ev)(["x","y","value"],f,!0))),{isNode:!1})});return(0,tf.pi)((0,tf.pi)({},t),{ext:(0,tf.pi)((0,tf.pi)({},t.ext),{chordData:{nodesData:g,edgesData:I}})})}function Tz(t){var e;return t.chart.scale(((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}})[TV]={sync:"color"},e[TW]={sync:"color"},e)),t}function TZ(t){return t.chart.axis(!1),t}function T$(t){return t.chart.legend(!1),t}function TJ(t){var e=t.chart,n=t.options.tooltip;return e.tooltip(n),t}function Tj(t){return t.chart.coordinate("polar").reflect("y"),t}function Tq(t){var e=t.chart,n=t.options,i=t.ext.chordData.nodesData,r=n.nodeStyle,o=n.label,a=n.tooltip,s=e.createView();return s.data(i),Ea({chart:s,options:{xField:"x",yField:"y",seriesField:TV,polygon:{style:r},label:o,tooltip:a}}),t}function TQ(t){var e=t.chart,n=t.options,i=t.ext.chordData.edgesData,r=n.edgeStyle,o=n.tooltip,a=e.createView();return a.data(i),En({chart:a,options:{xField:"x",yField:"y",seriesField:TW,edge:{style:r,shape:"arc"},tooltip:o}}),t}function T0(t){var e=t.chart;return cb(e,t.options.animation,0>=(0,td.U2)(e,["views","length"],0)?e.geometries:(0,td.u4)(e.views,function(t,e){return t.concat(e.geometries)},e.geometries)),t}function T1(t){return cd(cJ,TK,Tj,Tz,TZ,T$,TJ,TQ,Tq,cZ,cj,T0)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="chord",e}(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return TX},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return T1}}(EE);var T2=["x","y","r","name","value","path","depth"],T5={colorField:"name",autoFit:!0,pointStyle:{lineWidth:0,stroke:"#fff"},legend:!1,hierarchyConfig:{size:[1,1],padding:0},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1}},T6="drilldown-bread-crumb",T3={position:"top-left",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}},T4="hierarchy-data-transform-params",T8=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.name="drill-down",e.historyCache=[],e.breadCrumbGroup=null,e.breadCrumbCfg=T3,e}return(0,tf.ZT)(e,t),e.prototype.click=function(){var t=(0,td.U2)(this.context,["event","data","data"]);if(!t)return!1;this.drill(t),this.drawBreadCrumb()},e.prototype.resetPosition=function(){if(this.breadCrumbGroup){var t=this.context.view.getCoordinate(),e=this.breadCrumbGroup,n=e.getBBox(),i=this.getButtonCfg().position,r={x:t.start.x,y:t.end.y-(n.height+10)};t.isPolar&&(r={x:0,y:0}),"bottom-left"===i&&(r={x:t.start.x,y:t.start.y});var o=ar.transform(null,[["t",r.x+0,r.y+n.height+5]]);e.setMatrix(o)}},e.prototype.back=function(){(0,td.dp)(this.historyCache)&&this.backTo(this.historyCache.slice(0,-1))},e.prototype.reset=function(){this.historyCache[0]&&this.backTo(this.historyCache.slice(0,1)),this.historyCache=[],this.hideCrumbGroup()},e.prototype.drill=function(t){var e=this.context.view,n=(0,td.U2)(e,["interactions","drill-down","cfg","transformData"],function(t){return t}),i=n((0,tf.pi)({data:t.data},t[T4]));e.changeData(i);for(var r=[],o=t;o;){var a=o.data;r.unshift({id:"".concat(a.name,"_").concat(o.height,"_").concat(o.depth),name:a.name,children:n((0,tf.pi)({data:a},t[T4]))}),o=o.parent}this.historyCache=(this.historyCache||[]).slice(0,-1).concat(r)},e.prototype.backTo=function(t){if(t&&!(t.length<=0)){var e=this.context.view,n=(0,td.Z$)(t).children;e.changeData(n),t.length>1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},e.prototype.getButtonCfg=function(){var t=this.context.view,e=(0,td.U2)(t,["interactions","drill-down","cfg","drillDownConfig"]);return cT(this.breadCrumbCfg,null==e?void 0:e.breadCrumb,this.cfg)},e.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},e.prototype.drawBreadCrumbGroup=function(){var t=this,e=this.getButtonCfg(),n=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:T6});var i=0;n.forEach(function(r,o){var a=t.breadCrumbGroup.addShape({type:"text",id:r.id,name:"".concat(T6,"_").concat(r.name,"_text"),attrs:(0,tf.pi)((0,tf.pi)({text:0!==o||(0,td.UM)(e.rootText)?r.name:e.rootText},e.textStyle),{x:i,y:0})}),s=a.getBBox();if(i+=s.width+4,a.on("click",function(e){var i,r=e.target.get("id");if(r!==(null===(i=(0,td.Z$)(n))||void 0===i?void 0:i.id)){var o=n.slice(0,n.findIndex(function(t){return t.id===r})+1);t.backTo(o)}}),a.on("mouseenter",function(t){var i;t.target.get("id")!==(null===(i=(0,td.Z$)(n))||void 0===i?void 0:i.id)?a.attr(e.activeTextStyle):a.attr({cursor:"default"})}),a.on("mouseleave",function(){a.attr(e.textStyle)}),o0&&n*n>i*i+r*r}function fe(t,e){for(var n=0;n(a*=a)?(i=(u+a-r)/(2*u),o=Math.sqrt(Math.max(0,a/u-i*i)),n.x=t.x-i*s-o*l,n.y=t.y-i*l+o*s):(i=(u+r-a)/(2*u),o=Math.sqrt(Math.max(0,r/u-i*i)),n.x=e.x+i*s-o*l,n.y=e.y+i*l+o*s)):(n.x=e.x+n.r,n.y=e.y)}function fo(t,e){var n=t.r+e.r-1e-6,i=e.x-t.x,r=e.y-t.y;return n>0&&n*n>i*i+r*r}function fa(t){var e=t._,n=t.next._,i=e.r+n.r,r=(e.x*n.r+n.x*e.r)/i,o=(e.y*n.r+n.y*e.r)/i;return r*r+o*o}function fs(t){this._=t,this.next=null,this.previous=null}function fl(t){var e,n,i,r,o,a,s,l,u,c,E,h;if(!(r=(t="object"==typeof(h=t)&&"length"in h?h:Array.from(h)).length))return 0;if((e=t[0]).x=0,e.y=0,!(r>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(r>2))return e.r+n.r;fr(n,e,i=t[2]),e=new fs(e),n=new fs(n),i=new fs(i),e.next=i.previous=n,n.next=e.previous=i,i.next=n.previous=e;t:for(s=3;s=0;)e+=n[i].value;else e=1;t.value=e}function fR(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=fI)):void 0===e&&(e=fg);for(var n,i,r,o,a,s=new fv(t),l=[s];n=l.pop();)if((r=e(n.data))&&(a=(r=Array.from(r)).length))for(n.children=r,o=a-1;o>=0;--o)l.push(i=r[o]=new fv(r[o])),i.parent=n,i.depth=n.depth+1;return s.eachBefore(fy)}function fg(t){return t.children}function fI(t){return Array.isArray(t)?t[1]:null}function fO(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function fy(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function fv(t){this.data=t,this.depth=this.height=0,this.parent=null}fv.prototype=fR.prototype={constructor:fv,count:function(){return this.eachAfter(fS)},each:function(t,e){let n=-1;for(let i of this)t.call(e,i,++n,this);return this},eachAfter:function(t,e){for(var n,i,r,o=this,a=[o],s=[],l=-1;o=a.pop();)if(s.push(o),n=o.children)for(i=0,r=n.length;i=0;--i)o.push(n[i]);return this},find:function(t,e){let n=-1;for(let i of this)if(t.call(e,i,++n,this))return i},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,i=e.children,r=i&&i.length;--r>=0;)n+=i[r].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),i=e.ancestors(),r=null;for(t=n.pop(),e=i.pop();t===e;)r=t,t=n.pop(),e=i.pop();return r}(e,t),i=[e];e!==n;)i.push(e=e.parent);for(var r=i.length;t!==n;)i.splice(r,0,t),t=t.parent;return i},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return fR(this).eachBefore(fO)},[Symbol.iterator]:function*(){var t,e,n,i,r=this,o=[r];do for(t=o.reverse(),o=[];r=t.pop();)if(yield r,e=r.children)for(n=0,i=e.length;n0&&n1;)i="".concat(null===(e=a.parent.data)||void 0===e?void 0:e.name," / ").concat(i),a=a.parent;if(o&&t.depth>2)return null;var l=cT({},t.data,(0,tf.pi)((0,tf.pi)((0,tf.pi)({},ca(t.data,r)),{path:i}),t));l.ext=n,l[T4]={hierarchyConfig:n,rawFields:r,enableDrillDown:o},s.push(l)}),s}function fD(t,e,n){var i=cv([t,e]),r=i[0],o=i[1],a=i[2],s=i[3],l=n.width,u=n.height,c=l-(s+o),E=u-(r+a),h=Math.min(c,E),p=(c-h)/2,T=(E-h)/2;return{finalPadding:[r+T,o+p,a+T,s+p],finalSize:h<0?0:h}}function fU(t){var e=t.chart,n=Math.min(e.viewBBox.width,e.viewBBox.height);return cT({options:{size:function(t){return t.r*n}}},t)}function fb(t){var e=t.options,n=t.chart,i=n.viewBBox,r=e.padding,o=e.appendPadding,a=e.drilldown,s=o;(null==a?void 0:a.enabled)&&(s=cv([cy(n.appendPadding,(0,td.U2)(a,["breadCrumb","position"])),o]));var l=fD(r,s,i).finalPadding;return n.padding=l,n.appendPadding=0,t}function fF(t){var e=t.chart,n=t.options,i=e.padding,r=e.appendPadding,o=n.color,a=n.colorField,s=n.pointStyle,l=n.hierarchyConfig,u=n.sizeField,c=n.rawFields,E=void 0===c?[]:c,h=n.drilldown,p=fP({data:n.data,hierarchyConfig:l,enableDrillDown:null==h?void 0:h.enabled,rawFields:E});e.data(p);var T=fD(i,r,e.viewBBox).finalSize,f=function(t){return t.r*T};return u&&(f=function(t){return t[u]*T}),Eo(cT({},t,{options:{xField:"x",yField:"y",seriesField:a,sizeField:u,rawFields:(0,tf.ev)((0,tf.ev)([],T2,!0),E,!0),point:{color:o,style:s,shape:"circle",size:f}}})),t}function fB(t){return cd(c0({},{x:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0},y:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0}}))(t)}function fG(t){var e=t.chart,n=t.options.tooltip;if(!1===n)e.tooltip(!1);else{var i=n;(0,td.U2)(n,"fields")||(i=cT({},{customItems:function(t){return t.map(function(t){var n=(0,td.U2)(e.getOptions(),"scales"),i=(0,td.U2)(n,["name","formatter"],function(t){return t}),r=(0,td.U2)(n,["value","formatter"],function(t){return t});return(0,tf.pi)((0,tf.pi)({},t),{name:i(t.data.name),value:r(t.data.value)})})}},i)),e.tooltip(i)}return t}function fw(t){return t.chart.axis(!1),t}function fH(t){var e,n,i;return cZ({chart:t.chart,options:(n=(e=t.options).drilldown,i=e.interactions,(null==n?void 0:n.enabled)?cT({},e,{interactions:(0,tf.ev)((0,tf.ev)([],void 0===i?[]:i,!0),[{type:"drill-down",cfg:{drillDownConfig:n,transformData:fP,enableDrillDown:!0}}],!1)}):e)}),t}function fY(t){return cd(cX("pointStyle"),fU,fb,cJ,fB,fF,fw,cK,fG,fH,c$,c1())(t)}function fk(t){var e=(0,td.U2)(t,["event","data","data"],{});return(0,td.kJ)(e.children)&&e.children.length>0}function fV(t){var e=t.view.getCoordinate(),n=e.innerRadius;if(n){var i=t.event,r=i.x,o=i.y,a=e.center;return Math.sqrt(Math.pow(a.x-r,2)+Math.pow(a.y-o,2))-1)||(e=Math.min(u,c),n=Math.max(u,c),i>=e&&i<=n)}),t.getRootView().render(!0)}};function f2(t){var e,n=t.options,i=n.geometryOptions,r=void 0===i?[]:i,o=n.xField,a=n.yField,s=(0,td.yW)(r,function(t){var e=t.geometry;return e===te.Line||void 0===e});return cT({},{options:{geometryOptions:[],meta:((e={})[o]={type:"cat",sync:!0,range:s?[0,1]:void 0},e),tooltip:{showMarkers:s,showCrosshairs:s,shared:!0,crosshairs:{type:"x"}},interactions:s?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},t,{options:{yAxis:fq(a,n.yAxis),geometryOptions:[fj(o,a[0],r[0]),fj(o,a[1],r[1])],annotations:fq(a,n.annotations)}})}function f5(t){var e,n,i=t.chart,r=t.options.geometryOptions,o={line:0,column:1};return[{type:null===(e=r[0])||void 0===e?void 0:e.geometry,id:fW},{type:null===(n=r[1])||void 0===n?void 0:n.geometry,id:fX}].sort(function(t,e){return-o[t.type]+o[e.type]}).forEach(function(t){return i.createView({id:t.id})}),t}function f6(t){var e=t.chart,n=t.options,i=n.xField,r=n.yField,o=n.geometryOptions,a=n.data,s=n.tooltip;return[(0,tf.pi)((0,tf.pi)({},o[0]),{id:fW,data:a[0],yField:r[0]}),(0,tf.pi)((0,tf.pi)({},o[1]),{id:fX,data:a[1],yField:r[1]})].forEach(function(t){var n=t.id,r=t.data,o=t.yField,a=fJ(t)&&t.isPercent,l=a?Eh(r,o,i,o):r,u=cP(e,n).data(l),c=a?(0,tf.pi)({formatter:function(e){return{name:e[t.seriesField]||o,value:(100*Number(e[o])).toFixed(2)+"%"}}},s):s;!function(t){var e=t.options,n=t.chart,i=e.geometryOption,r=i.isStack,o=i.color,a=i.seriesField,s=i.groupField,l=i.isGroup,u=["xField","yField"];if(f$(i)){Er(cT({},t,{options:(0,tf.pi)((0,tf.pi)((0,tf.pi)({},ca(e,u)),i),{line:{color:i.color,style:i.lineStyle}})})),Eo(cT({},t,{options:(0,tf.pi)((0,tf.pi)((0,tf.pi)({},ca(e,u)),i),{point:i.point&&(0,tf.pi)({color:o,shape:"circle"},i.point)})}));var c=[];l&&c.push({type:"dodge",dodgeBy:s||a,customOffset:0}),r&&c.push({type:"stack"}),c.length&&(0,td.S6)(n.geometries,function(t){t.adjust(c)})}fJ(i)&&EV(cT({},t,{options:(0,tf.pi)((0,tf.pi)((0,tf.pi)({},ca(e,u)),i),{widthRatio:i.columnWidthRatio,interval:(0,tf.pi)((0,tf.pi)({},ca(i,["color"])),{style:i.columnStyle})})}))}({chart:u,options:{xField:i,yField:o,tooltip:c,geometryOption:t}})}),t}function f3(t){var e,n=t.chart,i=t.options.geometryOptions,r=(null===(e=n.getTheme())||void 0===e?void 0:e.colors10)||[],o=0;return n.once("beforepaint",function(){(0,td.S6)(i,function(t,e){var i=cP(n,0===e?fW:fX);if(!t.color){var a=i.getGroupScales(),s=(0,td.U2)(a,[0,"values","length"],1),l=r.slice(o,o+s).concat(0===e?[]:r);i.geometries.forEach(function(e){t.seriesField?e.color(t.seriesField,l):e.color(l[0])}),o+=s}}),n.render(!0)}),t}function f4(t){var e,n,i=t.chart,r=t.options,o=r.xAxis,a=r.yAxis,s=r.xField,l=r.yField;return c0(((e={})[s]=o,e[l[0]]=a[0],e))(cT({},t,{chart:cP(i,fW)})),c0(((n={})[s]=o,n[l[1]]=a[1],n))(cT({},t,{chart:cP(i,fX)})),t}function f8(t){var e=t.chart,n=t.options,i=cP(e,fW),r=cP(e,fX),o=n.xField,a=n.yField,s=n.xAxis,l=n.yAxis;return e.axis(o,!1),e.axis(a[0],!1),e.axis(a[1],!1),i.axis(o,s),i.axis(a[0],fQ(l[0],tt.Left)),r.axis(o,!1),r.axis(a[1],fQ(l[1],tt.Right)),t}function f9(t){var e=t.chart,n=t.options.tooltip,i=cP(e,fW),r=cP(e,fX);return e.tooltip(n),i.tooltip({shared:!0}),r.tooltip({shared:!0}),t}function f7(t){var e=t.chart;return cZ(cT({},t,{chart:cP(e,fW)})),cZ(cT({},t,{chart:cP(e,fX)})),t}function dt(t){var e=t.chart,n=t.options.annotations,i=(0,td.U2)(n,[0]),r=(0,td.U2)(n,[1]);return c1(i)(cT({},t,{chart:cP(e,fW),options:{annotations:i}})),c1(r)(cT({},t,{chart:cP(e,fX),options:{annotations:r}})),t}function de(t){var e=t.chart;return cJ(cT({},t,{chart:cP(e,fW)})),cJ(cT({},t,{chart:cP(e,fX)})),cJ(t),t}function dn(t){var e=t.chart;return c$(cT({},t,{chart:cP(e,fW)})),c$(cT({},t,{chart:cP(e,fX)})),t}function di(t){var e=t.chart,n=t.options.yAxis;return c2(cT({},t,{chart:cP(e,fW),options:{yAxis:n[0]}})),c2(cT({},t,{chart:cP(e,fX),options:{yAxis:n[1]}})),t}function dr(t){var e=t.chart,n=t.options,i=n.legend,r=n.geometryOptions,o=n.yField,a=n.data,s=cP(e,fW),l=cP(e,fX);if(!1===i)e.legend(!1);else if((0,td.Kn)(i)&&!0===i.custom)e.legend(i);else{var u=(0,td.U2)(r,[0,"legend"],i),c=(0,td.U2)(r,[1,"legend"],i);e.once("beforepaint",function(){var t=a[0].length?f0({view:s,geometryOption:r[0],yField:o[0],legend:u}):[],n=a[1].length?f0({view:l,geometryOption:r[1],yField:o[1],legend:c}):[];e.legend(cT({},i,{custom:!0,items:t.concat(n)}))}),r[0].seriesField&&s.legend(r[0].seriesField,u),r[1].seriesField&&l.legend(r[1].seriesField,c),e.on("legend-item:click",function(t){var n=(0,td.U2)(t,"gEvent.delegateObject",{});if(n&&n.item){var i=n.item,r=i.value,a=i.isGeometry,s=i.viewId;if(a){if((0,td.cx)(o,function(t){return t===r})>-1){var l=(0,td.U2)(cP(e,s),"geometries");(0,td.S6)(l,function(t){t.changeVisible(!n.item.unchecked)})}}else{var u=(0,td.U2)(e.getController("legend"),"option.items",[]);(0,td.S6)(e.views,function(t){var n=t.getGroupScales();(0,td.S6)(n,function(e){e.values&&e.values.indexOf(r)>-1&&t.filter(e.field,function(t){return!(0,td.sE)(u,function(e){return e.value===t}).unchecked})}),e.render(!0)})}}})}return t}function da(t){var e=t.chart,n=t.options.slider,i=cP(e,fW),r=cP(e,fX);return n&&(i.option("slider",n),i.on("slider:valuechanged",function(t){var e=t.event,n=e.value,i=e.originValue;(0,td.Xy)(n,i)||f1(r,n)}),e.once("afterpaint",function(){if(!(0,td.jn)(n)){var t=n.start,e=n.end;(t||e)&&f1(r,[t,e])}})),t}function ds(t){return cd(f2,f5,de,f6,f4,f8,di,f9,f7,dt,dn,f3,dr,da)(t)}function dl(t){var e=t.chart,n=t.options,i=n.type,r=n.data,o=n.fields,a=n.eachView,s=(0,td.CE)(n,["type","data","fields","eachView","axes","meta","tooltip","coordinate","theme","legend","interactions","annotations"]);return e.data(r),e.facet(i,(0,tf.pi)((0,tf.pi)({},s),{fields:o,eachView:function(t,e){var n,i,r,o,s,l,u,c,E,h,p=a(t,e);if(p.geometries)n=p.data,i=p.coordinate,r=p.interactions,o=p.annotations,s=p.animation,l=p.tooltip,u=p.axes,c=p.meta,E=p.geometries,n&&t.data(n),h={},u&&(0,td.S6)(u,function(t,e){h[e]=ca(t,ci)}),h=cT({},c,h),t.scale(h),i&&t.coordinate(i),!1===u?t.axis(!1):(0,td.S6)(u,function(e,n){t.axis(n,e)}),(0,td.S6)(E,function(e){var n=Et({chart:t,options:e}).ext,i=e.adjust;i&&n.geometry.adjust(i)}),(0,td.S6)(r,function(e){!1===e.enable?t.removeInteraction(e.type):t.interaction(e.type,e.cfg)}),(0,td.S6)(o,function(e){t.annotation()[e.type]((0,tf.pi)({},e))}),cb(t,s),l?(t.interaction("tooltip"),t.tooltip(l)):!1===l&&t.removeInteraction("tooltip");else{var T=p.options;T.tooltip&&t.interaction("tooltip"),Tn(p.type,t,T)}}})),t}function du(t){var e=t.chart,n=t.options,i=n.axes,r=n.meta,o=n.tooltip,a=n.coordinate,s=n.theme,l=n.legend,u=n.interactions,c=n.annotations,E={};return i&&(0,td.S6)(i,function(t,e){E[e]=ca(t,ci)}),E=cT({},r,E),e.scale(E),e.coordinate(a),i?(0,td.S6)(i,function(t,n){e.axis(n,t)}):e.axis(!1),o?(e.interaction("tooltip"),e.tooltip(o)):!1===o&&e.removeInteraction("tooltip"),e.legend(l),s&&e.theme(s),(0,td.S6)(u,function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg)}),(0,td.S6)(c,function(t){e.annotation()[t.type]((0,tf.pi)({},t))}),t}function dc(t){return cd(cJ,dl,du)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dual-axes",e}(0,tf.ZT)(e,t),e.prototype.getDefaultOptions=function(){return cT({},t.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return ds}}(EE);var dE={title:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},rowTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},columnTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}}};function dh(t){var e=t.chart,n=t.options,i=n.data,r=n.type,o=n.xField,a=n.yField,s=n.colorField,l=n.sizeField,u=n.sizeRatio,c=n.shape,E=n.color,h=n.tooltip,p=n.heatmapStyle,T=n.meta;e.data(i);var f="polygon";"density"===r&&(f="heatmap");var d=c8(h,[o,a,s]),A=d.fields,S=d.formatter,R=1;return(u||0===u)&&(c||l?u<0||u>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):R=u:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),Et(cT({},t,{options:{type:f,colorField:s,tooltipFields:A,shapeField:l||"",label:void 0,mapping:{tooltip:S,shape:c&&(l?function(t){var e=i.map(function(t){return t[l]}),n=(null==T?void 0:T[l])||{},r=n.min,o=n.max;return r=(0,td.hj)(r)?r:Math.min.apply(Math,e),o=(0,td.hj)(o)?o:Math.max.apply(Math,e),[c,((0,td.U2)(t,l)-r)/(o-r),R]}:function(){return[c,1,R]}),color:E||s&&e.getTheme().sequenceColors.join("-"),style:p}}})),t}function dp(t){var e,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField;return cd(c0(((e={})[o]=i,e[a]=r,e)))(t)}function dT(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField;return!1===i?e.axis(o,!1):e.axis(o,i),!1===r?e.axis(a,!1):e.axis(a,r),t}function df(t){var e=t.chart,n=t.options,i=n.legend,r=n.colorField,o=n.sizeField,a=n.sizeLegend,s=!1!==i;return r&&e.legend(r,!!s&&i),o&&e.legend(o,void 0===a?i:a),s||a||e.legend(!1),t}function dd(t){var e=t.chart,n=t.options,i=n.label,r=n.colorField,o=cA(e,"density"===n.type?"heatmap":"polygon");if(i){if(r){var a=i.callback,s=(0,tf._T)(i,["callback"]);o.label({fields:[r],callback:a,cfg:cg(s)})}}else o.label(!1);return t}function dA(t){var e,n,i=t.chart,r=t.options,o=r.coordinate,a=r.reflect,s=cT({actions:[]},null!=o?o:{type:"rect"});return a&&(null===(n=null===(e=s.actions)||void 0===e?void 0:e.push)||void 0===n||n.call(e,["reflect",a])),i.coordinate(s),t}function dS(t){return cd(cJ,cX("heatmapStyle"),dp,dA,dh,dT,df,cz,dd,c1(),cZ,c$,cj)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return dE},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return dc}}(EE);var dR=cT({},EE.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}});function dg(t){return[{percent:t,type:"liquid"}]}function dI(t){var e=t.chart,n=t.options,i=n.percent,r=n.liquidStyle,o=n.radius,a=n.outline,s=n.wave,l=n.shape,u=n.shapeStyle,c=n.animation;e.scale({percent:{min:0,max:1}}),e.data(dg(i));var E=Ei(cT({},t,{options:{xField:"type",yField:"percent",widthRatio:o,interval:{color:n.color||e.getTheme().defaultColor,style:r,shape:"liquid-fill-gauge"}}})).ext.geometry,h=e.getTheme().background;return E.customInfo({percent:i,radius:o,outline:a,wave:s,shape:l,shapeStyle:u,background:h,animation:c}),e.legend(!1),e.axis(!1),e.tooltip(!1),t}function dO(t,e){var n=t.chart,i=t.options,r=i.statistic,o=i.percent,a=i.meta;n.getController("annotation").clear(!0);var s=(0,td.U2)(a,["percent","formatter"])||function(t){return"".concat((100*t).toFixed(2),"%")},l=r.content;return l&&(l=cT({},l,{content:(0,td.UM)(l.content)?s(o):l.content})),c_(n,{statistic:(0,tf.pi)((0,tf.pi)({},r),{content:l}),plotType:"liquid"},{percent:o}),e&&n.render(!0),t}function dy(t){return cd(cJ,cX("liquidStyle"),dI,dO,c0({}),c$,cZ)(t)}oz("polygon","circle",{draw:function(t,e){var n,i,r=t.x,o=t.y,a=this.parsePoints(t.points),s=Math.min(Math.abs(a[2].x-a[1].x),Math.abs(a[1].y-a[0].y))/2,l=Number(t.shape[1]),u=s*Math.sqrt(Number(t.shape[2]))*Math.sqrt(l),c=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("circle",{attrs:(0,tf.pi)((0,tf.pi)((0,tf.pi)({x:r,y:o,r:u},t.defaultStyle),t.style),{fill:c})})}}),oz("polygon","square",{draw:function(t,e){var n,i,r=t.x,o=t.y,a=this.parsePoints(t.points),s=Math.min(Math.abs(a[2].x-a[1].x),Math.abs(a[1].y-a[0].y)),l=Number(t.shape[1]),u=s*Math.sqrt(Number(t.shape[2]))*Math.sqrt(l),c=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("rect",{attrs:(0,tf.pi)((0,tf.pi)((0,tf.pi)({x:r-u/2,y:o-u/2,width:u,height:u},t.defaultStyle),t.style),{fill:c})})}}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return dR},e.prototype.getSchemaAdaptor=function(){return dS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()}}(EE);var dv={radius:.9,statistic:{title:!1,content:{style:{opacity:.75,fontSize:"30px",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192},shape:"circle"},dN={pin:function(t,e,n,i){var r=2*n/3,o=Math.max(r,i),a=r/2,s=a+e-o/2,l=Math.asin(a/((o-a)*.85)),u=Math.sin(l)*a,c=Math.cos(l)*a,E=t-c,h=s+u,p=s+a/Math.sin(l);return"\n M ".concat(E," ").concat(h,"\n A ").concat(a," ").concat(a," 0 1 1 ").concat(E+2*c," ").concat(h,"\n Q ").concat(t," ").concat(p," ").concat(t," ").concat(e+o/2,"\n Q ").concat(t," ").concat(p," ").concat(E," ").concat(h,"\n Z \n ")},circle:function(t,e,n,i){var r=n/2,o=i/2;return"\n M ".concat(t," ").concat(e-o," \n a ").concat(r," ").concat(o," 0 1 0 0 ").concat(2*o,"\n a ").concat(r," ").concat(o," 0 1 0 0 ").concat(-(2*o),"\n Z\n ")},diamond:function(t,e,n,i){var r=i/2,o=n/2;return"\n M ".concat(t," ").concat(e-r,"\n L ").concat(t+o," ").concat(e,"\n L ").concat(t," ").concat(e+r,"\n L ").concat(t-o," ").concat(e,"\n Z\n ")},triangle:function(t,e,n,i){var r=i/2,o=n/2;return"\n M ".concat(t," ").concat(e-r,"\n L ").concat(t+o," ").concat(e+r,"\n L ").concat(t-o," ").concat(e+r,"\n Z\n ")},rect:function(t,e,n,i){var r=i/2,o=n/2*.618;return"\n M ".concat(t-o," ").concat(e-r,"\n L ").concat(t+o," ").concat(e-r,"\n L ").concat(t+o," ").concat(e+r,"\n L ").concat(t-o," ").concat(e+r,"\n Z\n ")}};function dC(t){var e=t.chart,n=t.options,i=n.data,r=n.lineStyle,o=n.color,a=n.point,s=n.area;e.data(i);var l=cT({},t,{options:{line:{style:r,color:o},point:a?(0,tf.pi)({color:o},a):a,area:s?(0,tf.pi)({color:o},s):s,label:void 0}}),u=cT({},l,{options:{tooltip:!1}}),c=cT({},l,{options:{tooltip:!1,state:(null==a?void 0:a.state)||n.state}});return Er(l),Eo(c),Ee(u),t}function dm(t){var e,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField;return cd(c0(((e={})[o]=i,e[a]=r,e)))(t)}function dL(t){var e=t.chart,n=t.options,i=n.radius,r=n.startAngle,o=n.endAngle;return e.coordinate("polar",{radius:i,startAngle:r,endAngle:o}),t}function d_(t){var e=t.chart,n=t.options,i=n.xField,r=n.xAxis,o=n.yField,a=n.yAxis;return e.axis(i,r),e.axis(o,a),t}function dx(t){var e=t.chart,n=t.options,i=n.label,r=n.yField,o=cA(e,"line");if(i){var a=i.callback,s=(0,tf._T)(i,["callback"]);o.label({fields:[r],callback:a,cfg:cg(s)})}else o.label(!1);return t}function dM(t){return cd(dC,dm,cJ,dL,d_,cK,cz,dx,cZ,c$,c1())(t)}function dP(t){var e=t.chart,n=t.options,i=n.barStyle,r=n.color,o=n.tooltip,a=n.colorField,s=n.type,l=n.xField,u=n.yField,c=n.data,E=n.shape,h=cu(c,u);return e.data(h),Ei(cT({},t,{options:{tooltip:o,seriesField:a,interval:{style:i,color:r,shape:E||("line"===s?"line":"intervel")},minColumnWidth:n.minBarWidth,maxColumnWidth:n.maxBarWidth,columnBackground:n.barBackground}})),"line"===s&&Eo({chart:e,options:{xField:l,yField:u,seriesField:a,point:{shape:"circle",color:r}}}),t}function dD(t){var e,n,i,r,o,a=t.options,s=a.yField,l=a.xField,u=a.data,c=a.isStack,E=a.isGroup,h=a.colorField,p=a.maxAngle,T=cu(c&&!E&&h?(e=[],u.forEach(function(t){var n=e.find(function(e){return e[l]===t[l]});n?n[s]+=t[s]||null:e.push((0,tf.pi)({},t))}),e):u,s);return cd(c0(((o={})[s]={min:0,max:(i=(n=T.map(function(t){return t[s]}).filter(function(t){return void 0!==t})).length>0?Math.max.apply(Math,n):0,(r=Math.abs(p)%360)?360*i/r:i)},o)))(t)}function dU(t){var e=t.chart,n=t.options,i=n.radius,r=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:i,innerRadius:r,startAngle:o,endAngle:a}}).transpose(),t}function db(t){var e=t.chart,n=t.options,i=n.xField,r=n.xAxis;return e.axis(i,r),t}function dF(t){var e=t.chart,n=t.options,i=n.label,r=n.yField,o=cA(e,"interval");if(i){var a=i.callback,s=(0,tf._T)(i,["callback"]);o.label({fields:[r],callback:a,cfg:(0,tf.pi)((0,tf.pi)({},cg(s)),{type:"polar"})})}else o.label(!1);return t}function dB(t){return cd(cX("barStyle"),dP,dD,db,dU,cZ,c$,cJ,cz,cK,c1(),dF)(t)}oz("interval","liquid-fill-gauge",{draw:function(t,e){var n,i,r,o=t.customInfo,a=o.percent,s=o.radius,l=o.shape,u=o.shapeStyle,c=o.background,E=o.animation,h=o.outline,p=o.wave,T=h.border,f=h.distance,d=p.count,A=p.length,S=(0,td.u4)(t.points,function(t,e){return Math.min(t,e.x)},1/0),R=this.parsePoint({x:.5,y:.5}),g=this.parsePoint({x:S,y:.5}),I=Math.min(R.x-g.x,g.y*s),O=(n=(0,tf.pi)({opacity:1},t.style),t.color&&!n.fill&&(n.fill=t.color),n),y=(i=(0,td.CD)({},t,h),r=(0,td.CD)({},{fill:"#fff",fillOpacity:0,lineWidth:4},i.style),i.color&&!r.stroke&&(r.stroke=i.color),(0,td.hj)(i.opacity)&&(r.opacity=r.strokeOpacity=i.opacity),r),v=I-T/2,N=("function"==typeof l?l:dN[l]||dN.circle)(R.x,R.y,2*v,2*v);if(u&&e.addShape("path",{name:"shape",attrs:(0,tf.pi)({path:N},u)}),a>0){var C=e.addGroup({name:"waves"}),m=C.setClip({type:"path",attrs:{path:N}});!function(t,e,n,i,r,o,a,s,l,u){for(var c=r.fill,E=r.opacity,h=a.getBBox(),p=h.maxX-h.minX,T=h.maxY-h.minY,f=0;f0;)u-=2*Math.PI;var c=o-t+(u=u/Math.PI/2*n)-2*t;l.push(["M",c,e]);for(var E=0,h=0;h0){var a=this.view.geometries[0],s=a.dataArray,l=o[0].name,u=[];return s.forEach(function(t){t.forEach(function(t){var e=ar.getTooltipItems(t,a)[0];if(!i&&e&&e.name===l){var n=(0,td.UM)(r)?l:r;u.push((0,tf.pi)((0,tf.pi)({},e),{name:e.title,title:n}))}else if(i&&e){var n=(0,td.UM)(r)?e.name||l:r;u.push((0,tf.pi)((0,tf.pi)({},e),{name:e.title,title:n}))}})}),u}return[]},e}(oL),oA["radar-tooltip"]=x,rN("radar-tooltip",function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.init=function(){this.context.view.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event;this.getTooltipController().showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){this.getTooltipController().hideTooltip()},e.prototype.getTooltipController=function(){return this.context.view.getController("radar-tooltip")},e}(rI)),r4("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radar",e}(0,tf.ZT)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return cT({},t.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return dM}}(EE);var dG=cT({},EE.getDefaultOptions(),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240});function dw(t){var e=t.chart,n=t.options,i=n.data,r=n.sectorStyle,o=n.shape,a=n.color;return e.data(i),cd(Ei)(cT({},t,{options:{marginRatio:1,interval:{style:r,color:a,shape:o}}})),t}function dH(t){var e=t.chart,n=t.options,i=n.label,r=n.xField,o=cA(e,"interval");if(!1===i)o.label(!1);else if((0,td.Kn)(i)){var a=i.callback,s=i.fields,l=(0,tf._T)(i,["callback","fields"]),u=l.offset,c=l.layout;(void 0===u||u>=0)&&(c=c?(0,td.kJ)(c)?c:[c]:[],l.layout=(0,td.hX)(c,function(t){return"limit-in-shape"!==t.type}),l.layout.length||delete l.layout),o.label({fields:s||[r],callback:a,cfg:cg(l)})}else co(Z.WARN,null===i,"the label option must be an Object."),o.label({fields:[r]});return t}function dY(t){var e=t.chart,n=t.options,i=n.legend,r=n.seriesField;return!1===i?e.legend(!1):r&&e.legend(r,i),t}function dk(t){var e=t.chart,n=t.options,i=n.radius,r=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:i,innerRadius:r,startAngle:o,endAngle:a}}),t}function dV(t){var e,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField;return cd(c0(((e={})[o]=i,e[a]=r,e)))(t)}function dW(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField;return i?e.axis(o,i):e.axis(o,!1),r?e.axis(a,r):e.axis(a,!1),t}function dX(t){cd(cX("sectorStyle"),dw,dV,dH,dk,dW,dY,cz,cZ,c$,cJ,c1(),cj)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radial-bar",e}(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return dG},e.prototype.changeData=function(t){this.updateOption({data:t}),dD({chart:this.chart,options:this.options}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return dB}}(EE);var dK=cT({},EE.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right",radio:{}},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return dK},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return dX}}(EE);var dz="name",dZ="nodes",d$="edges";function dJ(t){return t.target.depth}function dj(t,e){return t.sourceLinks.length?t.depth:e-1}function dq(t){return function(){return t}}function dQ(t,e){for(var n=0,i=0;io.findIndex(function(i){return i==="".concat(t[e],"_").concat(t[n])})})}(T,f,d),f,d,A,C);var m=(i={nodeAlign:S,nodePadding:cI(g)?g/n:I,nodeWidth:cI(O)?O/e:y,nodeSort:R,nodeDepth:v},o=(r=(0,td.f0)({},Ae,i)).nodeId,a=r.nodeSort,s=r.nodeAlign,l=r.nodeWidth,u=r.nodePadding,c=r.nodeDepth,{nodes:(E=(function(){var t,e,n,i,r=0,o=0,a=1,s=1,l=24,u=8,c=d3,E=dj,h=d4,p=d8,T=6;function f(f){var A={nodes:h(f),links:p(f)};return function(t){var e=t.nodes,i=t.links;e.forEach(function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]});var r=new Map(e.map(function(t){return[c(t),t]}));if(i.forEach(function(t,e){t.index=e;var n=t.source,i=t.target;"object"!=typeof n&&(n=t.source=d9(r,n)),"object"!=typeof i&&(i=t.target=d9(r,i)),n.sourceLinks.push(t),i.targetLinks.push(t)}),null!=n)for(var o=0;oi)throw Error("circular link");r=o,o=new Set}if(t)for(var s=Math.max(d0(n,function(t){return t.depth})+1,0),l=void 0,u=0;un)throw Error("circular link");i=r,r=new Set}}(A),function(t){var c=function(t){for(var n=t.nodes,i=Math.max(d0(n,function(t){return t.depth})+1,0),o=(a-r-l)/(i-1),s=Array(i).fill(0).map(function(){return[]}),u=0;u=0;--a){for(var s=t[a],l=0;l0){var S=(c/E-u.y0)*n;u.y0+=S,u.y1+=S,R(u)}}void 0===e&&s.sort(d5),s.length&&d(s,r)}})(c,p,f),function(t,n,r){for(var o=1,a=t.length;o0){var S=(c/E-u.y0)*n;u.y0+=S,u.y1+=S,R(u)}}void 0===e&&s.sort(d5),s.length&&d(s,r)}}(c,p,f)}}(A),d7(A),A}function d(t,e){var n=t.length>>1,r=t[n];S(t,r.y0-i,n-1,e),A(t,r.y1+i,n+1,e),S(t,s,t.length-1,e),A(t,o,0,e)}function A(t,e,n,r){for(;n1e-6&&(o.y0+=a,o.y1+=a),e=o.y1+i}}function S(t,e,n,r){for(;n>=0;--n){var o=t[n],a=(o.y1-e)*r;a>1e-6&&(o.y0-=a,o.y1-=a),e=o.y0-i}}function R(t){var e=t.sourceLinks,i=t.targetLinks;if(void 0===n){for(var r=0;r "+t.target,value:t.value}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:"wave-in"},enter:{animation:"wave-in"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var e=An(this.options,this.chart.width,this.chart.height),n=e.nodes,i=e.edges,r=cP(this.chart,dZ),o=cP(this.chart,d$);r.changeData(n),o.changeData(i)},e.prototype.getSchemaAdaptor=function(){return Al},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()}}(EE);var Au="ancestor-node",Ac="value",AE="path",Ah=[AE,fN,fm,fC,"name","depth","height"],Ap=cT({},EE.getDefaultOptions(),{innerRadius:0,radius:.85,hierarchyConfig:{field:"value"},tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1},legend:!1,sunburstStyle:{lineWidth:.5,stroke:"#FFF"},drilldown:{enabled:!0}});function AT(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function Af(t,e,n,i,r){for(var o,a=t.children,s=-1,l=a.length,u=t.value&&(i-e)/t.value;++s0)throw Error("cycle");return o}return n.id=function(e){return arguments.length?(t=fc(e),n):t},n.parentId=function(t){return arguments.length?(e=fc(t),n):e},n}function AL(t,e){return t.parent===e.parent?1:2}function A_(t){var e=t.children;return e?e[0]:t.t}function Ax(t){var e=t.children;return e?e[e.length-1]:t.t}function AM(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function AP(){var t=AL,e=1,n=1,i=null;function r(r){var l=function(t){for(var e,n,i,r,o,a=new AM(t,0),s=[a];e=s.pop();)if(i=e._.children)for(e.children=Array(o=i.length),r=o-1;r>=0;--r)s.push(n=e.children[r]=new AM(i[r],r)),n.parent=e;return(a.parent=new AM(null,0)).children=[a],a}(r);if(l.eachAfter(o),l.parent.m=-l.z,l.eachBefore(a),i)r.eachBefore(s);else{var u=r,c=r,E=r;r.eachBefore(function(t){t.xc.x&&(c=t),t.depth>E.depth&&(E=t)});var h=u===c?1:t(u,c)/2,p=h-u.x,T=e/(c.x+h+p),f=n/(E.depth||1);r.eachBefore(function(t){t.x=(t.x+p)*T,t.y=t.depth*f})}return r}function o(e){var n=e.children,i=e.parent.children,r=e.i?i[e.i-1]:null;if(n){!function(t){for(var e,n=0,i=0,r=t.children,o=r.length;--o>=0;)e=r[o],e.z+=n,e.m+=n,n+=e.s+(i+=e.c)}(e);var o=(n[0].z+n[n.length-1].z)/2;r?(e.z=r.z+t(e._,r._),e.m=e.z-o):e.z=o}else r&&(e.z=r.z+t(e._,r._));e.parent.A=function(e,n,i){if(n){for(var r,o,a,s=e,l=e,u=n,c=s.parent.children[0],E=s.m,h=l.m,p=u.m,T=c.m;u=Ax(u),s=A_(s),u&&s;)c=A_(c),(l=Ax(l)).a=e,(a=u.z+p-s.z-E+t(u._,s._))>0&&(function(t,e,n){var i=n/(e.i-t.i);e.c-=i,e.s+=n,t.c+=i,e.z+=n,e.m+=n}((r=u,o=i,r.a.parent===e.parent?r.a:o),e,a),E+=a,h+=a),p+=u.m,E+=s.m,T+=c.m,h+=l.m;u&&!Ax(l)&&(l.t=u,l.m+=p-h),s&&!A_(c)&&(c.t=s,c.m+=E-T,i=e)}return i}(e,r,e.parent.A||i[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*n}return r.separation=function(e){return arguments.length?(t=e,r):t},r.size=function(t){return arguments.length?(i=!1,e=+t[0],n=+t[1],r):i?null:[e,n]},r.nodeSize=function(t){return arguments.length?(i=!0,e=+t[0],n=+t[1],r):i?[e,n]:null},r}function AD(t,e,n,i,r){for(var o,a=t.children,s=-1,l=a.length,u=t.value&&(r-n)/t.value;++sh&&(h=s),(p=Math.max(h/(d=c*c*f),d/E))>T){c-=s;break}T=p}A.push(a={value:c,dice:l1?e:1)},n}(AU);function AB(){var t=AF,e=!1,n=1,i=1,r=[0],o=fE,a=fE,s=fE,l=fE,u=fE;function c(t){return t.x0=t.y0=0,t.x1=n,t.y1=i,t.eachBefore(E),r=[0],e&&t.eachBefore(AT),t}function E(e){var n=r[e.depth],i=e.x0+n,c=e.y0+n,E=e.x1-n,h=e.y1-n;E=n-1){var c=s[e];c.x0=r,c.y0=o,c.x1=a,c.y1=l;return}for(var E=u[e],h=i/2+E,p=e+1,T=n-1;p>>1;u[f]l-o){var S=i?(r*A+a*d)/i:a;t(e,p,d,r,o,S,l),t(p,n,A,S,o,a,l)}else{var R=i?(o*A+l*d)/i:l;t(e,p,d,r,o,a,R),t(p,n,A,r,R,a,l)}}(0,l,t.value,e,n,i,r)}function Aw(t,e,n,i,r){(1&t.depth?AD:Af)(t,e,n,i,r)}var AH=function t(e){function n(t,n,i,r,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,l,u,c,E=-1,h=a.length,p=t.value;++E1?e:1)},n}(AU),AY={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(t,e){return e.value-t.value},ratio:.5*(1+Math.sqrt(5))};function Ak(t,e){var n,i,r,o=(e=(0,td.f0)({},AY,e)).as;if(!(0,td.kJ)(o)||2!==o.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{r=f_(e)}catch(t){console.warn(t)}var a=(n=e.tile,i=e.ratio,"treemapSquarify"===n?tT[n].ratio(i):tT[n]),s=AB().tile(a).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(fR(t).sum(function(t){return e.ignoreParentValue&&t.children?0:t[r]}).sort(e.sort)),l=o[0],u=o[1];return s.each(function(t){t[l]=[t.x0,t.x1,t.x1,t.x0],t[u]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(e){-1===o.indexOf(e)&&delete t[e]})}),fx(s)}function AV(t){var e=t.data,n=t.colorField,i=t.rawFields,r=t.hierarchyConfig,o=void 0===r?{}:r,a=o.activeDepth,s=t.seriesField,l=t.type||"partition",u=({partition:AS,treemap:Ak})[l](e,(0,tf.pi)((0,tf.pi)({field:s||"value"},(0,td.CE)(o,["activeDepth"])),{type:"hierarchy.".concat(l),as:["x","y"]})),c=[];return u.forEach(function(t){if(0===t.depth||a>0&&t.depth>a)return null;for(var e,r,l,u,E,h,p=t.data.name,T=(0,tf.pi)({},t);T.depth>1;)p="".concat(null===(r=T.parent.data)||void 0===r?void 0:r.name," / ").concat(p),T=T.parent;var f=(0,tf.pi)((0,tf.pi)((0,tf.pi)({},ca(t.data,(0,tf.ev)((0,tf.ev)([],i||[],!0),[o.field],!1))),((e={})[AE]=p,e[Au]=T.data.name,e)),t);s&&(f[s]=t.data[s]||(null===(u=null===(l=t.parent)||void 0===l?void 0:l.data)||void 0===u?void 0:u[s])),n&&(f[n]=t.data[n]||(null===(h=null===(E=t.parent)||void 0===E?void 0:E.data)||void 0===h?void 0:h[n])),f.ext=o,f[T4]={hierarchyConfig:o,colorField:n,rawFields:i},c.push(f)}),c}function AW(t){var e,n=t.chart,i=t.options,r=i.color,o=i.colorField,a=void 0===o?Au:o,s=i.sunburstStyle,l=i.rawFields,u=void 0===l?[]:l,c=i.shape,E=AV(i);return n.data(E),s&&(e=function(t){return cT({},{fillOpacity:Math.pow(.85,t.depth)},(0,td.mf)(s)?s(t):s)}),Ea(cT({},t,{options:{xField:"x",yField:"y",seriesField:a,rawFields:(0,td.jj)((0,tf.ev)((0,tf.ev)([],Ah,!0),u,!0)),polygon:{color:r,style:e,shape:c}}})),t}function AX(t){return t.chart.axis(!1),t}function AK(t){var e=t.chart,n=t.options.label,i=cA(e,"polygon");if(n){var r=n.fields,o=n.callback,a=(0,tf._T)(n,["fields","callback"]);i.label({fields:void 0===r?["name"]:r,callback:o,cfg:cg(a)})}else i.label(!1);return t}function Az(t){var e=t.chart,n=t.options,i=n.innerRadius,r=n.radius,o=n.reflect,a=e.coordinate({type:"polar",cfg:{innerRadius:i,radius:r}});return o&&a.reflect(o),t}function AZ(t){var e,n=t.options,i=n.hierarchyConfig,r=n.meta;return cd(c0({},((e={})[Ac]=(0,td.U2)(r,(0,td.U2)(i,["field"],"value")),e)))(t)}function A$(t){var e=t.chart,n=t.options.tooltip;if(!1===n)e.tooltip(!1);else{var i=n;(0,td.U2)(n,"fields")||(i=cT({},{customItems:function(t){return t.map(function(t){var n=(0,td.U2)(e.getOptions(),"scales"),i=(0,td.U2)(n,[AE,"formatter"],function(t){return t}),r=(0,td.U2)(n,[Ac,"formatter"],function(t){return t});return(0,tf.pi)((0,tf.pi)({},t),{name:i(t.data[AE]),value:r(t.data.value)})})}},i)),e.tooltip(i)}return t}function AJ(t){var e,n,i=t.chart,r=t.options,o=r.drilldown;return cZ({chart:i,options:(e=r.drilldown,n=r.interactions,(null==e?void 0:e.enabled)?cT({},r,{interactions:(0,tf.ev)((0,tf.ev)([],void 0===n?[]:n,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:AV}}],!1)}):r)}),(null==o?void 0:o.enabled)&&(i.appendPadding=cy(i.appendPadding,(0,td.U2)(o,["breadCrumb","position"]))),t}function Aj(t){return cd(cJ,cX("sunburstStyle"),AW,AX,AZ,cK,Az,A$,AK,AJ,c$,c1())(t)}function Aq(t,e){if((0,td.kJ)(t))return t.find(function(t){return t.type===e})}function AQ(t,e){var n=Aq(t,e);return n&&!1!==n.enable}function A0(t){var e=t.interactions,n=t.drilldown;return(0,td.U2)(n,"enabled")||AQ(e,"treemap-drill-down")}function A1(t){var e=t.data,n=t.colorField,i=t.enableDrillDown,r=t.hierarchyConfig,o=Ak(e,(0,tf.pi)((0,tf.pi)({},r),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),a=[];return o.forEach(function(t){if(0===t.depth||i&&1!==t.depth||!i&&t.children)return null;var o=t.ancestors().map(function(t){return{data:t.data,height:t.height,value:t.value}}),s=i&&(0,td.kJ)(e.path)?o.concat(e.path.slice(1)):o,l=Object.assign({},t.data,(0,tf.pi)({x:t.x,y:t.y,depth:t.depth,value:t.value,path:s},t));if(!t.data[n]&&t.parent){var u=t.ancestors().find(function(t){return t.data[n]});l[n]=null==u?void 0:u.data[n]}else l[n]=t.data[n];l[T4]={hierarchyConfig:r,colorField:n,enableDrillDown:i},a.push(l)}),a}function A2(t){return cT({options:{rawFields:["value"],tooltip:{fields:["name","value",t.options.colorField,"path"],formatter:function(t){return{name:t.name,value:t.value}}}}},t)}function A5(t){var e=t.chart,n=t.options,i=n.color,r=n.colorField,o=n.rectStyle,a=n.hierarchyConfig,s=n.rawFields,l=A1({data:n.data,colorField:n.colorField,enableDrillDown:A0(n),hierarchyConfig:a});return e.data(l),Ea(cT({},t,{options:{xField:"x",yField:"y",seriesField:r,rawFields:s,polygon:{color:i,style:o}}})),e.coordinate().reflect("y"),t}function A6(t){return t.chart.axis(!1),t}function A3(t){var e,n,i=t.chart,r=t.options,o=r.interactions,a=r.drilldown;cZ({chart:i,options:(e=r.drilldown,n=r.interactions,A0(r)?cT({},r,{interactions:(0,tf.ev)((0,tf.ev)([],void 0===n?[]:n,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:A1}}],!1)}):r)});var s=Aq(o,"view-zoom");return s&&(!1!==s.enable?i.getCanvas().on("mousewheel",function(t){t.preventDefault()}):i.getCanvas().off("mousewheel")),A0(r)&&(i.appendPadding=cy(i.appendPadding,(0,td.U2)(a,["breadCrumb","position"]))),t}function A4(t){return cd(A2,cJ,cX("rectStyle"),A5,A6,cK,cz,A3,c$,c1())(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="sunburst",e}(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return Ap},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Aj},e.SUNBURST_ANCESTOR_FIELD=Au,e.SUNBURST_PATH_FIELD=AE,e.NODE_ANCESTORS_FIELD=fm}(EE);var A8={colorField:"name",rectStyle:{lineWidth:1,stroke:"#fff"},hierarchyConfig:{tile:"treemapSquarify"},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1,breadCrumb:{position:"bottom-left",rootText:"初始",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}}}};!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="treemap",e}(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return A8},e.prototype.changeData=function(t){var e,n=this.options,i=n.colorField,r=n.interactions,o=n.hierarchyConfig;this.updateOption({data:t});var a=A1({data:t,colorField:i,enableDrillDown:AQ(r,"treemap-drill-down"),hierarchyConfig:o});this.chart.changeData(a),(e=this.chart.interactions["drill-down"])&&e.context.actions.find(function(t){return"drill-down-action"===t.name}).reset()},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return A4}}(EE);var A9="path",A7={appendPadding:[10,0,20,0],blendMode:"multiply",tooltip:{showTitle:!1,showMarkers:!1,fields:["id","size"],formatter:function(t){return{name:t.id,value:t.size}}},legend:{position:"top-left"},label:{style:{textAlign:"center",fill:"#fff"}},interactions:[{type:"legend-filter",enable:!1}],state:{active:{style:{stroke:"#000"}},selected:{style:{stroke:"#000",lineWidth:2}},inactive:{style:{fillOpacity:.3,strokeOpacity:.3}}},defaultInteractions:["tooltip","venn-legend-active"]};function St(t){t&&t.geometries[0].elements.forEach(function(t){t.shape.toFront()})}var Se=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.syncElementsPos=function(){St(this.context.view)},e.prototype.active=function(){t.prototype.active.call(this),this.syncElementsPos()},e.prototype.toggle=function(){t.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){t.prototype.reset.call(this),this.syncElementsPos()},e}(rv("element-active")),Sn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.syncElementsPos=function(){St(this.context.view)},e.prototype.highlight=function(){t.prototype.highlight.call(this),this.syncElementsPos()},e.prototype.toggle=function(){t.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.clear=function(){t.prototype.clear.call(this),this.syncElementsPos()},e.prototype.reset=function(){t.prototype.reset.call(this),this.syncElementsPos()},e}(rv("element-highlight")),Si=rv("element-selected"),Sr=rv("element-single-selected"),So=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.syncElementsPos=function(){St(this.context.view)},e.prototype.selected=function(){t.prototype.selected.call(this),this.syncElementsPos()},e.prototype.toggle=function(){t.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){t.prototype.reset.call(this),this.syncElementsPos()},e}(Si),Sa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.syncElementsPos=function(){St(this.context.view)},e.prototype.selected=function(){t.prototype.selected.call(this),this.syncElementsPos()},e.prototype.toggle=function(){t.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){t.prototype.reset.call(this),this.syncElementsPos()},e}(Sr);rN("venn-element-active",Se),rN("venn-element-highlight",Sn),rN("venn-element-selected",So),rN("venn-element-single-selected",Sa),r4("venn-element-active",{start:[{trigger:"element:mouseenter",action:"venn-element-active:active"}],end:[{trigger:"element:mouseleave",action:"venn-element-active:reset"}]}),r4("venn-element-highlight",{start:[{trigger:"element:mouseenter",action:"venn-element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"venn-element-highlight:reset"}]}),r4("venn-element-selected",{start:[{trigger:"element:click",action:"venn-element-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-selected:reset"]}]}),r4("venn-element-single-selected",{start:[{trigger:"element:click",action:"venn-element-single-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-single-selected:reset"]}]}),r4("venn-legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","venn-element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","venn-element-active:reset"]}]}),r4("venn-legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","venn-element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","venn-element-highlight:reset"]}]}),oY("venn",function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tf.ZT)(e,t),e.prototype.getLabelPoint=function(t,e,n){var i=t.data,r=i.x,o=i.y,a=t.customLabelInfo,s=a.offsetX,l=a.offsetY;return{content:t.content[n],x:r+s,y:o+l}},e}(o4));var Ss=Array.isArray,Sl=" \n\v\f\r \xa0 ᠎              \u2028\u2029",Su=RegExp("([a-z])["+Sl+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+Sl+"]*,?["+Sl+"]*)+)","ig"),Sc=RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+Sl+"]*,?["+Sl+"]*","ig");oz("schema","venn",{draw:function(t,e){var n=function(t){if(!t)return null;if(Ss(t))return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(t).replace(Su,function(t,i,r){var o=[],a=i.toLowerCase();if(r.replace(Sc,function(t,e){e&&o.push(+e)}),"m"===a&&o.length>2&&(n.push([i].concat(o.splice(0,2))),a="l",i="m"===i?"l":"L"),"o"===a&&1===o.length&&n.push([i,o[0]]),"r"===a)n.push([i].concat(o));else for(;o.length>=e[a]&&(n.push([i].concat(o.splice(0,e[a]))),e[a]););return""}),n}(t.data[A9]),i=cT({},t.defaultStyle,{fill:t.color},t.style),r=e.addGroup({name:"venn-shape"});r.addShape("path",{attrs:(0,tf.pi)((0,tf.pi)({},i),{path:n}),name:"venn-path"});var o=t.customInfo,a=o.offsetX,s=o.offsetY,l=ar.transform(null,[["t",a,s]]);return r.setMatrix(l),r},getMarker:function(t){var e=t.color;return{symbol:"circle",style:{lineWidth:0,stroke:e,fill:e,r:4}}}});var SE={normal:function(t){return t},multiply:function(t,e){return t*e/255},screen:function(t,e){return 255*(1-(1-t/255)*(1-e/255))},overlay:function(t,e){return e<128?2*t*e/255:255*(1-2*(1-t/255)*(1-e/255))},darken:function(t,e){return t>e?e:t},lighten:function(t,e){return t>e?t:e},dodge:function(t,e){return 255===t?255:(t=255*(e/255)/(1-t/255))>255?255:t},burn:function(t,e){return 255===e?255:0===t?0:255*(1-Math.min(1,(1-e/255)/(t/255)))}},Sh=function(t){if(!SE[t])throw Error("unknown blend mode "+t);return SE[t]};function Sp(t){var e,n=t.replace("/s+/g","");return"string"!=typeof n||n.startsWith("rgba")||n.startsWith("#")?(n.startsWith("rgba")&&(e=n.replace("rgba(","").replace(")","").split(",")),n.startsWith("#")&&(e=tQ.rgb2arr(n).concat([1])),e.map(function(t,e){return 3===e?Number(t):0|t})):tQ.rgb2arr(tQ.toRGB(n)).concat([1])}var ST=n(69916);function Sf(t,e){var n,i=function(t){for(var e=[],n=0;ne[n].radius+1e-10)return!1;return!0}(e,t)}),o=0,a=0,s=[];if(r.length>1){var l=Sg(r);for(n=0;n-1){var f=t[E.parentIndex[T]],d=Math.atan2(E.x-f.x,E.y-f.y),A=Math.atan2(c.x-f.x,c.y-f.y),S=A-d;S<0&&(S+=2*Math.PI);var R=A-S/2,g=SA(h,{x:f.x+f.radius*Math.sin(R),y:f.y+f.radius*Math.cos(R)});g>2*f.radius&&(g=2*f.radius),(null===p||p.width>g)&&(p={circle:f,width:g,p1:E,p2:c})}null!==p&&(s.push(p),o+=Sd(p.circle.radius,p.width),c=E)}}else{var I=t[0];for(n=1;nMath.abs(I.radius-t[n].radius)){O=!0;break}O?o=a=0:(o=I.radius*I.radius*Math.PI,s.push({circle:I,p1:{x:I.x,y:I.y+I.radius},p2:{x:I.x-1e-10,y:I.y+I.radius},width:2*I.radius}))}return a/=2,e&&(e.area=o+a,e.arcArea=o,e.polygonArea=a,e.arcs=s,e.innerPoints=r,e.intersectionPoints=i),o+a}function Sd(t,e){return t*t*Math.acos(1-e/t)-(t-e)*Math.sqrt(e*(2*t-e))}function SA(t,e){return Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y))}function SS(t,e,n){if(n>=t+e)return 0;if(n<=Math.abs(t-e))return Math.PI*Math.min(t,e)*Math.min(t,e);var i=t-(n*n-e*e+t*t)/(2*n),r=e-(n*n-t*t+e*e)/(2*n);return Sd(t,i)+Sd(e,r)}function SR(t,e){var n=SA(t,e),i=t.radius,r=e.radius;if(n>=i+r||n<=Math.abs(i-r))return[];var o=(i*i-r*r+n*n)/(2*n),a=Math.sqrt(i*i-o*o),s=t.x+o*(e.x-t.x)/n,l=t.y+o*(e.y-t.y)/n,u=-(e.y-t.y)*(a/n),c=-(e.x-t.x)*(a/n);return[{x:s+u,y:l-c},{x:s-u,y:l+c}]}function Sg(t){for(var e={x:0,y:0},n=0;n=Math.min(r[c].size,r[E].size)&&(u=0),o[c].push({set:E,size:l.size,weight:u}),o[E].push({set:c,size:l.size,weight:u})}var h=[];for(n in o)if(o.hasOwnProperty(n)){for(var p=0,a=0;a=8){var r=function(t,e){var n,i,r,o,a,s=(e=e||{}).restarts||10,l=[],u={};for(r=0;r=Math.min(l[e].size,l[r].size)?a=1:t.size<=1e-10&&(a=-1),i[e][r]=i[r][e]=a}),{distances:n,constraints:i}),h=E.distances,p=E.constraints,T=(0,ST.norm2)(h.map(ST.norm2))/h.length;h=h.map(function(t){return t.map(function(t){return t/T})});var f=function(t,e){return function(t,e,n,i){var r,o=0;for(r=0;r0&&T<=E||h<0&&T>=E||(o+=2*f*f,e[2*r]+=4*f*(a-u),e[2*r+1]+=4*f*(s-c),e[2*l]+=4*f*(u-a),e[2*l+1]+=4*f*(c-s))}return o}(t,e,h,p)};for(r=0;re?1:-1}),e=0;e=s&&(a=r[i],s=l)}var u=(0,ST.nelderMead)(function(t){return -1*SI({x:t[0],y:t[1]},e,n)},[a.x,a.y],{maxIterations:500,minErrorDelta:1e-10}).x,c={x:u[0],y:u[1]},E=!0;for(i=0;ie[i].radius){E=!1;break}for(i=0;i0&&console.log("WARNING: area "+o+" not represented on screen")}return n}(l,s);return s.forEach(function(t){var e=t.sets,n=e.join(",");t.id=n;var i=function(t){var e={};Sf(t,e);var n=e.arcs;if(0===n.length)return"M 0 0";if(1==n.length){var i,r,o,a,s,l=n[0].circle;return i=l.x,r=l.y,o=l.radius,a=[],s=i-o,a.push("M",s,r),a.push("A",o,o,0,1,0,s+2*o,r),a.push("A",o,o,0,1,0,s,r),a.join(" ")}for(var u=["\nM",n[0].p2.x,n[0].p2.y],c=0;ch;u.push("\nA",h,h,0,p?1:0,1,E.p1.x,E.p1.y)}return u.join(" ")}(e.map(function(t){return l[t]}));/[zZ]$/.test(i)||(i+=" Z"),t[A9]=i;var r=u[n]||{x:0,y:0};(0,td.f0)(t,r)}),s}(n,Math.max(E.width-(l+c),0),Math.max(E.height-(s+u),0),0);e.data(h);var p=Es(cT({},t,{options:{xField:"x",yField:"y",sizeField:o,seriesField:"id",rawFields:[r,o],schema:{shape:"venn",style:i}}})).ext.geometry;p.customInfo({offsetX:c,offsetY:s});var T=function(t,e){var n=t.options.color;if("function"!=typeof n){var i=SC(t,e,"string"==typeof n?[n]:n);return function(t){return i(t.id)}}return n}(t,h);return"function"==typeof T&&p.color("id",function(e){return T(h.find(function(t){return t.id===e}),SC(t,h)(e))}),t}function Sx(t){var e=t.chart,n=t.options.label,i=cO(e.appendPadding),r=i[0],o=i[3],a=cA(e,"schema");if(n){var s=n.callback,l=(0,tf._T)(n,["callback"]);a.label({fields:["id"],callback:s,cfg:(0,td.b$)({},cg(l),{type:"venn",customLabelInfo:{offsetX:o,offsetY:r}})})}else a.label(!1);return t}function SM(t){var e=t.chart,n=t.options,i=n.legend,r=n.sizeField;return e.legend("id",i),e.legend(r,!1),t}function SP(t){return t.chart.axis(!1),t}function SD(t){var e=t.options,n=t.chart,i=e.interactions;if(i){var r={"legend-active":"venn-legend-active","legend-highlight":"venn-legend-highlight"};cZ(cT({},t,{options:{interactions:i.map(function(t){return(0,tf.pi)((0,tf.pi)({},t),{type:r[t.type]||t.type})})}}))}return n.removeInteraction("legend-active"),n.removeInteraction("legend-highlight"),t}function SU(t){return cd(Sm,cJ,SL,S_,Sx,c0({}),SM,SP,cz,SD,c$)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="venn",e}(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return A7},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return SU},e.prototype.triggerResize=function(){this.chart.destroyed||(this.chart.forceFit(),this.chart.clear(),this.execAdaptor(),this.chart.render(!0))}}(EE);var Sb="violinY",SF="minMax",SB="quantile",SG="median",Sw="violin_view",SH=cT({},EE.getDefaultOptions(),{syncViewPadding:!0,kde:{type:"triangular",sampleSize:32,width:3},violinStyle:{lineWidth:1,fillOpacity:.3,strokeOpacity:.75},xAxis:{grid:{line:null},tickLine:{alignTick:!1}},yAxis:{grid:{line:{style:{lineWidth:.5,lineDash:[4,4]}}}},legend:{position:"top-left"},tooltip:{showMarkers:!1}}),SY=n(53843),Sk=n.n(SY);function SV(t,e){var n=t.length*e;if(0===t.length)throw Error("quantile requires at least one data point.");if(e<0||e>1)throw Error("quantiles must be between 0 and 1");return 1===e?t[t.length-1]:0===e?t[0]:n%1!=0?t[Math.ceil(n)-1]:t.length%2==0?(t[n-1]+t[n])/2:t[n]}function SW(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function SX(t,e,n,i){for(n=n||0,i=i||t.length-1;i>n;){if(i-n>600){var r=i-n+1,o=e-n+1,a=Math.log(r),s=.5*Math.exp(2*a/3),l=.5*Math.sqrt(a*s*(r-s)/r);o-r/2<0&&(l*=-1);var u=Math.max(n,Math.floor(e-o*s/r+l)),c=Math.min(i,Math.floor(e+(r-o)*s/r+l));SX(t,e,u,c)}var E=t[e],h=n,p=i;for(SW(t,n,e),t[i]>E&&SW(t,n,i);hE;)p--}t[n]===E?SW(t,n,p):SW(t,++p,i),p<=e&&(n=p+1),e<=p&&(i=p-1)}}function SK(t,e){var n=t.slice();if(Array.isArray(e)){!function(t,e){for(var n=[0],i=0;i0?c:E};return Ei(cT({},t,{options:{xField:r,yField:Rt,seriesField:r,rawFields:[o,Re,Ri,Rt],widthRatio:l,interval:{style:u,shape:p||"waterfall",color:f}}})).ext.geometry.customInfo((0,tf.pi)((0,tf.pi)({},T),{leaderLine:s})),t}function Rl(t){var e,n,i=t.options,r=i.xAxis,o=i.yAxis,a=i.xField,s=i.yField,l=i.meta,u=cT({},{alias:s},(0,td.U2)(l,s));return cd(c0(((e={})[a]=r,e[s]=o,e[Rt]=o,e),cT({},l,((n={})[Rt]=u,n[Re]=u,n[Rn]=u,n))))(t)}function Ru(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField;return!1===i?e.axis(o,!1):e.axis(o,i),!1===r?(e.axis(a,!1),e.axis(Rt,!1)):(e.axis(a,r),e.axis(Rt,r)),t}function Rc(t){var e=t.chart,n=t.options,i=n.legend,r=n.total,o=n.risingFill,a=n.fallingFill,s=c4(n.locale);if(!1===i)e.legend(!1);else{var l=[{name:s.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:o}}},{name:s.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:a}}}];r&&l.push({name:r.label||"",value:"total",marker:{symbol:"square",style:cT({},{r:5},(0,td.U2)(r,"style"))}}),e.legend(cT({},{custom:!0,position:"top",items:l},i)),e.removeInteraction("legend-filter")}return t}function RE(t){var e=t.chart,n=t.options,i=n.label,r=n.labelMode,o=n.xField,a=cA(e,"interval");if(i){var s=i.callback,l=(0,tf._T)(i,["callback"]);a.label({fields:"absolute"===r?[Rn,o]:[Re,o],callback:s,cfg:cg(l)})}else a.label(!1);return t}function Rh(t){var e=t.chart,n=t.options,i=n.tooltip,r=n.xField,o=n.yField;if(!1!==i){e.tooltip((0,tf.pi)({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i));var a=e.geometries[0];(null==i?void 0:i.formatter)?a.tooltip("".concat(r,"*").concat(o),i.formatter):a.tooltip(o)}else e.tooltip(!1);return t}function Rp(t){return cd(Ra,cJ,Rs,Rl,Ru,Rc,Rh,RE,cj,cZ,c$,c1())(t)}oz("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,r=t.nextPoints,o=e.addGroup(),a=this.parsePath(function(t){for(var e=[],n=0;n>2),t.width=2048/e,t.height=2048/e,(p=t.getContext("2d",{willReadFrequently:!0})).fillStyle=p.strokeStyle="red",p.textAlign="center",{context:p,ratio:e}),A=h.board?h.board:RN((n[0]>>5)*n[1]),S=c.length,R=[],g=c.map(function(t,e,n){return t.text=RS.call(this,t,e,n),t.font=i.call(this,t,e,n),t.style=Rg.call(this,t,e,n),t.weight=o.call(this,t,e,n),t.rotate=a.call(this,t,e,n),t.size=~~r.call(this,t,e,n),t.padding=s.call(this,t,e,n),t}).sort(function(t,e){return e.size-t.size}),I=-1,O=h.board?[{x:0,y:0},{x:T,y:f}]:null;return function(){for(var t=Date.now();Date.now()-t>1,e.y=f*(u()+.5)>>1,function(t,e,n,i){if(!e.sprite){var r=t.context,o=t.ratio;r.clearRect(0,0,2048/o,2048/o);var a=0,s=0,l=0,u=n.length;for(--i;++i>5<<5,E=~~Math.max(Math.abs(f+d),Math.abs(f-d))}else c=c+31>>5<<5;if(E>l&&(l=E),a+c>=2048&&(a=0,s+=l,l=0),s+E>=2048)break;r.translate((a+(c>>1))/o,(s+(E>>1))/o),e.rotate&&r.rotate(e.rotate*RA),r.fillText(e.text,0,0),e.padding&&(r.lineWidth=2*e.padding,r.strokeText(e.text,0,0)),r.restore(),e.width=c,e.height=E,e.xoff=a,e.yoff=s,e.x1=c>>1,e.y1=E>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,a+=c}for(var S=r.getImageData(0,0,2048/o,2048/o).data,R=[];--i>=0;)if((e=n[i]).hasText){for(var c=e.width,g=c>>5,E=e.y1-e.y0,I=0;I>5),C=S[(s+v)*2048+(a+I)<<2]?1<<31-I%32:0;R[N]|=C,O|=C}O?y=v:(e.y0++,E--,v--,s++)}e.y1=e.y0+y,e.sprite=R.slice(0,(e.y1-e.y0)*g)}}}(d,e,g,I),e.hasText&&function(t,e,i){for(var r,o,a,s=e.x,c=e.y,E=Math.sqrt(n[0]*n[0]+n[1]*n[1]),h=l(n),p=.5>u()?1:-1,T=-p;(r=h(T+=p))&&!(Math.min(Math.abs(o=~~r[0]),Math.abs(a=~~r[1]))>=E);)if(e.x=s+o,e.y=c+a,!(e.x+e.x0<0)&&!(e.y+e.y0<0)&&!(e.x+e.x1>n[0])&&!(e.y+e.y1>n[1])&&(!i||!function(t,e,n){n>>=5;for(var i,r=t.sprite,o=t.width>>5,a=t.x-(o<<4),s=127&a,l=32-s,u=t.y1-t.y0,c=(t.y+t.y0)*n+(a>>5),E=0;E>>s:0))&e[c+h])return!0;c+=n}return!1}(e,t,n[0]))&&(!i||e.x+e.x1>i[0].x&&e.x+e.x0i[0].y&&e.y+e.y0>5,A=n[0]>>5,S=e.x-(d<<4),R=127&S,g=32-R,I=e.y1-e.y0,O=void 0,y=(e.y+e.y0)*A+(S>>5),v=0;v>>R:0);y+=A}return delete e.sprite,!0}return!1}(A,e,O)&&(R.push(e),O?h.hasImage||function(t,e){var n=t[0],i=t[1];e.x+e.x0i.x&&(i.x=e.x+e.x1),e.y+e.y1>i.y&&(i.y=e.y+e.y1)}(O,e):O=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=n[0]>>1,e.y-=n[1]>>1)}h._tags=R,h._bounds=O}(),h},h.createMask=function(t){var e=document.createElement("canvas"),i=n[0],r=n[1];if(i&&r){var o=i>>5,a=RN((i>>5)*r);e.width=i,e.height=r;var s=e.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,i,r);for(var l=s.getImageData(0,0,i,r).data,u=0;u>5),p=u*i+c<<2,T=l[p]>=250&&l[p+1]>=250&&l[p+2]>=250?1<<31-c%32:0;a[E]|=T}h.board=a,h.hasImage=!0}},h.timeInterval=function(t){E=null==t?1/0:t},h.words=function(t){c=t},h.size=function(t){n=[+t[0],+t[1]]},h.font=function(t){i=RC(t)},h.fontWeight=function(t){o=RC(t)},h.rotate=function(t){a=RC(t)},h.spiral=function(t){l=Rm[t]||t},h.fontSize=function(t){r=RC(t)},h.padding=function(t){s=RC(t)},h.random=function(t){u=RC(t)},["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(t){(0,td.UM)(e[t])||h[t](e[t])}),h.words(k),e.imageMask&&h.createMask(e.imageMask),(p=h.start()._tags).forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2}),f=(T=e.size)[0],d=T[1],p.push({text:"",value:0,x:0,y:0,opacity:0}),p.push({text:"",value:0,x:f,y:d,opacity:0}),p}function R_(t){var e=t.chart,n=t.options,i=n.colorField,r=n.color,o=RL(t);return e.data(o),Eo(cT({},t,{options:{xField:"x",yField:"y",seriesField:i&&RT,rawFields:(0,td.mf)(r)&&(0,tf.ev)((0,tf.ev)([],(0,td.U2)(n,"rawFields",[]),!0),["datum"],!1),point:{color:r,shape:"word-cloud"}}})).ext.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function Rx(t){return cd(c0({x:{nice:!1},y:{nice:!1}}))(t)}function RM(t){var e=t.chart,n=t.options,i=n.legend,r=n.colorField;return!1===i?e.legend(!1):r&&e.legend(RT,i),t}function RP(t){cd(R_,Rx,cz,RM,cZ,c$,cJ,cj)(t)}oz("point","word-cloud",{draw:function(t,e){var n=t.x,i=t.y,r=e.addShape("text",{attrs:(0,tf.pi)((0,tf.pi)({},{fontSize:t.data.size,text:t.data.text,textAlign:"center",fontFamily:t.data.font,fontWeight:t.data.weight,fill:t.color||t.defaultStyle.stroke,textBaseline:"alphabetic"}),{x:n,y:i})}),o=t.data.rotate;return"number"==typeof o&&ar.rotate(r,o*Math.PI/180),r}}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="word-cloud",e}(0,tf.ZT)(e,t),e.getDefaultOptions=function(){return Rf},e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData(RL({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){var e=this;return new Promise(function(n){var i=e.options.imageMask;if(!i){t.prototype.render.call(e),n();return}var r=function(i){e.options=(0,tf.pi)((0,tf.pi)({},e.options),{imageMask:i||null}),t.prototype.render.call(e),n()};new Promise(function(t,e){if(i instanceof HTMLImageElement){t(i);return}if((0,td.HD)(i)){var n=new Image;n.crossOrigin="anonymous",n.src=i,n.onload=function(){t(n)},n.onerror=function(){co(Z.ERROR,!1,"image %s load failed !!!",i),e()};return}co(Z.WARN,void 0===i,"The type of imageMask option must be String or HTMLImageElement."),e()}).then(r).catch(r)})},e.prototype.getSchemaAdaptor=function(){return RP},e.prototype.triggerResize=function(){var e=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){t.prototype.triggerResize.call(e)}))}}(EE),function(t){function e(e,n,i,r){var o=t.call(this,e,cT({},r,n))||this;return o.type="g2-plot",o.defaultOptions=r,o.adaptor=i,o}(0,tf.ZT)(e,t),e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor}}(EE),c3["en-US"]={locale:"en-US",general:{increase:"Increase",decrease:"Decrease",root:"Root"},statistic:{total:"Total"},conversionTag:{label:"Rate"},legend:{},tooltip:{},slider:{},scrollbar:{},waterfall:{total:"Total"}},c3["zh-CN"]={locale:"zh-CN",general:{increase:"增加",decrease:"减少",root:"初始"},statistic:{total:"总计"},conversionTag:{label:"转化率"},legend:{},tooltip:{},slider:{},scrollbar:{},waterfall:{total:"总计"}}},31506:function(t,e,n){"use strict";n.d(e,{Dg:function(){return u},lh:function(){return s},m$:function(){return o},vs:function(){return l},zu:function(){return a}});var i=n(35600),r=n(31437);function o(t,e,n){var r=[0,0,0,0,0,0,0,0,0];return i.vc(r,n),i.Jp(t,r,e)}function a(t,e,n){var r=[0,0,0,0,0,0,0,0,0];return i.Us(r,n),i.Jp(t,r,e)}function s(t,e,n){var r=[0,0,0,0,0,0,0,0,0];return i.xJ(r,n),i.Jp(t,r,e)}function l(t,e){for(var n=t?[].concat(t):[1,0,0,0,1,0,0,0,1],r=0,l=e.length;r=0;return n?o?2*Math.PI-i:i:o?i:2*Math.PI-i}},39499:function(t,e,n){"use strict";n.d(e,{e9:function(){return l},Wq:function(){return m},tr:function(){return h},wb:function(){return f},zx:function(){return I}});var i=n(21030),r=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/ig,o=/[^\s\,]+/ig,a=function(t){var e=t||[];return(0,i.kJ)(e)?e:(0,i.HD)(e)?(e=e.match(r),(0,i.S6)(e,function(t,n){if((t=t.match(o))[0].length>1){var r=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=r}(0,i.S6)(t,function(e,n){isNaN(e)||(t[n]=+e)}),e[n]=t}),e):void 0},s=n(31437),l=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=[[0,0],[1,1]]);for(var i,r,o,a=!!e,l=[],u=0,c=t.length;u2&&(n.push([i].concat(o.splice(0,2))),a="l",i="m"===i?"l":"L"),"o"===a&&1===o.length&&n.push([i,o[0]]),"r"===a)n.push([i].concat(o));else for(;o.length>=e[a]&&(n.push([i].concat(o.splice(0,e[a]))),e[a]););return""}),n}var p=/[a-z]/;function T(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function f(t){var e=h(t);if(!e||!e.length)return[["M",0,0]];for(var n=!1,i=0;i=0){n=!0;break}}if(!n)return e;var o=[],a=0,s=0,l=0,u=0,c=0,E=e[0];("M"===E[0]||"m"===E[0])&&(a=+E[1],s=+E[2],l=a,u=s,c++,o[0]=["M",a,s]);for(var i=c,f=e.length;i1&&(n*=Math.sqrt(T),r*=Math.sqrt(T));var f=n*n*(p*p)+r*r*(h*h),d=f?Math.sqrt((n*n*(r*r)-f)/f):1;a===s&&(d*=-1),isNaN(d)&&(d=0);var g=r?d*n*p/r:0,I=n?-(d*r)*h/n:0,O=(l+c)/2+Math.cos(o)*g-Math.sin(o)*I,y=(u+E)/2+Math.sin(o)*g+Math.cos(o)*I,v=[(h-g)/n,(p-I)/r],N=[(-1*h-g)/n,(-1*p-I)/r],C=S([1,0],v),m=S(v,N);return -1>=A(v,N)&&(m=Math.PI),A(v,N)>=1&&(m=0),0===s&&m>0&&(m-=2*Math.PI),1===s&&m<0&&(m+=2*Math.PI),{cx:O,cy:y,rx:R(t,[c,E])?0:n,ry:R(t,[c,E])?0:r,startAngle:C,endAngle:C+m,xRotation:o,arcFlag:a,sweepFlag:s}}(n,c);h.arcParams=p}if("Z"===E)n=o,r=t[s+1];else{var T=c.length;n=[c[T-2],c[T-1]]}r&&"Z"===r[0]&&(r=t[s],e[s]&&(e[s].prePoint=n)),h.currentPoint=n,e[s]&&R(n,e[s].currentPoint)&&(e[s].prePoint=h.prePoint);var f=r?[r[r.length-2],r[r.length-1]]:null;h.nextPoint=f;var d=h.prePoint;if(["L","H","V"].includes(E))h.startTangent=[d[0]-n[0],d[1]-n[1]],h.endTangent=[n[0]-d[0],n[1]-d[1]];else if("Q"===E){var I=[c[1],c[2]];h.startTangent=[d[0]-I[0],d[1]-I[1]],h.endTangent=[n[0]-I[0],n[1]-I[1]]}else if("T"===E){var O=e[u-1],I=g(O.currentPoint,d);"Q"===O.command?(h.command="Q",h.startTangent=[d[0]-I[0],d[1]-I[1]],h.endTangent=[n[0]-I[0],n[1]-I[1]]):(h.command="TL",h.startTangent=[d[0]-n[0],d[1]-n[1]],h.endTangent=[n[0]-d[0],n[1]-d[1]])}else if("C"===E){var y=[c[1],c[2]],v=[c[3],c[4]];h.startTangent=[d[0]-y[0],d[1]-y[1]],h.endTangent=[n[0]-v[0],n[1]-v[1]],0===h.startTangent[0]&&0===h.startTangent[1]&&(h.startTangent=[y[0]-v[0],y[1]-v[1]]),0===h.endTangent[0]&&0===h.endTangent[1]&&(h.endTangent=[v[0]-y[0],v[1]-y[1]])}else if("S"===E){var O=e[u-1],y=g(O.currentPoint,d),v=[c[1],c[2]];"C"===O.command?(h.command="C",h.startTangent=[d[0]-y[0],d[1]-y[1]],h.endTangent=[n[0]-v[0],n[1]-v[1]]):(h.command="SQ",h.startTangent=[d[0]-v[0],d[1]-v[1]],h.endTangent=[n[0]-v[0],n[1]-v[1]])}else if("A"===E){var N=.001,C=h.arcParams||{},m=C.cx,L=void 0===m?0:m,_=C.cy,x=void 0===_?0:_,M=C.rx,P=void 0===M?0:M,D=C.ry,U=void 0===D?0:D,b=C.sweepFlag,F=void 0===b?0:b,B=C.startAngle,G=void 0===B?0:B,w=C.endAngle,H=void 0===w?0:w;0===F&&(N*=-1);var Y=P*Math.cos(G-N)+L,k=U*Math.sin(G-N)+x;h.startTangent=[Y-o[0],k-o[1]];var V=P*Math.cos(G+H+N)+L,W=U*Math.sin(G+H-N)+x;h.endTangent=[d[0]-V,d[1]-W]}e.push(h)}return e}function O(t){return 1e-6>Math.abs(t)?0:t<0?-1:1}function y(t,e,n){var i=!1,r=t.length;if(r<=2)return!1;for(var o=0;o0!=O(l[1]-n)>0&&0>O(e-(n-s[1])*(s[0]-l[0])/(s[1]-l[1])-s[0])&&(i=!i)}return i}var v=function(t,e,n){return t>=e&&t<=n};function N(t){for(var e=[],n=t.length,i=0;i1){var a=t[0],s=t[n-1];e.push({from:{x:s[0],y:s[1]},to:{x:a[0],y:a[1]}})}return e}function C(t){var e=t.map(function(t){return t[0]}),n=t.map(function(t){return t[1]});return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,n),maxY:Math.max.apply(null,n)}}function m(t,e){if(t.length<2||e.length<2)return!1;var n=C(t),r=C(e);if(r.minX>n.maxX||r.maxXn.maxY||r.maxY.001*l*u){var E=(r.x*a.y-r.y*a.x)/s,h=(r.x*o.y-r.y*o.x)/s;v(E,0,1)&&v(h,0,1)&&(c={x:t.x+E*o.x,y:t.y+E*o.y})}return c}(n.from,n.to,t.from,t.to))return e=!0,!1}),e)return l=!0,!1}),l}},21030:function(t,e,n){"use strict";n.d(e,{Ct:function(){return tX},f0:function(){return tx},uZ:function(){return W},VS:function(){return tf},d9:function(){return tA},FX:function(){return o},Ds:function(){return tS},b$:function(){return tg},e5:function(){return s},S6:function(){return T},yW:function(){return G},hX:function(){return a},sE:function(){return R},cx:function(){return g},Wx:function(){return I},ri:function(){return X},xH:function(){return O},U5:function(){return Q},U2:function(){return tM},Lo:function(){return tW},rx:function(){return C},ru:function(){return V},vM:function(){return Y},Ms:function(){return k},wH:function(){return tt},YM:function(){return F},q9:function(){return o},cq:function(){return tI},kJ:function(){return h},jn:function(){return ts},J_:function(){return tl},kK:function(){return tp},xb:function(){return ty},Xy:function(){return tN},mf:function(){return c},BD:function(){return d},UM:function(){return E},Ft:function(){return tu},hj:function(){return K},vQ:function(){return z},Kn:function(){return p},PO:function(){return S},HD:function(){return P},P9:function(){return u},o8:function(){return th},XP:function(){return f},Z$:function(){return B},vl:function(){return ti},UI:function(){return tC},Q8:function(){return tL},Fp:function(){return v},UT:function(){return Z},HP:function(){return tR},VV:function(){return N},F:function(){return $},CD:function(){return tx},wQ:function(){return J},ZT:function(){return tH},CE:function(){return tb},ei:function(){return tU},u4:function(){return x},Od:function(){return M},U7:function(){return tT},t8:function(){return tP},dp:function(){return tY},G:function(){return w},MR:function(){return D},ng:function(){return tr},P2:function(){return tF},qo:function(){return tB},c$:function(){return q},BB:function(){return tn},jj:function(){return U},EL:function(){return tw},jC:function(){return to},VO:function(){return te},I:function(){return b}});var i,r=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)},o=function(t,e){return!!r(t)&&t.indexOf(e)>-1},a=function(t,e){if(!r(t))return t;for(var n=[],i=0;ie[r])return 1;if(t[r]n?n:t},X=function(t,e){var n=e.toString(),i=n.indexOf(".");if(-1===i)return Math.round(t);var r=n.substr(i+1).length;return r>20&&(r=20),parseFloat(t.toFixed(r))},K=function(t){return u(t,"Number")};function z(t,e,n){return void 0===n&&(n=1e-5),Math.abs(t-e)i&&(n=o,i=a)}return n}},$=function(t,e){if(h(t)){for(var n,i=1/0,r=0;re?(i&&(clearTimeout(i),i=null),s=u,a=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(l,c)),a};return u.cancel=function(){clearTimeout(i),s=0,i=r=o=null},u},tB=function(t){return r(t)?Array.prototype.slice.call(t):[]},tG={},tw=function(t){return tG[t=t||"g"]?tG[t]+=1:tG[t]=1,t+tG[t]},tH=function(){};function tY(t){return E(t)?0:r(t)?t.length:Object.keys(t).length}var tk=n(97582),tV=tR(function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,o=e.fontWeight,a=e.fontStyle,s=e.fontVariant;return i||(i=document.createElement("canvas").getContext("2d")),i.font=[a,s,o,n+"px",r].join(" "),i.measureText(P(t)?t:"").width},function(t,e){return void 0===e&&(e={}),(0,tk.pr)([t],te(e)).join("")}),tW=function(t,e,n,i){void 0===i&&(i="...");var r,o,a=tV(i,n),s=P(t)?t:tn(t),l=e,u=[];if(tV(t,n)<=e)return t;for(;!((o=tV(r=s.substr(0,16),n))+a>l)||!(o>l);)if(u.push(r),l-=o,!(s=s.substr(16)))return u.join("");for(;!((o=tV(r=s.substr(0,1),n))+a>l);)if(u.push(r),l-=o,!(s=s.substr(1)))return u.join("");return""+u.join("")+i},tX=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}()},43927:function(t,e,n){"use strict";var i=n(64836);e.Z=void 0;var r=i(n(64938)),o=n(85893),a=(0,r.default)((0,o.jsx)("path",{d:"m19 9 1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25L19 9zm-7.5.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25L19 15z"}),"AutoAwesome");e.Z=a},25709:function(t,e,n){"use strict";var i=n(64836);e.Z=void 0;var r=i(n(64938)),o=n(85893),a=(0,r.default)((0,o.jsx)("path",{d:"M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"}),"Dashboard");e.Z=a},41118:function(t,e,n){"use strict";n.d(e,{Z:function(){return O}});var i=n(63366),r=n(87462),o=n(67294),a=n(86010),s=n(94780),l=n(14142),u=n(18719),c=n(20407),E=n(74312),h=n(78653),p=n(26821);function T(t){return(0,p.d6)("MuiCard",t)}(0,p.sI)("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]);var f=n(58859),d=n(30220),A=n(85893);let S=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],R=t=>{let{size:e,variant:n,color:i,orientation:r}=t,o={root:["root",r,n&&`variant${(0,l.Z)(n)}`,i&&`color${(0,l.Z)(i)}`,e&&`size${(0,l.Z)(e)}`]};return(0,s.Z)(o,T,{})},g=(0,E.Z)("div",{name:"JoyCard",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,i;return[(0,r.Z)({"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":(0,f.V)({theme:t,ownerState:e},"borderRadius","var(--Card-radius)"),"--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},"sm"===e.size&&{"--Card-radius":t.vars.radius.sm,"--Card-padding":"0.5rem",gap:"0.375rem 0.5rem"},"md"===e.size&&{"--Card-radius":t.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},"lg"===e.size&&{"--Card-radius":t.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",boxShadow:t.shadow.sm,backgroundColor:t.vars.palette.background.surface,fontFamily:t.vars.fontFamily.body,fontSize:t.vars.fontSize.md,position:"relative",display:"flex",flexDirection:"horizontal"===e.orientation?"row":"column"}),null==(n=t.variants[e.variant])?void 0:n[e.color],"context"!==e.color&&e.invertedColors&&(null==(i=t.colorInversion[e.variant])?void 0:i[e.color])]}),I=o.forwardRef(function(t,e){let n=(0,c.Z)({props:t,name:"JoyCard"}),{className:s,color:l="neutral",component:E="div",invertedColors:p=!1,size:T="md",variant:f="plain",children:I,orientation:O="vertical",slots:y={},slotProps:v={}}=n,N=(0,i.Z)(n,S),{getColor:C}=(0,h.VT)(f),m=C(t.color,l),L=(0,r.Z)({},n,{color:m,component:E,orientation:O,size:T,variant:f}),_=R(L),x=(0,r.Z)({},N,{component:E,slots:y,slotProps:v}),[M,P]=(0,d.Z)("root",{ref:e,className:(0,a.Z)(_.root,s),elementType:g,externalForwardedProps:x,ownerState:L}),D=(0,A.jsx)(M,(0,r.Z)({},P,{children:o.Children.map(I,(t,e)=>{if(!o.isValidElement(t))return t;let n={};if((0,u.Z)(t,["Divider"])){n.inset="inset"in t.props?t.props.inset:"context";let e="vertical"===O?"horizontal":"vertical";n.orientation="orientation"in t.props?t.props.orientation:e}return(0,u.Z)(t,["CardOverflow"])&&("horizontal"===O&&(n["data-parent"]="Card-horizontal"),"vertical"===O&&(n["data-parent"]="Card-vertical")),0===e&&(n["data-first-child"]=""),e===o.Children.count(I)-1&&(n["data-last-child"]=""),o.cloneElement(t,n)})}));return p?(0,A.jsx)(h.do,{variant:f,children:D}):D});var O=I},30208:function(t,e,n){"use strict";n.d(e,{Z:function(){return R}});var i=n(87462),r=n(63366),o=n(67294),a=n(86010),s=n(94780),l=n(20407),u=n(74312),c=n(26821);function E(t){return(0,c.d6)("MuiCardContent",t)}(0,c.sI)("MuiCardContent",["root"]);let h=(0,c.sI)("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var p=n(30220),T=n(85893);let f=["className","component","children","orientation","slots","slotProps"],d=()=>(0,s.Z)({root:["root"]},E,{}),A=(0,u.Z)("div",{name:"JoyCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})(({ownerState:t})=>({display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column",flex:1,zIndex:1,columnGap:"calc(0.75 * var(--Card-padding))",padding:"var(--unstable_padding)",[`.${h.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),S=o.forwardRef(function(t,e){let n=(0,l.Z)({props:t,name:"JoyCardContent"}),{className:o,component:s="div",children:u,orientation:c="vertical",slots:E={},slotProps:h={}}=n,S=(0,r.Z)(n,f),R=(0,i.Z)({},S,{component:s,slots:E,slotProps:h}),g=(0,i.Z)({},n,{component:s,orientation:c}),I=d(),[O,y]=(0,p.Z)("root",{ref:e,className:(0,a.Z)(I.root,o),elementType:A,externalForwardedProps:R,ownerState:g});return(0,T.jsx)(O,(0,i.Z)({},y,{children:u}))});var R=S},56645:function(t,e){!function(t){"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(t,e,n,i){t=t.filter(function(t,i){var r=e(t,i),o=n(t,i);return null!=r&&isFinite(r)&&null!=o&&isFinite(o)}),i&&t.sort(function(t,n){return e(t)-e(n)});for(var r,o,a,s=t.length,l=new Float64Array(s),u=new Float64Array(s),c=0,E=0,h=0;hi&&(t.splice(s+1,0,h),r=!0)}return r}(r)&&a<1e4;);return r}function s(t,e,n,i){var r=i-t*t,o=1e-24>Math.abs(r)?0:(n-t*e)/r;return[e-o*t,o]}function l(){var t,n=function(t){return t[0]},o=function(t){return t[1]};function a(a){var l=0,u=0,c=0,E=0,h=0,p=t?+t[0]:1/0,T=t?+t[1]:-1/0;i(a,n,o,function(e,n){++l,u+=(e-u)/l,c+=(n-c)/l,E+=(e*n-E)/l,h+=(e*e-h)/l,!t&&(eT&&(T=e))});var f=e(s(u,c,E,h),2),d=f[0],A=f[1],S=function(t){return A*t+d},R=[[p,S(p)],[T,S(T)]];return R.a=A,R.b=d,R.predict=S,R.rSquared=r(a,n,o,c,S),R}return a.domain=function(e){return arguments.length?(t=e,a):t},a.x=function(t){return arguments.length?(n=t,a):n},a.y=function(t){return arguments.length?(o=t,a):o},a}function u(){var t,o=function(t){return t[0]},s=function(t){return t[1]};function l(l){var u,c,E,h,p=e(n(l,o,s),4),T=p[0],f=p[1],d=p[2],A=p[3],S=T.length,R=0,g=0,I=0,O=0,y=0;for(u=0;um&&(m=e))});var L=I-R*R,_=R*L-g*g,x=(y*R-O*g)/_,M=(O*L-y*g)/_,P=-x*R,D=function(t){return x*(t-=d)*t+M*t+P+A},U=a(C,m,D);return U.a=x,U.b=M-2*x*d,U.c=P-M*d+x*d*d+A,U.predict=D,U.rSquared=r(l,o,s,v,D),U}return l.domain=function(e){return arguments.length?(t=e,l):t},l.x=function(t){return arguments.length?(o=t,l):o},l.y=function(t){return arguments.length?(s=t,l):s},l}t.regressionExp=function(){var t,n=function(t){return t[0]},o=function(t){return t[1]};function l(l){var u=0,c=0,E=0,h=0,p=0,T=0,f=t?+t[0]:1/0,d=t?+t[1]:-1/0;i(l,n,o,function(e,n){var i=Math.log(n),r=e*n;++u,c+=(n-c)/u,h+=(r-h)/u,T+=(e*r-T)/u,E+=(n*i-E)/u,p+=(r*i-p)/u,!t&&(ed&&(d=e))});var A=e(s(h/c,E/c,p/c,T/c),2),S=A[0],R=A[1];S=Math.exp(S);var g=function(t){return S*Math.exp(R*t)},I=a(f,d,g);return I.a=S,I.b=R,I.predict=g,I.rSquared=r(l,n,o,c,g),I}return l.domain=function(e){return arguments.length?(t=e,l):t},l.x=function(t){return arguments.length?(n=t,l):n},l.y=function(t){return arguments.length?(o=t,l):o},l},t.regressionLinear=l,t.regressionLoess=function(){var t=function(t){return t[0]},i=function(t){return t[1]},r=.3;function o(o){for(var a=e(n(o,t,i,!0),4),l=a[0],u=a[1],c=a[2],E=a[3],h=l.length,p=Math.max(2,~~(r*h)),T=new Float64Array(h),f=new Float64Array(h),d=new Float64Array(h).fill(1),A=-1;++A<=2;){for(var S=[0,p-1],R=0;Rl[O]-g?I:O,v=0,N=0,C=0,m=0,L=0,_=1/Math.abs(l[y]-g||1),x=I;x<=O;++x){var M,P=l[x],D=u[x],U=(M=1-(M=Math.abs(g-P)*_)*M*M)*M*M*d[x],b=P*U;v+=U,N+=b,C+=D*U,m+=D*b,L+=P*b}var F=e(s(N/v,C/v,m/v,L/v),2),B=F[0],G=F[1];T[R]=B+G*g,f[R]=Math.abs(u[R]-T[R]),function(t,e,n){var i=t[e],r=n[0],o=n[1]+1;if(!(o>=t.length))for(;e>r&&t[o]-i<=i-t[r];)n[0]=++r,n[1]=o,++o}(l,R+1,S)}if(2===A)break;var w=function(t){t.sort(function(t,e){return t-e});var e=t.length/2;return e%1==0?(t[e-1]+t[e])/2:t[Math.floor(e)]}(f);if(1e-12>Math.abs(w))break;for(var H,Y,k=0;k=1?1e-12:(Y=1-H*H)*Y}return function(t,e,n,i){for(var r,o=t.length,a=[],s=0,l=0,u=[];sd&&(d=e))});var S=e(s(E,h,p,T),2),R=S[0],g=S[1],I=function(t){return g*Math.log(t)/A+R},O=a(f,d,I);return O.a=g,O.b=R,O.predict=I,O.rSquared=r(u,n,o,h,I),O}return u.domain=function(e){return arguments.length?(t=e,u):t},u.x=function(t){return arguments.length?(n=t,u):n},u.y=function(t){return arguments.length?(o=t,u):o},u.base=function(t){return arguments.length?(l=t,u):l},u},t.regressionPoly=function(){var t,o=function(t){return t[0]},s=function(t){return t[1]},c=3;function E(E){if(1===c){var h,p,T,f,d,A=l().x(o).y(s).domain(t)(E);return A.coefficients=[A.b,A.a],delete A.a,delete A.b,A}if(2===c){var S=u().x(o).y(s).domain(t)(E);return S.coefficients=[S.c,S.b,S.a],delete S.a,delete S.b,delete S.c,S}var R=e(n(E,o,s),4),g=R[0],I=R[1],O=R[2],y=R[3],v=g.length,N=[],C=[],m=c+1,L=0,_=0,x=t?+t[0]:1/0,M=t?+t[1]:-1/0;for(i(E,o,s,function(e,n){++_,L+=(n-L)/_,!t&&(eM&&(M=e))}),h=0;hMath.abs(t[e][r])&&(r=n);for(i=e;i=e;i--)t[i][n]-=t[i][e]*t[e][n]/t[e][e]}for(n=a-1;n>=0;--n){for(o=0,i=n+1;i=0;--r)for(a=e[r],s=1,l[r]+=a,o=1;o<=r;++o)s*=(r+1-o)/o,l[r-o]+=a*Math.pow(n,o)*s;return l[0]+=i,l}(m,P,-O,y),U.predict=D,U.rSquared=r(E,o,s,L,D),U}return E.domain=function(e){return arguments.length?(t=e,E):t},E.x=function(t){return arguments.length?(o=t,E):o},E.y=function(t){return arguments.length?(s=t,E):s},E.order=function(t){return arguments.length?(c=t,E):c},E},t.regressionPow=function(){var t,n=function(t){return t[0]},o=function(t){return t[1]};function l(l){var u=0,c=0,E=0,h=0,p=0,T=0,f=t?+t[0]:1/0,d=t?+t[1]:-1/0;i(l,n,o,function(e,n){var i=Math.log(e),r=Math.log(n);++u,c+=(i-c)/u,E+=(r-E)/u,h+=(i*r-h)/u,p+=(i*i-p)/u,T+=(n-T)/u,!t&&(ed&&(d=e))});var A=e(s(c,E,h,p),2),S=A[0],R=A[1];S=Math.exp(S);var g=function(t){return S*Math.pow(t,R)},I=a(f,d,g);return I.a=S,I.b=R,I.predict=g,I.rSquared=r(l,n,o,T,g),I}return l.domain=function(e){return arguments.length?(t=e,l):t},l.x=function(t){return arguments.length?(n=t,l):n},l.y=function(t){return arguments.length?(o=t,l):o},l},t.regressionQuad=u,Object.defineProperty(t,"__esModule",{value:!0})}(e)},43631:function(t,e,n){"use strict";n.d(e,{qY:function(){return p}});var i=n(83454),r=function(t,e,n){if(n||2==arguments.length)for(var i,r=0,o=e.length;ru+s*a*c||E>=f)T=a;else{if(Math.abs(p)<=-l*c)return a;p*(T-h)>=0&&(T=h),h=a,f=E}return 0}a=a||1,s=s||1e-6,l=l||.1;for(var d=0;d<10;++d){if(o(r.x,1,i.x,a,e),E=r.fx=t(r.x,r.fxprime),p=n(r.fxprime,e),E>u+s*a*c||d&&E>=h)return f(T,a,h);if(Math.abs(p)<=-l*c)break;if(p>=0)return f(a,T,E);h=E,T=a,a*=2}return a}t.bisect=function(t,e,n,i){var r=(i=i||{}).maxIterations||100,o=i.tolerance||1e-10,a=t(e),s=t(n),l=n-e;if(a*s>0)throw"Initial bisect points must have opposite signs";if(0===a)return e;if(0===s)return n;for(var u=0;u=0&&(e=c),Math.abs(l)=f[T-1].fx){var L=!1;if(I.fx>m.fx?(o(O,1+h,g,-h,m),O.fx=t(O),O.fx=1)break;for(d=1;d=i(E.fxprime))break}return s.history&&s.history.push({x:E.x.slice(),fx:E.fx,fxprime:E.fxprime.slice(),alpha:T}),E},t.gradientDescent=function(t,e,n){for(var r=(n=n||{}).maxIterations||100*e.length,a=n.learnRate||.001,s={x:e.slice(),fx:0,fxprime:e.slice()},l=0;l=i(s.fxprime)));++l);return s},t.gradientDescentLineSearch=function(t,e,n){n=n||{};var o,s={x:e.slice(),fx:0,fxprime:e.slice()},l={x:e.slice(),fx:0,fxprime:e.slice()},u=n.maxIterations||100*e.length,c=n.learnRate||1,E=e.slice(),h=n.c1||.001,p=n.c2||.1,T=[];if(n.history){var f=t;t=function(t,e){return T.push(t.slice()),f(t,e)}}s.fx=t(s.x,s.fxprime);for(var d=0;di(s.fxprime)));++d);return s},t.zeros=e,t.zerosM=function(t,n){return e(t).map(function(){return e(n)})},t.norm2=i,t.weightedSum=o,t.scale=r}(e)},49685:function(t,e,n){"use strict";n.d(e,{WT:function(){return i}});var i="undefined"!=typeof Float32Array?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var t=0,e=arguments.length;e--;)t+=arguments[e]*arguments[e];return Math.sqrt(t)})},35600:function(t,e,n){"use strict";function i(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],E=c*a-s*u,h=-c*o+s*l,p=u*o-a*l,T=n*E+i*h+r*p;return T?(T=1/T,t[0]=E*T,t[1]=(-c*i+r*u)*T,t[2]=(s*i-r*a)*T,t[3]=h*T,t[4]=(c*n-r*l)*T,t[5]=(-s*n+r*o)*T,t[6]=p*T,t[7]=(-u*n+i*l)*T,t[8]=(a*n-i*o)*T,t):null}function r(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],E=e[8],h=n[0],p=n[1],T=n[2],f=n[3],d=n[4],A=n[5],S=n[6],R=n[7],g=n[8];return t[0]=h*i+p*a+T*u,t[1]=h*r+p*s+T*c,t[2]=h*o+p*l+T*E,t[3]=f*i+d*a+A*u,t[4]=f*r+d*s+A*c,t[5]=f*o+d*l+A*E,t[6]=S*i+R*a+g*u,t[7]=S*r+R*s+g*c,t[8]=S*o+R*l+g*E,t}function o(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t}function a(t,e){var n=Math.sin(e),i=Math.cos(e);return t[0]=i,t[1]=n,t[2]=0,t[3]=-n,t[4]=i,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function s(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}n.d(e,{Jp:function(){return r},U_:function(){return i},Us:function(){return a},vc:function(){return o},xJ:function(){return s}})},31437:function(t,e,n){"use strict";n.d(e,{$X:function(){return a},AK:function(){return p},EU:function(){return f},Fp:function(){return l},Fv:function(){return h},I6:function(){return d},IH:function(){return o},TE:function(){return c},VV:function(){return s},bA:function(){return u},kE:function(){return E},kK:function(){return T},lu:function(){return A}});var i,r=n(49685);function o(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function a(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function s(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function l(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}function u(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function c(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1])}function E(t){return Math.hypot(t[0],t[1])}function h(t,e){var n=e[0],i=e[1],r=n*n+i*i;return r>0&&(r=1/Math.sqrt(r)),t[0]=e[0]*r,t[1]=e[1]*r,t}function p(t,e){return t[0]*e[0]+t[1]*e[1]}function T(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[3]*r+n[6],t[1]=n[1]*i+n[4]*r+n[7],t}function f(t,e){var n=t[0],i=t[1],r=e[0],o=e[1],a=Math.sqrt(n*n+i*i)*Math.sqrt(r*r+o*o);return Math.acos(Math.min(Math.max(a&&(n*r+i*o)/a,-1),1))}function d(t,e){return t[0]===e[0]&&t[1]===e[1]}var A=a;i=new r.WT(2),r.WT!=Float32Array&&(i[0]=0,i[1]=0)},69654:function(t){var e;e=function(){function t(e,n,i){return this.id=++t.highestId,this.name=e,this.symbols=n,this.postprocess=i,this}function e(t,e,n,i){this.rule=t,this.dot=e,this.reference=n,this.data=[],this.wantedBy=i,this.isComplete=this.dot===t.symbols.length}function n(t,e){this.grammar=t,this.index=e,this.states=[],this.wants={},this.scannable=[],this.completed={}}function i(t,e){this.rules=t,this.start=e||this.rules[0].name;var n=this.byName={};this.rules.forEach(function(t){n.hasOwnProperty(t.name)||(n[t.name]=[]),n[t.name].push(t)})}function r(){this.reset("")}function o(t,e,o){if(t instanceof i)var a=t,o=e;else var a=i.fromCompiled(t,e);for(var s in this.grammar=a,this.options={keepHistory:!1,lexer:a.lexer||new r},o||{})this.options[s]=o[s];this.lexer=this.options.lexer,this.lexerState=void 0;var l=new n(a,0);this.table=[l],l.wants[a.start]=[],l.predict(a.start),l.process(),this.current=0}function a(t){var e=typeof t;if("string"===e)return t;if("object"===e){if(t.literal)return JSON.stringify(t.literal);if(t instanceof RegExp)return t.toString();if(t.type)return"%"+t.type;if(t.test)return"<"+String(t.test)+">";else throw Error("Unknown symbol type: "+t)}}return t.highestId=0,t.prototype.toString=function(t){var e=void 0===t?this.symbols.map(a).join(" "):this.symbols.slice(0,t).map(a).join(" ")+" ● "+this.symbols.slice(t).map(a).join(" ");return this.name+" → "+e},e.prototype.toString=function(){return"{"+this.rule.toString(this.dot)+"}, from: "+(this.reference||0)},e.prototype.nextState=function(t){var n=new e(this.rule,this.dot+1,this.reference,this.wantedBy);return n.left=this,n.right=t,n.isComplete&&(n.data=n.build(),n.right=void 0),n},e.prototype.build=function(){var t=[],e=this;do t.push(e.right.data),e=e.left;while(e.left);return t.reverse(),t},e.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,o.fail))},n.prototype.process=function(t){for(var e=this.states,n=this.wants,i=this.completed,r=0;r0&&e.push(" ^ "+i+" more lines identical to this"),i=0,e.push(" "+a)),n=a}},o.prototype.getSymbolDisplay=function(t){return function(t){var e=typeof t;if("string"===e)return t;if("object"===e){if(t.literal)return JSON.stringify(t.literal);if(t instanceof RegExp)return"character matching "+t;if(t.type)return t.type+" token";if(t.test)return"token matching "+String(t.test);else throw Error("Unknown symbol type: "+t)}}(t)},o.prototype.buildFirstStateStack=function(t,e){if(-1!==e.indexOf(t))return null;if(0===t.wantedBy.length)return[t];var n=t.wantedBy[0],i=[t].concat(e),r=this.buildFirstStateStack(n,i);return null===r?null:[t].concat(r)},o.prototype.save=function(){var t=this.table[this.current];return t.lexerState=this.lexerState,t},o.prototype.restore=function(t){var e=t.index;this.current=e,this.table[e]=t,this.table.splice(e+1),this.lexerState=t.lexerState,this.results=this.finish()},o.prototype.rewind=function(t){if(!this.options.keepHistory)throw Error("set option `keepHistory` to enable rewinding");this.restore(this.table[t])},o.prototype.finish=function(){var t=[],e=this.grammar.start;return this.table[this.table.length-1].states.forEach(function(n){n.rule.name===e&&n.dot===n.rule.symbols.length&&0===n.reference&&n.data!==o.fail&&t.push(n)}),t.map(function(t){return t.data})},{Parser:o,Grammar:i,Rule:t}},t.exports?t.exports=e():this.nearley=e()},73807:function(t){"use strict";var e=t.exports;t.exports.isNumber=function(t){return"number"==typeof t},t.exports.findMin=function(t){if(0===t.length)return 1/0;for(var e=t[0],n=1;n=E.length)){var n=Math.max(e-i,0),r=Math.min(e+i,E.length-1),a=n-(e-i),s=e+i-r,u=T/(T-(p[-i-1+a]||0)-(p[-i-1+s]||0));a>0&&(d+=u*(a-1)*f);var h=Math.max(0,e-i+1);o.inside(0,E.length-1,h)&&(E[h].y+=1*u*f),o.inside(0,E.length-1,e+1)&&(E[e+1].y-=2*u*f),o.inside(0,E.length-1,r+1)&&(E[r+1].y+=1*u*f)}});var A=d,S=0,R=0;return E.forEach(function(t){S+=t.y,A+=S,t.y=A,R+=A}),R>0&&E.forEach(function(t){t.y/=R}),E},t.exports.getExpectedValueFromPdf=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){e+=t.x*t.y}),e}},t.exports.getXWithLeftTailArea=function(t,e){if(t&&0!==t.length){for(var n=0,i=0,r=0;r=e));r++);return t[i].x}},t.exports.getPerplexity=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){var n=Math.log(t.y);isFinite(n)&&(e+=t.y*n)}),Math.pow(2,e=-e/i)}}},55168:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeSensorId=e.SensorTabIndex=e.SensorClassName=void 0,e.SizeSensorId="size-sensor-id",e.SensorClassName="size-sensor-object",e.SensorTabIndex="-1"},12177:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var i=this,r=arguments.length,o=Array(r),a=0;at.length)&&(e=t.length);for(var n=0,i=Array(e);n=t.length?t.apply(this,r):function(){for(var t=arguments.length,i=Array(t),o=0;o=E.length?E.apply(this,i):function(){for(var n=arguments.length,r=Array(n),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};T.initial(t),T.handler(e);var n={current:t},i=l(A)(n,e),r=l(d)(n),o=l(T.changes)(t),a=l(f)(n);return[function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(t){return t};return T.selector(t),t(n.current)},function(t){(function(){for(var t=arguments.length,e=Array(t),n=0;n=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}(e,["monaco"]);C(function(t){return{config:function t(e,n){return Object.keys(n).forEach(function(i){n[i]instanceof Object&&e[i]&&Object.assign(n[i],t(e[i],n[i]))}),r(r({},e),n)}(t.config,i),monaco:n}})},init:function(){var t=N(function(t){return{monaco:t.monaco,isInitialized:t.isInitialized,resolve:t.resolve}});if(!t.isInitialized){if(C({isInitialized:!0}),t.monaco)return t.resolve(t.monaco),y(M);if(window.monaco&&window.monaco.editor)return x(window.monaco),t.resolve(window.monaco),y(M);I(m,L)(_)}return y(M)},__getMonacoInstance:function(){return N(function(t){return t.monaco})}},D=n(67294),U={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},b={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},F=function({children:t}){return D.createElement("div",{style:b.container},t)},B=(0,D.memo)(function({width:t,height:e,isEditorReady:n,loading:i,_ref:r,className:o,wrapperProps:a}){return D.createElement("section",{style:{...U.wrapper,width:t,height:e},...a},!n&&D.createElement(F,null,i),D.createElement("div",{ref:r,style:{...U.fullWidth,...!n&&U.hide},className:o}))}),G=function(t){(0,D.useEffect)(t,[])},w=function(t,e,n=!0){let i=(0,D.useRef)(!0);(0,D.useEffect)(i.current||!n?()=>{i.current=!1}:t,e)};function H(){}function Y(t,e,n,i){return t.editor.getModel(k(t,i))||t.editor.createModel(e,n,i?k(t,i):void 0)}function k(t,e){return t.Uri.parse(e)}(0,D.memo)(function({original:t,modified:e,language:n,originalLanguage:i,modifiedLanguage:r,originalModelPath:o,modifiedModelPath:a,keepCurrentOriginalModel:s=!1,keepCurrentModifiedModel:l=!1,theme:u="light",loading:c="Loading...",options:E={},height:h="100%",width:p="100%",className:T,wrapperProps:f={},beforeMount:d=H,onMount:A=H}){let[S,R]=(0,D.useState)(!1),[g,I]=(0,D.useState)(!0),O=(0,D.useRef)(null),y=(0,D.useRef)(null),v=(0,D.useRef)(null),N=(0,D.useRef)(A),C=(0,D.useRef)(d),m=(0,D.useRef)(!1);G(()=>{let t=P.init();return t.then(t=>(y.current=t)&&I(!1)).catch(t=>t?.type!=="cancelation"&&console.error("Monaco initialization: error:",t)),()=>{let e;return O.current?(e=O.current?.getModel(),void(s||e?.original?.dispose(),l||e?.modified?.dispose(),O.current?.dispose())):t.cancel()}}),w(()=>{if(O.current&&y.current){let e=O.current.getOriginalEditor(),r=Y(y.current,t||"",i||n||"text",o||"");r!==e.getModel()&&e.setModel(r)}},[o],S),w(()=>{if(O.current&&y.current){let t=O.current.getModifiedEditor(),i=Y(y.current,e||"",r||n||"text",a||"");i!==t.getModel()&&t.setModel(i)}},[a],S),w(()=>{let t=O.current.getModifiedEditor();t.getOption(y.current.editor.EditorOption.readOnly)?t.setValue(e||""):e!==t.getValue()&&(t.executeEdits("",[{range:t.getModel().getFullModelRange(),text:e||"",forceMoveMarkers:!0}]),t.pushUndoStop())},[e],S),w(()=>{O.current?.getModel()?.original.setValue(t||"")},[t],S),w(()=>{let{original:t,modified:e}=O.current.getModel();y.current.editor.setModelLanguage(t,i||n||"text"),y.current.editor.setModelLanguage(e,r||n||"text")},[n,i,r],S),w(()=>{y.current?.editor.setTheme(u)},[u],S),w(()=>{O.current?.updateOptions(E)},[E],S);let L=(0,D.useCallback)(()=>{if(!y.current)return;C.current(y.current);let s=Y(y.current,t||"",i||n||"text",o||""),l=Y(y.current,e||"",r||n||"text",a||"");O.current?.setModel({original:s,modified:l})},[n,e,r,t,i,o,a]),_=(0,D.useCallback)(()=>{!m.current&&v.current&&(O.current=y.current.editor.createDiffEditor(v.current,{automaticLayout:!0,...E}),L(),y.current?.editor.setTheme(u),R(!0),m.current=!0)},[E,u,L]);return(0,D.useEffect)(()=>{S&&N.current(O.current,y.current)},[S]),(0,D.useEffect)(()=>{g||S||_()},[g,S,_]),D.createElement(B,{width:p,height:h,isEditorReady:S,loading:c,_ref:v,className:T,wrapperProps:f})});var V=function(t){let e=(0,D.useRef)();return(0,D.useEffect)(()=>{e.current=t},[t]),e.current},W=new Map,X=(0,D.memo)(function({defaultValue:t,defaultLanguage:e,defaultPath:n,value:i,language:r,path:o,theme:a="light",line:s,loading:l="Loading...",options:u={},overrideServices:c={},saveViewState:E=!0,keepCurrentModel:h=!1,width:p="100%",height:T="100%",className:f,wrapperProps:d={},beforeMount:A=H,onMount:S=H,onChange:R,onValidate:g=H}){let[I,O]=(0,D.useState)(!1),[y,v]=(0,D.useState)(!0),N=(0,D.useRef)(null),C=(0,D.useRef)(null),m=(0,D.useRef)(null),L=(0,D.useRef)(S),_=(0,D.useRef)(A),x=(0,D.useRef)(),M=(0,D.useRef)(i),U=V(o),b=(0,D.useRef)(!1),F=(0,D.useRef)(!1);G(()=>{let t=P.init();return t.then(t=>(N.current=t)&&v(!1)).catch(t=>t?.type!=="cancelation"&&console.error("Monaco initialization: error:",t)),()=>C.current?void(x.current?.dispose(),h?E&&W.set(o,C.current.saveViewState()):C.current.getModel()?.dispose(),C.current.dispose()):t.cancel()}),w(()=>{let a=Y(N.current,t||i||"",e||r||"",o||n||"");a!==C.current?.getModel()&&(E&&W.set(U,C.current?.saveViewState()),C.current?.setModel(a),E&&C.current?.restoreViewState(W.get(o)))},[o],I),w(()=>{C.current?.updateOptions(u)},[u],I),w(()=>{C.current&&void 0!==i&&(C.current.getOption(N.current.editor.EditorOption.readOnly)?C.current.setValue(i):i===C.current.getValue()||(F.current=!0,C.current.executeEdits("",[{range:C.current.getModel().getFullModelRange(),text:i,forceMoveMarkers:!0}]),C.current.pushUndoStop(),F.current=!1))},[i],I),w(()=>{let t=C.current?.getModel();t&&r&&N.current?.editor.setModelLanguage(t,r)},[r],I),w(()=>{void 0!==s&&C.current?.revealLine(s)},[s],I),w(()=>{N.current?.editor.setTheme(a)},[a],I);let k=(0,D.useCallback)(()=>{if(!(!m.current||!N.current)&&!b.current){_.current(N.current);let s=o||n,l=Y(N.current,i||t||"",e||r||"",s||"");C.current=N.current?.editor.create(m.current,{model:l,automaticLayout:!0,...u},c),E&&C.current.restoreViewState(W.get(s)),N.current.editor.setTheme(a),O(!0),b.current=!0}},[t,e,n,i,r,o,u,c,E,a]);return(0,D.useEffect)(()=>{I&&L.current(C.current,N.current)},[I]),(0,D.useEffect)(()=>{y||I||k()},[y,I,k]),M.current=i,(0,D.useEffect)(()=>{I&&R&&(x.current?.dispose(),x.current=C.current?.onDidChangeModelContent(t=>{F.current||R(C.current.getValue(),t)}))},[I,R]),(0,D.useEffect)(()=>{if(I){let t=N.current.editor.onDidChangeMarkers(t=>{let e=C.current.getModel()?.uri;if(e&&t.find(t=>t.path===e.path)){let t=N.current.editor.getModelMarkers({resource:e});g?.(t)}});return()=>{t?.dispose()}}return()=>{}},[I,g]),D.createElement(B,{width:p,height:T,isEditorReady:I,loading:l,_ref:m,className:f,wrapperProps:d})})},36782:function(t,e,n){"use strict";let i,r,o;n.d(e,{WU:function(){return n4}});var a,s,l,u={};n.r(u),n.d(u,{bigquery:function(){return G},db2:function(){return Z},hive:function(){return ti},mariadb:function(){return th},mysql:function(){return tI},n1ql:function(){return tx},plsql:function(){return tw},postgresql:function(){return tZ},redshift:function(){return t5},singlestoredb:function(){return ez},snowflake:function(){return e2},spark:function(){return en},sql:function(){return eg},sqlite:function(){return eE},transactsql:function(){return eG},trino:function(){return e_}}),(a=i||(i={})).QUOTED_IDENTIFIER="QUOTED_IDENTIFIER",a.IDENTIFIER="IDENTIFIER",a.STRING="STRING",a.VARIABLE="VARIABLE",a.RESERVED_KEYWORD="RESERVED_KEYWORD",a.RESERVED_FUNCTION_NAME="RESERVED_FUNCTION_NAME",a.RESERVED_PHRASE="RESERVED_PHRASE",a.RESERVED_SET_OPERATION="RESERVED_SET_OPERATION",a.RESERVED_CLAUSE="RESERVED_CLAUSE",a.RESERVED_SELECT="RESERVED_SELECT",a.RESERVED_JOIN="RESERVED_JOIN",a.ARRAY_IDENTIFIER="ARRAY_IDENTIFIER",a.ARRAY_KEYWORD="ARRAY_KEYWORD",a.CASE="CASE",a.END="END",a.WHEN="WHEN",a.ELSE="ELSE",a.THEN="THEN",a.LIMIT="LIMIT",a.BETWEEN="BETWEEN",a.AND="AND",a.OR="OR",a.XOR="XOR",a.OPERATOR="OPERATOR",a.COMMA="COMMA",a.ASTERISK="ASTERISK",a.DOT="DOT",a.OPEN_PAREN="OPEN_PAREN",a.CLOSE_PAREN="CLOSE_PAREN",a.LINE_COMMENT="LINE_COMMENT",a.BLOCK_COMMENT="BLOCK_COMMENT",a.NUMBER="NUMBER",a.NAMED_PARAMETER="NAMED_PARAMETER",a.QUOTED_PARAMETER="QUOTED_PARAMETER",a.NUMBERED_PARAMETER="NUMBERED_PARAMETER",a.POSITIONAL_PARAMETER="POSITIONAL_PARAMETER",a.CUSTOM_PARAMETER="CUSTOM_PARAMETER",a.DELIMITER="DELIMITER",a.EOF="EOF";let c=t=>({type:i.EOF,raw:"\xabEOF\xbb",text:"\xabEOF\xbb",start:t}),E=c(1/0),h=t=>e=>e.type===t.type&&e.text===t.text,p={ARRAY:h({text:"ARRAY",type:i.RESERVED_KEYWORD}),BY:h({text:"BY",type:i.RESERVED_KEYWORD}),SET:h({text:"SET",type:i.RESERVED_CLAUSE}),STRUCT:h({text:"STRUCT",type:i.RESERVED_KEYWORD}),WINDOW:h({text:"WINDOW",type:i.RESERVED_CLAUSE})},T=t=>t===i.RESERVED_KEYWORD||t===i.RESERVED_FUNCTION_NAME||t===i.RESERVED_PHRASE||t===i.RESERVED_CLAUSE||t===i.RESERVED_SELECT||t===i.RESERVED_SET_OPERATION||t===i.RESERVED_JOIN||t===i.ARRAY_KEYWORD||t===i.CASE||t===i.END||t===i.WHEN||t===i.ELSE||t===i.THEN||t===i.LIMIT||t===i.BETWEEN||t===i.AND||t===i.OR||t===i.XOR,f=t=>t===i.AND||t===i.OR||t===i.XOR,d=t=>t.flatMap(A),A=t=>O(I(t)).map(t=>t.trim()),S=/[^[\]{}]+/y,R=/\{.*?\}/y,g=/\[.*?\]/y,I=t=>{let e=0,n=[];for(;et.trim());n.push(["",...t]),e+=r[0].length}R.lastIndex=e;let o=R.exec(t);if(o){let t=o[0].slice(1,-1).split("|").map(t=>t.trim());n.push(t),e+=o[0].length}if(!i&&!r&&!o)throw Error(`Unbalanced parenthesis in: ${t}`)}return n},O=([t,...e])=>void 0===t?[""]:O(e).flatMap(e=>t.map(t=>t.trim()+" "+e.trim())),y=t=>[...new Set(t)],v=t=>t[t.length-1],N=t=>t.sort((t,e)=>e.length-t.length||t.localeCompare(e)),C=t=>t.reduce((t,e)=>Math.max(t,e.length),0),m=t=>t.replace(/\s+/gu," "),L=t=>y(Object.values(t).flat()),_=t=>/\n/.test(t),x=L({keywords:["ALL","AND","ANY","ARRAY","AS","ASC","ASSERT_ROWS_MODIFIED","AT","BETWEEN","BY","CASE","CAST","COLLATE","CONTAINS","CREATE","CROSS","CUBE","CURRENT","DEFAULT","DEFINE","DESC","DISTINCT","ELSE","END","ENUM","ESCAPE","EXCEPT","EXCLUDE","EXISTS","EXTRACT","FALSE","FETCH","FOLLOWING","FOR","FROM","FULL","GROUP","GROUPING","GROUPS","HASH","HAVING","IF","IGNORE","IN","INNER","INTERSECT","INTERVAL","INTO","IS","JOIN","LATERAL","LEFT","LIKE","LIMIT","LOOKUP","MERGE","NATURAL","NEW","NO","NOT","NULL","NULLS","OF","ON","OR","ORDER","OUTER","OVER","PARTITION","PRECEDING","PROTO","RANGE","RECURSIVE","RESPECT","RIGHT","ROLLUP","ROWS","SELECT","SET","SOME","STRUCT","TABLE","TABLESAMPLE","THEN","TO","TREAT","TRUE","UNBOUNDED","UNION","UNNEST","USING","WHEN","WHERE","WINDOW","WITH","WITHIN"],datatypes:["ARRAY","BOOL","BYTES","DATE","DATETIME","GEOGRAPHY","INTERVAL","INT64","INT","SMALLINT","INTEGER","BIGINT","TINYINT","BYTEINT","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","FLOAT64","STRING","STRUCT","TIME","TIMEZONE"],stringFormat:["HEX","BASEX","BASE64M","ASCII","UTF-8","UTF8"],misc:["SAFE"],ddl:["LIKE","COPY","CLONE","IN","OUT","INOUT","RETURNS","LANGUAGE","CASCADE","RESTRICT","DETERMINISTIC"]}),M=L({aead:["KEYS.NEW_KEYSET","KEYS.ADD_KEY_FROM_RAW_BYTES","AEAD.DECRYPT_BYTES","AEAD.DECRYPT_STRING","AEAD.ENCRYPT","KEYS.KEYSET_CHAIN","KEYS.KEYSET_FROM_JSON","KEYS.KEYSET_TO_JSON","KEYS.ROTATE_KEYSET","KEYS.KEYSET_LENGTH"],aggregateAnalytic:["ANY_VALUE","ARRAY_AGG","AVG","CORR","COUNT","COUNTIF","COVAR_POP","COVAR_SAMP","MAX","MIN","ST_CLUSTERDBSCAN","STDDEV_POP","STDDEV_SAMP","STRING_AGG","SUM","VAR_POP","VAR_SAMP"],aggregate:["ANY_VALUE","ARRAY_AGG","ARRAY_CONCAT_AGG","AVG","BIT_AND","BIT_OR","BIT_XOR","COUNT","COUNTIF","LOGICAL_AND","LOGICAL_OR","MAX","MIN","STRING_AGG","SUM"],approximateAggregate:["APPROX_COUNT_DISTINCT","APPROX_QUANTILES","APPROX_TOP_COUNT","APPROX_TOP_SUM"],array:["ARRAY_CONCAT","ARRAY_LENGTH","ARRAY_TO_STRING","GENERATE_ARRAY","GENERATE_DATE_ARRAY","GENERATE_TIMESTAMP_ARRAY","ARRAY_REVERSE","OFFSET","SAFE_OFFSET","ORDINAL","SAFE_ORDINAL"],bitwise:["BIT_COUNT"],conversion:["PARSE_BIGNUMERIC","PARSE_NUMERIC","SAFE_CAST"],date:["CURRENT_DATE","EXTRACT","DATE","DATE_ADD","DATE_SUB","DATE_DIFF","DATE_TRUNC","DATE_FROM_UNIX_DATE","FORMAT_DATE","LAST_DAY","PARSE_DATE","UNIX_DATE"],datetime:["CURRENT_DATETIME","DATETIME","EXTRACT","DATETIME_ADD","DATETIME_SUB","DATETIME_DIFF","DATETIME_TRUNC","FORMAT_DATETIME","LAST_DAY","PARSE_DATETIME"],debugging:["ERROR"],federatedQuery:["EXTERNAL_QUERY"],geography:["S2_CELLIDFROMPOINT","S2_COVERINGCELLIDS","ST_ANGLE","ST_AREA","ST_ASBINARY","ST_ASGEOJSON","ST_ASTEXT","ST_AZIMUTH","ST_BOUNDARY","ST_BOUNDINGBOX","ST_BUFFER","ST_BUFFERWITHTOLERANCE","ST_CENTROID","ST_CENTROID_AGG","ST_CLOSESTPOINT","ST_CLUSTERDBSCAN","ST_CONTAINS","ST_CONVEXHULL","ST_COVEREDBY","ST_COVERS","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DUMP","ST_DWITHIN","ST_ENDPOINT","ST_EQUALS","ST_EXTENT","ST_EXTERIORRING","ST_GEOGFROM","ST_GEOGFROMGEOJSON","ST_GEOGFROMTEXT","ST_GEOGFROMWKB","ST_GEOGPOINT","ST_GEOGPOINTFROMGEOHASH","ST_GEOHASH","ST_GEOMETRYTYPE","ST_INTERIORRINGS","ST_INTERSECTION","ST_INTERSECTS","ST_INTERSECTSBOX","ST_ISCOLLECTION","ST_ISEMPTY","ST_LENGTH","ST_MAKELINE","ST_MAKEPOLYGON","ST_MAKEPOLYGONORIENTED","ST_MAXDISTANCE","ST_NPOINTS","ST_NUMGEOMETRIES","ST_NUMPOINTS","ST_PERIMETER","ST_POINTN","ST_SIMPLIFY","ST_SNAPTOGRID","ST_STARTPOINT","ST_TOUCHES","ST_UNION","ST_UNION_AGG","ST_WITHIN","ST_X","ST_Y"],hash:["FARM_FINGERPRINT","MD5","SHA1","SHA256","SHA512"],hll:["HLL_COUNT.INIT","HLL_COUNT.MERGE","HLL_COUNT.MERGE_PARTIAL","HLL_COUNT.EXTRACT"],interval:["MAKE_INTERVAL","EXTRACT","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL"],json:["JSON_EXTRACT","JSON_QUERY","JSON_EXTRACT_SCALAR","JSON_VALUE","JSON_EXTRACT_ARRAY","JSON_QUERY_ARRAY","JSON_EXTRACT_STRING_ARRAY","JSON_VALUE_ARRAY","TO_JSON_STRING"],math:["ABS","SIGN","IS_INF","IS_NAN","IEEE_DIVIDE","RAND","SQRT","POW","POWER","EXP","LN","LOG","LOG10","GREATEST","LEAST","DIV","SAFE_DIVIDE","SAFE_MULTIPLY","SAFE_NEGATE","SAFE_ADD","SAFE_SUBTRACT","MOD","ROUND","TRUNC","CEIL","CEILING","FLOOR","COS","COSH","ACOS","ACOSH","SIN","SINH","ASIN","ASINH","TAN","TANH","ATAN","ATANH","ATAN2","RANGE_BUCKET"],navigation:["FIRST_VALUE","LAST_VALUE","NTH_VALUE","LEAD","LAG","PERCENTILE_CONT","PERCENTILE_DISC"],net:["NET.IP_FROM_STRING","NET.SAFE_IP_FROM_STRING","NET.IP_TO_STRING","NET.IP_NET_MASK","NET.IP_TRUNC","NET.IPV4_FROM_INT64","NET.IPV4_TO_INT64","NET.HOST","NET.PUBLIC_SUFFIX","NET.REG_DOMAIN"],numbering:["RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","NTILE","ROW_NUMBER"],security:["SESSION_USER"],statisticalAggregate:["CORR","COVAR_POP","COVAR_SAMP","STDDEV_POP","STDDEV_SAMP","STDDEV","VAR_POP","VAR_SAMP","VARIANCE"],string:["ASCII","BYTE_LENGTH","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CODE_POINTS_TO_BYTES","CODE_POINTS_TO_STRING","CONCAT","CONTAINS_SUBSTR","ENDS_WITH","FORMAT","FROM_BASE32","FROM_BASE64","FROM_HEX","INITCAP","INSTR","LEFT","LENGTH","LPAD","LOWER","LTRIM","NORMALIZE","NORMALIZE_AND_CASEFOLD","OCTET_LENGTH","REGEXP_CONTAINS","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPLACE","REPEAT","REVERSE","RIGHT","RPAD","RTRIM","SAFE_CONVERT_BYTES_TO_STRING","SOUNDEX","SPLIT","STARTS_WITH","STRPOS","SUBSTR","SUBSTRING","TO_BASE32","TO_BASE64","TO_CODE_POINTS","TO_HEX","TRANSLATE","TRIM","UNICODE","UPPER"],time:["CURRENT_TIME","TIME","EXTRACT","TIME_ADD","TIME_SUB","TIME_DIFF","TIME_TRUNC","FORMAT_TIME","PARSE_TIME"],timestamp:["CURRENT_TIMESTAMP","EXTRACT","STRING","TIMESTAMP","TIMESTAMP_ADD","TIMESTAMP_SUB","TIMESTAMP_DIFF","TIMESTAMP_TRUNC","FORMAT_TIMESTAMP","PARSE_TIMESTAMP","TIMESTAMP_SECONDS","TIMESTAMP_MILLIS","TIMESTAMP_MICROS","UNIX_SECONDS","UNIX_MILLIS","UNIX_MICROS"],uuid:["GENERATE_UUID"],conditional:["COALESCE","IF","IFNULL","NULLIF"],legacyAggregate:["AVG","BIT_AND","BIT_OR","BIT_XOR","CORR","COUNT","COVAR_POP","COVAR_SAMP","EXACT_COUNT_DISTINCT","FIRST","GROUP_CONCAT","GROUP_CONCAT_UNQUOTED","LAST","MAX","MIN","NEST","NTH","QUANTILES","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","TOP","UNIQUE","VARIANCE","VAR_POP","VAR_SAMP"],legacyBitwise:["BIT_COUNT"],legacyCasting:["BOOLEAN","BYTES","CAST","FLOAT","HEX_STRING","INTEGER","STRING"],legacyComparison:["COALESCE","GREATEST","IFNULL","IS_INF","IS_NAN","IS_EXPLICITLY_DEFINED","LEAST","NVL"],legacyDatetime:["CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE","DATE_ADD","DATEDIFF","DAY","DAYOFWEEK","DAYOFYEAR","FORMAT_UTC_USEC","HOUR","MINUTE","MONTH","MSEC_TO_TIMESTAMP","NOW","PARSE_UTC_USEC","QUARTER","SEC_TO_TIMESTAMP","SECOND","STRFTIME_UTC_USEC","TIME","TIMESTAMP","TIMESTAMP_TO_MSEC","TIMESTAMP_TO_SEC","TIMESTAMP_TO_USEC","USEC_TO_TIMESTAMP","UTC_USEC_TO_DAY","UTC_USEC_TO_HOUR","UTC_USEC_TO_MONTH","UTC_USEC_TO_WEEK","UTC_USEC_TO_YEAR","WEEK","YEAR"],legacyIp:["FORMAT_IP","PARSE_IP","FORMAT_PACKED_IP","PARSE_PACKED_IP"],legacyJson:["JSON_EXTRACT","JSON_EXTRACT_SCALAR"],legacyMath:["ABS","ACOS","ACOSH","ASIN","ASINH","ATAN","ATANH","ATAN2","CEIL","COS","COSH","DEGREES","EXP","FLOOR","LN","LOG","LOG2","LOG10","PI","POW","RADIANS","RAND","ROUND","SIN","SINH","SQRT","TAN","TANH"],legacyRegex:["REGEXP_MATCH","REGEXP_EXTRACT","REGEXP_REPLACE"],legacyString:["CONCAT","INSTR","LEFT","LENGTH","LOWER","LPAD","LTRIM","REPLACE","RIGHT","RPAD","RTRIM","SPLIT","SUBSTR","UPPER"],legacyTableWildcard:["TABLE_DATE_RANGE","TABLE_DATE_RANGE_STRICT","TABLE_QUERY"],legacyUrl:["HOST","DOMAIN","TLD"],legacyWindow:["AVG","COUNT","MAX","MIN","STDDEV","SUM","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","RATIO_TO_REPORT","ROW_NUMBER"],legacyMisc:["CURRENT_USER","EVERY","FROM_BASE64","HASH","FARM_FINGERPRINT","IF","POSITION","SHA1","SOME","TO_BASE64"],other:["BQ.JOBS.CANCEL","BQ.REFRESH_MATERIALIZED_VIEW"],ddl:["OPTIONS"],pivot:["PIVOT","UNPIVOT"],dataTypes:["BYTES","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","STRING"]}),P=d(["SELECT [ALL | DISTINCT] [AS STRUCT | AS VALUE]"]),D=d(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","QUALIFY","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","OMIT RECORD IF","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY SOURCE | BY TARGET] [THEN]","UPDATE SET","CREATE [OR REPLACE] [MATERIALIZED] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMP|TEMPORARY|SNAPSHOT|EXTERNAL] TABLE [IF NOT EXISTS]","CLUSTER BY","FOR SYSTEM_TIME AS OF","WITH CONNECTION","WITH PARTITION COLUMNS","REMOTE WITH CONNECTION"]),U=d(["UPDATE","DELETE [FROM]","DROP [SNAPSHOT | EXTERNAL] TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","ADD COLUMN [IF NOT EXISTS]","DROP COLUMN [IF EXISTS]","RENAME TO","ALTER COLUMN [IF EXISTS]","SET DEFAULT COLLATE","SET OPTIONS","DROP NOT NULL","SET DATA TYPE","ALTER SCHEMA [IF EXISTS]","ALTER [MATERIALIZED] VIEW [IF EXISTS]","ALTER BI_CAPACITY","TRUNCATE TABLE","CREATE SCHEMA [IF NOT EXISTS]","DEFAULT COLLATE","CREATE [OR REPLACE] [TEMP|TEMPORARY|TABLE] FUNCTION [IF NOT EXISTS]","CREATE [OR REPLACE] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] ROW ACCESS POLICY [IF NOT EXISTS]","GRANT TO","FILTER USING","CREATE CAPACITY","AS JSON","CREATE RESERVATION","CREATE ASSIGNMENT","CREATE SEARCH INDEX [IF NOT EXISTS]","DROP SCHEMA [IF EXISTS]","DROP [MATERIALIZED] VIEW [IF EXISTS]","DROP [TABLE] FUNCTION [IF EXISTS]","DROP PROCEDURE [IF EXISTS]","DROP ROW ACCESS POLICY","DROP ALL ROW ACCESS POLICIES","DROP CAPACITY [IF EXISTS]","DROP RESERVATION [IF EXISTS]","DROP ASSIGNMENT [IF EXISTS]","DROP SEARCH INDEX [IF EXISTS]","DROP [IF EXISTS]","GRANT","REVOKE","DECLARE","EXECUTE IMMEDIATE","LOOP","END LOOP","REPEAT","END REPEAT","WHILE","END WHILE","BREAK","LEAVE","CONTINUE","ITERATE","FOR","END FOR","BEGIN","BEGIN TRANSACTION","COMMIT TRANSACTION","ROLLBACK TRANSACTION","RAISE","RETURN","CALL","ASSERT","EXPORT DATA"]),b=d(["UNION {ALL | DISTINCT}","EXCEPT DISTINCT","INTERSECT DISTINCT"]),F=d(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),B=d(["TABLESAMPLE SYSTEM","ANY TYPE","ALL COLUMNS","NOT DETERMINISTIC","{ROWS | RANGE} BETWEEN","IS [NOT] DISTINCT FROM"]),G={tokenizerOptions:{reservedSelect:P,reservedClauses:[...D,...U],reservedSetOperations:b,reservedJoins:F,reservedPhrases:B,reservedKeywords:x,reservedFunctionNames:M,extraParens:["[]"],stringTypes:[{quote:'""".."""',prefixes:["R","B","RB","BR"]},{quote:"'''..'''",prefixes:["R","B","RB","BR"]},'""-bs',"''-bs",{quote:'""-raw',prefixes:["R","B","RB","BR"],requirePrefix:!0},{quote:"''-raw",prefixes:["R","B","RB","BR"],requirePrefix:!0}],identTypes:["``"],identChars:{dashes:!0},paramTypes:{positional:!0,named:["@"],quoted:["@"]},variableTypes:[{regex:String.raw`@@\w+`}],lineCommentTypes:["--","#"],operators:["&","|","^","~",">>","<<","||","=>"],postProcess:function(t){var e;let n;return e=function(t){let e=[];for(let r=0;r"===e.text?n--:">>"===e.text&&(n-=2),0===n)return i}return t.length-1}(t,r+1),a=t.slice(r,n+1);e.push({type:i.IDENTIFIER,raw:a.map(w("raw")).join(""),text:a.map(w("text")).join(""),start:o.start}),r=n}else e.push(o)}return e}(t),n=E,e.map(t=>"OFFSET"===t.text&&"["===n.text?(n=t,{...t,type:i.RESERVED_FUNCTION_NAME}):(n=t,t))}},formatOptions:{onelineClauses:U}},w=t=>e=>e.type===i.IDENTIFIER||e.type===i.COMMA?e[t]+" ":e[t],H=L({aggregate:["ARRAY_AGG","AVG","CORR","CORRELATION","COUNT","COUNT_BIG","COVAR_POP","COVARIANCE","COVAR","COVAR_SAMP","COVARIANCE_SAMP","CUME_DIST","GROUPING","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_ICPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV_POP","STDDEV","STDDEV_SAMP","SUM","VAR_POP","VARIANCE","VAR","VAR_SAMP","VARIANCE_SAMP","XMLAGG"],scalar:["ABS","ABSVAL","ACOS","ADD_DAYS","ADD_MONTHS","ARRAY_DELETE","ARRAY_FIRST","ARRAY_LAST","ARRAY_NEXT","ARRAY_PRIOR","ARRAY_TRIM","ASCII","ASCII_CHR","ASCII_STR","ASCIISTR","ASIN","ATAN","ATANH","ATAN2","BIGINT","BINARY","BITAND","BITANDNOT","BITOR","BITXOR","BITNOT","BLOB","BTRIM","CARDINALITY","CCSID_ENCODING","CEILING","CEIL","CHAR","CHAR9","CHARACTER_LENGTH","CHAR_LENGTH","CHR","CLOB","COALESCE","COLLATION_KEY","COMPARE_DECFLOAT","CONCAT","CONTAINS","COS","COSH","DATE","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFWEEK_ISO","DAYOFYEAR","DAYS","DAYS_BETWEEN","DBCLOB","DECFLOAT","DECFLOAT_FORMAT","DECFLOAT_SORTKEY","DECIMAL","DEC","DECODE","DECRYPT_BINARY","DECRYPT_BIT","DECRYPT_CHAR","DECRYPT_DB","DECRYPT_DATAKEY_BIGINT","DECRYPT_DATAKEY_BIT","DECRYPT_DATAKEY_CLOB","DECRYPT_DATAKEY_DBCLOB","DECRYPT_DATAKEY_DECIMAL","DECRYPT_DATAKEY_INTEGER","DECRYPT_DATAKEY_VARCHAR","DECRYPT_DATAKEY_VARGRAPHIC","DEGREES","DIFFERENCE","DIGITS","DOUBLE_PRECISION","DOUBLE","DSN_XMLVALIDATE","EBCDIC_CHR","EBCDIC_STR","ENCRYPT_DATAKEY","ENCRYPT_TDES","EXP","EXTRACT","FLOAT","FLOOR","GENERATE_UNIQUE","GENERATE_UNIQUE_BINARY","GETHINT","GETVARIABLE","GRAPHIC","GREATEST","HASH","HASH_CRC32","HASH_MD5","HASH_SHA1","HASH_SHA256","HEX","HOUR","IDENTITY_VAL_LOCAL","IFNULL","INSERT","INSTR","INTEGER","INT","JULIAN_DAY","LAST_DAY","LCASE","LEAST","LEFT","LENGTH","LN","LOCATE","LOCATE_IN_STRING","LOG10","LOWER","LPAD","LTRIM","MAX","MAX_CARDINALITY","MICROSECOND","MIDNIGHT_SECONDS","MIN","MINUTE","MOD","MONTH","MONTHS_BETWEEN","MQREAD","MQREADCLOB","MQRECEIVE","MQRECEIVECLOB","MQSEND","MULTIPLY_ALT","NEXT_DAY","NEXT_MONTH","NORMALIZE_DECFLOAT","NORMALIZE_STRING","NULLIF","NVL","OVERLAY","PACK","POSITION","POSSTR","POWER","POW","QUANTIZE","QUARTER","RADIANS","RAISE_ERROR","RANDOM","RAND","REAL","REGEXP_COUNT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","RID","RIGHT","ROUND","ROUND_TIMESTAMP","ROWID","RPAD","RTRIM","SCORE","SECOND","SIGN","SIN","SINH","SMALLINT","SOUNDEX","SOAPHTTPC","SOAPHTTPV","SOAPHTTPNC","SOAPHTTPNV","SPACE","SQRT","STRIP","STRLEFT","STRPOS","STRRIGHT","SUBSTR","SUBSTRING","TAN","TANH","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMESTAMP_FORMAT","TIMESTAMP_ISO","TIMESTAMP_TZ","TO_CHAR","TO_CLOB","TO_DATE","TO_NUMBER","TOTALORDER","TO_TIMESTAMP","TRANSLATE","TRIM","TRIM_ARRAY","TRUNCATE","TRUNC","TRUNC_TIMESTAMP","UCASE","UNICODE","UNICODE_STR","UNISTR","UPPER","VALUE","VARBINARY","VARCHAR","VARCHAR9","VARCHAR_BIT_FORMAT","VARCHAR_FORMAT","VARGRAPHIC","VERIFY_GROUP_FOR_USER","VERIFY_ROLE_FOR_USER","VERIFY_TRUSTED_CONTEXT_ROLE_FOR_USER","WEEK","WEEK_ISO","WRAP","XMLATTRIBUTES","XMLCOMMENT","XMLCONCAT","XMLDOCUMENT","XMLELEMENT","XMLFOREST","XMLMODIFY","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLSERIALIZE","XMLTEXT","XMLXSROBJECTID","XSLTRANSFORM","YEAR"],table:["ADMIN_TASK_LIST","ADMIN_TASK_OUTPUT","ADMIN_TASK_STATUS","BLOCKING_THREADS","MQREADALL","MQREADALLCLOB","MQRECEIVEALL","MQRECEIVEALLCLOB","XMLTABLE"],row:["UNPACK"],olap:["CUME_DIST","PERCENT_RANK","RANK","DENSE_RANK","NTILE","LAG","LEAD","ROW_NUMBER","FIRST_VALUE","LAST_VALUE","NTH_VALUE","RATIO_TO_REPORT"],cast:["CAST"]}),Y=L({standard:["ALL","ALLOCATE","ALLOW","ALTERAND","ANY","AS","ARRAY","ARRAY_EXISTS","ASENSITIVE","ASSOCIATE","ASUTIME","AT","AUDIT","AUX","AUXILIARY","BEFORE","BEGIN","BETWEEN","BUFFERPOOL","BY","CAPTURE","CASCADED","CAST","CCSID","CHARACTER","CHECK","CLONE","CLUSTER","COLLECTION","COLLID","COLUMN","CONDITION","CONNECTION","CONSTRAINT","CONTENT","CONTINUE","CREATE","CUBE","CURRENT","CURRENT_DATE","CURRENT_LC_CTYPE","CURRENT_PATH","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRVAL","CURSOR","DATA","DATABASE","DBINFO","DECLARE","DEFAULT","DESCRIPTOR","DETERMINISTIC","DISABLE","DISALLOW","DISTINCT","DO","DOCUMENT","DSSIZE","DYNAMIC","EDITPROC","ELSE","ELSEIF","ENCODING","ENCRYPTION","ENDING","END-EXEC","ERASE","ESCAPE","EXCEPTION","EXISTS","EXIT","EXTERNAL","FENCED","FIELDPROC","FINAL","FIRST","FOR","FREE","FULL","FUNCTION","GENERATED","GET","GLOBAL","GOTO","GROUP","HANDLER","HOLD","HOURS","IF","IMMEDIATE","IN","INCLUSIVE","INDEX","INHERIT","INNER","INOUT","INSENSITIVE","INTO","IS","ISOBID","ITERATE","JAR","KEEP","KEY","LANGUAGE","LAST","LC_CTYPE","LEAVE","LIKE","LOCAL","LOCALE","LOCATOR","LOCATORS","LOCK","LOCKMAX","LOCKSIZE","LONG","LOOP","MAINTAINED","MATERIALIZED","MICROSECONDS","MINUTEMINUTES","MODIFIES","MONTHS","NEXT","NEXTVAL","NO","NONE","NOT","NULL","NULLS","NUMPARTS","OBID","OF","OLD","ON","OPTIMIZATION","OPTIMIZE","ORDER","ORGANIZATION","OUT","OUTER","PACKAGE","PARAMETER","PART","PADDED","PARTITION","PARTITIONED","PARTITIONING","PATH","PIECESIZE","PERIOD","PLAN","PRECISION","PREVVAL","PRIOR","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PSID","PUBLIC","QUERY","QUERYNO","READS","REFERENCES","RESIGNAL","RESTRICT","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNS","ROLE","ROLLUP","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_UP","ROUND_UP","ROW","ROWSET","SCHEMA","SCRATCHPAD","SECONDS","SECQTY","SECURITY","SEQUENCE","SENSITIVE","SESSION_USER","SIMPLE","SOME","SOURCE","SPECIFIC","STANDARD","STATIC","STATEMENT","STAY","STOGROUP","STORES","STYLE","SUMMARY","SYNONYM","SYSDATE","SYSTEM","SYSTIMESTAMP","TABLE","TABLESPACE","THEN","TO","TRIGGER","TYPE","UNDO","UNIQUE","UNTIL","USER","USING","VALIDPROC","VARIABLE","VARIANT","VCAT","VERSIONING","VIEW","VOLATILE","VOLUMES","WHILE","WLM","XMLEXISTS","XMLCAST","YEARS","ZONE"]}),k=d(["SELECT [ALL | DISTINCT]"]),V=d(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY [INPUT SEQUENCE]","FETCH FIRST","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT","CREATE [OR REPLACE] VIEW","CREATE [GLOBAL TEMPORARY] TABLE"]),W=d(["UPDATE","WHERE CURRENT OF","WITH {RR | RS | CS | UR}","DELETE FROM","DROP TABLE [HIERARCHY]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME [COLUMN]","ALTER [COLUMN]","SET DATA TYPE","SET NOT NULL","DROP {IDENTITY | EXPRESSION | DEFAULT | NOT NULL}","TRUNCATE [TABLE]","SET [CURRENT] SCHEMA","AFTER","GO","ALLOCATE CURSOR","ALTER DATABASE","ALTER FUNCTION","ALTER INDEX","ALTER MASK","ALTER PERMISSION","ALTER PROCEDURE","ALTER SEQUENCE","ALTER STOGROUP","ALTER TABLESPACE","ALTER TRIGGER","ALTER TRUSTED CONTEXT","ALTER VIEW","ASSOCIATE LOCATORS","BEGIN DECLARE SECTION","CALL","CLOSE","COMMENT","COMMIT","CONNECT","CREATE ALIAS","CREATE AUXILIARY TABLE","CREATE DATABASE","CREATE FUNCTION","CREATE GLOBAL TEMPORARY TABLE","CREATE INDEX","CREATE LOB TABLESPACE","CREATE MASK","CREATE PERMISSION","CREATE PROCEDURE","CREATE ROLE","CREATE SEQUENCE","CREATE STOGROUP","CREATE SYNONYM","CREATE TABLESPACE","CREATE TRIGGER","CREATE TRUSTED CONTEXT","CREATE TYPE","CREATE VARIABLE","DECLARE CURSOR","DECLARE GLOBAL TEMPORARY TABLE","DECLARE STATEMENT","DECLARE TABLE","DECLARE VARIABLE","DESCRIBE CURSOR","DESCRIBE INPUT","DESCRIBE OUTPUT","DESCRIBE PROCEDURE","DESCRIBE TABLE","DROP","END DECLARE SECTION","EXCHANGE","EXECUTE","EXECUTE IMMEDIATE","EXPLAIN","FETCH","FREE LOCATOR","GET DIAGNOSTICS","GRANT","HOLD LOCATOR","INCLUDE","LABEL","LOCK TABLE","OPEN","PREPARE","REFRESH","RELEASE","RELEASE SAVEPOINT","RENAME","REVOKE","ROLLBACK","SAVEPOINT","SELECT INTO","SET CONNECTION","SET CURRENT ACCELERATOR","SET CURRENT APPLICATION COMPATIBILITY","SET CURRENT APPLICATION ENCODING SCHEME","SET CURRENT DEBUG MODE","SET CURRENT DECFLOAT ROUNDING MODE","SET CURRENT DEGREE","SET CURRENT EXPLAIN MODE","SET CURRENT GET_ACCEL_ARCHIVE","SET CURRENT LOCALE LC_CTYPE","SET CURRENT MAINTAINED TABLE TYPES FOR OPTIMIZATION","SET CURRENT OPTIMIZATION HINT","SET CURRENT PACKAGE PATH","SET CURRENT PACKAGESET","SET CURRENT PRECISION","SET CURRENT QUERY ACCELERATION","SET CURRENT QUERY ACCELERATION WAITFORDATA","SET CURRENT REFRESH AGE","SET CURRENT ROUTINE VERSION","SET CURRENT RULES","SET CURRENT SQLID","SET CURRENT TEMPORAL BUSINESS_TIME","SET CURRENT TEMPORAL SYSTEM_TIME","SET ENCRYPTION PASSWORD","SET PATH","SET SESSION TIME ZONE","SIGNAL","VALUES INTO","WHENEVER"]),X=d(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),K=d(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),z=d(["ON DELETE","ON UPDATE","SET NULL","{ROWS | RANGE} BETWEEN"]),Z={tokenizerOptions:{reservedSelect:k,reservedClauses:[...V,...W],reservedSetOperations:X,reservedJoins:K,reservedPhrases:z,reservedKeywords:Y,reservedFunctionNames:H,stringTypes:[{quote:"''-qq",prefixes:["G","N","U&"]},{quote:"''-raw",prefixes:["X","BX","GX","UX"],requirePrefix:!0}],identTypes:['""-qq'],identChars:{first:"@#$"},paramTypes:{positional:!0,named:[":"]},paramChars:{first:"@#$",rest:"@#$"},operators:["**","\xac=","\xac>","\xac<","!>","!<","||"]},formatOptions:{onelineClauses:W}},$=L({math:["ABS","ACOS","ASIN","ATAN","BIN","BROUND","CBRT","CEIL","CEILING","CONV","COS","DEGREES","EXP","FACTORIAL","FLOOR","GREATEST","HEX","LEAST","LN","LOG","LOG10","LOG2","NEGATIVE","PI","PMOD","POSITIVE","POW","POWER","RADIANS","RAND","ROUND","SHIFTLEFT","SHIFTRIGHT","SHIFTRIGHTUNSIGNED","SIGN","SIN","SQRT","TAN","UNHEX","WIDTH_BUCKET"],array:["ARRAY_CONTAINS","MAP_KEYS","MAP_VALUES","SIZE","SORT_ARRAY"],conversion:["BINARY","CAST"],date:["ADD_MONTHS","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFYEAR","EXTRACT","FROM_UNIXTIME","FROM_UTC_TIMESTAMP","HOUR","LAST_DAY","MINUTE","MONTH","MONTHS_BETWEEN","NEXT_DAY","QUARTER","SECOND","TIMESTAMP","TO_DATE","TO_UTC_TIMESTAMP","TRUNC","UNIX_TIMESTAMP","WEEKOFYEAR","YEAR"],conditional:["ASSERT_TRUE","COALESCE","IF","ISNOTNULL","ISNULL","NULLIF","NVL"],string:["ASCII","BASE64","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONTEXT_NGRAMS","DECODE","ELT","ENCODE","FIELD","FIND_IN_SET","FORMAT_NUMBER","GET_JSON_OBJECT","IN_FILE","INITCAP","INSTR","LCASE","LENGTH","LEVENSHTEIN","LOCATE","LOWER","LPAD","LTRIM","NGRAMS","OCTET_LENGTH","PARSE_URL","PRINTF","QUOTE","REGEXP_EXTRACT","REGEXP_REPLACE","REPEAT","REVERSE","RPAD","RTRIM","SENTENCES","SOUNDEX","SPACE","SPLIT","STR_TO_MAP","SUBSTR","SUBSTRING","TRANSLATE","TRIM","UCASE","UNBASE64","UPPER"],masking:["MASK","MASK_FIRST_N","MASK_HASH","MASK_LAST_N","MASK_SHOW_FIRST_N","MASK_SHOW_LAST_N"],misc:["AES_DECRYPT","AES_ENCRYPT","CRC32","CURRENT_DATABASE","CURRENT_USER","HASH","JAVA_METHOD","LOGGED_IN_USER","MD5","REFLECT","SHA","SHA1","SHA2","SURROGATE_KEY","VERSION"],aggregate:["AVG","COLLECT_LIST","COLLECT_SET","CORR","COUNT","COVAR_POP","COVAR_SAMP","HISTOGRAM_NUMERIC","MAX","MIN","NTILE","PERCENTILE","PERCENTILE_APPROX","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],table:["EXPLODE","INLINE","JSON_TUPLE","PARSE_URL_TUPLE","POSEXPLODE","STACK"],window:["LEAD","LAG","FIRST_VALUE","LAST_VALUE","RANK","ROW_NUMBER","DENSE_RANK","CUME_DIST","PERCENT_RANK","NTILE"],dataTypes:["DECIMAL","NUMERIC","VARCHAR","CHAR"]}),J=L({nonReserved:["ADD","ADMIN","AFTER","ANALYZE","ARCHIVE","ASC","BEFORE","BUCKET","BUCKETS","CASCADE","CHANGE","CLUSTER","CLUSTERED","CLUSTERSTATUS","COLLECTION","COLUMNS","COMMENT","COMPACT","COMPACTIONS","COMPUTE","CONCATENATE","CONTINUE","DATA","DATABASES","DATETIME","DAY","DBPROPERTIES","DEFERRED","DEFINED","DELIMITED","DEPENDENCY","DESC","DIRECTORIES","DIRECTORY","DISABLE","DISTRIBUTE","ELEM_TYPE","ENABLE","ESCAPED","EXCLUSIVE","EXPLAIN","EXPORT","FIELDS","FILE","FILEFORMAT","FIRST","FORMAT","FORMATTED","FUNCTIONS","HOLD_DDLTIME","HOUR","IDXPROPERTIES","IGNORE","INDEX","INDEXES","INPATH","INPUTDRIVER","INPUTFORMAT","ITEMS","JAR","KEYS","KEY_TYPE","LIMIT","LINES","LOAD","LOCATION","LOCK","LOCKS","LOGICAL","LONG","MAPJOIN","MATERIALIZED","METADATA","MINUS","MINUTE","MONTH","MSCK","NOSCAN","NO_DROP","OFFLINE","OPTION","OUTPUTDRIVER","OUTPUTFORMAT","OVERWRITE","OWNER","PARTITIONED","PARTITIONS","PLUS","PRETTY","PRINCIPALS","PROTECTION","PURGE","READ","READONLY","REBUILD","RECORDREADER","RECORDWRITER","RELOAD","RENAME","REPAIR","REPLACE","REPLICATION","RESTRICT","REWRITE","ROLE","ROLES","SCHEMA","SCHEMAS","SECOND","SEMI","SERDE","SERDEPROPERTIES","SERVER","SETS","SHARED","SHOW","SHOW_DATABASE","SKEWED","SORT","SORTED","SSL","STATISTICS","STORED","STREAMTABLE","STRING","STRUCT","TABLES","TBLPROPERTIES","TEMPORARY","TERMINATED","TINYINT","TOUCH","TRANSACTIONS","UNARCHIVE","UNDO","UNIONTYPE","UNLOCK","UNSET","UNSIGNED","URI","USE","UTC","UTCTIMESTAMP","VALUE_TYPE","VIEW","WHILE","YEAR","AUTOCOMMIT","ISOLATION","LEVEL","OFFSET","SNAPSHOT","TRANSACTION","WORK","WRITE","ABORT","KEY","LAST","NORELY","NOVALIDATE","NULLS","RELY","VALIDATE","DETAIL","DOW","EXPRESSION","OPERATOR","QUARTER","SUMMARY","VECTORIZATION","WEEK","YEARS","MONTHS","WEEKS","DAYS","HOURS","MINUTES","SECONDS","TIMESTAMPTZ","ZONE"],reserved:["ALL","ALTER","AND","ARRAY","AS","AUTHORIZATION","BETWEEN","BIGINT","BINARY","BOOLEAN","BOTH","BY","CASE","CAST","CHAR","COLUMN","CONF","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIMESTAMP","CURSOR","DATABASE","DATE","DECIMAL","DELETE","DESCRIBE","DISTINCT","DOUBLE","DROP","ELSE","END","EXCHANGE","EXISTS","EXTENDED","EXTERNAL","FALSE","FETCH","FLOAT","FOLLOWING","FOR","FROM","FULL","FUNCTION","GRANT","GROUP","GROUPING","HAVING","IF","IMPORT","IN","INNER","INSERT","INT","INTERSECT","INTERVAL","INTO","IS","JOIN","LATERAL","LEFT","LESS","LIKE","LOCAL","MACRO","MAP","MORE","NONE","NOT","NULL","OF","ON","OR","ORDER","OUT","OUTER","OVER","PARTIALSCAN","PARTITION","PERCENT","PRECEDING","PRESERVE","PROCEDURE","RANGE","READS","REDUCE","REVOKE","RIGHT","ROLLUP","ROW","ROWS","SELECT","SET","SMALLINT","TABLE","TABLESAMPLE","THEN","TIMESTAMP","TO","TRANSFORM","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNION","UNIQUEJOIN","UPDATE","USER","USING","UTC_TMESTAMP","VALUES","VARCHAR","WHEN","WHERE","WINDOW","WITH","COMMIT","ONLY","REGEXP","RLIKE","ROLLBACK","START","CACHE","CONSTRAINT","FOREIGN","PRIMARY","REFERENCES","DAYOFWEEK","EXTRACT","FLOOR","INTEGER","PRECISION","VIEWS","TIME","NUMERIC","SYNC"],fileTypes:["TEXTFILE","SEQUENCEFILE","ORC","CSV","TSV","PARQUET","AVRO","RCFILE","JSONFILE","INPUTFORMAT","OUTPUTFORMAT"]}),j=d(["SELECT [ALL | DISTINCT]"]),q=d(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","SORT BY","CLUSTER BY","DISTRIBUTE BY","LIMIT","INSERT INTO [TABLE]","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT [VALUES]","INSERT OVERWRITE [LOCAL] DIRECTORY","LOAD DATA [LOCAL] INPATH","[OVERWRITE] INTO TABLE","CREATE [MATERIALIZED] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY] [EXTERNAL] TABLE [IF NOT EXISTS]"]),Q=d(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","RENAME TO","TRUNCATE [TABLE]","ALTER","CREATE","USE","DESCRIBE","DROP","FETCH","SHOW","STORED AS","STORED BY","ROW FORMAT"]),tt=d(["UNION [ALL | DISTINCT]"]),te=d(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","LEFT SEMI JOIN"]),tn=d(["{ROWS | RANGE} BETWEEN"]),ti={tokenizerOptions:{reservedSelect:j,reservedClauses:[...q,...Q],reservedSetOperations:tt,reservedJoins:te,reservedPhrases:tn,reservedKeywords:J,reservedFunctionNames:$,extraParens:["[]"],stringTypes:['""-bs',"''-bs"],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||"]},formatOptions:{onelineClauses:Q}},tr=L({all:["ACCESSIBLE","ACCOUNT","ACTION","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","ALL","ALGORITHM","ALTER","ALWAYS","ANALYZE","AND","ANY","AS","ASC","ASCII","ASENSITIVE","AT","ATOMIC","AUTHORS","AUTO_INCREMENT","AUTOEXTEND_SIZE","AUTO","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BODY","BOOL","BOOLEAN","BOTH","BTREE","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHANGE","CHANGED","CHAR","CHARACTER","CHARSET","CHECK","CHECKPOINT","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLOB","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMN_NAME","COLUMNS","COLUMN_ADD","COLUMN_CHECK","COLUMN_CREATE","COLUMN_DELETE","COLUMN_GET","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONTRIBUTORS","CONVERT","CPU","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_POS","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","CYCLE","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DELETE_DOMAIN_ID","DESC","DESCRIBE","DES_KEY_FILE","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DO_DOMAIN_IDS","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","ELSIF","EMPTY","ENABLE","ENCLOSED","END","ENDS","ENGINE","ENGINES","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXAMINED","EXCEPT","EXCHANGE","EXCLUDE","EXECUTE","EXCEPTION","EXISTS","EXIT","EXPANSION","EXPIRE","EXPORT","EXPLAIN","EXTENDED","EXTENT_SIZE","FALSE","FAST","FAULTS","FEDERATED","FETCH","FIELDS","FILE","FIRST","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GET_FORMAT","GET","GLOBAL","GOTO","GRANT","GRANTS","GROUP","HANDLER","HARD","HASH","HAVING","HELP","HIGH_PRIORITY","HISTORY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORED","IGNORE_DOMAIN_IDS","IGNORE_SERVER_IDS","IMMEDIATE","IMPORT","INTERSECT","IN","INCREMENT","INDEX","INDEXES","INFILE","INITIAL_SIZE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INVISIBLE","INTO","IO","IO_THREAD","IPC","IS","ISOLATION","ISOPEN","ISSUER","ITERATE","INVOKER","JOIN","JSON","JSON_TABLE","KEY","KEYS","KEY_BLOCK_SIZE","KILL","LANGUAGE","LAST","LAST_VALUE","LASTVAL","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKED","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_GTID_POS","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_USER","MASTER_USE_GTID","MASTER_HEARTBEAT_PERIOD","MATCH","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_STATEMENT_TIME","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MAXVALUE","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUS","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MINVALUE","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONITOR","MONTH","MUTEX","MYSQL","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NESTED","NEVER","NEW","NEXT","NEXTVAL","NO","NOMAXVALUE","NOMINVALUE","NOCACHE","NOCYCLE","NO_WAIT","NOWAIT","NODEGROUP","NONE","NOT","NOTFOUND","NO_WRITE_TO_BINLOG","NULL","NUMBER","NUMERIC","NVARCHAR","OF","OFFSET","OLD_PASSWORD","ON","ONE","ONLINE","ONLY","OPEN","OPTIMIZE","OPTIONS","OPTION","OPTIONALLY","OR","ORDER","ORDINALITY","OTHERS","OUT","OUTER","OUTFILE","OVER","OVERLAPS","OWNER","PACKAGE","PACK_KEYS","PAGE","PAGE_CHECKSUM","PARSER","PARSE_VCOL_EXPR","PATH","PERIOD","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PERSISTENT","PHASE","PLUGIN","PLUGINS","PORT","PORTION","PRECEDES","PRECEDING","PRECISION","PREPARE","PRESERVE","PREV","PREVIOUS","PRIMARY","PRIVILEGES","PROCEDURE","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RAISE","RANGE","RAW","READ","READ_ONLY","READ_WRITE","READS","REAL","REBUILD","RECOVER","RECURSIVE","REDO_BUFFER_SIZE","REDOFILE","REDUNDANT","REFERENCES","REGEXP","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEATABLE","REPLACE","REPLAY","REPLICA","REPLICAS","REPLICA_POS","REPLICATION","REPEAT","REQUIRE","RESET","RESIGNAL","RESTART","RESTORE","RESTRICT","RESUME","RETURNED_SQLSTATE","RETURN","RETURNING","RETURNS","REUSE","REVERSE","REVOKE","RIGHT","RLIKE","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROW","ROWCOUNT","ROWNUM","ROWS","ROWTYPE","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMA_NAME","SCHEMAS","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SEQUENCE","SERIAL","SERIALIZABLE","SESSION","SERVER","SET","SETVAL","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SKIP","SLAVE","SLAVES","SLAVE_POS","SLOW","SNAPSHOT","SMALLINT","SOCKET","SOFT","SOME","SONAME","SOUNDS","SOURCE","STAGE","STORED","SPATIAL","SPECIFIC","REF_SYSTEM_ID","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_SECOND","SQL_TSI_MINUTE","SQL_TSI_HOUR","SQL_TSI_DAY","SQL_TSI_WEEK","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_YEAR","SSL","START","STARTING","STARTS","STATEMENT","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STRAIGHT_JOIN","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","SYSDATE","SYSTEM","SYSTEM_TIME","TABLE","TABLE_NAME","TABLES","TABLESPACE","TABLE_CHECKSUM","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRANSACTION","TRANSACTIONAL","THREADS","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO_BUFFER_SIZE","UNDOFILE","UNDO","UNICODE","UNION","UNIQUE","UNKNOWN","UNLOCK","UNINSTALL","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARCHAR2","VARIABLES","VARYING","VIA","VIEW","VIRTUAL","VISIBLE","VERSIONING","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","X509","XOR","XA","XML","YEAR","YEAR_MONTH","ZEROFILL"]}),to=L({all:["ADDDATE","ADD_MONTHS","BIT_AND","BIT_OR","BIT_XOR","CAST","COUNT","CUME_DIST","CURDATE","CURTIME","DATE_ADD","DATE_SUB","DATE_FORMAT","DECODE","DENSE_RANK","EXTRACT","FIRST_VALUE","GROUP_CONCAT","JSON_ARRAYAGG","JSON_OBJECTAGG","LAG","LEAD","MAX","MEDIAN","MID","MIN","NOW","NTH_VALUE","NTILE","POSITION","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","ROW_NUMBER","SESSION_USER","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","SUBDATE","SUBSTR","SUBSTRING","SUM","SYSTEM_USER","TRIM","TRIM_ORACLE","VARIANCE","VAR_POP","VAR_SAMP","ABS","ACOS","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ASIN","ATAN","ATAN2","BENCHMARK","BIN","BINLOG_GTID_POS","BIT_COUNT","BIT_LENGTH","CEIL","CEILING","CHARACTER_LENGTH","CHAR_LENGTH","CHR","COERCIBILITY","COLUMN_CHECK","COLUMN_EXISTS","COLUMN_LIST","COLUMN_JSON","COMPRESS","CONCAT","CONCAT_OPERATOR_ORACLE","CONCAT_WS","CONNECTION_ID","CONV","CONVERT_TZ","COS","COT","CRC32","DATEDIFF","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DEGREES","DECODE_HISTOGRAM","DECODE_ORACLE","DES_DECRYPT","DES_ENCRYPT","ELT","ENCODE","ENCRYPT","EXP","EXPORT_SET","EXTRACTVALUE","FIELD","FIND_IN_SET","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GET_LOCK","GREATEST","HEX","IFNULL","INSTR","ISNULL","IS_FREE_LOCK","IS_USED_LOCK","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_COMPACT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_DETAILED","JSON_EXISTS","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_LOOSE","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_QUERY","JSON_QUOTE","JSON_OBJECT","JSON_REMOVE","JSON_REPLACE","JSON_SET","JSON_SEARCH","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","JSON_VALUE","LAST_DAY","LAST_INSERT_ID","LCASE","LEAST","LENGTH","LENGTHB","LN","LOAD_FILE","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LPAD_ORACLE","LTRIM","LTRIM_ORACLE","MAKEDATE","MAKETIME","MAKE_SET","MASTER_GTID_WAIT","MASTER_POS_WAIT","MD5","MONTHNAME","NAME_CONST","NVL","NVL2","OCT","OCTET_LENGTH","ORD","PERIOD_ADD","PERIOD_DIFF","PI","POW","POWER","QUOTE","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","RADIANS","RAND","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPLACE_ORACLE","REVERSE","ROUND","RPAD","RPAD_ORACLE","RTRIM","RTRIM_ORACLE","SEC_TO_TIME","SHA","SHA1","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SPACE","SQRT","STRCMP","STR_TO_DATE","SUBSTR_ORACLE","SUBSTRING_INDEX","SUBTIME","SYS_GUID","TAN","TIMEDIFF","TIME_FORMAT","TIME_TO_SEC","TO_BASE64","TO_CHAR","TO_DAYS","TO_SECONDS","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","UUID","UUID_SHORT","VERSION","WEEKDAY","WEEKOFYEAR","WSREP_LAST_WRITTEN_GTID","WSREP_LAST_SEEN_GTID","WSREP_SYNC_WAIT_UPTO_GTID","YEARWEEK","COALESCE","NULLIF","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","BIT","BINARY","BLOB","CHAR","NATIONAL CHAR","CHAR BYTE","ENUM","VARBINARY","VARCHAR","NATIONAL VARCHAR","TIME","DATETIME","TIMESTAMP","YEAR"]}),ta=d(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),ts=d(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO]","REPLACE [LOW_PRIORITY | DELAYED] [INTO]","VALUES","SET","CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMPORARY] TABLE [IF NOT EXISTS]","RETURNING"]),tl=d(["UPDATE [LOW_PRIORITY] [IGNORE]","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER [ONLINE] [IGNORE] TABLE [IF EXISTS]","ADD [COLUMN] [IF NOT EXISTS]","{CHANGE | MODIFY} [COLUMN] [IF EXISTS]","DROP [COLUMN] [IF EXISTS]","RENAME [TO]","RENAME COLUMN","ALTER [COLUMN]","{SET | DROP} DEFAULT","SET {VISIBLE | INVISIBLE}","TRUNCATE [TABLE]","ALTER DATABASE","ALTER DATABASE COMMENT","ALTER EVENT","ALTER FUNCTION","ALTER PROCEDURE","ALTER SCHEMA","ALTER SCHEMA COMMENT","ALTER SEQUENCE","ALTER SERVER","ALTER USER","ALTER VIEW","ANALYZE","ANALYZE TABLE","BACKUP LOCK","BACKUP STAGE","BACKUP UNLOCK","BEGIN","BINLOG","CACHE INDEX","CALL","CHANGE MASTER TO","CHECK TABLE","CHECK VIEW","CHECKSUM TABLE","COMMIT","CREATE AGGREGATE FUNCTION","CREATE DATABASE","CREATE EVENT","CREATE FUNCTION","CREATE INDEX","CREATE PROCEDURE","CREATE ROLE","CREATE SEQUENCE","CREATE SERVER","CREATE SPATIAL INDEX","CREATE TRIGGER","CREATE UNIQUE INDEX","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP EVENT","DROP FUNCTION","DROP INDEX","DROP PREPARE","DROP PROCEDURE","DROP ROLE","DROP SEQUENCE","DROP SERVER","DROP TRIGGER","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","GET DIAGNOSTICS","GET DIAGNOSTICS CONDITION","GRANT","HANDLER","HELP","INSTALL PLUGIN","INSTALL SONAME","KILL","LOAD DATA INFILE","LOAD INDEX INTO CACHE","LOAD XML INFILE","LOCK TABLE","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","PURGE MASTER LOGS","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","REPAIR VIEW","RESET MASTER","RESET QUERY CACHE","RESET REPLICA","RESET SLAVE","RESIGNAL","REVOKE","ROLLBACK","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET GLOBAL TRANSACTION","SET NAMES","SET PASSWORD","SET ROLE","SET STATEMENT","SET TRANSACTION","SHOW","SHOW ALL REPLICAS STATUS","SHOW ALL SLAVES STATUS","SHOW AUTHORS","SHOW BINARY LOGS","SHOW BINLOG EVENTS","SHOW BINLOG STATUS","SHOW CHARACTER SET","SHOW CLIENT_STATISTICS","SHOW COLLATION","SHOW COLUMNS","SHOW CONTRIBUTORS","SHOW CREATE DATABASE","SHOW CREATE EVENT","SHOW CREATE FUNCTION","SHOW CREATE PACKAGE","SHOW CREATE PACKAGE BODY","SHOW CREATE PROCEDURE","SHOW CREATE SEQUENCE","SHOW CREATE TABLE","SHOW CREATE TRIGGER","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINE INNODB STATUS","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW EXPLAIN","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW INDEXES","SHOW INDEX_STATISTICS","SHOW KEYS","SHOW LOCALES","SHOW MASTER LOGS","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PACKAGE BODY CODE","SHOW PACKAGE BODY STATUS","SHOW PACKAGE STATUS","SHOW PLUGINS","SHOW PLUGINS SONAME","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW QUERY_RESPONSE_TIME","SHOW RELAYLOG EVENTS","SHOW REPLICA","SHOW REPLICA HOSTS","SHOW REPLICA STATUS","SHOW SCHEMAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW SLAVE STATUS","SHOW STATUS","SHOW STORAGE ENGINES","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW USER_STATISTICS","SHOW VARIABLES","SHOW WARNINGS","SHOW WSREP_MEMBERSHIP","SHOW WSREP_STATUS","SHUTDOWN","SIGNAL","START ALL REPLICAS","START ALL SLAVES","START REPLICA","START SLAVE","START TRANSACTION","STOP ALL REPLICAS","STOP ALL SLAVES","STOP REPLICA","STOP SLAVE","UNINSTALL PLUGIN","UNINSTALL SONAME","UNLOCK TABLE","USE","XA BEGIN","XA COMMIT","XA END","XA PREPARE","XA RECOVER","XA ROLLBACK","XA START"]),tu=d(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]","MINUS [ALL | DISTINCT]"]),tc=d(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),tE=d(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),th={tokenizerOptions:{reservedSelect:ta,reservedClauses:[...ts,...tl],reservedSetOperations:tu,reservedJoins:tc,reservedPhrases:tE,supportsXor:!0,reservedKeywords:tr,reservedFunctionNames:to,stringTypes:['""-qq-bs',"''-qq-bs",{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_.$]+"},{quote:'""-qq-bs',prefixes:["@"],requirePrefix:!0},{quote:"''-qq-bs",prefixes:["@"],requirePrefix:!0},{quote:"``",prefixes:["@"],requirePrefix:!0}],paramTypes:{positional:!0},lineCommentTypes:["--","#"],operators:["%",":=","&","|","^","~","<<",">>","<=>","&&","||","!"],postProcess:function(t){return t.map((e,n)=>{let r=t[n+1]||E;return p.SET(e)&&"("===r.text?{...e,type:i.RESERVED_FUNCTION_NAME}:e})}},formatOptions:{onelineClauses:tl}},tp=L({all:["ACCESSIBLE","ACCOUNT","ACTION","ACTIVE","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ALWAYS","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASCII","ASENSITIVE","AT","ATTRIBUTE","AUTHENTICATION","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BOOL","BOOLEAN","BOTH","BTREE","BUCKETS","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHALLENGE_RESPONSE","CHANGE","CHANGED","CHANNEL","CHAR","CHARACTER","CHARSET","CHECK","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLONE","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPONENT","COMPRESSED","COMPRESSION","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONVERT","CPU","CREATE","CROSS","CUBE","CUME_DIST","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULT_AUTH","DEFINER","DEFINITION","DELAYED","DELAY_KEY_WRITE","DELETE","DENSE_RANK","DESC","DESCRIBE","DESCRIPTION","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","EMPTY","ENABLE","ENCLOSED","ENCRYPTION","END","ENDS","ENFORCED","ENGINE","ENGINES","ENGINE_ATTRIBUTE","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXCEPT","EXCHANGE","EXCLUDE","EXECUTE","EXISTS","EXIT","EXPANSION","EXPIRE","EXPLAIN","EXPORT","EXTENDED","EXTENT_SIZE","FACTOR","FAILED_LOGIN_ATTEMPTS","FALSE","FAST","FAULTS","FETCH","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FINISH","FIRST","FIRST_VALUE","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GEOMCOLLECTION","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GET_MASTER_PUBLIC_KEY","GET_SOURCE_PUBLIC_KEY","GLOBAL","GRANT","GRANTS","GROUP","GROUPING","GROUPS","GROUP_REPLICATION","GTID_ONLY","HANDLER","HASH","HAVING","HELP","HIGH_PRIORITY","HISTOGRAM","HISTORY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORE_SERVER_IDS","IMPORT","IN","INACTIVE","INDEX","INDEXES","INFILE","INITIAL","INITIAL_SIZE","INITIATE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INSTANCE","IN","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERSECT","INTERVAL","INTO","INVISIBLE","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","IS","ISOLATION","ISSUER","ITERATE","JOIN","JSON","JSON_TABLE","JSON_VALUE","KEY","KEYRING","KEYS","KEY_BLOCK_SIZE","KILL","LAG","LANGUAGE","LAST","LAST_VALUE","LATERAL","LEAD","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LINESTRING","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKED","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_COMPRESSION_ALGORITHMS","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_PUBLIC_KEY_PATH","MASTER_RETRY_COUNT","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_TLS_CIPHERSUITES","MASTER_TLS_VERSION","MASTER_USER","MASTER_ZSTD_COMPRESSION_LEVEL","MATCH","MAXVALUE","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMBER","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NESTED","NETWORK_NAMESPACE","NEVER","NEW","NEXT","NO","NODEGROUP","NONE","NOT","NOWAIT","NO_WAIT","NO_WRITE_TO_BINLOG","NTH_VALUE","NTILE","NULL","NULLS","NUMBER","NUMERIC","NVARCHAR","OF","OFF","OFFSET","OJ","OLD","ON","ONE","ONLY","OPEN","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONAL","OPTIONALLY","OPTIONS","OR","ORDER","ORDINALITY","ORGANIZATION","OTHERS","OUT","OUTER","OUTFILE","OVER","OWNER","PACK_KEYS","PAGE","PARSER","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PASSWORD_LOCK_TIME","PATH","PERCENT_RANK","PERSIST","PERSIST_ONLY","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECEDING","PRECISION","PREPARE","PRESERVE","PREV","PRIMARY","PRIVILEGES","PRIVILEGE_CHECKS_USER","PROCEDURE","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RANDOM","RANGE","RANK","READ","READS","READ_ONLY","READ_WRITE","REAL","REBUILD","RECOVER","RECURSIVE","REDO_BUFFER_SIZE","REDUNDANT","REFERENCE","REFERENCES","REGEXP","REGISTRATION","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICA","REPLICAS","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE","REQUIRE_ROW_FORMAT","RESET","RESIGNAL","RESOURCE","RESPECT","RESTART","RESTORE","RESTRICT","RESUME","RETAIN","RETURN","RETURNED_SQLSTATE","RETURNING","RETURNS","REUSE","REVERSE","REVOKE","RIGHT","RLIKE","ROLE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW","ROWS","ROW_COUNT","ROW_FORMAT","ROW_NUMBER","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMAS","SCHEMA_NAME","SECOND","SECONDARY","SECONDARY_ENGINE","SECONDARY_ENGINE_ATTRIBUTE","SECONDARY_LOAD","SECONDARY_UNLOAD","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SESSION","SET","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SKIP","SLAVE","SLOW","SMALLINT","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SOURCE_AUTO_POSITION","SOURCE_BIND","SOURCE_COMPRESSION_ALGORITHMS","SOURCE_CONNECT_RETRY","SOURCE_DELAY","SOURCE_HEARTBEAT_PERIOD","SOURCE_HOST","SOURCE_LOG_FILE","SOURCE_LOG_POS","SOURCE_PASSWORD","SOURCE_PORT","SOURCE_PUBLIC_KEY_PATH","SOURCE_RETRY_COUNT","SOURCE_SSL","SOURCE_SSL_CA","SOURCE_SSL_CAPATH","SOURCE_SSL_CERT","SOURCE_SSL_CIPHER","SOURCE_SSL_CRL","SOURCE_SSL_CRLPATH","SOURCE_SSL_KEY","SOURCE_SSL_VERIFY_SERVER_CERT","SOURCE_TLS_CIPHERSUITES","SOURCE_TLS_VERSION","SOURCE_USER","SOURCE_ZSTD_COMPRESSION_LEVEL","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SRID","SSL","STACKED","START","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STORED","STRAIGHT_JOIN","STREAM","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","SYSTEM","TABLE","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","THREAD_PRIORITY","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TLS","TO","TRAILING","TRANSACTION","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNION","UNIQUE","UNKNOWN","UNLOCK","UNREGISTER","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARYING","VCPU","VIEW","VIRTUAL","VISIBLE","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WINDOW","WITH","WITHOUT","WORK","WRAPPER","WRITE","X509","XA","XID","XML","XOR","YEAR","YEAR_MONTH","ZEROFILL","ZONE"]}),tT=L({all:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","ASCII","ASIN","ATAN","ATAN2","AVG","BENCHMARK","BIN","BIN_TO_UUID","BINARY","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","CAN_ACCESS_COLUMN","CAN_ACCESS_DATABASE","CAN_ACCESS_TABLE","CAN_ACCESS_USER","CAN_ACCESS_VIEW","CAST","CEIL","CEILING","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","CONV","CONVERT","CONVERT_TZ","COS","COT","COUNT","CRC32","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DEFAULT","DEGREES","DENSE_RANK","DIV","ELT","EXP","EXPORT_SET","EXTRACT","EXTRACTVALUE","FIELD","FIND_IN_SET","FIRST_VALUE","FLOOR","FORMAT","FORMAT_BYTES","FORMAT_PICO_TIME","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEOMCOLLECTION","GEOMETRYCOLLECTION","GET_DD_COLUMN_PRIVILEGES","GET_DD_CREATE_OPTIONS","GET_DD_INDEX_SUB_PART_LENGTH","GET_FORMAT","GET_LOCK","GREATEST","GROUP_CONCAT","GROUPING","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","INTERNAL_AUTO_INCREMENT","INTERNAL_AVG_ROW_LENGTH","INTERNAL_CHECK_TIME","INTERNAL_CHECKSUM","INTERNAL_DATA_FREE","INTERNAL_DATA_LENGTH","INTERNAL_DD_CHAR_LENGTH","INTERNAL_GET_COMMENT_OR_ERROR","INTERNAL_GET_ENABLED_ROLE_JSON","INTERNAL_GET_HOSTNAME","INTERNAL_GET_USERNAME","INTERNAL_GET_VIEW_WARNING_OR_ERROR","INTERNAL_INDEX_COLUMN_CARDINALITY","INTERNAL_INDEX_LENGTH","INTERNAL_IS_ENABLED_ROLE","INTERNAL_IS_MANDATORY_ROLE","INTERNAL_KEYS_DISABLED","INTERNAL_MAX_DATA_LENGTH","INTERNAL_TABLE_ROWS","INTERNAL_UPDATE_TIME","INTERVAL","IS","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS NOT","IS NOT NULL","IS NULL","IS_USED_LOCK","IS_UUID","ISNULL","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_ARRAYAGG","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_OBJECTAGG","JSON_OVERLAPS","JSON_PRETTY","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SCHEMA_VALID","JSON_SCHEMA_VALIDATION_REPORT","JSON_SEARCH","JSON_SET","JSON_STORAGE_FREE","JSON_STORAGE_SIZE","JSON_TABLE","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","JSON_VALUE","LAG","LAST_DAY","LAST_INSERT_ID","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LIKE","LINESTRING","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MATCH","MAX","MBRCONTAINS","MBRCOVEREDBY","MBRCOVERS","MBRDISJOINT","MBREQUALS","MBRINTERSECTS","MBROVERLAPS","MBRTOUCHES","MBRWITHIN","MD5","MEMBER OF","MICROSECOND","MID","MIN","MINUTE","MOD","MONTH","MONTHNAME","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","NAME_CONST","NOT","NOT IN","NOT LIKE","NOT REGEXP","NOW","NTH_VALUE","NTILE","NULLIF","OCT","OCTET_LENGTH","ORD","PERCENT_RANK","PERIOD_ADD","PERIOD_DIFF","PI","POINT","POLYGON","POSITION","POW","POWER","PS_CURRENT_THREAD_ID","PS_THREAD_ID","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RANK","REGEXP","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","RLIKE","ROLES_GRAPHML","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SOUNDS LIKE","SOURCE_POS_WAIT","SPACE","SQRT","ST_AREA","ST_ASBINARY","ST_ASGEOJSON","ST_ASTEXT","ST_BUFFER","ST_BUFFER_STRATEGY","ST_CENTROID","ST_COLLECT","ST_CONTAINS","ST_CONVEXHULL","ST_CROSSES","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DISTANCE_SPHERE","ST_ENDPOINT","ST_ENVELOPE","ST_EQUALS","ST_EXTERIORRING","ST_FRECHETDISTANCE","ST_GEOHASH","ST_GEOMCOLLFROMTEXT","ST_GEOMCOLLFROMWKB","ST_GEOMETRYN","ST_GEOMETRYTYPE","ST_GEOMFROMGEOJSON","ST_GEOMFROMTEXT","ST_GEOMFROMWKB","ST_HAUSDORFFDISTANCE","ST_INTERIORRINGN","ST_INTERSECTION","ST_INTERSECTS","ST_ISCLOSED","ST_ISEMPTY","ST_ISSIMPLE","ST_ISVALID","ST_LATFROMGEOHASH","ST_LATITUDE","ST_LENGTH","ST_LINEFROMTEXT","ST_LINEFROMWKB","ST_LINEINTERPOLATEPOINT","ST_LINEINTERPOLATEPOINTS","ST_LONGFROMGEOHASH","ST_LONGITUDE","ST_MAKEENVELOPE","ST_MLINEFROMTEXT","ST_MLINEFROMWKB","ST_MPOINTFROMTEXT","ST_MPOINTFROMWKB","ST_MPOLYFROMTEXT","ST_MPOLYFROMWKB","ST_NUMGEOMETRIES","ST_NUMINTERIORRING","ST_NUMPOINTS","ST_OVERLAPS","ST_POINTATDISTANCE","ST_POINTFROMGEOHASH","ST_POINTFROMTEXT","ST_POINTFROMWKB","ST_POINTN","ST_POLYFROMTEXT","ST_POLYFROMWKB","ST_SIMPLIFY","ST_SRID","ST_STARTPOINT","ST_SWAPXY","ST_SYMDIFFERENCE","ST_TOUCHES","ST_TRANSFORM","ST_UNION","ST_VALIDATE","ST_WITHIN","ST_X","ST_Y","STATEMENT_DIGEST","STATEMENT_DIGEST_TEXT","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","UUID_TO_BIN","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","YEAR","YEARWEEK","BIT","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DATETIME","TIMESTAMP","TIME","YEAR","CHAR","NATIONAL CHAR","VARCHAR","NATIONAL VARCHAR","BINARY","VARBINARY","BLOB","TEXT","ENUM"]}),tf=d(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),td=d(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO]","REPLACE [LOW_PRIORITY | DELAYED] [INTO]","VALUES","SET","CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY] TABLE [IF NOT EXISTS]"]),tA=d(["UPDATE [LOW_PRIORITY] [IGNORE]","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","{CHANGE | MODIFY} [COLUMN]","DROP [COLUMN]","RENAME [TO | AS]","RENAME COLUMN","ALTER [COLUMN]","{SET | DROP} DEFAULT","TRUNCATE [TABLE]","ALTER DATABASE","ALTER EVENT","ALTER FUNCTION","ALTER INSTANCE","ALTER LOGFILE GROUP","ALTER PROCEDURE","ALTER RESOURCE GROUP","ALTER SERVER","ALTER TABLESPACE","ALTER USER","ALTER VIEW","ANALYZE TABLE","BINLOG","CACHE INDEX","CALL","CHANGE MASTER TO","CHANGE REPLICATION FILTER","CHANGE REPLICATION SOURCE TO","CHECK TABLE","CHECKSUM TABLE","CLONE","COMMIT","CREATE DATABASE","CREATE EVENT","CREATE FUNCTION","CREATE FUNCTION","CREATE INDEX","CREATE LOGFILE GROUP","CREATE PROCEDURE","CREATE RESOURCE GROUP","CREATE ROLE","CREATE SERVER","CREATE SPATIAL REFERENCE SYSTEM","CREATE TABLESPACE","CREATE TRIGGER","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP EVENT","DROP FUNCTION","DROP FUNCTION","DROP INDEX","DROP LOGFILE GROUP","DROP PROCEDURE","DROP RESOURCE GROUP","DROP ROLE","DROP SERVER","DROP SPATIAL REFERENCE SYSTEM","DROP TABLESPACE","DROP TRIGGER","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","GRANT","HANDLER","HELP","IMPORT TABLE","INSTALL COMPONENT","INSTALL PLUGIN","KILL","LOAD DATA","LOAD INDEX INTO CACHE","LOAD XML","LOCK INSTANCE FOR BACKUP","LOCK TABLES","MASTER_POS_WAIT","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","RESET","RESET MASTER","RESET PERSIST","RESET REPLICA","RESET SLAVE","RESTART","REVOKE","ROLLBACK","ROLLBACK TO SAVEPOINT","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET NAMES","SET PASSWORD","SET RESOURCE GROUP","SET ROLE","SET TRANSACTION","SHOW","SHOW BINARY LOGS","SHOW BINLOG EVENTS","SHOW CHARACTER SET","SHOW COLLATION","SHOW COLUMNS","SHOW CREATE DATABASE","SHOW CREATE EVENT","SHOW CREATE FUNCTION","SHOW CREATE PROCEDURE","SHOW CREATE TABLE","SHOW CREATE TRIGGER","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW RELAYLOG EVENTS","SHOW REPLICA STATUS","SHOW REPLICAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW VARIABLES","SHOW WARNINGS","SHUTDOWN","SOURCE_POS_WAIT","START GROUP_REPLICATION","START REPLICA","START SLAVE","START TRANSACTION","STOP GROUP_REPLICATION","STOP REPLICA","STOP SLAVE","TABLE","UNINSTALL COMPONENT","UNINSTALL PLUGIN","UNLOCK INSTANCE","UNLOCK TABLES","USE","XA","ITERATE","LEAVE","LOOP","REPEAT","RETURN","WHILE"]),tS=d(["UNION [ALL | DISTINCT]"]),tR=d(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),tg=d(["ON {UPDATE | DELETE} [SET NULL]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),tI={tokenizerOptions:{reservedSelect:tf,reservedClauses:[...td,...tA],reservedSetOperations:tS,reservedJoins:tR,reservedPhrases:tg,supportsXor:!0,reservedKeywords:tp,reservedFunctionNames:tT,stringTypes:['""-qq-bs',{quote:"''-qq-bs",prefixes:["N"]},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_.$]+"},{quote:'""-qq-bs',prefixes:["@"],requirePrefix:!0},{quote:"''-qq-bs",prefixes:["@"],requirePrefix:!0},{quote:"``",prefixes:["@"],requirePrefix:!0}],paramTypes:{positional:!0},lineCommentTypes:["--","#"],operators:["%",":=","&","|","^","~","<<",">>","<=>","->","->>","&&","||","!"],postProcess:function(t){return t.map((e,n)=>{let r=t[n+1]||E;return p.SET(e)&&"("===r.text?{...e,type:i.RESERVED_FUNCTION_NAME}:e})}},formatOptions:{onelineClauses:tA}},tO=L({all:["ABORT","ABS","ACOS","ADVISOR","ARRAY_AGG","ARRAY_AGG","ARRAY_APPEND","ARRAY_AVG","ARRAY_BINARY_SEARCH","ARRAY_CONCAT","ARRAY_CONTAINS","ARRAY_COUNT","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_FLATTEN","ARRAY_IFNULL","ARRAY_INSERT","ARRAY_INTERSECT","ARRAY_LENGTH","ARRAY_MAX","ARRAY_MIN","ARRAY_MOVE","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_PUT","ARRAY_RANGE","ARRAY_REMOVE","ARRAY_REPEAT","ARRAY_REPLACE","ARRAY_REVERSE","ARRAY_SORT","ARRAY_STAR","ARRAY_SUM","ARRAY_SYMDIFF","ARRAY_SYMDIFF1","ARRAY_SYMDIFFN","ARRAY_UNION","ASIN","ATAN","ATAN2","AVG","BASE64","BASE64_DECODE","BASE64_ENCODE","BITAND ","BITCLEAR ","BITNOT ","BITOR ","BITSET ","BITSHIFT ","BITTEST ","BITXOR ","CEIL","CLOCK_LOCAL","CLOCK_MILLIS","CLOCK_STR","CLOCK_TZ","CLOCK_UTC","COALESCE","CONCAT","CONCAT2","CONTAINS","CONTAINS_TOKEN","CONTAINS_TOKEN_LIKE","CONTAINS_TOKEN_REGEXP","COS","COUNT","COUNT","COUNTN","CUME_DIST","CURL","DATE_ADD_MILLIS","DATE_ADD_STR","DATE_DIFF_MILLIS","DATE_DIFF_STR","DATE_FORMAT_STR","DATE_PART_MILLIS","DATE_PART_STR","DATE_RANGE_MILLIS","DATE_RANGE_STR","DATE_TRUNC_MILLIS","DATE_TRUNC_STR","DECODE","DECODE_JSON","DEGREES","DENSE_RANK","DURATION_TO_STR","ENCODED_SIZE","ENCODE_JSON","EXP","FIRST_VALUE","FLOOR","GREATEST","HAS_TOKEN","IFINF","IFMISSING","IFMISSINGORNULL","IFNAN","IFNANORINF","IFNULL","INITCAP","ISARRAY","ISATOM","ISBITSET","ISBOOLEAN","ISNUMBER","ISOBJECT","ISSTRING","LAG","LAST_VALUE","LEAD","LEAST","LENGTH","LN","LOG","LOWER","LTRIM","MAX","MEAN","MEDIAN","META","MILLIS","MILLIS_TO_LOCAL","MILLIS_TO_STR","MILLIS_TO_TZ","MILLIS_TO_UTC","MILLIS_TO_ZONE_NAME","MIN","MISSINGIF","NANIF","NEGINFIF","NOW_LOCAL","NOW_MILLIS","NOW_STR","NOW_TZ","NOW_UTC","NTH_VALUE","NTILE","NULLIF","NVL","NVL2","OBJECT_ADD","OBJECT_CONCAT","OBJECT_INNER_PAIRS","OBJECT_INNER_VALUES","OBJECT_LENGTH","OBJECT_NAMES","OBJECT_PAIRS","OBJECT_PUT","OBJECT_REMOVE","OBJECT_RENAME","OBJECT_REPLACE","OBJECT_UNWRAP","OBJECT_VALUES","PAIRS","PERCENT_RANK","PI","POLY_LENGTH","POSINFIF","POSITION","POWER","RADIANS","RANDOM","RANK","RATIO_TO_REPORT","REGEXP_CONTAINS","REGEXP_LIKE","REGEXP_MATCHES","REGEXP_POSITION","REGEXP_REPLACE","REGEXP_SPLIT","REGEX_CONTAINS","REGEX_LIKE","REGEX_MATCHES","REGEX_POSITION","REGEX_REPLACE","REGEX_SPLIT","REPEAT","REPLACE","REVERSE","ROUND","ROW_NUMBER","RTRIM","SEARCH","SEARCH_META","SEARCH_SCORE","SIGN","SIN","SPLIT","SQRT","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DURATION","STR_TO_MILLIS","STR_TO_TZ","STR_TO_UTC","STR_TO_ZONE_NAME","SUBSTR","SUFFIXES","SUM","TAN","TITLE","TOARRAY","TOATOM","TOBOOLEAN","TOKENS","TOKENS","TONUMBER","TOOBJECT","TOSTRING","TRIM","TRUNC","UPPER","UUID","VARIANCE","VARIANCE_POP","VARIANCE_SAMP","VAR_POP","VAR_SAMP","WEEKDAY_MILLIS","WEEKDAY_STR","CAST"]}),ty=L({all:["ADVISE","ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","AT","BEGIN","BETWEEN","BINARY","BOOLEAN","BREAK","BUCKET","BUILD","BY","CALL","CASE","CAST","CLUSTER","COLLATE","COLLECTION","COMMIT","COMMITTED","CONNECT","CONTINUE","CORRELATED","COVER","CREATE","CURRENT","DATABASE","DATASET","DATASTORE","DECLARE","DECREMENT","DELETE","DERIVED","DESC","DESCRIBE","DISTINCT","DO","DROP","EACH","ELEMENT","ELSE","END","EVERY","EXCEPT","EXCLUDE","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FILTER","FIRST","FLATTEN","FLUSH","FOLLOWING","FOR","FORCE","FROM","FTS","FUNCTION","GOLANG","GRANT","GROUP","GROUPS","GSI","HASH","HAVING","IF","ISOLATION","IGNORE","ILIKE","IN","INCLUDE","INCREMENT","INDEX","INFER","INLINE","INNER","INSERT","INTERSECT","INTO","IS","JAVASCRIPT","JOIN","KEY","KEYS","KEYSPACE","KNOWN","LANGUAGE","LAST","LEFT","LET","LETTING","LEVEL","LIKE","LIMIT","LSM","MAP","MAPPING","MATCHED","MATERIALIZED","MERGE","MINUS","MISSING","NAMESPACE","NEST","NL","NO","NOT","NTH_VALUE","NULL","NULLS","NUMBER","OBJECT","OFFSET","ON","OPTION","OPTIONS","OR","ORDER","OTHERS","OUTER","OVER","PARSE","PARTITION","PASSWORD","PATH","POOL","PRECEDING","PREPARE","PRIMARY","PRIVATE","PRIVILEGE","PROBE","PROCEDURE","PUBLIC","RANGE","RAW","REALM","REDUCE","RENAME","RESPECT","RETURN","RETURNING","REVOKE","RIGHT","ROLE","ROLLBACK","ROW","ROWS","SATISFIES","SAVEPOINT","SCHEMA","SCOPE","SELECT","SELF","SEMI","SET","SHOW","SOME","START","STATISTICS","STRING","SYSTEM","THEN","TIES","TO","TRAN","TRANSACTION","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNDER","UNION","UNIQUE","UNKNOWN","UNNEST","UNSET","UPDATE","UPSERT","USE","USER","USING","VALIDATE","VALUE","VALUED","VALUES","VIA","VIEW","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WORK","XOR"]}),tv=d(["SELECT [ALL | DISTINCT]"]),tN=d(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED THEN","UPDATE SET","INSERT","NEST","UNNEST","RETURNING"]),tC=d(["UPDATE","DELETE FROM","SET SCHEMA","ADVISE","ALTER INDEX","BEGIN TRANSACTION","BUILD INDEX","COMMIT TRANSACTION","CREATE COLLECTION","CREATE FUNCTION","CREATE INDEX","CREATE PRIMARY INDEX","CREATE SCOPE","DROP COLLECTION","DROP FUNCTION","DROP INDEX","DROP PRIMARY INDEX","DROP SCOPE","EXECUTE","EXECUTE FUNCTION","EXPLAIN","GRANT","INFER","PREPARE","REVOKE","ROLLBACK TRANSACTION","SAVEPOINT","SET TRANSACTION","UPDATE STATISTICS","UPSERT","LET","SET CURRENT SCHEMA","SHOW","USE [PRIMARY] KEYS"]),tm=d(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),tL=d(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","INNER JOIN"]),t_=d(["{ROWS | RANGE | GROUPS} BETWEEN"]),tx={tokenizerOptions:{reservedSelect:tv,reservedClauses:[...tN,...tC],reservedSetOperations:tm,reservedJoins:tL,reservedPhrases:t_,supportsXor:!0,reservedKeywords:ty,reservedFunctionNames:tO,stringTypes:['""-bs',"''-bs"],identTypes:["``"],extraParens:["[]","{}"],paramTypes:{positional:!0,numbered:["$"],named:["$"]},lineCommentTypes:["#","--"],operators:["%","==",":","||"]},formatOptions:{onelineClauses:tC}},tM=L({all:["ADD","AGENT","AGGREGATE","ALL","ALTER","AND","ANY","ARRAY","ARROW","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BEGIN","BETWEEN","BFILE_BASE","BINARY","BLOB_BASE","BLOCK","BODY","BOTH","BOUND","BULK","BY","BYTE","CALL","CALLING","CASCADE","CASE","CHAR","CHAR_BASE","CHARACTER","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOB_BASE","CLOSE","CLUSTER","CLUSTERS","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONVERT","COUNT","CRASH","CREATE","CURRENT","CURSOR","CUSTOMDATUM","DANGLING","DATA","DATE","DATE_BASE","DAY","DECIMAL","DECLARE","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DISTINCT","DOUBLE","DROP","DURATION","ELEMENT","ELSE","ELSIF","EMPTY","END","ESCAPE","EXCEPT","EXCEPTION","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FINAL","FIXED","FLOAT","FOR","FORALL","FORCE","FORM","FROM","FUNCTION","GENERAL","GOTO","GRANT","GROUP","HASH","HAVING","HEAP","HIDDEN","HOUR","IDENTIFIED","IF","IMMEDIATE","IN","INCLUDING","INDEX","INDEXES","INDICATOR","INDICES","INFINITE","INSERT","INSTANTIABLE","INT","INTERFACE","INTERSECT","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMIT","LIMITED","LOCAL","LOCK","LONG","LOOP","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MOD","MODE","MODIFY","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NCHAR","NEW","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","NUMBER_BASE","OBJECT","OCICOLL","OCIDATE","OCIDATETIME","OCIDURATION","OCIINTERVAL","OCILOBLOCATOR","OCINUMBER","OCIRAW","OCIREF","OCIREFCURSOR","OCIROWID","OCISTRING","OCITYPE","OF","ON","ONLY","OPAQUE","OPEN","OPERATOR","OPTION","OR","ORACLE","ORADATA","ORDER","OVERLAPS","ORGANIZATION","ORLANY","ORLVARY","OTHERS","OUT","OVERRIDING","PACKAGE","PARALLEL_ENABLE","PARAMETER","PARAMETERS","PARTITION","PASCAL","PIPE","PIPELINED","PRAGMA","PRECISION","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RAW","READ","RECORD","REF","REFERENCE","REM","REMAINDER","RENAME","RESOURCE","RESULT","RETURN","RETURNING","REVERSE","REVOKE","ROLLBACK","ROW","SAMPLE","SAVE","SAVEPOINT","SB1","SB2","SB4","SECOND","SEGMENT","SELECT","SELF","SEPARATE","SEQUENCE","SERIALIZABLE","SET","SHARE","SHORT","SIZE","SIZE_T","SOME","SPARSE","SQL","SQLCODE","SQLDATA","SQLNAME","SQLSTATE","STANDARD","START","STATIC","STDDEV","STORED","STRING","STRUCT","STYLE","SUBMULTISET","SUBPARTITION","SUBSTITUTABLE","SUBTYPE","SUM","SYNONYM","TABAUTH","TABLE","TDO","THE","THEN","TIME","TIMESTAMP","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TO","TRAILING","TRANSAC","TRANSACTIONAL","TRUSTED","TYPE","UB1","UB2","UB4","UNDER","UNION","UNIQUE","UNSIGNED","UNTRUSTED","UPDATE","USE","USING","VALIST","VALUE","VALUES","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","VOID","WHEN","WHERE","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"]}),tP=L({numeric:["ABS","ACOS","ASIN","ATAN","ATAN2","BITAND","CEIL","COS","COSH","EXP","FLOOR","LN","LOG","MOD","NANVL","POWER","REMAINDER","ROUND","SIGN","SIN","SINH","SQRT","TAN","TANH","TRUNC","WIDTH_BUCKET"],character:["CHR","CONCAT","INITCAP","LOWER","LPAD","LTRIM","NLS_INITCAP","NLS_LOWER","NLSSORT","NLS_UPPER","REGEXP_REPLACE","REGEXP_SUBSTR","REPLACE","RPAD","RTRIM","SOUNDEX","SUBSTR","TRANSLATE","TREAT","TRIM","UPPER","NLS_CHARSET_DECL_LEN","NLS_CHARSET_ID","NLS_CHARSET_NAME","ASCII","INSTR","LENGTH","REGEXP_INSTR"],datetime:["ADD_MONTHS","CURRENT_DATE","CURRENT_TIMESTAMP","DBTIMEZONE","EXTRACT","FROM_TZ","LAST_DAY","LOCALTIMESTAMP","MONTHS_BETWEEN","NEW_TIME","NEXT_DAY","NUMTODSINTERVAL","NUMTOYMINTERVAL","ROUND","SESSIONTIMEZONE","SYS_EXTRACT_UTC","SYSDATE","SYSTIMESTAMP","TO_CHAR","TO_TIMESTAMP","TO_TIMESTAMP_TZ","TO_DSINTERVAL","TO_YMINTERVAL","TRUNC","TZ_OFFSET"],comparison:["GREATEST","LEAST"],conversion:["ASCIISTR","BIN_TO_NUM","CAST","CHARTOROWID","COMPOSE","CONVERT","DECOMPOSE","HEXTORAW","NUMTODSINTERVAL","NUMTOYMINTERVAL","RAWTOHEX","RAWTONHEX","ROWIDTOCHAR","ROWIDTONCHAR","SCN_TO_TIMESTAMP","TIMESTAMP_TO_SCN","TO_BINARY_DOUBLE","TO_BINARY_FLOAT","TO_CHAR","TO_CLOB","TO_DATE","TO_DSINTERVAL","TO_LOB","TO_MULTI_BYTE","TO_NCHAR","TO_NCLOB","TO_NUMBER","TO_DSINTERVAL","TO_SINGLE_BYTE","TO_TIMESTAMP","TO_TIMESTAMP_TZ","TO_YMINTERVAL","TO_YMINTERVAL","TRANSLATE","UNISTR"],largeObject:["BFILENAME","EMPTY_BLOB,","EMPTY_CLOB"],collection:["CARDINALITY","COLLECT","POWERMULTISET","POWERMULTISET_BY_CARDINALITY","SET"],hierarchical:["SYS_CONNECT_BY_PATH"],dataMining:["CLUSTER_ID","CLUSTER_PROBABILITY","CLUSTER_SET","FEATURE_ID","FEATURE_SET","FEATURE_VALUE","PREDICTION","PREDICTION_COST","PREDICTION_DETAILS","PREDICTION_PROBABILITY","PREDICTION_SET"],xml:["APPENDCHILDXML","DELETEXML","DEPTH","EXTRACT","EXISTSNODE","EXTRACTVALUE","INSERTCHILDXML","INSERTXMLBEFORE","PATH","SYS_DBURIGEN","SYS_XMLAGG","SYS_XMLGEN","UPDATEXML","XMLAGG","XMLCDATA","XMLCOLATTVAL","XMLCOMMENT","XMLCONCAT","XMLFOREST","XMLPARSE","XMLPI","XMLQUERY","XMLROOT","XMLSEQUENCE","XMLSERIALIZE","XMLTABLE","XMLTRANSFORM"],encoding:["DECODE","DUMP","ORA_HASH","VSIZE"],nullRelated:["COALESCE","LNNVL","NULLIF","NVL","NVL2"],env:["SYS_CONTEXT","SYS_GUID","SYS_TYPEID","UID","USER","USERENV"],aggregate:["AVG","COLLECT","CORR","CORR_S","CORR_K","COUNT","COVAR_POP","COVAR_SAMP","CUME_DIST","DENSE_RANK","FIRST","GROUP_ID","GROUPING","GROUPING_ID","LAST","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","RANK","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","STATS_BINOMIAL_TEST","STATS_CROSSTAB","STATS_F_TEST","STATS_KS_TEST","STATS_MODE","STATS_MW_TEST","STATS_ONE_WAY_ANOVA","STATS_T_TEST_ONE","STATS_T_TEST_PAIRED","STATS_T_TEST_INDEP","STATS_T_TEST_INDEPU","STATS_WSR_TEST","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],window:["FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTILE","RATIO_TO_REPORT","ROW_NUMBER"],objectReference:["DEREF","MAKE_REF","REF","REFTOHEX","VALUE"],model:["CV","ITERATION_NUMBER","PRESENTNNV","PRESENTV","PREVIOUS"],dataTypes:["VARCHAR2","NVARCHAR2","NUMBER","FLOAT","TIMESTAMP","INTERVAL YEAR","INTERVAL DAY","RAW","UROWID","NCHAR","CHARACTER","CHAR","CHARACTER VARYING","CHAR VARYING","NATIONAL CHARACTER","NATIONAL CHAR","NATIONAL CHARACTER VARYING","NATIONAL CHAR VARYING","NCHAR VARYING","NUMERIC","DECIMAL","FLOAT","VARCHAR"]}),tD=d(["SELECT [ALL | DISTINCT | UNIQUE]"]),tU=d(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER [SIBLINGS] BY","OFFSET","FETCH {FIRST | NEXT}","FOR UPDATE [OF]","INSERT [INTO | ALL INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [THEN]","UPDATE SET","CREATE [OR REPLACE] [NO FORCE | FORCE] [EDITIONING | EDITIONABLE | EDITIONABLE EDITIONING | NONEDITIONABLE] VIEW","CREATE MATERIALIZED VIEW","CREATE [GLOBAL TEMPORARY | PRIVATE TEMPORARY | SHARDED | DUPLICATED | IMMUTABLE BLOCKCHAIN | BLOCKCHAIN | IMMUTABLE] TABLE","RETURNING"]),tb=d(["UPDATE [ONLY]","DELETE FROM [ONLY]","DROP TABLE","ALTER TABLE","ADD","DROP {COLUMN | UNUSED COLUMNS | COLUMNS CONTINUE}","MODIFY","RENAME TO","RENAME COLUMN","TRUNCATE TABLE","SET SCHEMA","BEGIN","CONNECT BY","DECLARE","EXCEPT","EXCEPTION","LOOP","START WITH"]),tF=d(["UNION [ALL]","EXCEPT","INTERSECT"]),tB=d(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | OUTER} APPLY"]),tG=d(["ON {UPDATE | DELETE} [SET NULL]","ON COMMIT","{ROWS | RANGE} BETWEEN"]),tw={tokenizerOptions:{reservedSelect:tD,reservedClauses:[...tU,...tb],reservedSetOperations:tF,reservedJoins:tB,reservedPhrases:tG,supportsXor:!0,reservedKeywords:tM,reservedFunctionNames:tP,stringTypes:[{quote:"''-qq",prefixes:["N"]},{quote:"q''",prefixes:["N"]}],identTypes:['""-qq'],identChars:{rest:"$#"},variableTypes:[{regex:"&{1,2}[A-Za-z][A-Za-z0-9_$#]*"}],paramTypes:{numbered:[":"],named:[":"]},paramChars:{},operators:["**",":=","%","~=","^=",">>","<<","=>","@","||"],postProcess:function(t){let e=E;return t.map(t=>p.SET(t)&&p.BY(e)?{...t,type:i.RESERVED_KEYWORD}:(T(t.type)&&(e=t),t))}},formatOptions:{alwaysDenseOperators:["@"],onelineClauses:tb}},tH=L({math:["ABS","ACOS","ACOSD","ACOSH","ASIN","ASIND","ASINH","ATAN","ATAN2","ATAN2D","ATAND","ATANH","CBRT","CEIL","CEILING","COS","COSD","COSH","COT","COTD","DEGREES","DIV","EXP","FACTORIAL","FLOOR","GCD","LCM","LN","LOG","LOG10","MIN_SCALE","MOD","PI","POWER","RADIANS","RANDOM","ROUND","SCALE","SETSEED","SIGN","SIN","SIND","SINH","SQRT","TAN","TAND","TANH","TRIM_SCALE","TRUNC","WIDTH_BUCKET"],string:["ABS","ASCII","BIT_LENGTH","BTRIM","CHARACTER_LENGTH","CHAR_LENGTH","CHR","CONCAT","CONCAT_WS","FORMAT","INITCAP","LEFT","LENGTH","LOWER","LPAD","LTRIM","MD5","NORMALIZE","OCTET_LENGTH","OVERLAY","PARSE_IDENT","PG_CLIENT_ENCODING","POSITION","QUOTE_IDENT","QUOTE_LITERAL","QUOTE_NULLABLE","REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE","REPEAT","REPLACE","REVERSE","RIGHT","RPAD","RTRIM","SPLIT_PART","SPRINTF","STARTS_WITH","STRING_AGG","STRING_TO_ARRAY","STRING_TO_TABLE","STRPOS","SUBSTR","SUBSTRING","TO_ASCII","TO_HEX","TRANSLATE","TRIM","UNISTR","UPPER"],binary:["BIT_COUNT","BIT_LENGTH","BTRIM","CONVERT","CONVERT_FROM","CONVERT_TO","DECODE","ENCODE","GET_BIT","GET_BYTE","LENGTH","LTRIM","MD5","OCTET_LENGTH","OVERLAY","POSITION","RTRIM","SET_BIT","SET_BYTE","SHA224","SHA256","SHA384","SHA512","STRING_AGG","SUBSTR","SUBSTRING","TRIM"],bitstring:["BIT_COUNT","BIT_LENGTH","GET_BIT","LENGTH","OCTET_LENGTH","OVERLAY","POSITION","SET_BIT","SUBSTRING"],pattern:["REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE"],datatype:["TO_CHAR","TO_DATE","TO_NUMBER","TO_TIMESTAMP"],datetime:["CLOCK_TIMESTAMP","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE_BIN","DATE_PART","DATE_TRUNC","EXTRACT","ISFINITE","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL","LOCALTIME","LOCALTIMESTAMP","MAKE_DATE","MAKE_INTERVAL","MAKE_TIME","MAKE_TIMESTAMP","MAKE_TIMESTAMPTZ","NOW","PG_SLEEP","PG_SLEEP_FOR","PG_SLEEP_UNTIL","STATEMENT_TIMESTAMP","TIMEOFDAY","TO_TIMESTAMP","TRANSACTION_TIMESTAMP"],enum:["ENUM_FIRST","ENUM_LAST","ENUM_RANGE"],geometry:["AREA","BOUND_BOX","BOX","CENTER","CIRCLE","DIAGONAL","DIAMETER","HEIGHT","ISCLOSED","ISOPEN","LENGTH","LINE","LSEG","NPOINTS","PATH","PCLOSE","POINT","POLYGON","POPEN","RADIUS","SLOPE","WIDTH"],network:["ABBREV","BROADCAST","FAMILY","HOST","HOSTMASK","INET_MERGE","INET_SAME_FAMILY","MACADDR8_SET7BIT","MASKLEN","NETMASK","NETWORK","SET_MASKLEN","TEXT","TRUNC"],textsearch:["ARRAY_TO_TSVECTOR","GET_CURRENT_TS_CONFIG","JSONB_TO_TSVECTOR","JSON_TO_TSVECTOR","LENGTH","NUMNODE","PHRASETO_TSQUERY","PLAINTO_TSQUERY","QUERYTREE","SETWEIGHT","STRIP","TO_TSQUERY","TO_TSVECTOR","TSQUERY_PHRASE","TSVECTOR_TO_ARRAY","TS_DEBUG","TS_DELETE","TS_FILTER","TS_HEADLINE","TS_LEXIZE","TS_PARSE","TS_RANK","TS_RANK_CD","TS_REWRITE","TS_STAT","TS_TOKEN_TYPE","WEBSEARCH_TO_TSQUERY"],uuid:["UUID"],xml:["CURSOR_TO_XML","CURSOR_TO_XMLSCHEMA","DATABASE_TO_XML","DATABASE_TO_XMLSCHEMA","DATABASE_TO_XML_AND_XMLSCHEMA","NEXTVAL","QUERY_TO_XML","QUERY_TO_XMLSCHEMA","QUERY_TO_XML_AND_XMLSCHEMA","SCHEMA_TO_XML","SCHEMA_TO_XMLSCHEMA","SCHEMA_TO_XML_AND_XMLSCHEMA","STRING","TABLE_TO_XML","TABLE_TO_XMLSCHEMA","TABLE_TO_XML_AND_XMLSCHEMA","XMLAGG","XMLCOMMENT","XMLCONCAT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLPARSE","XMLPI","XMLROOT","XMLSERIALIZE","XMLTABLE","XML_IS_WELL_FORMED","XML_IS_WELL_FORMED_CONTENT","XML_IS_WELL_FORMED_DOCUMENT","XPATH","XPATH_EXISTS"],json:["ARRAY_TO_JSON","JSONB_AGG","JSONB_ARRAY_ELEMENTS","JSONB_ARRAY_ELEMENTS_TEXT","JSONB_ARRAY_LENGTH","JSONB_BUILD_ARRAY","JSONB_BUILD_OBJECT","JSONB_EACH","JSONB_EACH_TEXT","JSONB_EXTRACT_PATH","JSONB_EXTRACT_PATH_TEXT","JSONB_INSERT","JSONB_OBJECT","JSONB_OBJECT_AGG","JSONB_OBJECT_KEYS","JSONB_PATH_EXISTS","JSONB_PATH_EXISTS_TZ","JSONB_PATH_MATCH","JSONB_PATH_MATCH_TZ","JSONB_PATH_QUERY","JSONB_PATH_QUERY_ARRAY","JSONB_PATH_QUERY_ARRAY_TZ","JSONB_PATH_QUERY_FIRST","JSONB_PATH_QUERY_FIRST_TZ","JSONB_PATH_QUERY_TZ","JSONB_POPULATE_RECORD","JSONB_POPULATE_RECORDSET","JSONB_PRETTY","JSONB_SET","JSONB_SET_LAX","JSONB_STRIP_NULLS","JSONB_TO_RECORD","JSONB_TO_RECORDSET","JSONB_TYPEOF","JSON_AGG","JSON_ARRAY_ELEMENTS","JSON_ARRAY_ELEMENTS_TEXT","JSON_ARRAY_LENGTH","JSON_BUILD_ARRAY","JSON_BUILD_OBJECT","JSON_EACH","JSON_EACH_TEXT","JSON_EXTRACT_PATH","JSON_EXTRACT_PATH_TEXT","JSON_OBJECT","JSON_OBJECT_AGG","JSON_OBJECT_KEYS","JSON_POPULATE_RECORD","JSON_POPULATE_RECORDSET","JSON_STRIP_NULLS","JSON_TO_RECORD","JSON_TO_RECORDSET","JSON_TYPEOF","ROW_TO_JSON","TO_JSON","TO_JSONB","TO_TIMESTAMP"],sequence:["CURRVAL","LASTVAL","NEXTVAL","SETVAL"],conditional:["COALESCE","GREATEST","LEAST","NULLIF"],array:["ARRAY_AGG","ARRAY_APPEND","ARRAY_CAT","ARRAY_DIMS","ARRAY_FILL","ARRAY_LENGTH","ARRAY_LOWER","ARRAY_NDIMS","ARRAY_POSITION","ARRAY_POSITIONS","ARRAY_PREPEND","ARRAY_REMOVE","ARRAY_REPLACE","ARRAY_TO_STRING","ARRAY_UPPER","CARDINALITY","STRING_TO_ARRAY","TRIM_ARRAY","UNNEST"],range:["ISEMPTY","LOWER","LOWER_INC","LOWER_INF","MULTIRANGE","RANGE_MERGE","UPPER","UPPER_INC","UPPER_INF"],aggregate:["ARRAY_AGG","AVG","BIT_AND","BIT_OR","BIT_XOR","BOOL_AND","BOOL_OR","COALESCE","CORR","COUNT","COVAR_POP","COVAR_SAMP","CUME_DIST","DENSE_RANK","EVERY","GROUPING","JSONB_AGG","JSONB_OBJECT_AGG","JSON_AGG","JSON_OBJECT_AGG","MAX","MIN","MODE","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","RANGE_AGG","RANGE_INTERSECT_AGG","RANK","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV","STDDEV_POP","STDDEV_SAMP","STRING_AGG","SUM","TO_JSON","TO_JSONB","VARIANCE","VAR_POP","VAR_SAMP","XMLAGG"],window:["CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER"],set:["GENERATE_SERIES","GENERATE_SUBSCRIPTS"],sysInfo:["ACLDEFAULT","ACLEXPLODE","COL_DESCRIPTION","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_QUERY","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_USER","FORMAT_TYPE","HAS_ANY_COLUMN_PRIVILEGE","HAS_COLUMN_PRIVILEGE","HAS_DATABASE_PRIVILEGE","HAS_FOREIGN_DATA_WRAPPER_PRIVILEGE","HAS_FUNCTION_PRIVILEGE","HAS_LANGUAGE_PRIVILEGE","HAS_SCHEMA_PRIVILEGE","HAS_SEQUENCE_PRIVILEGE","HAS_SERVER_PRIVILEGE","HAS_TABLESPACE_PRIVILEGE","HAS_TABLE_PRIVILEGE","HAS_TYPE_PRIVILEGE","INET_CLIENT_ADDR","INET_CLIENT_PORT","INET_SERVER_ADDR","INET_SERVER_PORT","MAKEACLITEM","OBJ_DESCRIPTION","PG_BACKEND_PID","PG_BLOCKING_PIDS","PG_COLLATION_IS_VISIBLE","PG_CONF_LOAD_TIME","PG_CONTROL_CHECKPOINT","PG_CONTROL_INIT","PG_CONTROL_SYSTEM","PG_CONVERSION_IS_VISIBLE","PG_CURRENT_LOGFILE","PG_CURRENT_SNAPSHOT","PG_CURRENT_XACT_ID","PG_CURRENT_XACT_ID_IF_ASSIGNED","PG_DESCRIBE_OBJECT","PG_FUNCTION_IS_VISIBLE","PG_GET_CATALOG_FOREIGN_KEYS","PG_GET_CONSTRAINTDEF","PG_GET_EXPR","PG_GET_FUNCTIONDEF","PG_GET_FUNCTION_ARGUMENTS","PG_GET_FUNCTION_IDENTITY_ARGUMENTS","PG_GET_FUNCTION_RESULT","PG_GET_INDEXDEF","PG_GET_KEYWORDS","PG_GET_OBJECT_ADDRESS","PG_GET_OWNED_SEQUENCE","PG_GET_RULEDEF","PG_GET_SERIAL_SEQUENCE","PG_GET_STATISTICSOBJDEF","PG_GET_TRIGGERDEF","PG_GET_USERBYID","PG_GET_VIEWDEF","PG_HAS_ROLE","PG_IDENTIFY_OBJECT","PG_IDENTIFY_OBJECT_AS_ADDRESS","PG_INDEXAM_HAS_PROPERTY","PG_INDEX_COLUMN_HAS_PROPERTY","PG_INDEX_HAS_PROPERTY","PG_IS_OTHER_TEMP_SCHEMA","PG_JIT_AVAILABLE","PG_LAST_COMMITTED_XACT","PG_LISTENING_CHANNELS","PG_MY_TEMP_SCHEMA","PG_NOTIFICATION_QUEUE_USAGE","PG_OPCLASS_IS_VISIBLE","PG_OPERATOR_IS_VISIBLE","PG_OPFAMILY_IS_VISIBLE","PG_OPTIONS_TO_TABLE","PG_POSTMASTER_START_TIME","PG_SAFE_SNAPSHOT_BLOCKING_PIDS","PG_SNAPSHOT_XIP","PG_SNAPSHOT_XMAX","PG_SNAPSHOT_XMIN","PG_STATISTICS_OBJ_IS_VISIBLE","PG_TABLESPACE_DATABASES","PG_TABLESPACE_LOCATION","PG_TABLE_IS_VISIBLE","PG_TRIGGER_DEPTH","PG_TS_CONFIG_IS_VISIBLE","PG_TS_DICT_IS_VISIBLE","PG_TS_PARSER_IS_VISIBLE","PG_TS_TEMPLATE_IS_VISIBLE","PG_TYPEOF","PG_TYPE_IS_VISIBLE","PG_VISIBLE_IN_SNAPSHOT","PG_XACT_COMMIT_TIMESTAMP","PG_XACT_COMMIT_TIMESTAMP_ORIGIN","PG_XACT_STATUS","PQSERVERVERSION","ROW_SECURITY_ACTIVE","SESSION_USER","SHOBJ_DESCRIPTION","TO_REGCLASS","TO_REGCOLLATION","TO_REGNAMESPACE","TO_REGOPER","TO_REGOPERATOR","TO_REGPROC","TO_REGPROCEDURE","TO_REGROLE","TO_REGTYPE","TXID_CURRENT","TXID_CURRENT_IF_ASSIGNED","TXID_CURRENT_SNAPSHOT","TXID_SNAPSHOT_XIP","TXID_SNAPSHOT_XMAX","TXID_SNAPSHOT_XMIN","TXID_STATUS","TXID_VISIBLE_IN_SNAPSHOT","USER","VERSION"],sysAdmin:["BRIN_DESUMMARIZE_RANGE","BRIN_SUMMARIZE_NEW_VALUES","BRIN_SUMMARIZE_RANGE","CONVERT_FROM","CURRENT_SETTING","GIN_CLEAN_PENDING_LIST","PG_ADVISORY_LOCK","PG_ADVISORY_LOCK_SHARED","PG_ADVISORY_UNLOCK","PG_ADVISORY_UNLOCK_ALL","PG_ADVISORY_UNLOCK_SHARED","PG_ADVISORY_XACT_LOCK","PG_ADVISORY_XACT_LOCK_SHARED","PG_BACKUP_START_TIME","PG_CANCEL_BACKEND","PG_COLLATION_ACTUAL_VERSION","PG_COLUMN_COMPRESSION","PG_COLUMN_SIZE","PG_COPY_LOGICAL_REPLICATION_SLOT","PG_COPY_PHYSICAL_REPLICATION_SLOT","PG_CREATE_LOGICAL_REPLICATION_SLOT","PG_CREATE_PHYSICAL_REPLICATION_SLOT","PG_CREATE_RESTORE_POINT","PG_CURRENT_WAL_FLUSH_LSN","PG_CURRENT_WAL_INSERT_LSN","PG_CURRENT_WAL_LSN","PG_DATABASE_SIZE","PG_DROP_REPLICATION_SLOT","PG_EXPORT_SNAPSHOT","PG_FILENODE_RELATION","PG_GET_WAL_REPLAY_PAUSE_STATE","PG_IMPORT_SYSTEM_COLLATIONS","PG_INDEXES_SIZE","PG_IS_IN_BACKUP","PG_IS_IN_RECOVERY","PG_IS_WAL_REPLAY_PAUSED","PG_LAST_WAL_RECEIVE_LSN","PG_LAST_WAL_REPLAY_LSN","PG_LAST_XACT_REPLAY_TIMESTAMP","PG_LOGICAL_EMIT_MESSAGE","PG_LOGICAL_SLOT_GET_BINARY_CHANGES","PG_LOGICAL_SLOT_GET_CHANGES","PG_LOGICAL_SLOT_PEEK_BINARY_CHANGES","PG_LOGICAL_SLOT_PEEK_CHANGES","PG_LOG_BACKEND_MEMORY_CONTEXTS","PG_LS_ARCHIVE_STATUSDIR","PG_LS_DIR","PG_LS_LOGDIR","PG_LS_TMPDIR","PG_LS_WALDIR","PG_PARTITION_ANCESTORS","PG_PARTITION_ROOT","PG_PARTITION_TREE","PG_PROMOTE","PG_READ_BINARY_FILE","PG_READ_FILE","PG_RELATION_FILENODE","PG_RELATION_FILEPATH","PG_RELATION_SIZE","PG_RELOAD_CONF","PG_REPLICATION_ORIGIN_ADVANCE","PG_REPLICATION_ORIGIN_CREATE","PG_REPLICATION_ORIGIN_DROP","PG_REPLICATION_ORIGIN_OID","PG_REPLICATION_ORIGIN_PROGRESS","PG_REPLICATION_ORIGIN_SESSION_IS_SETUP","PG_REPLICATION_ORIGIN_SESSION_PROGRESS","PG_REPLICATION_ORIGIN_SESSION_RESET","PG_REPLICATION_ORIGIN_SESSION_SETUP","PG_REPLICATION_ORIGIN_XACT_RESET","PG_REPLICATION_ORIGIN_XACT_SETUP","PG_REPLICATION_SLOT_ADVANCE","PG_ROTATE_LOGFILE","PG_SIZE_BYTES","PG_SIZE_PRETTY","PG_START_BACKUP","PG_STAT_FILE","PG_STOP_BACKUP","PG_SWITCH_WAL","PG_TABLESPACE_SIZE","PG_TABLE_SIZE","PG_TERMINATE_BACKEND","PG_TOTAL_RELATION_SIZE","PG_TRY_ADVISORY_LOCK","PG_TRY_ADVISORY_LOCK_SHARED","PG_TRY_ADVISORY_XACT_LOCK","PG_TRY_ADVISORY_XACT_LOCK_SHARED","PG_WALFILE_NAME","PG_WALFILE_NAME_OFFSET","PG_WAL_LSN_DIFF","PG_WAL_REPLAY_PAUSE","PG_WAL_REPLAY_RESUME","SET_CONFIG"],trigger:["SUPPRESS_REDUNDANT_UPDATES_TRIGGER","TSVECTOR_UPDATE_TRIGGER","TSVECTOR_UPDATE_TRIGGER_COLUMN"],eventTrigger:["PG_EVENT_TRIGGER_DDL_COMMANDS","PG_EVENT_TRIGGER_DROPPED_OBJECTS","PG_EVENT_TRIGGER_TABLE_REWRITE_OID","PG_EVENT_TRIGGER_TABLE_REWRITE_REASON","PG_GET_OBJECT_ADDRESS"],stats:["PG_MCV_LIST_ITEMS"],cast:["CAST"],dataTypes:["BIT","BIT VARYING","CHARACTER","CHARACTER VARYING","VARCHAR","CHAR","DECIMAL","NUMERIC","TIME","TIMESTAMP","ENUM"]}),tY=L({all:["ABORT","ABSOLUTE","ACCESS","ACTION","ADD","ADMIN","AFTER","AGGREGATE","ALL","ALSO","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASENSITIVE","ASSERTION","ASSIGNMENT","ASYMMETRIC","AT","ATOMIC","ATTACH","ATTRIBUTE","AUTHORIZATION","BACKWARD","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BIT","BOOLEAN","BOTH","BREADTH","BY","CACHE","CALL","CALLED","CASCADE","CASCADED","CASE","CAST","CATALOG","CHAIN","CHAR","CHARACTER","CHARACTERISTICS","CHECK","CHECKPOINT","CLASS","CLOSE","CLUSTER","COALESCE","COLLATE","COLLATION","COLUMN","COLUMNS","COMMENT","COMMENTS","COMMIT","COMMITTED","COMPRESSION","CONCURRENTLY","CONFIGURATION","CONFLICT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTENT","CONTINUE","CONVERSION","COPY","COST","CREATE","CROSS","CSV","CUBE","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINER","DELETE","DELIMITER","DELIMITERS","DEPENDS","DEPTH","DESC","DETACH","DICTIONARY","DISABLE","DISCARD","DISTINCT","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","EACH","ELSE","ENABLE","ENCODING","ENCRYPTED","END","ENUM","ESCAPE","EVENT","EXCEPT","EXCLUDE","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXPLAIN","EXPRESSION","EXTENSION","EXTERNAL","EXTRACT","FALSE","FAMILY","FETCH","FILTER","FINALIZE","FIRST","FLOAT","FOLLOWING","FOR","FORCE","FOREIGN","FORWARD","FREEZE","FROM","FULL","FUNCTION","FUNCTIONS","GENERATED","GLOBAL","GRANT","GRANTED","GREATEST","GROUP","GROUPING","GROUPS","HANDLER","HAVING","HEADER","HOLD","HOUR","IDENTITY","IF","ILIKE","IMMEDIATE","IMMUTABLE","IMPLICIT","IMPORT","IN","INCLUDE","INCLUDING","INCREMENT","INDEX","INDEXES","INHERIT","INHERITS","INITIALLY","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSTEAD","INT","INTEGER","INTERSECT","INTERVAL","INTO","INVOKER","IS","ISNULL","ISOLATION","JOIN","KEY","LABEL","LANGUAGE","LARGE","LAST","LATERAL","LEADING","LEAKPROOF","LEAST","LEFT","LEVEL","LIKE","LIMIT","LISTEN","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCK","LOCKED","LOGGED","MAPPING","MATCH","MATERIALIZED","MAXVALUE","METHOD","MINUTE","MINVALUE","MODE","MONTH","MOVE","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NEW","NEXT","NFC","NFD","NFKC","NFKD","NO","NONE","NORMALIZE","NORMALIZED","NOT","NOTHING","NOTIFY","NOTNULL","NOWAIT","NULL","NULLIF","NULLS","NUMERIC","OBJECT","OF","OFF","OFFSET","OIDS","OLD","ON","ONLY","OPERATOR","OPTION","OPTIONS","OR","ORDER","ORDINALITY","OTHERS","OUT","OUTER","OVER","OVERLAPS","OVERLAY","OVERRIDING","OWNED","OWNER","PARALLEL","PARSER","PARTIAL","PARTITION","PASSING","PASSWORD","PLACING","PLANS","POLICY","POSITION","PRECEDING","PRECISION","PREPARE","PREPARED","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROCEDURES","PROGRAM","PUBLICATION","QUOTE","RANGE","READ","REAL","REASSIGN","RECHECK","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REINDEX","RELATIVE","RELEASE","RENAME","REPEATABLE","REPLACE","REPLICA","RESET","RESTART","RESTRICT","RETURN","RETURNING","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROUTINES","ROW","ROWS","RULE","SAVEPOINT","SCHEMA","SCHEMAS","SCROLL","SEARCH","SECOND","SECURITY","SELECT","SEQUENCE","SEQUENCES","SERIALIZABLE","SERVER","SESSION","SESSION_USER","SET","SETOF","SETS","SHARE","SHOW","SIMILAR","SIMPLE","SKIP","SMALLINT","SNAPSHOT","SOME","SQL","STABLE","STANDALONE","START","STATEMENT","STATISTICS","STDIN","STDOUT","STORAGE","STORED","STRICT","STRIP","SUBSCRIPTION","SUBSTRING","SUPPORT","SYMMETRIC","SYSID","SYSTEM","TABLE","TABLES","TABLESAMPLE","TABLESPACE","TEMP","TEMPLATE","TEMPORARY","TEXT","THEN","TIES","TIME","TIMESTAMP","TO","TRAILING","TRANSACTION","TRANSFORM","TREAT","TRIGGER","TRIM","TRUE","TRUNCATE","TRUSTED","TYPE","TYPES","UESCAPE","UNBOUNDED","UNCOMMITTED","UNENCRYPTED","UNION","UNIQUE","UNKNOWN","UNLISTEN","UNLOGGED","UNTIL","UPDATE","USER","USING","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VARCHAR","VARIADIC","VARYING","VERBOSE","VERSION","VIEW","VIEWS","VOLATILE","WHEN","WHERE","WHITESPACE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","XML","XMLATTRIBUTES","XMLCONCAT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLNAMESPACES","XMLPARSE","XMLPI","XMLROOT","XMLSERIALIZE","XMLTABLE","YEAR","YES","ZONE"]}),tk=d(["SELECT [ALL | DISTINCT]"]),tV=d(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","FOR {UPDATE | NO KEY UPDATE | SHARE | KEY SHARE} [OF]","INSERT INTO","VALUES","SET","CREATE [OR REPLACE] [TEMP | TEMPORARY] [RECURSIVE] VIEW","CREATE MATERIALIZED VIEW [IF NOT EXISTS]","CREATE [GLOBAL | LOCAL] [TEMPORARY | TEMP | UNLOGGED] TABLE [IF NOT EXISTS]","RETURNING"]),tW=d(["UPDATE [ONLY]","WHERE CURRENT OF","ON CONFLICT","DELETE FROM [ONLY]","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS] [ONLY]","ALTER TABLE ALL IN TABLESPACE","RENAME [COLUMN]","RENAME TO","ADD [COLUMN] [IF NOT EXISTS]","DROP [COLUMN] [IF EXISTS]","ALTER [COLUMN]","[SET DATA] TYPE","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","TRUNCATE [TABLE] [ONLY]","SET SCHEMA","AFTER","ABORT","ALTER AGGREGATE","ALTER COLLATION","ALTER CONVERSION","ALTER DATABASE","ALTER DEFAULT PRIVILEGES","ALTER DOMAIN","ALTER EVENT TRIGGER","ALTER EXTENSION","ALTER FOREIGN DATA WRAPPER","ALTER FOREIGN TABLE","ALTER FUNCTION","ALTER GROUP","ALTER INDEX","ALTER LANGUAGE","ALTER LARGE OBJECT","ALTER MATERIALIZED VIEW","ALTER OPERATOR","ALTER OPERATOR CLASS","ALTER OPERATOR FAMILY","ALTER POLICY","ALTER PROCEDURE","ALTER PUBLICATION","ALTER ROLE","ALTER ROUTINE","ALTER RULE","ALTER SCHEMA","ALTER SEQUENCE","ALTER SERVER","ALTER STATISTICS","ALTER SUBSCRIPTION","ALTER SYSTEM","ALTER TABLESPACE","ALTER TEXT SEARCH CONFIGURATION","ALTER TEXT SEARCH DICTIONARY","ALTER TEXT SEARCH PARSER","ALTER TEXT SEARCH TEMPLATE","ALTER TRIGGER","ALTER TYPE","ALTER USER","ALTER USER MAPPING","ALTER VIEW","ANALYZE","BEGIN","CALL","CHECKPOINT","CLOSE","CLUSTER","COMMENT","COMMIT","COMMIT PREPARED","COPY","CREATE ACCESS METHOD","CREATE AGGREGATE","CREATE CAST","CREATE COLLATION","CREATE CONVERSION","CREATE DATABASE","CREATE DOMAIN","CREATE EVENT TRIGGER","CREATE EXTENSION","CREATE FOREIGN DATA WRAPPER","CREATE FOREIGN TABLE","CREATE FUNCTION","CREATE GROUP","CREATE INDEX","CREATE LANGUAGE","CREATE OPERATOR","CREATE OPERATOR CLASS","CREATE OPERATOR FAMILY","CREATE POLICY","CREATE PROCEDURE","CREATE PUBLICATION","CREATE ROLE","CREATE RULE","CREATE SCHEMA","CREATE SEQUENCE","CREATE SERVER","CREATE STATISTICS","CREATE SUBSCRIPTION","CREATE TABLESPACE","CREATE TEXT SEARCH CONFIGURATION","CREATE TEXT SEARCH DICTIONARY","CREATE TEXT SEARCH PARSER","CREATE TEXT SEARCH TEMPLATE","CREATE TRANSFORM","CREATE TRIGGER","CREATE TYPE","CREATE USER","CREATE USER MAPPING","DEALLOCATE","DECLARE","DISCARD","DROP ACCESS METHOD","DROP AGGREGATE","DROP CAST","DROP COLLATION","DROP CONVERSION","DROP DATABASE","DROP DOMAIN","DROP EVENT TRIGGER","DROP EXTENSION","DROP FOREIGN DATA WRAPPER","DROP FOREIGN TABLE","DROP FUNCTION","DROP GROUP","DROP INDEX","DROP LANGUAGE","DROP MATERIALIZED VIEW","DROP OPERATOR","DROP OPERATOR CLASS","DROP OPERATOR FAMILY","DROP OWNED","DROP POLICY","DROP PROCEDURE","DROP PUBLICATION","DROP ROLE","DROP ROUTINE","DROP RULE","DROP SCHEMA","DROP SEQUENCE","DROP SERVER","DROP STATISTICS","DROP SUBSCRIPTION","DROP TABLESPACE","DROP TEXT SEARCH CONFIGURATION","DROP TEXT SEARCH DICTIONARY","DROP TEXT SEARCH PARSER","DROP TEXT SEARCH TEMPLATE","DROP TRANSFORM","DROP TRIGGER","DROP TYPE","DROP USER","DROP USER MAPPING","DROP VIEW","EXECUTE","EXPLAIN","FETCH","GRANT","IMPORT FOREIGN SCHEMA","LISTEN","LOAD","LOCK","MOVE","NOTIFY","PREPARE","PREPARE TRANSACTION","REASSIGN OWNED","REFRESH MATERIALIZED VIEW","REINDEX","RELEASE SAVEPOINT","RESET","REVOKE","ROLLBACK","ROLLBACK PREPARED","ROLLBACK TO SAVEPOINT","SAVEPOINT","SECURITY LABEL","SELECT INTO","SET CONSTRAINTS","SET ROLE","SET SESSION AUTHORIZATION","SET TRANSACTION","SHOW","START TRANSACTION","UNLISTEN","VACUUM"]),tX=d(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tK=d(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tz=d(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN","{TIMESTAMP | TIME} {WITH | WITHOUT} TIME ZONE","IS [NOT] DISTINCT FROM"]),tZ={tokenizerOptions:{reservedSelect:tk,reservedClauses:[...tV,...tW],reservedSetOperations:tX,reservedJoins:tK,reservedPhrases:tz,reservedKeywords:tY,reservedFunctionNames:tH,nestedBlockComments:!0,extraParens:["[]"],stringTypes:["$$",{quote:"''-qq",prefixes:["U&"]},{quote:"''-bs",prefixes:["E"],requirePrefix:!0},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:[{quote:'""-qq',prefixes:["U&"]}],identChars:{rest:"$"},paramTypes:{numbered:["$"]},operators:["%","^","|/","||/","@",":=","&","|","#","~","<<",">>","~>~","~<~","~>=~","~<=~","@-@","@@","##","<->","&&","&<","&>","<<|","&<|","|>>","|&>","<^","^>","?#","?-","?|","?-|","?||","@>","<@","~=","?","@?","?&","->","->>","#>","#>>","#-","=>",">>=","<<=","~~","~~*","!~~","!~~*","~","~*","!~","!~*","-|-","||","@@@","!!","<%","%>","<<%","%>>","<<->","<->>","<<<->","<->>>","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:tW}},t$=L({aggregate:["ANY_VALUE","APPROXIMATE PERCENTILE_DISC","AVG","COUNT","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP"],array:["array","array_concat","array_flatten","get_array_length","split_to_array","subarray"],bitwise:["BIT_AND","BIT_OR","BOOL_AND","BOOL_OR"],conditional:["COALESCE","DECODE","GREATEST","LEAST","NVL","NVL2","NULLIF"],dateTime:["ADD_MONTHS","AT TIME ZONE","CONVERT_TIMEZONE","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE_CMP","DATE_CMP_TIMESTAMP","DATE_CMP_TIMESTAMPTZ","DATE_PART_YEAR","DATEADD","DATEDIFF","DATE_PART","DATE_TRUNC","EXTRACT","GETDATE","INTERVAL_CMP","LAST_DAY","MONTHS_BETWEEN","NEXT_DAY","SYSDATE","TIMEOFDAY","TIMESTAMP_CMP","TIMESTAMP_CMP_DATE","TIMESTAMP_CMP_TIMESTAMPTZ","TIMESTAMPTZ_CMP","TIMESTAMPTZ_CMP_DATE","TIMESTAMPTZ_CMP_TIMESTAMP","TIMEZONE","TO_TIMESTAMP","TRUNC"],spatial:["AddBBox","DropBBox","GeometryType","ST_AddPoint","ST_Angle","ST_Area","ST_AsBinary","ST_AsEWKB","ST_AsEWKT","ST_AsGeoJSON","ST_AsText","ST_Azimuth","ST_Boundary","ST_Collect","ST_Contains","ST_ContainsProperly","ST_ConvexHull","ST_CoveredBy","ST_Covers","ST_Crosses","ST_Dimension","ST_Disjoint","ST_Distance","ST_DistanceSphere","ST_DWithin","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_Force2D","ST_Force3D","ST_Force3DM","ST_Force3DZ","ST_Force4D","ST_GeometryN","ST_GeometryType","ST_GeomFromEWKB","ST_GeomFromEWKT","ST_GeomFromText","ST_GeomFromWKB","ST_InteriorRingN","ST_Intersects","ST_IsPolygonCCW","ST_IsPolygonCW","ST_IsClosed","ST_IsCollection","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_Length","ST_LengthSphere","ST_Length2D","ST_LineFromMultiPoint","ST_LineInterpolatePoint","ST_M","ST_MakeEnvelope","ST_MakeLine","ST_MakePoint","ST_MakePolygon","ST_MemSize","ST_MMax","ST_MMin","ST_Multi","ST_NDims","ST_NPoints","ST_NRings","ST_NumGeometries","ST_NumInteriorRings","ST_NumPoints","ST_Perimeter","ST_Perimeter2D","ST_Point","ST_PointN","ST_Points","ST_Polygon","ST_RemovePoint","ST_Reverse","ST_SetPoint","ST_SetSRID","ST_Simplify","ST_SRID","ST_StartPoint","ST_Touches","ST_Within","ST_X","ST_XMax","ST_XMin","ST_Y","ST_YMax","ST_YMin","ST_Z","ST_ZMax","ST_ZMin","SupportsBBox"],hash:["CHECKSUM","FUNC_SHA1","FNV_HASH","MD5","SHA","SHA1","SHA2"],hyperLogLog:["HLL","HLL_CREATE_SKETCH","HLL_CARDINALITY","HLL_COMBINE"],json:["IS_VALID_JSON","IS_VALID_JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_EXTRACT_ARRAY_ELEMENT_TEXT","JSON_EXTRACT_PATH_TEXT","JSON_PARSE","JSON_SERIALIZE"],math:["ABS","ACOS","ASIN","ATAN","ATAN2","CBRT","CEILING","CEIL","COS","COT","DEGREES","DEXP","DLOG1","DLOG10","EXP","FLOOR","LN","LOG","MOD","PI","POWER","RADIANS","RANDOM","ROUND","SIN","SIGN","SQRT","TAN","TO_HEX","TRUNC"],machineLearning:["EXPLAIN_MODEL"],string:["ASCII","BPCHARCMP","BTRIM","BTTEXT_PATTERN_CMP","CHAR_LENGTH","CHARACTER_LENGTH","CHARINDEX","CHR","COLLATE","CONCAT","CRC32","DIFFERENCE","INITCAP","LEFT","RIGHT","LEN","LENGTH","LOWER","LPAD","RPAD","LTRIM","OCTETINDEX","OCTET_LENGTH","POSITION","QUOTE_IDENT","QUOTE_LITERAL","REGEXP_COUNT","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","REPLICATE","REVERSE","RTRIM","SOUNDEX","SPLIT_PART","STRPOS","STRTOL","SUBSTRING","TEXTLEN","TRANSLATE","TRIM","UPPER"],superType:["decimal_precision","decimal_scale","is_array","is_bigint","is_boolean","is_char","is_decimal","is_float","is_integer","is_object","is_scalar","is_smallint","is_varchar","json_typeof"],window:["AVG","COUNT","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAST_VALUE","LAG","LEAD","LISTAGG","MAX","MEDIAN","MIN","NTH_VALUE","NTILE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","RATIO_TO_REPORT","ROW_NUMBER","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP"],dataType:["CAST","CONVERT","TO_CHAR","TO_DATE","TO_NUMBER","TEXT_TO_INT_ALT","TEXT_TO_NUMERIC_ALT"],sysAdmin:["CHANGE_QUERY_PRIORITY","CHANGE_SESSION_PRIORITY","CHANGE_USER_PRIORITY","CURRENT_SETTING","PG_CANCEL_BACKEND","PG_TERMINATE_BACKEND","REBOOT_CLUSTER","SET_CONFIG"],sysInfo:["CURRENT_AWS_ACCOUNT","CURRENT_DATABASE","CURRENT_NAMESPACE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_USER","CURRENT_USER_ID","HAS_ASSUMEROLE_PRIVILEGE","HAS_DATABASE_PRIVILEGE","HAS_SCHEMA_PRIVILEGE","HAS_TABLE_PRIVILEGE","PG_BACKEND_PID","PG_GET_COLS","PG_GET_GRANTEE_BY_IAM_ROLE","PG_GET_IAM_ROLE_BY_USER","PG_GET_LATE_BINDING_VIEW_COLS","PG_LAST_COPY_COUNT","PG_LAST_COPY_ID","PG_LAST_UNLOAD_ID","PG_LAST_QUERY_ID","PG_LAST_UNLOAD_COUNT","SESSION_USER","SLICE_NUM","USER","VERSION"],dataTypes:["DECIMAL","NUMERIC","CHAR","CHARACTER","VARCHAR","CHARACTER VARYING","NCHAR","NVARCHAR","VARBYTE"]}),tJ=L({standard:["AES128","AES256","ALL","ALLOWOVERWRITE","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BOTH","CHECK","COLUMN","CONSTRAINT","CREATE","CROSS","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DESC","DISABLE","DISTINCT","DO","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GROUP","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTO","IS","ISNULL","LANGUAGE","LEADING","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","MINUS","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RECOVER","REFERENCES","REJECTLOG","RESORT","RESPECT","RESTORE","SIMILAR","SNAPSHOT","SOME","SYSTEM","TABLE","TAG","TDES","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","UNIQUE","USING","VERBOSE","WALLET","WITHOUT"],dataConversionParams:["ACCEPTANYDATE","ACCEPTINVCHARS","BLANKSASNULL","DATEFORMAT","EMPTYASNULL","ENCODING","ESCAPE","EXPLICIT_IDS","FILLRECORD","IGNOREBLANKLINES","IGNOREHEADER","REMOVEQUOTES","ROUNDEC","TIMEFORMAT","TRIMBLANKS","TRUNCATECOLUMNS"],dataLoadParams:["COMPROWS","COMPUPDATE","MAXERROR","NOLOAD","STATUPDATE"],dataFormatParams:["FORMAT","CSV","DELIMITER","FIXEDWIDTH","SHAPEFILE","AVRO","JSON","PARQUET","ORC"],copyAuthParams:["ACCESS_KEY_ID","CREDENTIALS","ENCRYPTED","IAM_ROLE","MASTER_SYMMETRIC_KEY","SECRET_ACCESS_KEY","SESSION_TOKEN"],copyCompressionParams:["BZIP2","GZIP","LZOP","ZSTD"],copyMiscParams:["MANIFEST","READRATIO","REGION","SSH"],compressionEncodings:["RAW","AZ64","BYTEDICT","DELTA","DELTA32K","LZO","MOSTLY8","MOSTLY16","MOSTLY32","RUNLENGTH","TEXT255","TEXT32K"],misc:["CATALOG_ROLE","SECRET_ARN","EXTERNAL","AUTO","EVEN","KEY","PREDICATE","COMPRESSION"],dataTypes:["BPCHAR","TEXT"]}),tj=d(["SELECT [ALL | DISTINCT]"]),tq=d(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET","CREATE [OR REPLACE | MATERIALIZED] VIEW","CREATE [TEMPORARY | TEMP | LOCAL TEMPORARY | LOCAL TEMP] TABLE [IF NOT EXISTS]"]),tQ=d(["UPDATE","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ALTER TABLE APPEND","ADD [COLUMN]","DROP [COLUMN]","RENAME TO","RENAME COLUMN","ALTER COLUMN","TYPE","ENCODE","TRUNCATE [TABLE]","ABORT","ALTER DATABASE","ALTER DATASHARE","ALTER DEFAULT PRIVILEGES","ALTER GROUP","ALTER MATERIALIZED VIEW","ALTER PROCEDURE","ALTER SCHEMA","ALTER USER","ANALYSE","ANALYZE","ANALYSE COMPRESSION","ANALYZE COMPRESSION","BEGIN","CALL","CANCEL","CLOSE","COMMENT","COMMIT","COPY","CREATE DATABASE","CREATE DATASHARE","CREATE EXTERNAL FUNCTION","CREATE EXTERNAL SCHEMA","CREATE EXTERNAL TABLE","CREATE FUNCTION","CREATE GROUP","CREATE LIBRARY","CREATE MODEL","CREATE PROCEDURE","CREATE SCHEMA","CREATE USER","DEALLOCATE","DECLARE","DESC DATASHARE","DROP DATABASE","DROP DATASHARE","DROP FUNCTION","DROP GROUP","DROP LIBRARY","DROP MODEL","DROP MATERIALIZED VIEW","DROP PROCEDURE","DROP SCHEMA","DROP USER","DROP VIEW","DROP","EXECUTE","EXPLAIN","FETCH","GRANT","LOCK","PREPARE","REFRESH MATERIALIZED VIEW","RESET","REVOKE","ROLLBACK","SELECT INTO","SET SESSION AUTHORIZATION","SET SESSION CHARACTERISTICS","SHOW","SHOW EXTERNAL TABLE","SHOW MODEL","SHOW DATASHARES","SHOW PROCEDURE","SHOW TABLE","SHOW VIEW","START TRANSACTION","UNLOAD","VACUUM"]),t0=d(["UNION [ALL]","EXCEPT","INTERSECT","MINUS"]),t1=d(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),t2=d(["NULL AS","DATA CATALOG","HIVE METASTORE","{ROWS | RANGE} BETWEEN"]),t5={tokenizerOptions:{reservedSelect:tj,reservedClauses:[...tq,...tQ],reservedSetOperations:t0,reservedJoins:t1,reservedPhrases:t2,reservedKeywords:tJ,reservedFunctionNames:t$,stringTypes:["''-qq"],identTypes:['""-qq'],identChars:{first:"#"},paramTypes:{numbered:["$"]},operators:["^","%","@","|/","||/","&","|","~","<<",">>","||","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:tQ}},t6=L({all:["ADD","AFTER","ALL","ALTER","ANALYZE","AND","ANTI","ANY","ARCHIVE","ARRAY","AS","ASC","AT","AUTHORIZATION","BETWEEN","BOTH","BUCKET","BUCKETS","BY","CACHE","CASCADE","CAST","CHANGE","CHECK","CLEAR","CLUSTER","CLUSTERED","CODEGEN","COLLATE","COLLECTION","COLUMN","COLUMNS","COMMENT","COMMIT","COMPACT","COMPACTIONS","COMPUTE","CONCATENATE","CONSTRAINT","COST","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DATA","DATABASE","DATABASES","DAY","DBPROPERTIES","DEFINED","DELETE","DELIMITED","DESC","DESCRIBE","DFS","DIRECTORIES","DIRECTORY","DISTINCT","DISTRIBUTE","DIV","DROP","ESCAPE","ESCAPED","EXCEPT","EXCHANGE","EXISTS","EXPORT","EXTENDED","EXTERNAL","EXTRACT","FALSE","FETCH","FIELDS","FILTER","FILEFORMAT","FIRST","FIRST_VALUE","FOLLOWING","FOR","FOREIGN","FORMAT","FORMATTED","FULL","FUNCTION","FUNCTIONS","GLOBAL","GRANT","GROUP","GROUPING","HOUR","IF","IGNORE","IMPORT","IN","INDEX","INDEXES","INNER","INPATH","INPUTFORMAT","INTERSECT","INTERVAL","INTO","IS","ITEMS","KEYS","LAST","LAST_VALUE","LATERAL","LAZY","LEADING","LEFT","LIKE","LINES","LIST","LOCAL","LOCATION","LOCK","LOCKS","LOGICAL","MACRO","MAP","MATCHED","MERGE","MINUTE","MONTH","MSCK","NAMESPACE","NAMESPACES","NATURAL","NO","NOT","NULL","NULLS","OF","ONLY","OPTION","OPTIONS","OR","ORDER","OUT","OUTER","OUTPUTFORMAT","OVER","OVERLAPS","OVERLAY","OVERWRITE","OWNER","PARTITION","PARTITIONED","PARTITIONS","PERCENT","PLACING","POSITION","PRECEDING","PRIMARY","PRINCIPALS","PROPERTIES","PURGE","QUERY","RANGE","RECORDREADER","RECORDWRITER","RECOVER","REDUCE","REFERENCES","RENAME","REPAIR","REPLACE","RESPECT","RESTRICT","REVOKE","RIGHT","RLIKE","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","SCHEMA","SECOND","SELECT","SEMI","SEPARATED","SERDE","SERDEPROPERTIES","SESSION_USER","SETS","SHOW","SKEWED","SOME","SORT","SORTED","START","STATISTICS","STORED","STRATIFY","STRUCT","SUBSTR","SUBSTRING","TABLE","TABLES","TBLPROPERTIES","TEMPORARY","TERMINATED","THEN","TO","TOUCH","TRAILING","TRANSACTION","TRANSACTIONS","TRIM","TRUE","TRUNCATE","UNARCHIVE","UNBOUNDED","UNCACHE","UNIQUE","UNKNOWN","UNLOCK","UNSET","USE","USER","USING","VIEW","WINDOW","YEAR","ANALYSE","ARRAY_ZIP","COALESCE","CONTAINS","CONVERT","DAYS","DAY_HOUR","DAY_MINUTE","DAY_SECOND","DECODE","DEFAULT","DISTINCTROW","ENCODE","EXPLODE","EXPLODE_OUTER","FIXED","GREATEST","GROUP_CONCAT","HOURS","HOUR_MINUTE","HOUR_SECOND","IFNULL","LEAST","LEVEL","MINUTE_SECOND","NULLIF","OFFSET","ON","OPTIMIZE","REGEXP","SEPARATOR","SIZE","STRING","TYPE","TYPES","UNSIGNED","VARIABLES","YEAR_MONTH"]}),t3=L({aggregate:["APPROX_COUNT_DISTINCT","APPROX_PERCENTILE","AVG","BIT_AND","BIT_OR","BIT_XOR","BOOL_AND","BOOL_OR","COLLECT_LIST","COLLECT_SET","CORR","COUNT","COUNT","COUNT","COUNT_IF","COUNT_MIN_SKETCH","COVAR_POP","COVAR_SAMP","EVERY","FIRST","FIRST_VALUE","GROUPING","GROUPING_ID","KURTOSIS","LAST","LAST_VALUE","MAX","MAX_BY","MEAN","MIN","MIN_BY","PERCENTILE","PERCENTILE","PERCENTILE_APPROX","SKEWNESS","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],window:["CUME_DIST","DENSE_RANK","LAG","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER"],array:["ARRAY","ARRAY_CONTAINS","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_INTERSECT","ARRAY_JOIN","ARRAY_MAX","ARRAY_MIN","ARRAY_POSITION","ARRAY_REMOVE","ARRAY_REPEAT","ARRAY_UNION","ARRAYS_OVERLAP","ARRAYS_ZIP","FLATTEN","SEQUENCE","SHUFFLE","SLICE","SORT_ARRAY"],map:["ELEMENT_AT","ELEMENT_AT","MAP","MAP_CONCAT","MAP_ENTRIES","MAP_FROM_ARRAYS","MAP_FROM_ENTRIES","MAP_KEYS","MAP_VALUES","STR_TO_MAP"],datetime:["ADD_MONTHS","CURRENT_DATE","CURRENT_DATE","CURRENT_TIMESTAMP","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","DATE_ADD","DATE_FORMAT","DATE_FROM_UNIX_DATE","DATE_PART","DATE_SUB","DATE_TRUNC","DATEDIFF","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","EXTRACT","FROM_UNIXTIME","FROM_UTC_TIMESTAMP","HOUR","LAST_DAY","MAKE_DATE","MAKE_DT_INTERVAL","MAKE_INTERVAL","MAKE_TIMESTAMP","MAKE_YM_INTERVAL","MINUTE","MONTH","MONTHS_BETWEEN","NEXT_DAY","NOW","QUARTER","SECOND","SESSION_WINDOW","TIMESTAMP_MICROS","TIMESTAMP_MILLIS","TIMESTAMP_SECONDS","TO_DATE","TO_TIMESTAMP","TO_UNIX_TIMESTAMP","TO_UTC_TIMESTAMP","TRUNC","UNIX_DATE","UNIX_MICROS","UNIX_MILLIS","UNIX_SECONDS","UNIX_TIMESTAMP","WEEKDAY","WEEKOFYEAR","WINDOW","YEAR"],json:["FROM_JSON","GET_JSON_OBJECT","JSON_ARRAY_LENGTH","JSON_OBJECT_KEYS","JSON_TUPLE","SCHEMA_OF_JSON","TO_JSON"],misc:["ABS","ACOS","ACOSH","AGGREGATE","ARRAY_SORT","ASCII","ASIN","ASINH","ASSERT_TRUE","ATAN","ATAN2","ATANH","BASE64","BIGINT","BIN","BINARY","BIT_COUNT","BIT_GET","BIT_LENGTH","BOOLEAN","BROUND","BTRIM","CARDINALITY","CBRT","CEIL","CEILING","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONV","COS","COSH","COT","CRC32","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_USER","DATE","DECIMAL","DEGREES","DOUBLE","ELT","EXP","EXPM1","FACTORIAL","FIND_IN_SET","FLOAT","FLOOR","FORALL","FORMAT_NUMBER","FORMAT_STRING","FROM_CSV","GETBIT","HASH","HEX","HYPOT","INITCAP","INLINE","INLINE_OUTER","INPUT_FILE_BLOCK_LENGTH","INPUT_FILE_BLOCK_START","INPUT_FILE_NAME","INSTR","INT","ISNAN","ISNOTNULL","ISNULL","JAVA_METHOD","LCASE","LEFT","LENGTH","LEVENSHTEIN","LN","LOCATE","LOG","LOG10","LOG1P","LOG2","LOWER","LPAD","LTRIM","MAP_FILTER","MAP_ZIP_WITH","MD5","MOD","MONOTONICALLY_INCREASING_ID","NAMED_STRUCT","NANVL","NEGATIVE","NVL","NVL2","OCTET_LENGTH","OVERLAY","PARSE_URL","PI","PMOD","POSEXPLODE","POSEXPLODE_OUTER","POSITION","POSITIVE","POW","POWER","PRINTF","RADIANS","RAISE_ERROR","RAND","RANDN","RANDOM","REFLECT","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_LIKE","REGEXP_REPLACE","REPEAT","REPLACE","REVERSE","RIGHT","RINT","ROUND","RPAD","RTRIM","SCHEMA_OF_CSV","SENTENCES","SHA","SHA1","SHA2","SHIFTLEFT","SHIFTRIGHT","SHIFTRIGHTUNSIGNED","SIGN","SIGNUM","SIN","SINH","SMALLINT","SOUNDEX","SPACE","SPARK_PARTITION_ID","SPLIT","SQRT","STACK","SUBSTR","SUBSTRING","SUBSTRING_INDEX","TAN","TANH","TIMESTAMP","TINYINT","TO_CSV","TRANSFORM_KEYS","TRANSFORM_VALUES","TRANSLATE","TRIM","TRY_ADD","TRY_DIVIDE","TYPEOF","UCASE","UNBASE64","UNHEX","UPPER","UUID","VERSION","WIDTH_BUCKET","XPATH","XPATH_BOOLEAN","XPATH_DOUBLE","XPATH_FLOAT","XPATH_INT","XPATH_LONG","XPATH_NUMBER","XPATH_SHORT","XPATH_STRING","XXHASH64","ZIP_WITH"],cast:["CAST"],caseAbbrev:["COALESCE","NULLIF"],dataTypes:["DECIMAL","DEC","NUMERIC","VARCHAR"]}),t4=d(["SELECT [ALL | DISTINCT]"]),t8=d(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","SORT BY","CLUSTER BY","DISTRIBUTE BY","LIMIT","INSERT [INTO | OVERWRITE] [TABLE]","VALUES","INSERT OVERWRITE [LOCAL] DIRECTORY","LOAD DATA [LOCAL] INPATH","[OVERWRITE] INTO TABLE","CREATE [OR REPLACE] [GLOBAL TEMPORARY | TEMPORARY] VIEW [IF NOT EXISTS]","CREATE [EXTERNAL] TABLE [IF NOT EXISTS]"]),t9=d(["DROP TABLE [IF EXISTS]","ALTER TABLE","ADD COLUMNS","DROP {COLUMN | COLUMNS}","RENAME TO","RENAME COLUMN","ALTER COLUMN","TRUNCATE TABLE","LATERAL VIEW","ALTER DATABASE","ALTER VIEW","CREATE DATABASE","CREATE FUNCTION","DROP DATABASE","DROP FUNCTION","DROP VIEW","REPAIR TABLE","USE DATABASE","TABLESAMPLE","PIVOT","TRANSFORM","EXPLAIN","ADD FILE","ADD JAR","ANALYZE TABLE","CACHE TABLE","CLEAR CACHE","DESCRIBE DATABASE","DESCRIBE FUNCTION","DESCRIBE QUERY","DESCRIBE TABLE","LIST FILE","LIST JAR","REFRESH","REFRESH TABLE","REFRESH FUNCTION","RESET","SHOW COLUMNS","SHOW CREATE TABLE","SHOW DATABASES","SHOW FUNCTIONS","SHOW PARTITIONS","SHOW TABLE EXTENDED","SHOW TABLES","SHOW TBLPROPERTIES","SHOW VIEWS","UNCACHE TABLE"]),t7=d(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),et=d(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","[LEFT] {ANTI | SEMI} JOIN","NATURAL [LEFT] {ANTI | SEMI} JOIN"]),ee=d(["ON DELETE","ON UPDATE","CURRENT ROW","{ROWS | RANGE} BETWEEN"]),en={tokenizerOptions:{reservedSelect:t4,reservedClauses:[...t8,...t9],reservedSetOperations:t7,reservedJoins:et,reservedPhrases:ee,supportsXor:!0,reservedKeywords:t6,reservedFunctionNames:t3,extraParens:["[]"],stringTypes:["''-bs",'""-bs',{quote:"''-raw",prefixes:["R","X"],requirePrefix:!0},{quote:'""-raw',prefixes:["R","X"],requirePrefix:!0}],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||","->"],postProcess:function(t){return t.map((e,n)=>{let r=t[n-1]||E,o=t[n+1]||E;return p.WINDOW(e)&&o.type===i.OPEN_PAREN?{...e,type:i.RESERVED_FUNCTION_NAME}:"ITEMS"!==e.text||e.type!==i.RESERVED_KEYWORD||"COLLECTION"===r.text&&"TERMINATED"===o.text?e:{...e,type:i.IDENTIFIER,text:e.raw}})}},formatOptions:{onelineClauses:t9}},ei=L({scalar:["ABS","CHANGES","CHAR","COALESCE","FORMAT","GLOB","HEX","IFNULL","IIF","INSTR","LAST_INSERT_ROWID","LENGTH","LIKE","LIKELIHOOD","LIKELY","LOAD_EXTENSION","LOWER","LTRIM","NULLIF","PRINTF","QUOTE","RANDOM","RANDOMBLOB","REPLACE","ROUND","RTRIM","SIGN","SOUNDEX","SQLITE_COMPILEOPTION_GET","SQLITE_COMPILEOPTION_USED","SQLITE_OFFSET","SQLITE_SOURCE_ID","SQLITE_VERSION","SUBSTR","SUBSTRING","TOTAL_CHANGES","TRIM","TYPEOF","UNICODE","UNLIKELY","UPPER","ZEROBLOB"],aggregate:["AVG","COUNT","GROUP_CONCAT","MAX","MIN","SUM","TOTAL"],datetime:["DATE","TIME","DATETIME","JULIANDAY","UNIXEPOCH","STRFTIME"],window:["row_number","rank","dense_rank","percent_rank","cume_dist","ntile","lag","lead","first_value","last_value","nth_value"],math:["ACOS","ACOSH","ASIN","ASINH","ATAN","ATAN2","ATANH","CEIL","CEILING","COS","COSH","DEGREES","EXP","FLOOR","LN","LOG","LOG","LOG10","LOG2","MOD","PI","POW","POWER","RADIANS","SIN","SINH","SQRT","TAN","TANH","TRUNC"],json:["JSON","JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_ARRAY_LENGTH","JSON_EXTRACT","JSON_INSERT","JSON_OBJECT","JSON_PATCH","JSON_REMOVE","JSON_REPLACE","JSON_SET","JSON_TYPE","JSON_TYPE","JSON_VALID","JSON_QUOTE","JSON_GROUP_ARRAY","JSON_GROUP_OBJECT","JSON_EACH","JSON_TREE"],cast:["CAST"],dataTypes:["CHARACTER","VARCHAR","VARYING CHARACTER","NCHAR","NATIVE CHARACTER","NVARCHAR","NUMERIC","DECIMAL"]}),er=L({all:["ABORT","ACTION","ADD","AFTER","ALL","ALTER","AND","ANY","ARE","ARRAY","ALWAYS","ANALYZE","AS","ASC","ATTACH","AUTOINCREMENT","BEFORE","BEGIN","BETWEEN","BY","CASCADE","CASE","CAST","CHECK","COLLATE","COLUMN","COMMIT","CONFLICT","CONSTRAINT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATABASE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DETACH","DISTINCT","DO","DROP","EACH","ELSE","END","ESCAPE","EXCEPT","EXCLUDE","EXCLUSIVE","EXISTS","EXPLAIN","FAIL","FILTER","FIRST","FOLLOWING","FOR","FOREIGN","FROM","FULL","GENERATED","GLOB","GROUP","GROUPS","HAVING","IF","IGNORE","IMMEDIATE","IN","INDEX","INDEXED","INITIALLY","INNER","INSERT","INSTEAD","INTERSECT","INTO","IS","ISNULL","JOIN","KEY","LAST","LEFT","LIKE","LIMIT","MATCH","MATERIALIZED","NATURAL","NO","NOT","NOTHING","NOTNULL","NULL","NULLS","OF","OFFSET","ON","ONLY","OPEN","OR","ORDER","OTHERS","OUTER","OVER","PARTITION","PLAN","PRAGMA","PRECEDING","PRIMARY","QUERY","RAISE","RANGE","RECURSIVE","REFERENCES","REGEXP","REINDEX","RELEASE","RENAME","REPLACE","RESTRICT","RETURNING","RIGHT","ROLLBACK","ROW","ROWS","SAVEPOINT","SELECT","SET","TABLE","TEMP","TEMPORARY","THEN","TIES","TO","TRANSACTION","TRIGGER","UNBOUNDED","UNION","UNIQUE","UPDATE","USING","VACUUM","VALUES","VIEW","VIRTUAL","WHEN","WHERE","WINDOW","WITH","WITHOUT"]}),eo=d(["SELECT [ALL | DISTINCT]"]),ea=d(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [OR ABORT | OR FAIL | OR IGNORE | OR REPLACE | OR ROLLBACK] INTO","REPLACE INTO","VALUES","SET","CREATE [TEMPORARY | TEMP] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY | TEMP] TABLE [IF NOT EXISTS]"]),es=d(["UPDATE [OR ABORT | OR FAIL | OR IGNORE | OR REPLACE | OR ROLLBACK]","ON CONFLICT","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME [COLUMN]","RENAME TO","SET SCHEMA"]),el=d(["UNION [ALL]","EXCEPT","INTERSECT"]),eu=d(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),ec=d(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN"]),eE={tokenizerOptions:{reservedSelect:eo,reservedClauses:[...ea,...es],reservedSetOperations:el,reservedJoins:eu,reservedPhrases:ec,reservedKeywords:er,reservedFunctionNames:ei,stringTypes:["''-qq",{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``","[]"],paramTypes:{positional:!0,numbered:["?"],named:[":","@","$"]},operators:["%","~","&","|","<<",">>","==","->","->>","||"]},formatOptions:{onelineClauses:es}},eh=L({set:["GROUPING"],window:["RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","ROW_NUMBER"],numeric:["POSITION","OCCURRENCES_REGEX","POSITION_REGEX","EXTRACT","CHAR_LENGTH","CHARACTER_LENGTH","OCTET_LENGTH","CARDINALITY","ABS","MOD","LN","EXP","POWER","SQRT","FLOOR","CEIL","CEILING","WIDTH_BUCKET"],string:["SUBSTRING","SUBSTRING_REGEX","UPPER","LOWER","CONVERT","TRANSLATE","TRANSLATE_REGEX","TRIM","OVERLAY","NORMALIZE","SPECIFICTYPE"],datetime:["CURRENT_DATE","CURRENT_TIME","LOCALTIME","CURRENT_TIMESTAMP","LOCALTIMESTAMP"],aggregate:["COUNT","AVG","MAX","MIN","SUM","STDDEV_POP","STDDEV_SAMP","VAR_SAMP","VAR_POP","COLLECT","FUSION","INTERSECTION","COVAR_POP","COVAR_SAMP","CORR","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","PERCENTILE_CONT","PERCENTILE_DISC"],cast:["CAST"],caseAbbrev:["COALESCE","NULLIF"],nonStandard:["ROUND","SIN","COS","TAN","ASIN","ACOS","ATAN"],dataTypes:["CHARACTER","CHAR","CHARACTER VARYING","CHAR VARYING","VARCHAR","CHARACTER LARGE OBJECT","CHAR LARGE OBJECT","CLOB","NATIONAL CHARACTER","NATIONAL CHAR","NCHAR","NATIONAL CHARACTER VARYING","NATIONAL CHAR VARYING","NCHAR VARYING","NATIONAL CHARACTER LARGE OBJECT","NCHAR LARGE OBJECT","NCLOB","BINARY","BINARY VARYING","VARBINARY","BINARY LARGE OBJECT","BLOB","NUMERIC","DECIMAL","DEC","TIME","TIMESTAMP"]}),ep=L({all:["ALL","ALLOCATE","ALTER","ANY","ARE","ARRAY","AS","ASENSITIVE","ASYMMETRIC","AT","ATOMIC","AUTHORIZATION","BEGIN","BETWEEN","BIGINT","BINARY","BLOB","BOOLEAN","BOTH","BY","CALL","CALLED","CASCADED","CAST","CHAR","CHARACTER","CHECK","CLOB","CLOSE","COALESCE","COLLATE","COLUMN","COMMIT","CONDITION","CONNECT","CONSTRAINT","CORRESPONDING","CREATE","CROSS","CUBE","CURRENT","CURRENT_CATALOG","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_PATH","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CYCLE","DATE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DELETE","DEREF","DESCRIBE","DETERMINISTIC","DISCONNECT","DISTINCT","DOUBLE","DROP","DYNAMIC","EACH","ELEMENT","END-EXEC","ESCAPE","EVERY","EXCEPT","EXEC","EXECUTE","EXISTS","EXTERNAL","FALSE","FETCH","FILTER","FLOAT","FOR","FOREIGN","FREE","FROM","FULL","FUNCTION","GET","GLOBAL","GRANT","GROUP","HAVING","HOLD","HOUR","IDENTITY","IN","INDICATOR","INNER","INOUT","INSENSITIVE","INSERT","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","LANGUAGE","LARGE","LATERAL","LEADING","LEFT","LIKE","LIKE_REGEX","LOCAL","MATCH","MEMBER","MERGE","METHOD","MINUTE","MODIFIES","MODULE","MONTH","MULTISET","NATIONAL","NATURAL","NCHAR","NCLOB","NEW","NO","NONE","NOT","NULL","NULLIF","NUMERIC","OF","OLD","ON","ONLY","OPEN","ORDER","OUT","OUTER","OVER","OVERLAPS","PARAMETER","PARTITION","PRECISION","PREPARE","PRIMARY","PROCEDURE","RANGE","READS","REAL","RECURSIVE","REF","REFERENCES","REFERENCING","RELEASE","RESULT","RETURN","RETURNS","REVOKE","RIGHT","ROLLBACK","ROLLUP","ROW","ROWS","SAVEPOINT","SCOPE","SCROLL","SEARCH","SECOND","SELECT","SENSITIVE","SESSION_USER","SET","SIMILAR","SMALLINT","SOME","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","START","STATIC","SUBMULTISET","SYMMETRIC","SYSTEM","SYSTEM_USER","TABLE","TABLESAMPLE","THEN","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSLATION","TREAT","TRIGGER","TRUE","UESCAPE","UNION","UNIQUE","UNKNOWN","UNNEST","UPDATE","USER","USING","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","WHENEVER","WINDOW","WITHIN","WITHOUT","YEAR"]}),eT=d(["SELECT [ALL | DISTINCT]"]),ef=d(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","CREATE [RECURSIVE] VIEW","CREATE [GLOBAL TEMPORARY | LOCAL TEMPORARY] TABLE"]),ed=d(["UPDATE","WHERE CURRENT OF","DELETE FROM","DROP TABLE","ALTER TABLE","ADD COLUMN","DROP [COLUMN]","RENAME COLUMN","RENAME TO","ALTER [COLUMN]","{SET | DROP} DEFAULT","ADD SCOPE","DROP SCOPE {CASCADE | RESTRICT}","RESTART WITH","TRUNCATE TABLE","SET SCHEMA"]),eA=d(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),eS=d(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),eR=d(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),eg={tokenizerOptions:{reservedSelect:eT,reservedClauses:[...ef,...ed],reservedSetOperations:eA,reservedJoins:eS,reservedPhrases:eR,reservedKeywords:ep,reservedFunctionNames:eh,stringTypes:[{quote:"''-qq-bs",prefixes:["N","U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``"],paramTypes:{positional:!0},operators:["||"]},formatOptions:{onelineClauses:ed}},eI=L({all:["ABS","ACOS","ALL_MATCH","ANY_MATCH","APPROX_DISTINCT","APPROX_MOST_FREQUENT","APPROX_PERCENTILE","APPROX_SET","ARBITRARY","ARRAYS_OVERLAP","ARRAY_AGG","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_INTERSECT","ARRAY_JOIN","ARRAY_MAX","ARRAY_MIN","ARRAY_POSITION","ARRAY_REMOVE","ARRAY_SORT","ARRAY_UNION","ASIN","ATAN","ATAN2","AT_TIMEZONE","AVG","BAR","BETA_CDF","BING_TILE","BING_TILES_AROUND","BING_TILE_AT","BING_TILE_COORDINATES","BING_TILE_POLYGON","BING_TILE_QUADKEY","BING_TILE_ZOOM_LEVEL","BITWISE_AND","BITWISE_AND_AGG","BITWISE_LEFT_SHIFT","BITWISE_NOT","BITWISE_OR","BITWISE_OR_AGG","BITWISE_RIGHT_SHIFT","BITWISE_RIGHT_SHIFT_ARITHMETIC","BITWISE_XOR","BIT_COUNT","BOOL_AND","BOOL_OR","CARDINALITY","CAST","CBRT","CEIL","CEILING","CHAR2HEXINT","CHECKSUM","CHR","CLASSIFY","COALESCE","CODEPOINT","COLOR","COMBINATIONS","CONCAT","CONCAT_WS","CONTAINS","CONTAINS_SEQUENCE","CONVEX_HULL_AGG","CORR","COS","COSH","COSINE_SIMILARITY","COUNT","COUNT_IF","COVAR_POP","COVAR_SAMP","CRC32","CUME_DIST","CURRENT_CATALOG","CURRENT_DATE","CURRENT_GROUPS","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_USER","DATE","DATE_ADD","DATE_DIFF","DATE_FORMAT","DATE_PARSE","DATE_TRUNC","DAY","DAY_OF_MONTH","DAY_OF_WEEK","DAY_OF_YEAR","DEGREES","DENSE_RANK","DOW","DOY","E","ELEMENT_AT","EMPTY_APPROX_SET","EVALUATE_CLASSIFIER_PREDICTIONS","EVERY","EXP","EXTRACT","FEATURES","FILTER","FIRST_VALUE","FLATTEN","FLOOR","FORMAT","FORMAT_DATETIME","FORMAT_NUMBER","FROM_BASE","FROM_BASE32","FROM_BASE64","FROM_BASE64URL","FROM_BIG_ENDIAN_32","FROM_BIG_ENDIAN_64","FROM_ENCODED_POLYLINE","FROM_GEOJSON_GEOMETRY","FROM_HEX","FROM_IEEE754_32","FROM_IEEE754_64","FROM_ISO8601_DATE","FROM_ISO8601_TIMESTAMP","FROM_ISO8601_TIMESTAMP_NANOS","FROM_UNIXTIME","FROM_UNIXTIME_NANOS","FROM_UTF8","GEOMETRIC_MEAN","GEOMETRY_FROM_HADOOP_SHAPE","GEOMETRY_INVALID_REASON","GEOMETRY_NEAREST_POINTS","GEOMETRY_TO_BING_TILES","GEOMETRY_UNION","GEOMETRY_UNION_AGG","GREATEST","GREAT_CIRCLE_DISTANCE","HAMMING_DISTANCE","HASH_COUNTS","HISTOGRAM","HMAC_MD5","HMAC_SHA1","HMAC_SHA256","HMAC_SHA512","HOUR","HUMAN_READABLE_SECONDS","IF","INDEX","INFINITY","INTERSECTION_CARDINALITY","INVERSE_BETA_CDF","INVERSE_NORMAL_CDF","IS_FINITE","IS_INFINITE","IS_JSON_SCALAR","IS_NAN","JACCARD_INDEX","JSON_ARRAY_CONTAINS","JSON_ARRAY_GET","JSON_ARRAY_LENGTH","JSON_EXISTS","JSON_EXTRACT","JSON_EXTRACT_SCALAR","JSON_FORMAT","JSON_PARSE","JSON_QUERY","JSON_SIZE","JSON_VALUE","KURTOSIS","LAG","LAST_DAY_OF_MONTH","LAST_VALUE","LEAD","LEARN_CLASSIFIER","LEARN_LIBSVM_CLASSIFIER","LEARN_LIBSVM_REGRESSOR","LEARN_REGRESSOR","LEAST","LENGTH","LEVENSHTEIN_DISTANCE","LINE_INTERPOLATE_POINT","LINE_INTERPOLATE_POINTS","LINE_LOCATE_POINT","LISTAGG","LN","LOCALTIME","LOCALTIMESTAMP","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","LUHN_CHECK","MAKE_SET_DIGEST","MAP","MAP_AGG","MAP_CONCAT","MAP_ENTRIES","MAP_FILTER","MAP_FROM_ENTRIES","MAP_KEYS","MAP_UNION","MAP_VALUES","MAP_ZIP_WITH","MAX","MAX_BY","MD5","MERGE","MERGE_SET_DIGEST","MILLISECOND","MIN","MINUTE","MIN_BY","MOD","MONTH","MULTIMAP_AGG","MULTIMAP_FROM_ENTRIES","MURMUR3","NAN","NGRAMS","NONE_MATCH","NORMALIZE","NORMAL_CDF","NOW","NTH_VALUE","NTILE","NULLIF","NUMERIC_HISTOGRAM","OBJECTID","OBJECTID_TIMESTAMP","PARSE_DATA_SIZE","PARSE_DATETIME","PARSE_DURATION","PERCENT_RANK","PI","POSITION","POW","POWER","QDIGEST_AGG","QUARTER","RADIANS","RAND","RANDOM","RANK","REDUCE","REDUCE_AGG","REGEXP_COUNT","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_LIKE","REGEXP_POSITION","REGEXP_REPLACE","REGEXP_SPLIT","REGRESS","REGR_INTERCEPT","REGR_SLOPE","RENDER","REPEAT","REPLACE","REVERSE","RGB","ROUND","ROW_NUMBER","RPAD","RTRIM","SECOND","SEQUENCE","SHA1","SHA256","SHA512","SHUFFLE","SIGN","SIMPLIFY_GEOMETRY","SIN","SKEWNESS","SLICE","SOUNDEX","SPATIAL_PARTITIONING","SPATIAL_PARTITIONS","SPLIT","SPLIT_PART","SPLIT_TO_MAP","SPLIT_TO_MULTIMAP","SPOOKY_HASH_V2_32","SPOOKY_HASH_V2_64","SQRT","STARTS_WITH","STDDEV","STDDEV_POP","STDDEV_SAMP","STRPOS","ST_AREA","ST_ASBINARY","ST_ASTEXT","ST_BOUNDARY","ST_BUFFER","ST_CENTROID","ST_CONTAINS","ST_CONVEXHULL","ST_COORDDIM","ST_CROSSES","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_ENDPOINT","ST_ENVELOPE","ST_ENVELOPEASPTS","ST_EQUALS","ST_EXTERIORRING","ST_GEOMETRIES","ST_GEOMETRYFROMTEXT","ST_GEOMETRYN","ST_GEOMETRYTYPE","ST_GEOMFROMBINARY","ST_INTERIORRINGN","ST_INTERIORRINGS","ST_INTERSECTION","ST_INTERSECTS","ST_ISCLOSED","ST_ISEMPTY","ST_ISRING","ST_ISSIMPLE","ST_ISVALID","ST_LENGTH","ST_LINEFROMTEXT","ST_LINESTRING","ST_MULTIPOINT","ST_NUMGEOMETRIES","ST_NUMINTERIORRING","ST_NUMPOINTS","ST_OVERLAPS","ST_POINT","ST_POINTN","ST_POINTS","ST_POLYGON","ST_RELATE","ST_STARTPOINT","ST_SYMDIFFERENCE","ST_TOUCHES","ST_UNION","ST_WITHIN","ST_X","ST_XMAX","ST_XMIN","ST_Y","ST_YMAX","ST_YMIN","SUBSTR","SUBSTRING","SUM","TAN","TANH","TDIGEST_AGG","TIMESTAMP_OBJECTID","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO_BASE","TO_BASE32","TO_BASE64","TO_BASE64URL","TO_BIG_ENDIAN_32","TO_BIG_ENDIAN_64","TO_CHAR","TO_DATE","TO_ENCODED_POLYLINE","TO_GEOJSON_GEOMETRY","TO_GEOMETRY","TO_HEX","TO_IEEE754_32","TO_IEEE754_64","TO_ISO8601","TO_MILLISECONDS","TO_SPHERICAL_GEOGRAPHY","TO_TIMESTAMP","TO_UNIXTIME","TO_UTF8","TRANSFORM","TRANSFORM_KEYS","TRANSFORM_VALUES","TRANSLATE","TRIM","TRIM_ARRAY","TRUNCATE","TRY","TRY_CAST","TYPEOF","UPPER","URL_DECODE","URL_ENCODE","URL_EXTRACT_FRAGMENT","URL_EXTRACT_HOST","URL_EXTRACT_PARAMETER","URL_EXTRACT_PATH","URL_EXTRACT_PORT","URL_EXTRACT_PROTOCOL","URL_EXTRACT_QUERY","UUID","VALUES_AT_QUANTILES","VALUE_AT_QUANTILE","VARIANCE","VAR_POP","VAR_SAMP","VERSION","WEEK","WEEK_OF_YEAR","WIDTH_BUCKET","WILSON_INTERVAL_LOWER","WILSON_INTERVAL_UPPER","WITH_TIMEZONE","WORD_STEM","XXHASH64","YEAR","YEAR_OF_WEEK","YOW","ZIP","ZIP_WITH"],rowPattern:["CLASSIFIER","FIRST","LAST","MATCH_NUMBER","NEXT","PERMUTE","PREV"]}),eO=L({all:["ABSENT","ADD","ADMIN","AFTER","ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","AT","AUTHORIZATION","BERNOULLI","BETWEEN","BOTH","BY","CALL","CASCADE","CASE","CATALOGS","COLUMN","COLUMNS","COMMENT","COMMIT","COMMITTED","CONDITIONAL","CONSTRAINT","COPARTITION","CREATE","CROSS","CUBE","CURRENT","CURRENT_PATH","CURRENT_ROLE","DATA","DEALLOCATE","DEFAULT","DEFINE","DEFINER","DELETE","DENY","DESC","DESCRIBE","DESCRIPTOR","DISTINCT","DISTRIBUTED","DOUBLE","DROP","ELSE","EMPTY","ENCODING","END","ERROR","ESCAPE","EXCEPT","EXCLUDING","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FINAL","FIRST","FOLLOWING","FOR","FROM","FULL","FUNCTIONS","GRANT","GRANTED","GRANTS","GRAPHVIZ","GROUP","GROUPING","GROUPS","HAVING","IGNORE","IN","INCLUDING","INITIAL","INNER","INPUT","INSERT","INTERSECT","INTERVAL","INTO","INVOKER","IO","IS","ISOLATION","JOIN","JSON","JSON_ARRAY","JSON_OBJECT","KEEP","KEY","KEYS","LAST","LATERAL","LEADING","LEFT","LEVEL","LIKE","LIMIT","LOCAL","LOGICAL","MATCH","MATCHED","MATCHES","MATCH_RECOGNIZE","MATERIALIZED","MEASURES","NATURAL","NEXT","NFC","NFD","NFKC","NFKD","NO","NONE","NOT","NULL","NULLS","OBJECT","OF","OFFSET","OMIT","ON","ONE","ONLY","OPTION","OR","ORDER","ORDINALITY","OUTER","OUTPUT","OVER","OVERFLOW","PARTITION","PARTITIONS","PASSING","PAST","PATH","PATTERN","PER","PERMUTE","PRECEDING","PRECISION","PREPARE","PRIVILEGES","PROPERTIES","PRUNE","QUOTES","RANGE","READ","RECURSIVE","REFRESH","RENAME","REPEATABLE","RESET","RESPECT","RESTRICT","RETURNING","REVOKE","RIGHT","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","RUNNING","SCALAR","SCHEMA","SCHEMAS","SECURITY","SEEK","SELECT","SERIALIZABLE","SESSION","SET","SETS","SHOW","SKIP","SOME","START","STATS","STRING","SUBSET","SYSTEM","TABLE","TABLES","TABLESAMPLE","TEXT","THEN","TIES","TIME","TIMESTAMP","TO","TRAILING","TRANSACTION","TRUE","TYPE","UESCAPE","UNBOUNDED","UNCOMMITTED","UNCONDITIONAL","UNION","UNIQUE","UNKNOWN","UNMATCHED","UNNEST","UPDATE","USE","USER","USING","UTF16","UTF32","UTF8","VALIDATE","VALUE","VALUES","VERBOSE","VIEW","WHEN","WHERE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","ZONE"],types:["BIGINT","INT","INTEGER","SMALLINT","TINYINT","BOOLEAN","DATE","DECIMAL","REAL","DOUBLE","HYPERLOGLOG","QDIGEST","TDIGEST","P4HYPERLOGLOG","INTERVAL","TIMESTAMP","TIME","VARBINARY","VARCHAR","CHAR","ROW","ARRAY","MAP","JSON","JSON2016","IPADDRESS","GEOMETRY","UUID","SETDIGEST","JONIREGEXP","RE2JREGEXP","LIKEPATTERN","COLOR","CODEPOINTS","FUNCTION","JSONPATH"]}),ey=d(["SELECT [ALL | DISTINCT]"]),ev=d(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","CREATE [OR REPLACE] [MATERIALIZED] VIEW","CREATE TABLE [IF NOT EXISTS]","MATCH_RECOGNIZE","MEASURES","ONE ROW PER MATCH","ALL ROWS PER MATCH","AFTER MATCH","PATTERN","SUBSET","DEFINE"]),eN=d(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","ADD COLUMN [IF NOT EXISTS]","DROP COLUMN [IF EXISTS]","RENAME COLUMN [IF EXISTS]","RENAME TO","SET AUTHORIZATION [USER | ROLE]","SET PROPERTIES","EXECUTE","TRUNCATE TABLE","ALTER SCHEMA","ALTER MATERIALIZED VIEW","ALTER VIEW","CREATE SCHEMA","CREATE ROLE","DROP SCHEMA","DROP MATERIALIZED VIEW","DROP VIEW","DROP ROLE","EXPLAIN","ANALYZE","EXPLAIN ANALYZE","EXPLAIN ANALYZE VERBOSE","USE","COMMENT ON TABLE","COMMENT ON COLUMN","DESCRIBE INPUT","DESCRIBE OUTPUT","REFRESH MATERIALIZED VIEW","RESET SESSION","SET SESSION","SET PATH","SET TIME ZONE","SHOW GRANTS","SHOW CREATE TABLE","SHOW CREATE SCHEMA","SHOW CREATE VIEW","SHOW CREATE MATERIALIZED VIEW","SHOW TABLES","SHOW SCHEMAS","SHOW CATALOGS","SHOW COLUMNS","SHOW STATS FOR","SHOW ROLES","SHOW CURRENT ROLES","SHOW ROLE GRANTS","SHOW FUNCTIONS","SHOW SESSION"]),eC=d(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),em=d(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),eL=d(["{ROWS | RANGE | GROUPS} BETWEEN","IS [NOT] DISTINCT FROM"]),e_={tokenizerOptions:{reservedSelect:ey,reservedClauses:[...ev,...eN],reservedSetOperations:eC,reservedJoins:em,reservedPhrases:eL,reservedKeywords:eO,reservedFunctionNames:eI,extraParens:["[]","{}"],stringTypes:[{quote:"''-qq",prefixes:["U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq'],paramTypes:{positional:!0},operators:["%","->","=>",":","||","|","^","$"]},formatOptions:{onelineClauses:eN}},ex=L({aggregate:["APPROX_COUNT_DISTINCT","AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","STDEV","STDEVP","SUM","VAR","VARP"],analytic:["CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","Collation - COLLATIONPROPERTY","Collation - TERTIARY_WEIGHTS"],configuration:["@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION"],conversion:["CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE"],cryptographic:["ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY"],cursor:["@@CURSOR_ROWS","@@FETCH_STATUS","CURSOR_STATUS"],dataType:["DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY"],datetime:["@@DATEFIRST","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_TIMEZONE_ID","DATEADD","DATEDIFF","DATEDIFF_BIG","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","JSON","ISJSON","JSON_VALUE","JSON_QUERY","JSON_MODIFY"],mathematical:["ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","CHOOSE","GREATEST","IIF","LEAST"],metadata:["@@PROCID","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FILEPROPERTYEX","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","NEXT VALUE FOR","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY"],ranking:["DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME"],security:["CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","DATABASE_PRINCIPAL_ID","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME"],string:["ASCII","CHAR","CHARINDEX","CONCAT","CONCAT_WS","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STRING_AGG","STRING_ESCAPE","STUFF","SUBSTRING","TRANSLATE","TRIM","UNICODE","UPPER"],system:["$PARTITION","@@ERROR","@@IDENTITY","@@PACK_RECEIVED","@@ROWCOUNT","@@TRANCOUNT","BINARY_CHECKSUM","CHECKSUM","COMPRESS","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","CURRENT_TRANSACTION_ID","DECOMPRESS","ERROR_LINE","ERROR_MESSAGE","ERROR_NUMBER","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GET_FILESTREAM_TRANSACTION_CONTEXT","GETANSINULL","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","SESSION_CONTEXT","XACT_STATE"],statistical:["@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACK_SENT","@@PACKET_ERRORS","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE","TEXTPTR","TEXTVALID"],trigger:["COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE"],caseAbbrev:["COALESCE","NULLIF"],dataTypes:["DECIMAL","NUMERIC","FLOAT","REAL","DATETIME2","DATETIMEOFFSET","TIME","CHAR","VARCHAR","NCHAR","NVARCHAR","BINARY","VARBINARY"]}),eM=L({standard:["ADD","ALL","ALTER","AND","ANY","AS","ASC","AUTHORIZATION","BACKUP","BEGIN","BETWEEN","BREAK","BROWSE","BULK","BY","CASCADE","CHECK","CHECKPOINT","CLOSE","CLUSTERED","COALESCE","COLLATE","COLUMN","COMMIT","COMPUTE","CONSTRAINT","CONTAINS","CONTAINSTABLE","CONTINUE","CONVERT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DBCC","DEALLOCATE","DECLARE","DEFAULT","DELETE","DENY","DESC","DISK","DISTINCT","DISTRIBUTED","DOUBLE","DROP","DUMP","ERRLVL","ESCAPE","EXEC","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FILE","FILLFACTOR","FOR","FOREIGN","FREETEXT","FREETEXTTABLE","FROM","FULL","FUNCTION","GOTO","GRANT","GROUP","HAVING","HOLDLOCK","IDENTITY","IDENTITYCOL","IDENTITY_INSERT","IF","IN","INDEX","INNER","INSERT","INTERSECT","INTO","IS","JOIN","KEY","KILL","LEFT","LIKE","LINENO","LOAD","MERGE","NATIONAL","NOCHECK","NONCLUSTERED","NOT","NULL","NULLIF","OF","OFF","OFFSETS","ON","OPEN","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","OPTION","OR","ORDER","OUTER","OVER","PERCENT","PIVOT","PLAN","PRECISION","PRIMARY","PRINT","PROC","PROCEDURE","PUBLIC","RAISERROR","READ","READTEXT","RECONFIGURE","REFERENCES","REPLICATION","RESTORE","RESTRICT","RETURN","REVERT","REVOKE","RIGHT","ROLLBACK","ROWCOUNT","ROWGUIDCOL","RULE","SAVE","SCHEMA","SECURITYAUDIT","SELECT","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","SESSION_USER","SET","SETUSER","SHUTDOWN","SOME","STATISTICS","SYSTEM_USER","TABLE","TABLESAMPLE","TEXTSIZE","THEN","TO","TOP","TRAN","TRANSACTION","TRIGGER","TRUNCATE","TRY_CONVERT","TSEQUAL","UNION","UNIQUE","UNPIVOT","UPDATE","UPDATETEXT","USE","USER","VALUES","VARYING","VIEW","WAITFOR","WHERE","WHILE","WITH","WITHIN GROUP","WRITETEXT"],odbc:["ABSOLUTE","ACTION","ADA","ADD","ALL","ALLOCATE","ALTER","AND","ANY","ARE","AS","ASC","ASSERTION","AT","AUTHORIZATION","AVG","BEGIN","BETWEEN","BIT","BIT_LENGTH","BOTH","BY","CASCADE","CASCADED","CAST","CATALOG","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CLOSE","COALESCE","COLLATE","COLLATION","COLUMN","COMMIT","CONNECT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTINUE","CONVERT","CORRESPONDING","COUNT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DESCRIBE","DESCRIPTOR","DIAGNOSTICS","DISCONNECT","DISTINCT","DOMAIN","DOUBLE","DROP","END-EXEC","ESCAPE","EXCEPTION","EXEC","EXECUTE","EXISTS","EXTERNAL","EXTRACT","FALSE","FETCH","FIRST","FLOAT","FOR","FOREIGN","FORTRAN","FOUND","FROM","FULL","GET","GLOBAL","GO","GOTO","GRANT","GROUP","HAVING","HOUR","IDENTITY","IMMEDIATE","IN","INCLUDE","INDEX","INDICATOR","INITIALLY","INNER","INPUT","INSENSITIVE","INSERT","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","ISOLATION","JOIN","KEY","LANGUAGE","LAST","LEADING","LEFT","LEVEL","LIKE","LOCAL","LOWER","MATCH","MAX","MIN","MINUTE","MODULE","MONTH","NAMES","NATIONAL","NATURAL","NCHAR","NEXT","NO","NONE","NOT","NULL","NULLIF","NUMERIC","OCTET_LENGTH","OF","ONLY","OPEN","OPTION","OR","ORDER","OUTER","OUTPUT","OVERLAPS","PAD","PARTIAL","PASCAL","POSITION","PRECISION","PREPARE","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURE","PUBLIC","READ","REAL","REFERENCES","RELATIVE","RESTRICT","REVOKE","RIGHT","ROLLBACK","ROWS","SCHEMA","SCROLL","SECOND","SECTION","SELECT","SESSION","SESSION_USER","SET","SIZE","SMALLINT","SOME","SPACE","SQL","SQLCA","SQLCODE","SQLERROR","SQLSTATE","SQLWARNING","SUBSTRING","SUM","SYSTEM_USER","TABLE","TEMPORARY","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSACTION","TRANSLATE","TRANSLATION","TRIM","TRUE","UNION","UNIQUE","UNKNOWN","UPDATE","UPPER","USAGE","USER","VALUE","VALUES","VARCHAR","VARYING","VIEW","WHENEVER","WHERE","WITH","WORK","WRITE","YEAR","ZONE"]}),eP=d(["SELECT [ALL | DISTINCT]"]),eD=d(["WITH","INTO","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","OFFSET","FETCH {FIRST | NEXT}","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY TARGET | BY SOURCE] [THEN]","UPDATE SET","CREATE [OR ALTER] [MATERIALIZED] VIEW","CREATE TABLE","CREATE [OR ALTER] {PROC | PROCEDURE}"]),eU=d(["UPDATE","WHERE CURRENT OF","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD","DROP COLUMN [IF EXISTS]","ALTER COLUMN","TRUNCATE TABLE","ADD SENSITIVITY CLASSIFICATION","ADD SIGNATURE","AGGREGATE","ANSI_DEFAULTS","ANSI_NULLS","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_PADDING","ANSI_WARNINGS","APPLICATION ROLE","ARITHABORT","ARITHIGNORE","ASSEMBLY","ASYMMETRIC KEY","AUTHORIZATION","AVAILABILITY GROUP","BACKUP","BACKUP CERTIFICATE","BACKUP MASTER KEY","BACKUP SERVICE MASTER KEY","BEGIN CONVERSATION TIMER","BEGIN DIALOG CONVERSATION","BROKER PRIORITY","BULK INSERT","CERTIFICATE","CLOSE MASTER KEY","CLOSE SYMMETRIC KEY","COLLATE","COLUMN ENCRYPTION KEY","COLUMN MASTER KEY","COLUMNSTORE INDEX","CONCAT_NULL_YIELDS_NULL","CONTEXT_INFO","CONTRACT","CREDENTIAL","CRYPTOGRAPHIC PROVIDER","CURSOR_CLOSE_ON_COMMIT","DATABASE","DATABASE AUDIT SPECIFICATION","DATABASE ENCRYPTION KEY","DATABASE HADR","DATABASE SCOPED CONFIGURATION","DATABASE SCOPED CREDENTIAL","DATABASE SET","DATEFIRST","DATEFORMAT","DEADLOCK_PRIORITY","DENY","DENY XML","DISABLE TRIGGER","ENABLE TRIGGER","END CONVERSATION","ENDPOINT","EVENT NOTIFICATION","EVENT SESSION","EXECUTE AS","EXTERNAL DATA SOURCE","EXTERNAL FILE FORMAT","EXTERNAL LANGUAGE","EXTERNAL LIBRARY","EXTERNAL RESOURCE POOL","EXTERNAL TABLE","FIPS_FLAGGER","FMTONLY","FORCEPLAN","FULLTEXT CATALOG","FULLTEXT INDEX","FULLTEXT STOPLIST","FUNCTION","GET CONVERSATION GROUP","GET_TRANSMISSION_STATUS","GRANT","GRANT XML","IDENTITY_INSERT","IMPLICIT_TRANSACTIONS","INDEX","LANGUAGE","LOCK_TIMEOUT","LOGIN","MASTER KEY","MESSAGE TYPE","MOVE CONVERSATION","NOCOUNT","NOEXEC","NUMERIC_ROUNDABORT","OFFSETS","OPEN MASTER KEY","OPEN SYMMETRIC KEY","PARSEONLY","PARTITION FUNCTION","PARTITION SCHEME","PROCEDURE","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUOTED_IDENTIFIER","RECEIVE","REMOTE SERVICE BINDING","REMOTE_PROC_TRANSACTIONS","RESOURCE GOVERNOR","RESOURCE POOL","RESTORE","RESTORE FILELISTONLY","RESTORE HEADERONLY","RESTORE LABELONLY","RESTORE MASTER KEY","RESTORE REWINDONLY","RESTORE SERVICE MASTER KEY","RESTORE VERIFYONLY","REVERT","REVOKE","REVOKE XML","ROLE","ROUTE","ROWCOUNT","RULE","SCHEMA","SEARCH PROPERTY LIST","SECURITY POLICY","SELECTIVE XML INDEX","SEND","SENSITIVITY CLASSIFICATION","SEQUENCE","SERVER AUDIT","SERVER AUDIT SPECIFICATION","SERVER CONFIGURATION","SERVER ROLE","SERVICE","SERVICE MASTER KEY","SETUSER","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SIGNATURE","SPATIAL INDEX","STATISTICS","STATISTICS IO","STATISTICS PROFILE","STATISTICS TIME","STATISTICS XML","SYMMETRIC KEY","SYNONYM","TABLE","TABLE IDENTITY","TEXTSIZE","TRANSACTION ISOLATION LEVEL","TRIGGER","TYPE","UPDATE STATISTICS","USER","WORKLOAD GROUP","XACT_ABORT","XML INDEX","XML SCHEMA COLLECTION"]),eb=d(["UNION [ALL]","EXCEPT","INTERSECT"]),eF=d(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","{CROSS | OUTER} APPLY"]),eB=d(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),eG={tokenizerOptions:{reservedSelect:eP,reservedClauses:[...eD,...eU],reservedSetOperations:eb,reservedJoins:eF,reservedPhrases:eB,reservedKeywords:eM,reservedFunctionNames:ex,nestedBlockComments:!0,stringTypes:[{quote:"''-qq",prefixes:["N"]}],identTypes:['""-qq',"[]"],identChars:{first:"#@",rest:"#@$"},paramTypes:{named:["@"],quoted:["@"]},operators:["%","&","|","^","~","!<","!>","+=","-=","*=","/=","%=","|=","&=","^=","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:eU}},ew=L({all:["ABORT","ABSOLUTE","ACCESS","ACCESSIBLE","ACCOUNT","ACTION","ACTIVE","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","AGGREGATES","AGGREGATOR","AGGREGATOR_ID","AGGREGATOR_PLAN_HASH","AGGREGATORS","ALGORITHM","ALL","ALSO","ALTER","ALWAYS","ANALYZE","AND","ANY","ARGHISTORY","ARRANGE","ARRANGEMENT","ARRAY","AS","ASC","ASCII","ASENSITIVE","ASM","ASSERTION","ASSIGNMENT","AST","ASYMMETRIC","ASYNC","AT","ATTACH","ATTRIBUTE","AUTHORIZATION","AUTO","AUTO_INCREMENT","AUTO_REPROVISION","AUTOSTATS","AUTOSTATS_CARDINALITY_MODE","AUTOSTATS_ENABLED","AUTOSTATS_HISTOGRAM_MODE","AUTOSTATS_SAMPLING","AVAILABILITY","AVG","AVG_ROW_LENGTH","AVRO","AZURE","BACKGROUND","_BACKGROUND_THREADS_FOR_CLEANUP","BACKUP","BACKUP_HISTORY","BACKUP_ID","BACKWARD","BATCH","BATCHES","BATCH_INTERVAL","_BATCH_SIZE_LIMIT","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","_BINARY","BIT","BLOB","BOOL","BOOLEAN","BOOTSTRAP","BOTH","_BT","BTREE","BUCKET_COUNT","BUCKETS","BY","BYTE","BYTE_LENGTH","CACHE","CALL","CALL_FOR_PIPELINE","CALLED","CAPTURE","CASCADE","CASCADED","CASE","CATALOG","CHAIN","CHANGE","CHAR","CHARACTER","CHARACTERISTICS","CHARSET","CHECK","CHECKPOINT","_CHECK_CAN_CONNECT","_CHECK_CONSISTENCY","CHECKSUM","_CHECKSUM","CLASS","CLEAR","CLIENT","CLIENT_FOUND_ROWS","CLOSE","CLUSTER","CLUSTERED","CNF","COALESCE","COLLATE","COLLATION","COLUMN","COLUMNAR","COLUMNS","COLUMNSTORE","COLUMNSTORE_SEGMENT_ROWS","COMMENT","COMMENTS","COMMIT","COMMITTED","_COMMIT_LOG_TAIL","COMPACT","COMPILE","COMPRESSED","COMPRESSION","CONCURRENT","CONCURRENTLY","CONDITION","CONFIGURATION","CONNECTION","CONNECTIONS","CONFIG","CONSTRAINT","CONTAINS","CONTENT","CONTINUE","_CONTINUE_REPLAY","CONVERSION","CONVERT","COPY","_CORE","COST","CREATE","CREDENTIALS","CROSS","CUBE","CSV","CUME_DIST","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_SCHEMA","CURRENT_SECURITY_GROUPS","CURRENT_SECURITY_ROLES","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DATABASES","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINED","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DELIMITER","DELIMITERS","DENSE_RANK","DESC","DESCRIBE","DETACH","DETERMINISTIC","DICTIONARY","DIFFERENTIAL","DIRECTORY","DISABLE","DISCARD","_DISCONNECT","DISK","DISTINCT","DISTINCTROW","DISTRIBUTED_JOINS","DIV","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","_DROP_PROFILE","DUAL","DUMP","DUPLICATE","DURABILITY","DYNAMIC","EARLIEST","EACH","ECHO","ELECTION","ELSE","ELSEIF","ENABLE","ENCLOSED","ENCODING","ENCRYPTED","END","ENGINE","ENGINES","ENUM","ERRORS","ESCAPE","ESCAPED","ESTIMATE","EVENT","EVENTS","EXCEPT","EXCLUDE","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXPLAIN","EXTENDED","EXTENSION","EXTERNAL","EXTERNAL_HOST","EXTERNAL_PORT","EXTRACTOR","EXTRACTORS","EXTRA_JOIN","_FAILOVER","FAILED_LOGIN_ATTEMPTS","FAILURE","FALSE","FAMILY","FAULT","FETCH","FIELDS","FILE","FILES","FILL","FIX_ALTER","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOR","FORCE","FORCE_COMPILED_MODE","FORCE_INTERPRETER_MODE","FOREGROUND","FOREIGN","FORMAT","FORWARD","FREEZE","FROM","FS","_FSYNC","FULL","FULLTEXT","FUNCTION","FUNCTIONS","GC","GCS","GET_FORMAT","_GC","_GCX","GENERATE","GEOGRAPHY","GEOGRAPHYPOINT","GEOMETRY","GEOMETRYPOINT","GLOBAL","_GLOBAL_VERSION_TIMESTAMP","GRANT","GRANTED","GRANTS","GROUP","GROUPING","GROUPS","GZIP","HANDLE","HANDLER","HARD_CPU_LIMIT_PERCENTAGE","HASH","HAS_TEMP_TABLES","HAVING","HDFS","HEADER","HEARTBEAT_NO_LOGGING","HIGH_PRIORITY","HISTOGRAM","HOLD","HOLDING","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IDENTITY","IF","IGNORE","ILIKE","IMMEDIATE","IMMUTABLE","IMPLICIT","IMPORT","IN","INCLUDING","INCREMENT","INCREMENTAL","INDEX","INDEXES","INFILE","INHERIT","INHERITS","_INIT_PROFILE","INIT","INITIALIZE","INITIALLY","INJECT","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTANCE","INSTEAD","IN","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","_INTERNAL_DYNAMIC_TYPECAST","INTERPRETER_MODE","INTERSECT","INTERVAL","INTO","INVOKER","ISOLATION","ITERATE","JOIN","JSON","KAFKA","KEY","KEY_BLOCK_SIZE","KEYS","KILL","KILLALL","LABEL","LAG","LANGUAGE","LARGE","LAST","LAST_VALUE","LATERAL","LATEST","LC_COLLATE","LC_CTYPE","LEAD","LEADING","LEAF","LEAKPROOF","LEAVE","LEAVES","LEFT","LEVEL","LICENSE","LIKE","LIMIT","LINES","LISTEN","LLVM","LOADDATA_WHERE","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCK","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","_LS","LZ4","MANAGEMENT","_MANAGEMENT_THREAD","MAPPING","MASTER","MATCH","MATERIALIZED","MAXVALUE","MAX_CONCURRENCY","MAX_ERRORS","MAX_PARTITIONS_PER_BATCH","MAX_QUEUE_DEPTH","MAX_RETRIES_PER_BATCH_PARTITION","MAX_ROWS","MBC","MPL","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMBER","MEMORY","MEMORY_PERCENTAGE","_MEMSQL_TABLE_ID_LOOKUP","MEMSQL","MEMSQL_DESERIALIZE","MEMSQL_IMITATING_KAFKA","MEMSQL_SERIALIZE","MERGE","METADATA","MICROSECOND","MIDDLEINT","MIN_ROWS","MINUS","MINUTE_MICROSECOND","MINUTE_SECOND","MINVALUE","MOD","MODE","MODEL","MODIFIES","MODIFY","MONTH","MOVE","MPL","NAMES","NAMED","NAMESPACE","NATIONAL","NATURAL","NCHAR","NEXT","NO","NODE","NONE","NO_QUERY_REWRITE","NOPARAM","NOT","NOTHING","NOTIFY","NOWAIT","NO_WRITE_TO_BINLOG","NO_QUERY_REWRITE","NORELY","NTH_VALUE","NTILE","NULL","NULLCOLS","NULLS","NUMERIC","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OIDS","ON","ONLINE","ONLY","OPEN","OPERATOR","OPTIMIZATION","OPTIMIZE","OPTIMIZER","OPTIMIZER_STATE","OPTION","OPTIONS","OPTIONALLY","OR","ORDER","ORDERED_SERIALIZE","ORPHAN","OUT","OUT_OF_ORDER","OUTER","OUTFILE","OVER","OVERLAPS","OVERLAY","OWNED","OWNER","PACK_KEYS","PAIRED","PARSER","PARQUET","PARTIAL","PARTITION","PARTITION_ID","PARTITIONING","PARTITIONS","PASSING","PASSWORD","PASSWORD_LOCK_TIME","PAUSE","_PAUSE_REPLAY","PERIODIC","PERSISTED","PIPELINE","PIPELINES","PLACING","PLAN","PLANS","PLANCACHE","PLUGINS","POOL","POOLS","PORT","PRECEDING","PRECISION","PREPARE","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROCEDURES","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROGRAM","PROMOTE","PROXY","PURGE","QUARTER","QUERIES","QUERY","QUERY_TIMEOUT","QUEUE","RANGE","RANK","READ","_READ","READS","REAL","REASSIGN","REBALANCE","RECHECK","RECORD","RECURSIVE","REDUNDANCY","REDUNDANT","REF","REFERENCE","REFERENCES","REFRESH","REGEXP","REINDEX","RELATIVE","RELEASE","RELOAD","RELY","REMOTE","REMOVE","RENAME","REPAIR","_REPAIR_TABLE","REPEAT","REPEATABLE","_REPL","_REPROVISIONING","REPLACE","REPLICA","REPLICATE","REPLICATING","REPLICATION","REQUIRE","RESOURCE","RESOURCE_POOL","RESET","RESTART","RESTORE","RESTRICT","RESULT","_RESURRECT","RETRY","RETURN","RETURNING","RETURNS","REVERSE","RG_POOL","REVOKE","RIGHT","RIGHT_ANTI_JOIN","RIGHT_SEMI_JOIN","RIGHT_STRAIGHT_JOIN","RLIKE","ROLES","ROLLBACK","ROLLUP","ROUTINE","ROW","ROW_COUNT","ROW_FORMAT","ROW_NUMBER","ROWS","ROWSTORE","RULE","_RPC","RUNNING","S3","SAFE","SAVE","SAVEPOINT","SCALAR","SCHEMA","SCHEMAS","SCHEMA_BINDING","SCROLL","SEARCH","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SEMI_JOIN","_SEND_THREADS","SENSITIVE","SEPARATOR","SEQUENCE","SEQUENCES","SERIAL","SERIALIZABLE","SERIES","SERVICE_USER","SERVER","SESSION","SESSION_USER","SET","SETOF","SECURITY_LISTS_INTERSECT","SHA","SHARD","SHARDED","SHARDED_ID","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMILAR","SIMPLE","SITE","SKIP","SKIPPED_BATCHES","__SLEEP","SMALLINT","SNAPSHOT","_SNAPSHOT","_SNAPSHOTS","SOFT_CPU_LIMIT_PERCENTAGE","SOME","SONAME","SPARSE","SPATIAL","SPATIAL_CHECK_INDEX","SPECIFIC","SQL","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQLEXCEPTION","SQL_MODE","SQL_NO_CACHE","SQL_NO_LOGGING","SQL_SMALL_RESULT","SQLSTATE","SQLWARNING","STDIN","STDOUT","STOP","STORAGE","STRAIGHT_JOIN","STRICT","STRING","STRIP","SUCCESS","SUPER","SYMMETRIC","SYNC_SNAPSHOT","SYNC","_SYNC","_SYNC2","_SYNC_PARTITIONS","_SYNC_SNAPSHOT","SYNCHRONIZE","SYSID","SYSTEM","TABLE","TABLE_CHECKSUM","TABLES","TABLESPACE","TAGS","TARGET_SIZE","TASK","TEMP","TEMPLATE","TEMPORARY","TEMPTABLE","_TERM_BUMP","TERMINATE","TERMINATED","TEXT","THEN","TIME","TIMEOUT","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMEZONE","TINYBLOB","TINYINT","TINYTEXT","TO","TRACELOGS","TRADITIONAL","TRAILING","TRANSFORM","TRANSACTION","_TRANSACTIONS_EXPERIMENTAL","TREAT","TRIGGER","TRIGGERS","TRUE","TRUNC","TRUNCATE","TRUSTED","TWO_PHASE","_TWOPCID","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO","UNENCRYPTED","UNENFORCED","UNHOLD","UNICODE","UNION","UNIQUE","_UNITTEST","UNKNOWN","UNLISTEN","_UNLOAD","UNLOCK","UNLOGGED","UNPIVOT","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USERS","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","_UTF8","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARIADIC","VARYING","VERBOSE","VIEW","VOID","VOLATILE","VOTING","WAIT","_WAKE","WARNINGS","WEEK","WHEN","WHERE","WHILE","WHITESPACE","WINDOW","WITH","WITHOUT","WITHIN","_WM_HEARTBEAT","WORK","WORKLOAD","WRAPPER","WRITE","XACT_ID","XOR","YEAR","YEAR_MONTH","YES","ZEROFILL","ZONE"]}),eH=L({all:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","APPROX_COUNT_DISTINCT","APPROX_COUNT_DISTINCT_ACCUMULATE","APPROX_COUNT_DISTINCT_COMBINE","APPROX_COUNT_DISTINCT_ESTIMATE","APPROX_GEOGRAPHY_INTERSECTS","APPROX_PERCENTILE","ASCII","ASIN","ATAN","ATAN2","AVG","BIN","BINARY","BIT_AND","BIT_COUNT","BIT_OR","BIT_XOR","CAST","CEIL","CEILING","CHAR","CHARACTER_LENGTH","CHAR_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COLLECT","CONCAT","CONCAT_WS","CONNECTION_ID","CONV","CONVERT","CONVERT_TZ","COS","COT","COUNT","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATEDIFF","DATE_FORMAT","DATE_SUB","DATE_TRUNC","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DENSE_RANK","DIV","DOT_PRODUCT","ELT","EUCLIDEAN_DISTANCE","EXP","EXTRACT","FIELD","FIRST","FIRST_VALUE","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEOGRAPHY_AREA","GEOGRAPHY_CONTAINS","GEOGRAPHY_DISTANCE","GEOGRAPHY_INTERSECTS","GEOGRAPHY_LATITUDE","GEOGRAPHY_LENGTH","GEOGRAPHY_LONGITUDE","GEOGRAPHY_POINT","GEOGRAPHY_WITHIN_DISTANCE","GEOMETRY_AREA","GEOMETRY_CONTAINS","GEOMETRY_DISTANCE","GEOMETRY_FILTER","GEOMETRY_INTERSECTS","GEOMETRY_LENGTH","GEOMETRY_POINT","GEOMETRY_WITHIN_DISTANCE","GEOMETRY_X","GEOMETRY_Y","GREATEST","GROUPING","GROUP_CONCAT","HEX","HIGHLIGHT","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INITCAP","INSERT","INSTR","INTERVAL","IS","IS NULL","JSON_AGG","JSON_ARRAY_CONTAINS_DOUBLE","JSON_ARRAY_CONTAINS_JSON","JSON_ARRAY_CONTAINS_STRING","JSON_ARRAY_PUSH_DOUBLE","JSON_ARRAY_PUSH_JSON","JSON_ARRAY_PUSH_STRING","JSON_DELETE_KEY","JSON_EXTRACT_DOUBLE","JSON_EXTRACT_JSON","JSON_EXTRACT_STRING","JSON_EXTRACT_BIGINT","JSON_GET_TYPE","JSON_LENGTH","JSON_SET_DOUBLE","JSON_SET_JSON","JSON_SET_STRING","JSON_SPLICE_DOUBLE","JSON_SPLICE_JSON","JSON_SPLICE_STRING","LAG","LAST_DAY","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LIKE","LN","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LPAD","LTRIM","MATCH","MAX","MD5","MEDIAN","MICROSECOND","MIN","MINUTE","MOD","MONTH","MONTHNAME","MONTHS_BETWEEN","NOT","NOW","NTH_VALUE","NTILE","NULLIF","OCTET_LENGTH","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PI","PIVOT","POSITION","POW","POWER","QUARTER","QUOTE","RADIANS","RAND","RANK","REGEXP","REPEAT","REPLACE","REVERSE","RIGHT","RLIKE","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCALAR","SCHEMA","SEC_TO_TIME","SHA1","SHA2","SIGMOID","SIGN","SIN","SLEEP","SPLIT","SOUNDEX","SOUNDS LIKE","SOURCE_POS_WAIT","SPACE","SQRT","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUM","SYS_GUID","TAN","TIME","TIMEDIFF","TIME_BUCKET","TIME_FORMAT","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIME_TO_SEC","TO_BASE64","TO_CHAR","TO_DAYS","TO_JSON","TO_NUMBER","TO_SECONDS","TO_TIMESTAMP","TRIM","TRUNC","TRUNCATE","UCASE","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","VALUES","VARIANCE","VAR_POP","VAR_SAMP","VECTOR_SUB","VERSION","WEEK","WEEKDAY","WEEKOFYEAR","YEAR","BIT","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DATETIME","TIMESTAMP","TIME","YEAR","CHAR","NATIONAL CHAR","VARCHAR","NATIONAL VARCHAR","BINARY","VARBINARY","BLOB","TEXT","ENUM"]}),eY=d(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),ek=d(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [IGNORE] [INTO]","VALUES","REPLACE [INTO]","SET","CREATE VIEW","CREATE [ROWSTORE] [REFERENCE | TEMPORARY | GLOBAL TEMPORARY] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMPORARY] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] [EXTERNAL] FUNCTION"]),eV=d(["UPDATE","DELETE [FROM]","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER [ONLINE] TABLE","ADD [COLUMN]","ADD [UNIQUE] {INDEX | KEY}","DROP [COLUMN]","MODIFY [COLUMN]","CHANGE","RENAME [TO | AS]","TRUNCATE [TABLE]","ADD AGGREGATOR","ADD LEAF","AGGREGATOR SET AS MASTER","ALTER DATABASE","ALTER PIPELINE","ALTER RESOURCE POOL","ALTER USER","ALTER VIEW","ANALYZE TABLE","ATTACH DATABASE","ATTACH LEAF","ATTACH LEAF ALL","BACKUP DATABASE","BINLOG","BOOTSTRAP AGGREGATOR","CACHE INDEX","CALL","CHANGE","CHANGE MASTER TO","CHANGE REPLICATION FILTER","CHANGE REPLICATION SOURCE TO","CHECK BLOB CHECKSUM","CHECK TABLE","CHECKSUM TABLE","CLEAR ORPHAN DATABASES","CLONE","COMMIT","CREATE DATABASE","CREATE GROUP","CREATE INDEX","CREATE LINK","CREATE MILESTONE","CREATE PIPELINE","CREATE RESOURCE POOL","CREATE ROLE","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DETACH DATABASE","DETACH PIPELINE","DROP DATABASE","DROP FUNCTION","DROP INDEX","DROP LINK","DROP PIPELINE","DROP PROCEDURE","DROP RESOURCE POOL","DROP ROLE","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","FORCE","GRANT","HANDLER","HELP","KILL CONNECTION","KILLALL QUERIES","LOAD DATA","LOAD INDEX INTO CACHE","LOAD XML","LOCK INSTANCE FOR BACKUP","LOCK TABLES","MASTER_POS_WAIT","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","REBALANCE PARTITIONS","RELEASE SAVEPOINT","REMOVE AGGREGATOR","REMOVE LEAF","REPAIR TABLE","REPLACE","REPLICATE DATABASE","RESET","RESET MASTER","RESET PERSIST","RESET REPLICA","RESET SLAVE","RESTART","RESTORE DATABASE","RESTORE REDUNDANCY","REVOKE","ROLLBACK","ROLLBACK TO SAVEPOINT","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET NAMES","SET PASSWORD","SET RESOURCE GROUP","SET ROLE","SET TRANSACTION","SHOW","SHOW CHARACTER SET","SHOW COLLATION","SHOW COLUMNS","SHOW CREATE DATABASE","SHOW CREATE FUNCTION","SHOW CREATE PIPELINE","SHOW CREATE PROCEDURE","SHOW CREATE TABLE","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW RELAYLOG EVENTS","SHOW REPLICA STATUS","SHOW REPLICAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW VARIABLES","SHOW WARNINGS","SHUTDOWN","SNAPSHOT DATABASE","SOURCE_POS_WAIT","START GROUP_REPLICATION","START PIPELINE","START REPLICA","START SLAVE","START TRANSACTION","STOP GROUP_REPLICATION","STOP PIPELINE","STOP REPLICA","STOP REPLICATING","STOP SLAVE","TEST PIPELINE","UNLOCK INSTANCE","UNLOCK TABLES","USE","XA","ITERATE","LEAVE","LOOP","REPEAT","RETURN","WHILE"]),eW=d(["UNION [ALL | DISTINCT]","EXCEPT","INTERSECT","MINUS"]),eX=d(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),eK=d(["ON DELETE","ON UPDATE","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),ez={tokenizerOptions:{reservedSelect:eY,reservedClauses:[...ek,...eV],reservedSetOperations:eW,reservedJoins:eX,reservedPhrases:eK,reservedKeywords:ew,reservedFunctionNames:eH,stringTypes:['""-qq-bs',"''-qq-bs",{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_$]+"},{quote:"``",prefixes:["@"],requirePrefix:!0}],lineCommentTypes:["--","#"],operators:[":=","&","|","^","~","<<",">>","<=>","&&","||","::","::$","::%",":>","!:>"],postProcess:function(t){return t.map((e,n)=>{let r=t[n+1]||E;return p.SET(e)&&"("===r.text?{...e,type:i.RESERVED_FUNCTION_NAME}:e})}},formatOptions:{alwaysDenseOperators:["::","::$","::%"],onelineClauses:eV}},eZ=L({all:["ABS","ACOS","ACOSH","ADD_MONTHS","ALL_USER_NAMES","ANY_VALUE","APPROX_COUNT_DISTINCT","APPROX_PERCENTILE","APPROX_PERCENTILE_ACCUMULATE","APPROX_PERCENTILE_COMBINE","APPROX_PERCENTILE_ESTIMATE","APPROX_TOP_K","APPROX_TOP_K_ACCUMULATE","APPROX_TOP_K_COMBINE","APPROX_TOP_K_ESTIMATE","APPROXIMATE_JACCARD_INDEX","APPROXIMATE_SIMILARITY","ARRAY_AGG","ARRAY_APPEND","ARRAY_CAT","ARRAY_COMPACT","ARRAY_CONSTRUCT","ARRAY_CONSTRUCT_COMPACT","ARRAY_CONTAINS","ARRAY_INSERT","ARRAY_INTERSECTION","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_SIZE","ARRAY_SLICE","ARRAY_TO_STRING","ARRAY_UNION_AGG","ARRAY_UNIQUE_AGG","ARRAYS_OVERLAP","AS_ARRAY","AS_BINARY","AS_BOOLEAN","AS_CHAR","AS_VARCHAR","AS_DATE","AS_DECIMAL","AS_NUMBER","AS_DOUBLE","AS_REAL","AS_INTEGER","AS_OBJECT","AS_TIME","AS_TIMESTAMP_LTZ","AS_TIMESTAMP_NTZ","AS_TIMESTAMP_TZ","ASCII","ASIN","ASINH","ATAN","ATAN2","ATANH","AUTO_REFRESH_REGISTRATION_HISTORY","AUTOMATIC_CLUSTERING_HISTORY","AVG","BASE64_DECODE_BINARY","BASE64_DECODE_STRING","BASE64_ENCODE","BIT_LENGTH","BITAND","BITAND_AGG","BITMAP_BIT_POSITION","BITMAP_BUCKET_NUMBER","BITMAP_CONSTRUCT_AGG","BITMAP_COUNT","BITMAP_OR_AGG","BITNOT","BITOR","BITOR_AGG","BITSHIFTLEFT","BITSHIFTRIGHT","BITXOR","BITXOR_AGG","BOOLAND","BOOLAND_AGG","BOOLNOT","BOOLOR","BOOLOR_AGG","BOOLXOR","BOOLXOR_AGG","BUILD_SCOPED_FILE_URL","BUILD_STAGE_FILE_URL","CASE","CAST","CBRT","CEIL","CHARINDEX","CHECK_JSON","CHECK_XML","CHR","CHAR","COALESCE","COLLATE","COLLATION","COMPLETE_TASK_GRAPHS","COMPRESS","CONCAT","CONCAT_WS","CONDITIONAL_CHANGE_EVENT","CONDITIONAL_TRUE_EVENT","CONTAINS","CONVERT_TIMEZONE","COPY_HISTORY","CORR","COS","COSH","COT","COUNT","COUNT_IF","COVAR_POP","COVAR_SAMP","CUME_DIST","CURRENT_ACCOUNT","CURRENT_AVAILABLE_ROLES","CURRENT_CLIENT","CURRENT_DATABASE","CURRENT_DATE","CURRENT_IP_ADDRESS","CURRENT_REGION","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_SECONDARY_ROLES","CURRENT_SESSION","CURRENT_STATEMENT","CURRENT_TASK_GRAPHS","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TRANSACTION","CURRENT_USER","CURRENT_VERSION","CURRENT_WAREHOUSE","DATA_TRANSFER_HISTORY","DATABASE_REFRESH_HISTORY","DATABASE_REFRESH_PROGRESS","DATABASE_REFRESH_PROGRESS_BY_JOB","DATABASE_STORAGE_USAGE_HISTORY","DATE_FROM_PARTS","DATE_PART","DATE_TRUNC","DATEADD","DATEDIFF","DAYNAME","DECODE","DECOMPRESS_BINARY","DECOMPRESS_STRING","DECRYPT","DECRYPT_RAW","DEGREES","DENSE_RANK","DIV0","EDITDISTANCE","ENCRYPT","ENCRYPT_RAW","ENDSWITH","EQUAL_NULL","EXP","EXPLAIN_JSON","EXTERNAL_FUNCTIONS_HISTORY","EXTERNAL_TABLE_FILES","EXTERNAL_TABLE_FILE_REGISTRATION_HISTORY","EXTRACT","EXTRACT_SEMANTIC_CATEGORIES","FACTORIAL","FIRST_VALUE","FLATTEN","FLOOR","GENERATE_COLUMN_DESCRIPTION","GENERATOR","GET","GET_ABSOLUTE_PATH","GET_DDL","GET_IGNORE_CASE","GET_OBJECT_REFERENCES","GET_PATH","GET_PRESIGNED_URL","GET_RELATIVE_PATH","GET_STAGE_LOCATION","GETBIT","GREATEST","GROUPING","GROUPING_ID","HASH","HASH_AGG","HAVERSINE","HEX_DECODE_BINARY","HEX_DECODE_STRING","HEX_ENCODE","HLL","HLL_ACCUMULATE","HLL_COMBINE","HLL_ESTIMATE","HLL_EXPORT","HLL_IMPORT","HOUR","MINUTE","SECOND","IFF","IFNULL","ILIKE","ILIKE ANY","INFER_SCHEMA","INITCAP","INSERT","INVOKER_ROLE","INVOKER_SHARE","IS_ARRAY","IS_BINARY","IS_BOOLEAN","IS_CHAR","IS_VARCHAR","IS_DATE","IS_DATE_VALUE","IS_DECIMAL","IS_DOUBLE","IS_REAL","IS_GRANTED_TO_INVOKER_ROLE","IS_INTEGER","IS_NULL_VALUE","IS_OBJECT","IS_ROLE_IN_SESSION","IS_TIME","IS_TIMESTAMP_LTZ","IS_TIMESTAMP_NTZ","IS_TIMESTAMP_TZ","JAROWINKLER_SIMILARITY","JSON_EXTRACT_PATH_TEXT","KURTOSIS","LAG","LAST_DAY","LAST_QUERY_ID","LAST_TRANSACTION","LAST_VALUE","LEAD","LEAST","LEFT","LENGTH","LEN","LIKE","LIKE ALL","LIKE ANY","LISTAGG","LN","LOCALTIME","LOCALTIMESTAMP","LOG","LOGIN_HISTORY","LOGIN_HISTORY_BY_USER","LOWER","LPAD","LTRIM","MATERIALIZED_VIEW_REFRESH_HISTORY","MD5","MD5_HEX","MD5_BINARY","MD5_NUMBER — Obsoleted","MD5_NUMBER_LOWER64","MD5_NUMBER_UPPER64","MEDIAN","MIN","MAX","MINHASH","MINHASH_COMBINE","MOD","MODE","MONTHNAME","MONTHS_BETWEEN","NEXT_DAY","NORMAL","NTH_VALUE","NTILE","NULLIF","NULLIFZERO","NVL","NVL2","OBJECT_AGG","OBJECT_CONSTRUCT","OBJECT_CONSTRUCT_KEEP_NULL","OBJECT_DELETE","OBJECT_INSERT","OBJECT_KEYS","OBJECT_PICK","OCTET_LENGTH","PARSE_IP","PARSE_JSON","PARSE_URL","PARSE_XML","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PI","PIPE_USAGE_HISTORY","POLICY_CONTEXT","POLICY_REFERENCES","POSITION","POW","POWER","PREVIOUS_DAY","QUERY_ACCELERATION_HISTORY","QUERY_HISTORY","QUERY_HISTORY_BY_SESSION","QUERY_HISTORY_BY_USER","QUERY_HISTORY_BY_WAREHOUSE","RADIANS","RANDOM","RANDSTR","RANK","RATIO_TO_REPORT","REGEXP","REGEXP_COUNT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","REGEXP_SUBSTR_ALL","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REGR_VALX","REGR_VALY","REPEAT","REPLACE","REPLICATION_GROUP_REFRESH_HISTORY","REPLICATION_GROUP_REFRESH_PROGRESS","REPLICATION_GROUP_REFRESH_PROGRESS_BY_JOB","REPLICATION_GROUP_USAGE_HISTORY","REPLICATION_USAGE_HISTORY","REST_EVENT_HISTORY","RESULT_SCAN","REVERSE","RIGHT","RLIKE","ROUND","ROW_NUMBER","RPAD","RTRIM","RTRIMMED_LENGTH","SEARCH_OPTIMIZATION_HISTORY","SEQ1","SEQ2","SEQ4","SEQ8","SERVERLESS_TASK_HISTORY","SHA1","SHA1_HEX","SHA1_BINARY","SHA2","SHA2_HEX","SHA2_BINARY","SIGN","SIN","SINH","SKEW","SOUNDEX","SPACE","SPLIT","SPLIT_PART","SPLIT_TO_TABLE","SQRT","SQUARE","ST_AREA","ST_ASEWKB","ST_ASEWKT","ST_ASGEOJSON","ST_ASWKB","ST_ASBINARY","ST_ASWKT","ST_ASTEXT","ST_AZIMUTH","ST_CENTROID","ST_COLLECT","ST_CONTAINS","ST_COVEREDBY","ST_COVERS","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DWITHIN","ST_ENDPOINT","ST_ENVELOPE","ST_GEOGFROMGEOHASH","ST_GEOGPOINTFROMGEOHASH","ST_GEOGRAPHYFROMWKB","ST_GEOGRAPHYFROMWKT","ST_GEOHASH","ST_GEOMETRYFROMWKB","ST_GEOMETRYFROMWKT","ST_HAUSDORFFDISTANCE","ST_INTERSECTION","ST_INTERSECTS","ST_LENGTH","ST_MAKEGEOMPOINT","ST_GEOM_POINT","ST_MAKELINE","ST_MAKEPOINT","ST_POINT","ST_MAKEPOLYGON","ST_POLYGON","ST_NPOINTS","ST_NUMPOINTS","ST_PERIMETER","ST_POINTN","ST_SETSRID","ST_SIMPLIFY","ST_SRID","ST_STARTPOINT","ST_SYMDIFFERENCE","ST_UNION","ST_WITHIN","ST_X","ST_XMAX","ST_XMIN","ST_Y","ST_YMAX","ST_YMIN","STAGE_DIRECTORY_FILE_REGISTRATION_HISTORY","STAGE_STORAGE_USAGE_HISTORY","STARTSWITH","STDDEV","STDDEV_POP","STDDEV_SAMP","STRIP_NULL_VALUE","STRTOK","STRTOK_SPLIT_TO_TABLE","STRTOK_TO_ARRAY","SUBSTR","SUBSTRING","SUM","SYSDATE","SYSTEM$ABORT_SESSION","SYSTEM$ABORT_TRANSACTION","SYSTEM$AUTHORIZE_PRIVATELINK","SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS","SYSTEM$BEHAVIOR_CHANGE_BUNDLE_STATUS","SYSTEM$CANCEL_ALL_QUERIES","SYSTEM$CANCEL_QUERY","SYSTEM$CLUSTERING_DEPTH","SYSTEM$CLUSTERING_INFORMATION","SYSTEM$CLUSTERING_RATIO ","SYSTEM$CURRENT_USER_TASK_NAME","SYSTEM$DATABASE_REFRESH_HISTORY ","SYSTEM$DATABASE_REFRESH_PROGRESS","SYSTEM$DATABASE_REFRESH_PROGRESS_BY_JOB ","SYSTEM$DISABLE_BEHAVIOR_CHANGE_BUNDLE","SYSTEM$DISABLE_DATABASE_REPLICATION","SYSTEM$ENABLE_BEHAVIOR_CHANGE_BUNDLE","SYSTEM$ESTIMATE_QUERY_ACCELERATION","SYSTEM$ESTIMATE_SEARCH_OPTIMIZATION_COSTS","SYSTEM$EXPLAIN_JSON_TO_TEXT","SYSTEM$EXPLAIN_PLAN_JSON","SYSTEM$EXTERNAL_TABLE_PIPE_STATUS","SYSTEM$GENERATE_SAML_CSR","SYSTEM$GENERATE_SCIM_ACCESS_TOKEN","SYSTEM$GET_AWS_SNS_IAM_POLICY","SYSTEM$GET_PREDECESSOR_RETURN_VALUE","SYSTEM$GET_PRIVATELINK","SYSTEM$GET_PRIVATELINK_AUTHORIZED_ENDPOINTS","SYSTEM$GET_PRIVATELINK_CONFIG","SYSTEM$GET_SNOWFLAKE_PLATFORM_INFO","SYSTEM$GET_TAG","SYSTEM$GET_TAG_ALLOWED_VALUES","SYSTEM$GET_TAG_ON_CURRENT_COLUMN","SYSTEM$GET_TAG_ON_CURRENT_TABLE","SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER","SYSTEM$LAST_CHANGE_COMMIT_TIME","SYSTEM$LINK_ACCOUNT_OBJECTS_BY_NAME","SYSTEM$MIGRATE_SAML_IDP_REGISTRATION","SYSTEM$PIPE_FORCE_RESUME","SYSTEM$PIPE_STATUS","SYSTEM$REVOKE_PRIVATELINK","SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESS","SYSTEM$SET_RETURN_VALUE","SYSTEM$SHOW_OAUTH_CLIENT_SECRETS","SYSTEM$STREAM_GET_TABLE_TIMESTAMP","SYSTEM$STREAM_HAS_DATA","SYSTEM$TASK_DEPENDENTS_ENABLE","SYSTEM$TYPEOF","SYSTEM$USER_TASK_CANCEL_ONGOING_EXECUTIONS","SYSTEM$VERIFY_EXTERNAL_OAUTH_TOKEN","SYSTEM$WAIT","SYSTEM$WHITELIST","SYSTEM$WHITELIST_PRIVATELINK","TAG_REFERENCES","TAG_REFERENCES_ALL_COLUMNS","TAG_REFERENCES_WITH_LINEAGE","TAN","TANH","TASK_DEPENDENTS","TASK_HISTORY","TIME_FROM_PARTS","TIME_SLICE","TIMEADD","TIMEDIFF","TIMESTAMP_FROM_PARTS","TIMESTAMPADD","TIMESTAMPDIFF","TO_ARRAY","TO_BINARY","TO_BOOLEAN","TO_CHAR","TO_VARCHAR","TO_DATE","DATE","TO_DECIMAL","TO_NUMBER","TO_NUMERIC","TO_DOUBLE","TO_GEOGRAPHY","TO_GEOMETRY","TO_JSON","TO_OBJECT","TO_TIME","TIME","TO_TIMESTAMP","TO_TIMESTAMP_LTZ","TO_TIMESTAMP_NTZ","TO_TIMESTAMP_TZ","TO_VARIANT","TO_XML","TRANSLATE","TRIM","TRUNCATE","TRUNC","TRUNC","TRY_BASE64_DECODE_BINARY","TRY_BASE64_DECODE_STRING","TRY_CAST","TRY_HEX_DECODE_BINARY","TRY_HEX_DECODE_STRING","TRY_PARSE_JSON","TRY_TO_BINARY","TRY_TO_BOOLEAN","TRY_TO_DATE","TRY_TO_DECIMAL","TRY_TO_NUMBER","TRY_TO_NUMERIC","TRY_TO_DOUBLE","TRY_TO_GEOGRAPHY","TRY_TO_GEOMETRY","TRY_TO_TIME","TRY_TO_TIMESTAMP","TRY_TO_TIMESTAMP_LTZ","TRY_TO_TIMESTAMP_NTZ","TRY_TO_TIMESTAMP_TZ","TYPEOF","UNICODE","UNIFORM","UPPER","UUID_STRING","VALIDATE","VALIDATE_PIPE_LOAD","VAR_POP","VAR_SAMP","VARIANCE","VARIANCE_SAMP","VARIANCE_POP","WAREHOUSE_LOAD_HISTORY","WAREHOUSE_METERING_HISTORY","WIDTH_BUCKET","XMLGET","YEAR","YEAROFWEEK","YEAROFWEEKISO","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFWEEKISO","DAYOFYEAR","WEEK","WEEK","WEEKOFYEAR","WEEKISO","MONTH","QUARTER","ZEROIFNULL","ZIPF"]}),e$=L({all:["ACCOUNT","ALL","ALTER","AND","ANY","AS","BETWEEN","BY","CASE","CAST","CHECK","COLUMN","CONNECT","CONNECTION","CONSTRAINT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DATABASE","DELETE","DISTINCT","DROP","ELSE","EXISTS","FALSE","FOLLOWING","FOR","FROM","FULL","GRANT","GROUP","GSCLUSTER","HAVING","ILIKE","IN","INCREMENT","INNER","INSERT","INTERSECT","INTO","IS","ISSUE","JOIN","LATERAL","LEFT","LIKE","LOCALTIME","LOCALTIMESTAMP","MINUS","NATURAL","NOT","NULL","OF","ON","OR","ORDER","ORGANIZATION","QUALIFY","REGEXP","REVOKE","RIGHT","RLIKE","ROW","ROWS","SAMPLE","SCHEMA","SELECT","SET","SOME","START","TABLE","TABLESAMPLE","THEN","TO","TRIGGER","TRUE","TRY_CAST","UNION","UNIQUE","UPDATE","USING","VALUES","VIEW","WHEN","WHENEVER","WHERE","WITH"]}),eJ=d(["SELECT [ALL | DISTINCT]"]),ej=d(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","QUALIFY","LIMIT","OFFSET","FETCH [FIRST | NEXT]","INSERT [OVERWRITE] [ALL INTO | INTO | ALL | FIRST]","{THEN | ELSE} INTO","VALUES","SET","CREATE [OR REPLACE] [SECURE] [RECURSIVE] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [VOLATILE] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [LOCAL | GLOBAL] {TEMP|TEMPORARY} TABLE [IF NOT EXISTS]","CLUSTER BY","[WITH] {MASKING POLICY | TAG | ROW ACCESS POLICY}","COPY GRANTS","USING TEMPLATE","MERGE INTO","WHEN MATCHED [AND]","THEN {UPDATE SET | DELETE}","WHEN NOT MATCHED THEN INSERT"]),eq=d(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","RENAME TO","SWAP WITH","[SUSPEND | RESUME] RECLUSTER","DROP CLUSTERING KEY","ADD [COLUMN]","RENAME COLUMN","{ALTER | MODIFY} [COLUMN]","DROP [COLUMN]","{ADD | ALTER | MODIFY | DROP} [CONSTRAINT]","RENAME CONSTRAINT","{ADD | DROP} SEARCH OPTIMIZATION","{SET | UNSET} TAG","{ADD | DROP} ROW ACCESS POLICY","DROP ALL ROW ACCESS POLICIES","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","[SET DATA] TYPE","[UNSET] COMMENT","{SET | UNSET} MASKING POLICY","TRUNCATE [TABLE] [IF EXISTS]","ALTER ACCOUNT","ALTER API INTEGRATION","ALTER CONNECTION","ALTER DATABASE","ALTER EXTERNAL TABLE","ALTER FAILOVER GROUP","ALTER FILE FORMAT","ALTER FUNCTION","ALTER INTEGRATION","ALTER MASKING POLICY","ALTER MATERIALIZED VIEW","ALTER NETWORK POLICY","ALTER NOTIFICATION INTEGRATION","ALTER PIPE","ALTER PROCEDURE","ALTER REPLICATION GROUP","ALTER RESOURCE MONITOR","ALTER ROLE","ALTER ROW ACCESS POLICY","ALTER SCHEMA","ALTER SECURITY INTEGRATION","ALTER SEQUENCE","ALTER SESSION","ALTER SESSION POLICY","ALTER SHARE","ALTER STAGE","ALTER STORAGE INTEGRATION","ALTER STREAM","ALTER TAG","ALTER TASK","ALTER USER","ALTER VIEW","ALTER WAREHOUSE","BEGIN","CALL","COMMIT","COPY INTO","CREATE ACCOUNT","CREATE API INTEGRATION","CREATE CONNECTION","CREATE DATABASE","CREATE EXTERNAL FUNCTION","CREATE EXTERNAL TABLE","CREATE FAILOVER GROUP","CREATE FILE FORMAT","CREATE FUNCTION","CREATE INTEGRATION","CREATE MANAGED ACCOUNT","CREATE MASKING POLICY","CREATE MATERIALIZED VIEW","CREATE NETWORK POLICY","CREATE NOTIFICATION INTEGRATION","CREATE PIPE","CREATE PROCEDURE","CREATE REPLICATION GROUP","CREATE RESOURCE MONITOR","CREATE ROLE","CREATE ROW ACCESS POLICY","CREATE SCHEMA","CREATE SECURITY INTEGRATION","CREATE SEQUENCE","CREATE SESSION POLICY","CREATE SHARE","CREATE STAGE","CREATE STORAGE INTEGRATION","CREATE STREAM","CREATE TAG","CREATE TASK","CREATE USER","CREATE WAREHOUSE","DELETE","DESCRIBE DATABASE","DESCRIBE EXTERNAL TABLE","DESCRIBE FILE FORMAT","DESCRIBE FUNCTION","DESCRIBE INTEGRATION","DESCRIBE MASKING POLICY","DESCRIBE MATERIALIZED VIEW","DESCRIBE NETWORK POLICY","DESCRIBE PIPE","DESCRIBE PROCEDURE","DESCRIBE RESULT","DESCRIBE ROW ACCESS POLICY","DESCRIBE SCHEMA","DESCRIBE SEQUENCE","DESCRIBE SESSION POLICY","DESCRIBE SHARE","DESCRIBE STAGE","DESCRIBE STREAM","DESCRIBE TABLE","DESCRIBE TASK","DESCRIBE TRANSACTION","DESCRIBE USER","DESCRIBE VIEW","DESCRIBE WAREHOUSE","DROP CONNECTION","DROP DATABASE","DROP EXTERNAL TABLE","DROP FAILOVER GROUP","DROP FILE FORMAT","DROP FUNCTION","DROP INTEGRATION","DROP MANAGED ACCOUNT","DROP MASKING POLICY","DROP MATERIALIZED VIEW","DROP NETWORK POLICY","DROP PIPE","DROP PROCEDURE","DROP REPLICATION GROUP","DROP RESOURCE MONITOR","DROP ROLE","DROP ROW ACCESS POLICY","DROP SCHEMA","DROP SEQUENCE","DROP SESSION POLICY","DROP SHARE","DROP STAGE","DROP STREAM","DROP TAG","DROP TASK","DROP USER","DROP VIEW","DROP WAREHOUSE","EXECUTE IMMEDIATE","EXECUTE TASK","EXPLAIN","GET","GRANT OWNERSHIP","GRANT ROLE","INSERT","LIST","MERGE","PUT","REMOVE","REVOKE ROLE","ROLLBACK","SHOW COLUMNS","SHOW CONNECTIONS","SHOW DATABASES","SHOW DATABASES IN FAILOVER GROUP","SHOW DATABASES IN REPLICATION GROUP","SHOW DELEGATED AUTHORIZATIONS","SHOW EXTERNAL FUNCTIONS","SHOW EXTERNAL TABLES","SHOW FAILOVER GROUPS","SHOW FILE FORMATS","SHOW FUNCTIONS","SHOW GLOBAL ACCOUNTS","SHOW GRANTS","SHOW INTEGRATIONS","SHOW LOCKS","SHOW MANAGED ACCOUNTS","SHOW MASKING POLICIES","SHOW MATERIALIZED VIEWS","SHOW NETWORK POLICIES","SHOW OBJECTS","SHOW ORGANIZATION ACCOUNTS","SHOW PARAMETERS","SHOW PIPES","SHOW PRIMARY KEYS","SHOW PROCEDURES","SHOW REGIONS","SHOW REPLICATION ACCOUNTS","SHOW REPLICATION DATABASES","SHOW REPLICATION GROUPS","SHOW RESOURCE MONITORS","SHOW ROLES","SHOW ROW ACCESS POLICIES","SHOW SCHEMAS","SHOW SEQUENCES","SHOW SESSION POLICIES","SHOW SHARES","SHOW SHARES IN FAILOVER GROUP","SHOW SHARES IN REPLICATION GROUP","SHOW STAGES","SHOW STREAMS","SHOW TABLES","SHOW TAGS","SHOW TASKS","SHOW TRANSACTIONS","SHOW USER FUNCTIONS","SHOW USERS","SHOW VARIABLES","SHOW VIEWS","SHOW WAREHOUSES","TRUNCATE MATERIALIZED VIEW","UNDROP DATABASE","UNDROP SCHEMA","UNDROP TABLE","UNDROP TAG","UNSET","USE DATABASE","USE ROLE","USE SCHEMA","USE SECONDARY ROLES","USE WAREHOUSE"]),eQ=d(["UNION [ALL]","MINUS","EXCEPT","INTERSECT"]),e0=d(["[INNER] JOIN","[NATURAL] {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | NATURAL} JOIN"]),e1=d(["{ROWS | RANGE} BETWEEN","ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]"]),e2={tokenizerOptions:{reservedSelect:eJ,reservedClauses:[...ej,...eq],reservedSetOperations:eQ,reservedJoins:e0,reservedPhrases:e1,reservedKeywords:e$,reservedFunctionNames:eZ,stringTypes:["$$","''-qq-bs"],identTypes:['""-qq'],variableTypes:[{regex:"[$][1-9]\\d*"},{regex:"[$][_a-zA-Z][_a-zA-Z0-9$]*"}],extraParens:["[]"],identChars:{rest:"$"},lineCommentTypes:["--","//"],operators:["%","::","||",":","=>"]},formatOptions:{alwaysDenseOperators:[":","::"],onelineClauses:eq}},e5=t=>t.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&"),e6=/\s+/uy,e3=t=>RegExp(`(?:${t})`,"uy"),e4=t=>t.split("").map(t=>/ /gu.test(t)?"\\s+":`[${t.toUpperCase()}${t.toLowerCase()}]`).join(""),e8=t=>t+"(?:-"+t+")*",e9=({prefixes:t,requirePrefix:e})=>`(?:${t.map(e4).join("|")}${e?"":"|"})`,e7=t=>RegExp(`(?:${t.map(e5).join("|")}).*?(?=\r +|\r| +|$)`,"uy"),nt=(t,e=[])=>{let n="open"===t?0:1,i=["()",...e].map(t=>t[n]);return e3(i.map(e5).join("|"))},ne=t=>e3(`${N(t).map(e5).join("|")}`),nn=({rest:t,dashes:e})=>t||e?`(?![${t||""}${e?"-":""}])`:"",ni=(t,e={})=>{if(0===t.length)return/^\b$/u;let n=nn(e),i=N(t).map(e5).join("|").replace(/ /gu,"\\s+");return RegExp(`(?:${i})${n}\\b`,"iuy")},nr=(t,e)=>{if(!t.length)return;let n=t.map(e5).join("|");return e3(`(?:${n})(?:${e})`)},no={"``":"(?:`[^`]*`)+","[]":String.raw`(?:\[[^\]]*\])(?:\][^\]]*\])*`,'""-qq':String.raw`(?:"[^"]*")+`,'""-bs':String.raw`(?:"[^"\\]*(?:\\.[^"\\]*)*")`,'""-qq-bs':String.raw`(?:"[^"\\]*(?:\\.[^"\\]*)*")+`,'""-raw':String.raw`(?:"[^"]*")`,"''-qq":String.raw`(?:'[^']*')+`,"''-bs":String.raw`(?:'[^'\\]*(?:\\.[^'\\]*)*')`,"''-qq-bs":String.raw`(?:'[^'\\]*(?:\\.[^'\\]*)*')+`,"''-raw":String.raw`(?:'[^']*')`,$$:String.raw`(?\$\w*\$)[\s\S]*?\k`,"'''..'''":String.raw`'''[^\\]*?(?:\\.[^\\]*?)*?'''`,'""".."""':String.raw`"""[^\\]*?(?:\\.[^\\]*?)*?"""`,"{}":String.raw`(?:\{[^\}]*\})`,"q''":(()=>{let t={"<":">","[":"]","(":")","{":"}"},e=Object.entries(t).map(([t,e])=>"{left}(?:(?!{right}').)*?{right}".replace(/{left}/g,e5(t)).replace(/{right}/g,e5(e))),n=e5(Object.keys(t).join("")),i=String.raw`(?[^\s${n}])(?:(?!\k').)*?\k`,r=`[Qq]'(?:${i}|${e.join("|")})'`;return r})()},na=t=>"string"==typeof t?no[t]:"regex"in t?t.regex:e9(t)+no[t.quote],ns=t=>e3(t.map(t=>"regex"in t?t.regex:na(t)).join("|")),nl=t=>t.map(na).join("|"),nu=t=>e3(nl(t)),nc=(t={})=>e3(nE(t)),nE=({first:t,rest:e,dashes:n,allowFirstCharNumber:i}={})=>{let r="\\p{Alphabetic}\\p{Mark}_",o="\\p{Decimal_Number}",a=e5(t??""),s=e5(e??""),l=i?`[${r}${o}${a}][${r}${o}${s}]*`:`[${r}${a}][${r}${o}${s}]*`;return n?e8(l):l};function nh(t,e){let n=t.slice(0,e).split(/\n/);return{line:n.length,col:n[n.length-1].length+1}}class np{input="";index=0;constructor(t){this.rules=t}tokenize(t){let e;this.input=t,this.index=0;let n=[];for(;this.index0;)if(e=this.matchSection(nT,t))n+=e,i++;else if(e=this.matchSection(nd,t))n+=e,i--;else{if(!(e=this.matchSection(nf,t)))return null;n+=e}return[n]}matchSection(t,e){t.lastIndex=this.lastIndex;let n=t.exec(e);return n&&(this.lastIndex+=n[0].length),n?n[0]:null}}class nS{constructor(t){this.cfg=t,this.rulesBeforeParams=this.buildRulesBeforeParams(t),this.rulesAfterParams=this.buildRulesAfterParams(t)}tokenize(t,e){let n=[...this.rulesBeforeParams,...this.buildParamRules(this.cfg,e),...this.rulesAfterParams],i=new np(n).tokenize(t);return this.cfg.postProcess?this.cfg.postProcess(i):i}buildRulesBeforeParams(t){return this.validRules([{type:i.BLOCK_COMMENT,regex:t.nestedBlockComments?new nA:/(\/\*[^]*?\*\/)/uy},{type:i.LINE_COMMENT,regex:e7(t.lineCommentTypes??["--"])},{type:i.QUOTED_IDENTIFIER,regex:nu(t.identTypes)},{type:i.NUMBER,regex:/(?:0x[0-9a-fA-F]+|0b[01]+|(?:-\s*)?[0-9]+(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+(?:\.[0-9]+)?)?)(?!\w)/uy},{type:i.RESERVED_PHRASE,regex:ni(t.reservedPhrases??[],t.identChars),text:nR},{type:i.CASE,regex:/CASE\b/iuy,text:nR},{type:i.END,regex:/END\b/iuy,text:nR},{type:i.BETWEEN,regex:/BETWEEN\b/iuy,text:nR},{type:i.LIMIT,regex:t.reservedClauses.includes("LIMIT")?/LIMIT\b/iuy:void 0,text:nR},{type:i.RESERVED_CLAUSE,regex:ni(t.reservedClauses,t.identChars),text:nR},{type:i.RESERVED_SELECT,regex:ni(t.reservedSelect,t.identChars),text:nR},{type:i.RESERVED_SET_OPERATION,regex:ni(t.reservedSetOperations,t.identChars),text:nR},{type:i.WHEN,regex:/WHEN\b/iuy,text:nR},{type:i.ELSE,regex:/ELSE\b/iuy,text:nR},{type:i.THEN,regex:/THEN\b/iuy,text:nR},{type:i.RESERVED_JOIN,regex:ni(t.reservedJoins,t.identChars),text:nR},{type:i.AND,regex:/AND\b/iuy,text:nR},{type:i.OR,regex:/OR\b/iuy,text:nR},{type:i.XOR,regex:t.supportsXor?/XOR\b/iuy:void 0,text:nR},{type:i.RESERVED_FUNCTION_NAME,regex:ni(t.reservedFunctionNames,t.identChars),text:nR},{type:i.RESERVED_KEYWORD,regex:ni(t.reservedKeywords,t.identChars),text:nR}])}buildRulesAfterParams(t){return this.validRules([{type:i.VARIABLE,regex:t.variableTypes?ns(t.variableTypes):void 0},{type:i.STRING,regex:nu(t.stringTypes)},{type:i.IDENTIFIER,regex:nc(t.identChars)},{type:i.DELIMITER,regex:/[;]/uy},{type:i.COMMA,regex:/[,]/y},{type:i.OPEN_PAREN,regex:nt("open",t.extraParens)},{type:i.CLOSE_PAREN,regex:nt("close",t.extraParens)},{type:i.OPERATOR,regex:ne(["+","-","/",">","<","=","<>","<=",">=","!=",...t.operators??[]])},{type:i.ASTERISK,regex:/[*]/uy},{type:i.DOT,regex:/[.]/uy}])}buildParamRules(t,e){var n,r,o,a,s;let l={named:(null==e?void 0:e.named)||(null===(n=t.paramTypes)||void 0===n?void 0:n.named)||[],quoted:(null==e?void 0:e.quoted)||(null===(r=t.paramTypes)||void 0===r?void 0:r.quoted)||[],numbered:(null==e?void 0:e.numbered)||(null===(o=t.paramTypes)||void 0===o?void 0:o.numbered)||[],positional:"boolean"==typeof(null==e?void 0:e.positional)?e.positional:null===(a=t.paramTypes)||void 0===a?void 0:a.positional,custom:(null==e?void 0:e.custom)||(null===(s=t.paramTypes)||void 0===s?void 0:s.custom)||[]};return this.validRules([{type:i.NAMED_PARAMETER,regex:nr(l.named,nE(t.paramChars||t.identChars)),key:t=>t.slice(1)},{type:i.QUOTED_PARAMETER,regex:nr(l.quoted,nl(t.identTypes)),key:t=>(({tokenKey:t,quoteChar:e})=>t.replace(RegExp(e5("\\"+e),"gu"),e))({tokenKey:t.slice(2,-1),quoteChar:t.slice(-1)})},{type:i.NUMBERED_PARAMETER,regex:nr(l.numbered,"[0-9]+"),key:t=>t.slice(1)},{type:i.POSITIONAL_PARAMETER,regex:l.positional?/[?]/y:void 0},...l.custom.map(t=>({type:i.CUSTOM_PARAMETER,regex:e3(t.regex),key:t.key??(t=>t)}))])}validRules(t){return t.filter(t=>!!t.regex)}}let nR=t=>m(t.toUpperCase()),ng=new Map,nI=t=>{let e=ng.get(t);return e||(e=nO(t),ng.set(t,e)),e},nO=t=>({tokenizer:new nS(t.tokenizerOptions),formatOptions:ny(t.formatOptions)}),ny=t=>({alwaysDenseOperators:t.alwaysDenseOperators||[],onelineClauses:Object.fromEntries(t.onelineClauses.map(t=>[t,!0]))});function nv(t){return"tabularLeft"===t.indentStyle||"tabularRight"===t.indentStyle?" ".repeat(10):t.useTabs?" ":" ".repeat(t.tabWidth)}function nN(t){return"tabularLeft"===t.indentStyle||"tabularRight"===t.indentStyle}class nC{constructor(t){this.params=t,this.index=0}get({key:t,text:e}){return this.params?t?this.params[t]:this.params[this.index++]:e}getPositionalParameterIndex(){return this.index}setPositionalParameterIndex(t){this.index=t}}var nm=n(69654);let nL=(t,e,n)=>{if(T(t.type)){let r=nP(n,e);if(r&&"."===r.text)return{...t,type:i.IDENTIFIER,text:t.raw}}return t},n_=(t,e,n)=>{if(t.type===i.RESERVED_FUNCTION_NAME){let r=nD(n,e);if(!r||!nU(r))return{...t,type:i.RESERVED_KEYWORD}}return t},nx=(t,e,n)=>{if(t.type===i.IDENTIFIER){let r=nD(n,e);if(r&&nb(r))return{...t,type:i.ARRAY_IDENTIFIER}}return t},nM=(t,e,n)=>{if(t.type===i.RESERVED_KEYWORD){let r=nD(n,e);if(r&&nb(r))return{...t,type:i.ARRAY_KEYWORD}}return t},nP=(t,e)=>nD(t,e,-1),nD=(t,e,n=1)=>{let i=1;for(;t[e+i*n]&&nF(t[e+i*n]);)i++;return t[e+i*n]},nU=t=>t.type===i.OPEN_PAREN&&"("===t.text,nb=t=>t.type===i.OPEN_PAREN&&"["===t.text,nF=t=>t.type===i.BLOCK_COMMENT||t.type===i.LINE_COMMENT;class nB{index=0;tokens=[];input="";constructor(t){this.tokenize=t}reset(t,e){this.input=t,this.index=0,this.tokens=this.tokenize(t)}next(){return this.tokens[this.index++]}save(){}formatError(t){let{line:e,col:n}=nh(this.input,t.start);return`Parse error at token: ${t.text} at line ${e} column ${n}`}has(t){return t in i}}function nG(t){return t[0]}(s=r||(r={})).statement="statement",s.clause="clause",s.set_operation="set_operation",s.function_call="function_call",s.array_subscript="array_subscript",s.property_access="property_access",s.parenthesis="parenthesis",s.between_predicate="between_predicate",s.case_expression="case_expression",s.case_when="case_when",s.case_else="case_else",s.limit_clause="limit_clause",s.all_columns_asterisk="all_columns_asterisk",s.literal="literal",s.identifier="identifier",s.keyword="keyword",s.parameter="parameter",s.operator="operator",s.comma="comma",s.line_comment="line_comment",s.block_comment="block_comment";let nw=new nB(t=>[]),nH=t=>({type:r.keyword,tokenType:t.type,text:t.text,raw:t.raw}),nY=(t,{leading:e,trailing:n})=>(null!=e&&e.length&&(t={...t,leadingComments:e}),null!=n&&n.length&&(t={...t,trailingComments:n}),t),nk=(t,{leading:e,trailing:n})=>{if(null!=e&&e.length){let[n,...i]=t;t=[nY(n,{leading:e}),...i]}if(null!=n&&n.length){let e=t.slice(0,-1),i=t[t.length-1];t=[...e,nY(i,{trailing:n})]}return t},nV={Lexer:nw,ParserRules:[{name:"main$ebnf$1",symbols:[]},{name:"main$ebnf$1",symbols:["main$ebnf$1","statement"],postprocess:t=>t[0].concat([t[1]])},{name:"main",symbols:["main$ebnf$1"],postprocess:([t])=>{let e=t[t.length-1];return e&&!e.hasSemicolon?e.children.length>0?t:t.slice(0,-1):t}},{name:"statement$subexpression$1",symbols:[nw.has("DELIMITER")?{type:"DELIMITER"}:DELIMITER]},{name:"statement$subexpression$1",symbols:[nw.has("EOF")?{type:"EOF"}:EOF]},{name:"statement",symbols:["expressions_or_clauses","statement$subexpression$1"],postprocess:([t,[e]])=>({type:r.statement,children:t,hasSemicolon:e.type===i.DELIMITER})},{name:"expressions_or_clauses$ebnf$1",symbols:[]},{name:"expressions_or_clauses$ebnf$1",symbols:["expressions_or_clauses$ebnf$1","free_form_sql"],postprocess:t=>t[0].concat([t[1]])},{name:"expressions_or_clauses$ebnf$2",symbols:[]},{name:"expressions_or_clauses$ebnf$2",symbols:["expressions_or_clauses$ebnf$2","clause"],postprocess:t=>t[0].concat([t[1]])},{name:"expressions_or_clauses",symbols:["expressions_or_clauses$ebnf$1","expressions_or_clauses$ebnf$2"],postprocess:([t,e])=>[...t,...e]},{name:"clause$subexpression$1",symbols:["limit_clause"]},{name:"clause$subexpression$1",symbols:["select_clause"]},{name:"clause$subexpression$1",symbols:["other_clause"]},{name:"clause$subexpression$1",symbols:["set_operation"]},{name:"clause",symbols:["clause$subexpression$1"],postprocess:([[t]])=>t},{name:"limit_clause$ebnf$1$subexpression$1$ebnf$1",symbols:["free_form_sql"]},{name:"limit_clause$ebnf$1$subexpression$1$ebnf$1",symbols:["limit_clause$ebnf$1$subexpression$1$ebnf$1","free_form_sql"],postprocess:t=>t[0].concat([t[1]])},{name:"limit_clause$ebnf$1$subexpression$1",symbols:[nw.has("COMMA")?{type:"COMMA"}:COMMA,"limit_clause$ebnf$1$subexpression$1$ebnf$1"]},{name:"limit_clause$ebnf$1",symbols:["limit_clause$ebnf$1$subexpression$1"],postprocess:nG},{name:"limit_clause$ebnf$1",symbols:[],postprocess:()=>null},{name:"limit_clause",symbols:[nw.has("LIMIT")?{type:"LIMIT"}:LIMIT,"_","expression_chain_","limit_clause$ebnf$1"],postprocess:([t,e,n,i])=>{if(!i)return{type:r.limit_clause,limitKw:nY(nH(t),{trailing:e}),count:n};{let[o,a]=i;return{type:r.limit_clause,limitKw:nY(nH(t),{trailing:e}),offset:n,count:a}}}},{name:"select_clause$subexpression$1$ebnf$1",symbols:[]},{name:"select_clause$subexpression$1$ebnf$1",symbols:["select_clause$subexpression$1$ebnf$1","free_form_sql"],postprocess:t=>t[0].concat([t[1]])},{name:"select_clause$subexpression$1",symbols:["all_columns_asterisk","select_clause$subexpression$1$ebnf$1"]},{name:"select_clause$subexpression$1$ebnf$2",symbols:[]},{name:"select_clause$subexpression$1$ebnf$2",symbols:["select_clause$subexpression$1$ebnf$2","free_form_sql"],postprocess:t=>t[0].concat([t[1]])},{name:"select_clause$subexpression$1",symbols:["asteriskless_free_form_sql","select_clause$subexpression$1$ebnf$2"]},{name:"select_clause",symbols:[nw.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT,"select_clause$subexpression$1"],postprocess:([t,[e,n]])=>({type:r.clause,nameKw:nH(t),children:[e,...n]})},{name:"select_clause",symbols:[nw.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT],postprocess:([t])=>({type:r.clause,nameKw:nH(t),children:[]})},{name:"all_columns_asterisk",symbols:[nw.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK],postprocess:()=>({type:r.all_columns_asterisk})},{name:"other_clause$ebnf$1",symbols:[]},{name:"other_clause$ebnf$1",symbols:["other_clause$ebnf$1","free_form_sql"],postprocess:t=>t[0].concat([t[1]])},{name:"other_clause",symbols:[nw.has("RESERVED_CLAUSE")?{type:"RESERVED_CLAUSE"}:RESERVED_CLAUSE,"other_clause$ebnf$1"],postprocess:([t,e])=>({type:r.clause,nameKw:nH(t),children:e})},{name:"set_operation$ebnf$1",symbols:[]},{name:"set_operation$ebnf$1",symbols:["set_operation$ebnf$1","free_form_sql"],postprocess:t=>t[0].concat([t[1]])},{name:"set_operation",symbols:[nw.has("RESERVED_SET_OPERATION")?{type:"RESERVED_SET_OPERATION"}:RESERVED_SET_OPERATION,"set_operation$ebnf$1"],postprocess:([t,e])=>({type:r.set_operation,nameKw:nH(t),children:e})},{name:"expression_chain_$ebnf$1",symbols:["expression_with_comments_"]},{name:"expression_chain_$ebnf$1",symbols:["expression_chain_$ebnf$1","expression_with_comments_"],postprocess:t=>t[0].concat([t[1]])},{name:"expression_chain_",symbols:["expression_chain_$ebnf$1"],postprocess:nG},{name:"expression_chain$ebnf$1",symbols:[]},{name:"expression_chain$ebnf$1",symbols:["expression_chain$ebnf$1","_expression_with_comments"],postprocess:t=>t[0].concat([t[1]])},{name:"expression_chain",symbols:["expression","expression_chain$ebnf$1"],postprocess:([t,e])=>[t,...e]},{name:"andless_expression_chain$ebnf$1",symbols:[]},{name:"andless_expression_chain$ebnf$1",symbols:["andless_expression_chain$ebnf$1","_andless_expression_with_comments"],postprocess:t=>t[0].concat([t[1]])},{name:"andless_expression_chain",symbols:["andless_expression","andless_expression_chain$ebnf$1"],postprocess:([t,e])=>[t,...e]},{name:"expression_with_comments_",symbols:["expression","_"],postprocess:([t,e])=>nY(t,{trailing:e})},{name:"_expression_with_comments",symbols:["_","expression"],postprocess:([t,e])=>nY(e,{leading:t})},{name:"_andless_expression_with_comments",symbols:["_","andless_expression"],postprocess:([t,e])=>nY(e,{leading:t})},{name:"free_form_sql$subexpression$1",symbols:["asteriskless_free_form_sql"]},{name:"free_form_sql$subexpression$1",symbols:["asterisk"]},{name:"free_form_sql",symbols:["free_form_sql$subexpression$1"],postprocess:([[t]])=>t},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["asteriskless_andless_expression"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["logic_operator"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["between_predicate"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["comma"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["comment"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["other_keyword"]},{name:"asteriskless_free_form_sql",symbols:["asteriskless_free_form_sql$subexpression$1"],postprocess:([[t]])=>t},{name:"expression$subexpression$1",symbols:["andless_expression"]},{name:"expression$subexpression$1",symbols:["logic_operator"]},{name:"expression",symbols:["expression$subexpression$1"],postprocess:([[t]])=>t},{name:"andless_expression$subexpression$1",symbols:["asteriskless_andless_expression"]},{name:"andless_expression$subexpression$1",symbols:["asterisk"]},{name:"andless_expression",symbols:["andless_expression$subexpression$1"],postprocess:([[t]])=>t},{name:"asteriskless_andless_expression$subexpression$1",symbols:["array_subscript"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["case_expression"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["function_call"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["property_access"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["parenthesis"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["curly_braces"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["square_brackets"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["operator"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["identifier"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["parameter"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["literal"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["keyword"]},{name:"asteriskless_andless_expression",symbols:["asteriskless_andless_expression$subexpression$1"],postprocess:([[t]])=>t},{name:"array_subscript",symbols:[nw.has("ARRAY_IDENTIFIER")?{type:"ARRAY_IDENTIFIER"}:ARRAY_IDENTIFIER,"_","square_brackets"],postprocess:([t,e,n])=>({type:r.array_subscript,array:nY({type:r.identifier,text:t.text},{trailing:e}),parenthesis:n})},{name:"array_subscript",symbols:[nw.has("ARRAY_KEYWORD")?{type:"ARRAY_KEYWORD"}:ARRAY_KEYWORD,"_","square_brackets"],postprocess:([t,e,n])=>({type:r.array_subscript,array:nY(nH(t),{trailing:e}),parenthesis:n})},{name:"function_call",symbols:[nw.has("RESERVED_FUNCTION_NAME")?{type:"RESERVED_FUNCTION_NAME"}:RESERVED_FUNCTION_NAME,"_","parenthesis"],postprocess:([t,e,n])=>({type:r.function_call,nameKw:nY(nH(t),{trailing:e}),parenthesis:n})},{name:"parenthesis",symbols:[{literal:"("},"expressions_or_clauses",{literal:")"}],postprocess:([t,e,n])=>({type:r.parenthesis,children:e,openParen:"(",closeParen:")"})},{name:"curly_braces$ebnf$1",symbols:[]},{name:"curly_braces$ebnf$1",symbols:["curly_braces$ebnf$1","free_form_sql"],postprocess:t=>t[0].concat([t[1]])},{name:"curly_braces",symbols:[{literal:"{"},"curly_braces$ebnf$1",{literal:"}"}],postprocess:([t,e,n])=>({type:r.parenthesis,children:e,openParen:"{",closeParen:"}"})},{name:"square_brackets$ebnf$1",symbols:[]},{name:"square_brackets$ebnf$1",symbols:["square_brackets$ebnf$1","free_form_sql"],postprocess:t=>t[0].concat([t[1]])},{name:"square_brackets",symbols:[{literal:"["},"square_brackets$ebnf$1",{literal:"]"}],postprocess:([t,e,n])=>({type:r.parenthesis,children:e,openParen:"[",closeParen:"]"})},{name:"property_access$subexpression$1",symbols:["identifier"]},{name:"property_access$subexpression$1",symbols:["array_subscript"]},{name:"property_access$subexpression$1",symbols:["all_columns_asterisk"]},{name:"property_access",symbols:["expression","_",nw.has("DOT")?{type:"DOT"}:DOT,"_","property_access$subexpression$1"],postprocess:([t,e,n,i,[o]])=>({type:r.property_access,object:nY(t,{trailing:e}),property:nY(o,{leading:i})})},{name:"between_predicate",symbols:[nw.has("BETWEEN")?{type:"BETWEEN"}:BETWEEN,"_","andless_expression_chain","_",nw.has("AND")?{type:"AND"}:AND,"_","andless_expression"],postprocess:([t,e,n,i,o,a,s])=>({type:r.between_predicate,betweenKw:nH(t),expr1:nk(n,{leading:e,trailing:i}),andKw:nH(o),expr2:[nY(s,{leading:a})]})},{name:"case_expression$ebnf$1",symbols:["expression_chain_"],postprocess:nG},{name:"case_expression$ebnf$1",symbols:[],postprocess:()=>null},{name:"case_expression$ebnf$2",symbols:[]},{name:"case_expression$ebnf$2",symbols:["case_expression$ebnf$2","case_clause"],postprocess:t=>t[0].concat([t[1]])},{name:"case_expression",symbols:[nw.has("CASE")?{type:"CASE"}:CASE,"_","case_expression$ebnf$1","case_expression$ebnf$2",nw.has("END")?{type:"END"}:END],postprocess:([t,e,n,i,o])=>({type:r.case_expression,caseKw:nY(nH(t),{trailing:e}),endKw:nH(o),expr:n||[],clauses:i})},{name:"case_clause",symbols:[nw.has("WHEN")?{type:"WHEN"}:WHEN,"_","expression_chain_",nw.has("THEN")?{type:"THEN"}:THEN,"_","expression_chain_"],postprocess:([t,e,n,i,o,a])=>({type:r.case_when,whenKw:nY(nH(t),{trailing:e}),thenKw:nY(nH(i),{trailing:o}),condition:n,result:a})},{name:"case_clause",symbols:[nw.has("ELSE")?{type:"ELSE"}:ELSE,"_","expression_chain_"],postprocess:([t,e,n])=>({type:r.case_else,elseKw:nY(nH(t),{trailing:e}),result:n})},{name:"comma$subexpression$1",symbols:[nw.has("COMMA")?{type:"COMMA"}:COMMA]},{name:"comma",symbols:["comma$subexpression$1"],postprocess:([[t]])=>({type:r.comma})},{name:"asterisk$subexpression$1",symbols:[nw.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK]},{name:"asterisk",symbols:["asterisk$subexpression$1"],postprocess:([[t]])=>({type:r.operator,text:t.text})},{name:"operator$subexpression$1",symbols:[nw.has("OPERATOR")?{type:"OPERATOR"}:OPERATOR]},{name:"operator",symbols:["operator$subexpression$1"],postprocess:([[t]])=>({type:r.operator,text:t.text})},{name:"identifier$subexpression$1",symbols:[nw.has("IDENTIFIER")?{type:"IDENTIFIER"}:IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[nw.has("QUOTED_IDENTIFIER")?{type:"QUOTED_IDENTIFIER"}:QUOTED_IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[nw.has("VARIABLE")?{type:"VARIABLE"}:VARIABLE]},{name:"identifier",symbols:["identifier$subexpression$1"],postprocess:([[t]])=>({type:r.identifier,text:t.text})},{name:"parameter$subexpression$1",symbols:[nw.has("NAMED_PARAMETER")?{type:"NAMED_PARAMETER"}:NAMED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nw.has("QUOTED_PARAMETER")?{type:"QUOTED_PARAMETER"}:QUOTED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nw.has("NUMBERED_PARAMETER")?{type:"NUMBERED_PARAMETER"}:NUMBERED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nw.has("POSITIONAL_PARAMETER")?{type:"POSITIONAL_PARAMETER"}:POSITIONAL_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nw.has("CUSTOM_PARAMETER")?{type:"CUSTOM_PARAMETER"}:CUSTOM_PARAMETER]},{name:"parameter",symbols:["parameter$subexpression$1"],postprocess:([[t]])=>({type:r.parameter,key:t.key,text:t.text})},{name:"literal$subexpression$1",symbols:[nw.has("NUMBER")?{type:"NUMBER"}:NUMBER]},{name:"literal$subexpression$1",symbols:[nw.has("STRING")?{type:"STRING"}:STRING]},{name:"literal",symbols:["literal$subexpression$1"],postprocess:([[t]])=>({type:r.literal,text:t.text})},{name:"keyword$subexpression$1",symbols:[nw.has("RESERVED_KEYWORD")?{type:"RESERVED_KEYWORD"}:RESERVED_KEYWORD]},{name:"keyword$subexpression$1",symbols:[nw.has("RESERVED_PHRASE")?{type:"RESERVED_PHRASE"}:RESERVED_PHRASE]},{name:"keyword$subexpression$1",symbols:[nw.has("RESERVED_JOIN")?{type:"RESERVED_JOIN"}:RESERVED_JOIN]},{name:"keyword",symbols:["keyword$subexpression$1"],postprocess:([[t]])=>nH(t)},{name:"logic_operator$subexpression$1",symbols:[nw.has("AND")?{type:"AND"}:AND]},{name:"logic_operator$subexpression$1",symbols:[nw.has("OR")?{type:"OR"}:OR]},{name:"logic_operator$subexpression$1",symbols:[nw.has("XOR")?{type:"XOR"}:XOR]},{name:"logic_operator",symbols:["logic_operator$subexpression$1"],postprocess:([[t]])=>nH(t)},{name:"other_keyword$subexpression$1",symbols:[nw.has("WHEN")?{type:"WHEN"}:WHEN]},{name:"other_keyword$subexpression$1",symbols:[nw.has("THEN")?{type:"THEN"}:THEN]},{name:"other_keyword$subexpression$1",symbols:[nw.has("ELSE")?{type:"ELSE"}:ELSE]},{name:"other_keyword$subexpression$1",symbols:[nw.has("END")?{type:"END"}:END]},{name:"other_keyword",symbols:["other_keyword$subexpression$1"],postprocess:([[t]])=>nH(t)},{name:"_$ebnf$1",symbols:[]},{name:"_$ebnf$1",symbols:["_$ebnf$1","comment"],postprocess:t=>t[0].concat([t[1]])},{name:"_",symbols:["_$ebnf$1"],postprocess:([t])=>t},{name:"comment",symbols:[nw.has("LINE_COMMENT")?{type:"LINE_COMMENT"}:LINE_COMMENT],postprocess:([t])=>({type:r.line_comment,text:t.text,precedingWhitespace:t.precedingWhitespace})},{name:"comment",symbols:[nw.has("BLOCK_COMMENT")?{type:"BLOCK_COMMENT"}:BLOCK_COMMENT],postprocess:([t])=>({type:r.block_comment,text:t.text,precedingWhitespace:t.precedingWhitespace})}],ParserStart:"main"},{Parser:nW,Grammar:nX}=nm,nK=/^\s+/u;(l=o||(o={}))[l.SPACE=0]="SPACE",l[l.NO_SPACE=1]="NO_SPACE",l[l.NO_NEWLINE=2]="NO_NEWLINE",l[l.NEWLINE=3]="NEWLINE",l[l.MANDATORY_NEWLINE=4]="MANDATORY_NEWLINE",l[l.INDENT=5]="INDENT",l[l.SINGLE_INDENT=6]="SINGLE_INDENT";class nz{items=[];constructor(t){this.indentation=t}add(...t){for(let e of t)switch(e){case o.SPACE:this.items.push(o.SPACE);break;case o.NO_SPACE:this.trimHorizontalWhitespace();break;case o.NO_NEWLINE:this.trimWhitespace();break;case o.NEWLINE:this.trimHorizontalWhitespace(),this.addNewline(o.NEWLINE);break;case o.MANDATORY_NEWLINE:this.trimHorizontalWhitespace(),this.addNewline(o.MANDATORY_NEWLINE);break;case o.INDENT:this.addIndentation();break;case o.SINGLE_INDENT:this.items.push(o.SINGLE_INDENT);break;default:this.items.push(e)}}trimHorizontalWhitespace(){for(;nZ(v(this.items));)this.items.pop()}trimWhitespace(){for(;n$(v(this.items));)this.items.pop()}addNewline(t){if(this.items.length>0)switch(v(this.items)){case o.NEWLINE:this.items.pop(),this.items.push(t);break;case o.MANDATORY_NEWLINE:break;default:this.items.push(t)}}addIndentation(){for(let t=0;tthis.itemToString(t)).join("")}getLayoutItems(){return this.items}itemToString(t){switch(t){case o.SPACE:return" ";case o.NEWLINE:case o.MANDATORY_NEWLINE:return"\n";case o.SINGLE_INDENT:return this.indentation.getSingleIndent();default:return t}}}let nZ=t=>t===o.SPACE||t===o.SINGLE_INDENT,n$=t=>t===o.SPACE||t===o.SINGLE_INDENT||t===o.NEWLINE,nJ="top-level";class nj{indentTypes=[];constructor(t){this.indent=t}getSingleIndent(){return this.indent}getLevel(){return this.indentTypes.length}increaseTopLevel(){this.indentTypes.push(nJ)}increaseBlockLevel(){this.indentTypes.push("block-level")}decreaseTopLevel(){this.indentTypes.length>0&&v(this.indentTypes)===nJ&&this.indentTypes.pop()}decreaseBlockLevel(){for(;this.indentTypes.length>0;){let t=this.indentTypes.pop();if(t!==nJ)break}}}class nq extends nz{length=0;trailingSpace=!1;constructor(t){super(new nj("")),this.expressionWidth=t}add(...t){if(t.forEach(t=>this.addToLength(t)),this.length>this.expressionWidth)throw new nQ;super.add(...t)}addToLength(t){if("string"==typeof t)this.length+=t.length,this.trailingSpace=!1;else if(t===o.MANDATORY_NEWLINE||t===o.NEWLINE)throw new nQ;else t===o.INDENT||t===o.SINGLE_INDENT||t===o.SPACE?this.trailingSpace||(this.length++,this.trailingSpace=!0):(t===o.NO_NEWLINE||t===o.NO_SPACE)&&this.trailingSpace&&(this.trailingSpace=!1,this.length--)}}class nQ extends Error{}class n0{inline=!1;nodes=[];index=-1;constructor({cfg:t,dialectCfg:e,params:n,layout:i,inline:r=!1}){this.cfg=t,this.dialectCfg=e,this.inline=r,this.params=n,this.layout=i}format(t){for(this.nodes=t,this.index=0;this.index{this.layout.add(this.showKw(t.nameKw))}),this.formatNode(t.parenthesis)}formatArraySubscript(t){this.withComments(t.array,()=>{this.layout.add(t.array.type===r.keyword?this.showKw(t.array):t.array.text)}),this.formatNode(t.parenthesis)}formatPropertyAccess(t){this.formatNode(t.object),this.layout.add(o.NO_SPACE,"."),this.formatNode(t.property)}formatParenthesis(t){let e=this.formatInlineExpression(t.children);e?(this.layout.add(t.openParen),this.layout.add(...e.getLayoutItems()),this.layout.add(o.NO_SPACE,t.closeParen,o.SPACE)):(this.layout.add(t.openParen,o.NEWLINE),nN(this.cfg)?(this.layout.add(o.INDENT),this.layout=this.formatSubExpression(t.children)):(this.layout.indentation.increaseBlockLevel(),this.layout.add(o.INDENT),this.layout=this.formatSubExpression(t.children),this.layout.indentation.decreaseBlockLevel()),this.layout.add(o.NEWLINE,o.INDENT,t.closeParen,o.SPACE))}formatBetweenPredicate(t){this.layout.add(this.showKw(t.betweenKw),o.SPACE),this.layout=this.formatSubExpression(t.expr1),this.layout.add(o.NO_SPACE,o.SPACE,this.showNonTabularKw(t.andKw),o.SPACE),this.layout=this.formatSubExpression(t.expr2),this.layout.add(o.SPACE)}formatCaseExpression(t){this.formatNode(t.caseKw),this.layout.indentation.increaseBlockLevel(),this.layout=this.formatSubExpression(t.expr),this.layout=this.formatSubExpression(t.clauses),this.layout.indentation.decreaseBlockLevel(),this.layout.add(o.NEWLINE,o.INDENT),this.formatNode(t.endKw)}formatCaseWhen(t){this.layout.add(o.NEWLINE,o.INDENT),this.formatNode(t.whenKw),this.layout=this.formatSubExpression(t.condition),this.formatNode(t.thenKw),this.layout=this.formatSubExpression(t.result)}formatCaseElse(t){this.layout.add(o.NEWLINE,o.INDENT),this.formatNode(t.elseKw),this.layout=this.formatSubExpression(t.result)}formatClause(t){this.isOnelineClause(t)?this.formatClauseInOnelineStyle(t):nN(this.cfg)?this.formatClauseInTabularStyle(t):this.formatClauseInIndentedStyle(t)}isOnelineClause(t){return this.dialectCfg.onelineClauses[t.nameKw.text]}formatClauseInIndentedStyle(t){this.layout.add(o.NEWLINE,o.INDENT,this.showKw(t.nameKw),o.NEWLINE),this.layout.indentation.increaseTopLevel(),this.layout.add(o.INDENT),this.layout=this.formatSubExpression(t.children),this.layout.indentation.decreaseTopLevel()}formatClauseInOnelineStyle(t){this.layout.add(o.NEWLINE,o.INDENT,this.showKw(t.nameKw),o.SPACE),this.layout=this.formatSubExpression(t.children)}formatClauseInTabularStyle(t){this.layout.add(o.NEWLINE,o.INDENT,this.showKw(t.nameKw),o.SPACE),this.layout.indentation.increaseTopLevel(),this.layout=this.formatSubExpression(t.children),this.layout.indentation.decreaseTopLevel()}formatSetOperation(t){this.layout.add(o.NEWLINE,o.INDENT,this.showKw(t.nameKw),o.NEWLINE),this.layout.add(o.INDENT),this.layout=this.formatSubExpression(t.children)}formatLimitClause(t){this.withComments(t.limitKw,()=>{this.layout.add(o.NEWLINE,o.INDENT,this.showKw(t.limitKw))}),this.layout.indentation.increaseTopLevel(),nN(this.cfg)?this.layout.add(o.SPACE):this.layout.add(o.NEWLINE,o.INDENT),t.offset&&(this.layout=this.formatSubExpression(t.offset),this.layout.add(o.NO_SPACE,",",o.SPACE)),this.layout=this.formatSubExpression(t.count),this.layout.indentation.decreaseTopLevel()}formatAllColumnsAsterisk(t){this.layout.add("*",o.SPACE)}formatLiteral(t){this.layout.add(t.text,o.SPACE)}formatIdentifier(t){this.layout.add(t.text,o.SPACE)}formatParameter(t){this.layout.add(this.params.get(t),o.SPACE)}formatOperator({text:t}){this.cfg.denseOperators||this.dialectCfg.alwaysDenseOperators.includes(t)?this.layout.add(o.NO_SPACE,t):":"===t?this.layout.add(o.NO_SPACE,t,o.SPACE):this.layout.add(t,o.SPACE)}formatComma(t){this.inline?this.layout.add(o.NO_SPACE,",",o.SPACE):this.layout.add(o.NO_SPACE,",",o.NEWLINE,o.INDENT)}withComments(t,e){this.formatComments(t.leadingComments),e(),this.formatComments(t.trailingComments)}formatComments(t){t&&t.forEach(t=>{t.type===r.line_comment?this.formatLineComment(t):this.formatBlockComment(t)})}formatLineComment(t){_(t.precedingWhitespace||"")?this.layout.add(o.NEWLINE,o.INDENT,t.text,o.MANDATORY_NEWLINE,o.INDENT):this.layout.getLayoutItems().length>0?this.layout.add(o.NO_NEWLINE,o.SPACE,t.text,o.MANDATORY_NEWLINE,o.INDENT):this.layout.add(t.text,o.MANDATORY_NEWLINE,o.INDENT)}formatBlockComment(t){this.isMultilineBlockComment(t)?(this.splitBlockComment(t.text).forEach(t=>{this.layout.add(o.NEWLINE,o.INDENT,t)}),this.layout.add(o.NEWLINE,o.INDENT)):this.layout.add(t.text,o.SPACE)}isMultilineBlockComment(t){return _(t.text)||_(t.precedingWhitespace||"")}isDocComment(t){let e=t.split(/\n/);return/^\/\*\*?$/.test(e[0])&&e.slice(1,e.length-1).every(t=>/^\s*\*/.test(t))&&/^\s*\*\/$/.test(v(e))}splitBlockComment(t){return this.isDocComment(t)?t.split(/\n/).map(t=>/^\s*\*/.test(t)?" "+t.replace(/^\s*/,""):t):t.split(/\n/).map(t=>t.replace(/^\s*/,""))}formatSubExpression(t){return new n0({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:this.layout,inline:this.inline}).format(t)}formatInlineExpression(t){let e=this.params.getPositionalParameterIndex();try{return new n0({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:new nq(this.cfg.expressionWidth),inline:!0}).format(t)}catch(t){if(t instanceof nQ){this.params.setPositionalParameterIndex(e);return}throw t}}formatKeywordNode(t){switch(t.tokenType){case i.RESERVED_JOIN:return this.formatJoin(t);case i.AND:case i.OR:case i.XOR:return this.formatLogicalOperator(t);default:return this.formatKeyword(t)}}formatJoin(t){nN(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(o.NEWLINE,o.INDENT,this.showKw(t),o.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(o.NEWLINE,o.INDENT,this.showKw(t),o.SPACE)}formatKeyword(t){this.layout.add(this.showKw(t),o.SPACE)}formatLogicalOperator(t){"before"===this.cfg.logicalOperatorNewline?nN(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(o.NEWLINE,o.INDENT,this.showKw(t),o.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(o.NEWLINE,o.INDENT,this.showKw(t),o.SPACE):this.layout.add(this.showKw(t),o.NEWLINE,o.INDENT)}showKw(t){var e;return f(e=t.tokenType)||e===i.RESERVED_CLAUSE||e===i.RESERVED_SELECT||e===i.RESERVED_SET_OPERATION||e===i.RESERVED_JOIN||e===i.LIMIT?function(t,e){if("standard"===e)return t;let n=[];return t.length>=10&&t.includes(" ")&&([t,...n]=t.split(" ")),(t="tabularLeft"===e?t.padEnd(9," "):t.padStart(9," "))+["",...n].join(" ")}(this.showNonTabularKw(t),this.cfg.indentStyle):this.showNonTabularKw(t)}showNonTabularKw(t){switch(this.cfg.keywordCase){case"preserve":return m(t.raw);case"upper":return t.text;case"lower":return t.text.toLowerCase()}}}class n1{constructor(t,e){this.dialect=t,this.cfg=e,this.params=new nC(this.cfg.params)}format(t){let e=this.parse(t),n=this.formatAst(e),i=this.postFormat(n);return i.trimEnd()}parse(t){return(function(t){let e={},n=new nB(n=>[...t.tokenize(n,e).map(nL).map(n_).map(nx).map(nM),c(n.length)]),i=new nW(nX.fromCompiled(nV),{lexer:n});return{parse:(t,n)=>{e=n;let{results:r}=i.feed(t);if(1===r.length)return r[0];if(0===r.length)throw Error("Parse error: Invalid SQL");throw Error(`Parse error: Ambiguous grammar +${JSON.stringify(r,void 0,2)}`)}}})(this.dialect.tokenizer).parse(t,this.cfg.paramTypes||{})}formatAst(t){return t.map(t=>this.formatStatement(t)).join("\n".repeat(this.cfg.linesBetweenQueries+1))}formatStatement(t){let e=new n0({cfg:this.cfg,dialectCfg:this.dialect.formatOptions,params:this.params,layout:new nz(new nj(nv(this.cfg)))}).format(t.children);return t.hasSemicolon&&(this.cfg.newlineBeforeSemicolon?e.add(o.NEWLINE,";"):e.add(o.NO_NEWLINE,";")),e.toString()}postFormat(t){if(this.cfg.tabulateAlias&&(t=function(t){let e=t.split("\n"),n=[];for(let t=0;t({line:t,matches:t.match(/(^.*?\S) (AS )?(\S+,?$)/i)})).map(({line:t,matches:e})=>e?{precedingText:e[1],as:e[2],alias:e[3]}:{precedingText:t}),o=C(r.map(({precedingText:t})=>t.replace(/\s*,\s*$/,"")));n=[...n,...i=r.map(({precedingText:t,as:e,alias:n})=>t+(n?" ".repeat(o-t.length+1)+(e??"")+n:""))]}n.push(e[t])}return n.join("\n")}(t)),"before"===this.cfg.commaPosition||"tabular"===this.cfg.commaPosition){var e,n,i;e=t,n=this.cfg.commaPosition,i=nv(this.cfg),t=(function(t){let e=[];for(let n=0;n{if(1===t.length)return t;if("tabular"===n)return function(t){let e=C(t.map(t=>t.replace(/\s*--.*/,"")))-1;return t.map((n,i)=>i===t.length-1?n:function(t,e){let[,n,i]=t.match(/^(.*?),(\s*--.*)?$/)||[],r=" ".repeat(e-n.length);return`${n}${r},${i??""}`}(n,e))}(t);if("before"===n)return t.map(t=>t.replace(/,(\s*(--.*)?$)/,"$1")).map((t,e)=>{if(0===e)return t;let[n]=t.match(nK)||[""];return n.replace(RegExp(i+"$"),"")+i.replace(/ {2}$/,", ")+t.trimStart()});throw Error(`Unexpected commaPosition: ${n}`)}).join("\n")}return t}}class n2 extends Error{}let n5={bigquery:"bigquery",db2:"db2",hive:"hive",mariadb:"mariadb",mysql:"mysql",n1ql:"n1ql",plsql:"plsql",postgresql:"postgresql",redshift:"redshift",spark:"spark",sqlite:"sqlite",sql:"sql",trino:"trino",transactsql:"transactsql",tsql:"transactsql",singlestoredb:"singlestoredb",snowflake:"snowflake"},n6=Object.keys(n5),n3={tabWidth:2,useTabs:!1,keywordCase:"preserve",indentStyle:"standard",logicalOperatorNewline:"before",tabulateAlias:!1,commaPosition:"after",expressionWidth:50,linesBetweenQueries:1,denseOperators:!1,newlineBeforeSemicolon:!1},n4=(t,e={})=>{if("string"==typeof e.language&&!n6.includes(e.language))throw new n2(`Unsupported SQL dialect: ${e.language}`);let n=n5[e.language||"sql"];return n8(t,{...e,dialect:u[n]})},n8=(t,{dialect:e,...n})=>{if("string"!=typeof t)throw Error("Invalid query argument. Expected string, instead got "+typeof t);let i=function(t){if("multilineLists"in t)throw new n2("multilineLists config is no more supported.");if("newlineBeforeOpenParen"in t)throw new n2("newlineBeforeOpenParen config is no more supported.");if("newlineBeforeCloseParen"in t)throw new n2("newlineBeforeCloseParen config is no more supported.");if("aliasAs"in t)throw new n2("aliasAs config is no more supported.");if(t.expressionWidth<=0)throw new n2(`expressionWidth config must be positive number. Received ${t.expressionWidth} instead.`);if("before"===t.commaPosition&&t.useTabs)throw new n2("commaPosition: before does not work when tabs are used for indentation.");return t.params&&!function(t){let e=t instanceof Array?t:Object.values(t);return e.every(t=>"string"==typeof t)}(t.params)&&console.warn('WARNING: All "params" option values should be strings.'),t}({...n3,...n});return new n1(nI(e),i).format(t)}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/400.d11f59e4261f09ad.js b/pilot/server/static/_next/static/chunks/400.d11f59e4261f09ad.js deleted file mode 100644 index 798fe0e9c..000000000 --- a/pilot/server/static/_next/static/chunks/400.d11f59e4261f09ad.js +++ /dev/null @@ -1,78 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[400],{29158:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},o=n(42135),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},50228:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},o=n(42135),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},49591:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z"}}]},name:"select",theme:"outlined"},o=n(42135),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},88484:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},o=n(42135),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},87547:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},o=n(42135),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},1375:function(e,t,n){"use strict";async function a(e,t){let n;let a=e.getReader();for(;!(n=await a.read()).done;)t(n.value)}function r(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{a:function(){return o},L:function(){return E}});var i=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};let o="text/event-stream",s="last-event-id";function E(e,t){var{signal:n,headers:E,onopen:T,onmessage:c,onclose:u,onerror:d,openWhenHidden:R,fetch:A}=t,S=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let p;let I=Object.assign({},E);function N(){p.abort(),document.hidden||L()}I.accept||(I.accept=o),R||document.addEventListener("visibilitychange",N);let O=1e3,_=0;function g(){document.removeEventListener("visibilitychange",N),window.clearTimeout(_),p.abort()}null==n||n.addEventListener("abort",()=>{g(),t()});let m=null!=A?A:window.fetch,C=null!=T?T:l;async function L(){var n,o;p=new AbortController;try{let n,i,E,l;let T=await m(e,Object.assign(Object.assign({},S),{headers:I,signal:p.signal}));await C(T),await a(T.body,(o=function(e,t,n){let a=r(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(a),a=r();else if(s>0){let n=i.decode(o.subarray(0,s)),r=s+(32===o[s+1]?2:1),E=i.decode(o.subarray(r));switch(n){case"data":a.data=a.data?a.data+"\n"+E:E;break;case"event":a.event=E;break;case"id":e(a.id=E);break;case"retry":let l=parseInt(E,10);isNaN(l)||t(a.retry=l)}}}}(e=>{e?I[s]=e:delete I[s]},e=>{O=e},c),l=!1,function(e){void 0===n?(n=e,i=0,E=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,a=0;for(;i{let{variant:t,color:n}=e,a={root:["root"],content:["content",t&&`variant${(0,s.Z)(t)}`,n&&`color${(0,s.Z)(n)}`]};return(0,o.Z)(a,u.x,{})},S=(0,T.Z)("div",{name:"JoyAspectRatio",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>{let t="number"==typeof e.minHeight?`${e.minHeight}px`:e.minHeight,n="number"==typeof e.maxHeight?`${e.maxHeight}px`:e.maxHeight;return{"--AspectRatio-paddingBottom":`clamp(var(--AspectRatio-minHeight), calc(100% / (${e.ratio})), var(--AspectRatio-maxHeight))`,"--AspectRatio-maxHeight":n||"9999px","--AspectRatio-minHeight":t||"0px",borderRadius:"var(--AspectRatio-radius)",flexDirection:"column",margin:"var(--AspectRatio-margin)"}}),p=(0,T.Z)("div",{name:"JoyAspectRatio",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>{var n;return[{flex:1,position:"relative",borderRadius:"inherit",height:0,paddingBottom:"calc(var(--AspectRatio-paddingBottom) - 2 * var(--variant-borderWidth, 0px))",overflow:"hidden",transition:"inherit","& [data-first-child]":{display:"flex",justifyContent:"center",alignItems:"center",boxSizing:"border-box",position:"absolute",width:"100%",height:"100%",objectFit:t.objectFit,margin:0,padding:0,"& > img":{width:"100%",height:"100%",objectFit:t.objectFit}}},null==(n=e.variants[t.variant])?void 0:n[t.color]]}),I=i.forwardRef(function(e,t){let n=(0,E.Z)({props:e,name:"JoyAspectRatio"}),{children:o,ratio:s="16 / 9",minHeight:T,maxHeight:u,objectFit:I="cover",color:N="neutral",variant:O="soft",component:_,slots:g={},slotProps:m={}}=n,C=(0,r.Z)(n,R),{getColor:L}=(0,c.VT)(O),b=L(e.color,N),f=(0,a.Z)({},n,{minHeight:T,maxHeight:u,objectFit:I,ratio:s,color:b,variant:O}),D=A(f),h=(0,a.Z)({},C,{component:_,slots:g,slotProps:m}),[P,y]=(0,l.Z)("root",{ref:t,className:D.root,elementType:S,externalForwardedProps:h,ownerState:f}),[M,U]=(0,l.Z)("content",{className:D.content,elementType:p,externalForwardedProps:h,ownerState:f});return(0,d.jsx)(P,(0,a.Z)({},y,{children:(0,d.jsx)(M,(0,a.Z)({},U,{children:i.Children.map(o,(e,t)=>0===t&&i.isValidElement(e)?i.cloneElement(e,{"data-first-child":""}):e)}))}))});t.Z=I},79172:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var a=n(26821);function r(e){return(0,a.d6)("MuiAspectRatio",e)}let i=(0,a.sI)("MuiAspectRatio",["root","content","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);t.Z=i},41118:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var a=n(63366),r=n(87462),i=n(67294),o=n(86010),s=n(94780),E=n(14142),l=n(18719),T=n(20407),c=n(74312),u=n(78653),d=n(26821);function R(e){return(0,d.d6)("MuiCard",e)}(0,d.sI)("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]);var A=n(58859),S=n(30220),p=n(85893);let I=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],N=e=>{let{size:t,variant:n,color:a,orientation:r}=e,i={root:["root",r,n&&`variant${(0,E.Z)(n)}`,a&&`color${(0,E.Z)(a)}`,t&&`size${(0,E.Z)(t)}`]};return(0,s.Z)(i,R,{})},O=(0,c.Z)("div",{name:"JoyCard",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,a;return[(0,r.Z)({"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":(0,A.V)({theme:e,ownerState:t},"borderRadius","var(--Card-radius)"),"--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},"sm"===t.size&&{"--Card-radius":e.vars.radius.sm,"--Card-padding":"0.5rem",gap:"0.375rem 0.5rem"},"md"===t.size&&{"--Card-radius":e.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},"lg"===t.size&&{"--Card-radius":e.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",boxShadow:e.shadow.sm,backgroundColor:e.vars.palette.background.surface,fontFamily:e.vars.fontFamily.body,fontSize:e.vars.fontSize.md,position:"relative",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"}),null==(n=e.variants[t.variant])?void 0:n[t.color],"context"!==t.color&&t.invertedColors&&(null==(a=e.colorInversion[t.variant])?void 0:a[t.color])]}),_=i.forwardRef(function(e,t){let n=(0,T.Z)({props:e,name:"JoyCard"}),{className:s,color:E="neutral",component:c="div",invertedColors:d=!1,size:R="md",variant:A="plain",children:_,orientation:g="vertical",slots:m={},slotProps:C={}}=n,L=(0,a.Z)(n,I),{getColor:b}=(0,u.VT)(A),f=b(e.color,E),D=(0,r.Z)({},n,{color:f,component:c,orientation:g,size:R,variant:A}),h=N(D),P=(0,r.Z)({},L,{component:c,slots:m,slotProps:C}),[y,M]=(0,S.Z)("root",{ref:t,className:(0,o.Z)(h.root,s),elementType:O,externalForwardedProps:P,ownerState:D}),U=(0,p.jsx)(y,(0,r.Z)({},M,{children:i.Children.map(_,(e,t)=>{if(!i.isValidElement(e))return e;let n={};if((0,l.Z)(e,["Divider"])){n.inset="inset"in e.props?e.props.inset:"context";let t="vertical"===g?"horizontal":"vertical";n.orientation="orientation"in e.props?e.props.orientation:t}return(0,l.Z)(e,["CardOverflow"])&&("horizontal"===g&&(n["data-parent"]="Card-horizontal"),"vertical"===g&&(n["data-parent"]="Card-vertical")),0===t&&(n["data-first-child"]=""),t===i.Children.count(_)-1&&(n["data-last-child"]=""),i.cloneElement(e,n)})}));return d?(0,p.jsx)(u.do,{variant:A,children:U}):U});var g=_},30208:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var a=n(87462),r=n(63366),i=n(67294),o=n(86010),s=n(94780),E=n(20407),l=n(74312),T=n(26821);function c(e){return(0,T.d6)("MuiCardContent",e)}(0,T.sI)("MuiCardContent",["root"]);let u=(0,T.sI)("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var d=n(30220),R=n(85893);let A=["className","component","children","orientation","slots","slotProps"],S=()=>(0,s.Z)({root:["root"]},c,{}),p=(0,l.Z)("div",{name:"JoyCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>({display:"flex",flexDirection:"horizontal"===e.orientation?"row":"column",flex:1,zIndex:1,columnGap:"calc(0.75 * var(--Card-padding))",padding:"var(--unstable_padding)",[`.${u.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),I=i.forwardRef(function(e,t){let n=(0,E.Z)({props:e,name:"JoyCardContent"}),{className:i,component:s="div",children:l,orientation:T="vertical",slots:c={},slotProps:u={}}=n,I=(0,r.Z)(n,A),N=(0,a.Z)({},I,{component:s,slots:c,slotProps:u}),O=(0,a.Z)({},n,{component:s,orientation:T}),_=S(),[g,m]=(0,d.Z)("root",{ref:t,className:(0,o.Z)(_.root,i),elementType:p,externalForwardedProps:N,ownerState:O});return(0,R.jsx)(g,(0,a.Z)({},m,{children:l}))});var N=I},51610:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var a=n(87462),r=n(63366),i=n(67294),o=n(70828),s=n(94780),E=n(34867),l=n(18719),T=n(13264),c=n(39214),u=n(96682),d=n(39707),R=n(88647);let A=(e,t)=>e.filter(e=>t.includes(e)),S=(e,t,n)=>{let a=e.keys[0];if(Array.isArray(t))t.forEach((t,a)=>{n((t,n)=>{a<=e.keys.length-1&&(0===a?Object.assign(t,n):t[e.up(e.keys[a])]=n)},t)});else if(t&&"object"==typeof t){let r=Object.keys(t).length>e.keys.length?e.keys:A(e.keys,Object.keys(t));r.forEach(r=>{if(-1!==e.keys.indexOf(r)){let i=t[r];void 0!==i&&n((t,n)=>{a===r?Object.assign(t,n):t[e.up(r)]=n},i)}})}else("number"==typeof t||"string"==typeof t)&&n((e,t)=>{Object.assign(e,t)},t)};function p(e){return e?`Level${e}`:""}function I(e){return e.unstable_level>0&&e.container}function N(e){return function(t){return`var(--Grid-${t}Spacing${p(e.unstable_level)})`}}function O(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${p(e.unstable_level-1)})`}}function _(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${p(e.unstable_level-1)})`}let g=({theme:e,ownerState:t})=>{let n=N(t),a={};return S(e.breakpoints,t.gridSize,(e,r)=>{let i={};!0===r&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===r&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof r&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${r} / ${_(t)}${I(t)?` + ${n("column")}`:""})`}),e(a,i)}),a},m=({theme:e,ownerState:t})=>{let n={};return S(e.breakpoints,t.gridOffset,(e,a)=>{let r={};"auto"===a&&(r={marginLeft:"auto"}),"number"==typeof a&&(r={marginLeft:0===a?"0px":`calc(100% * ${a} / ${_(t)})`}),e(n,r)}),n},C=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=I(t)?{[`--Grid-columns${p(t.unstable_level)}`]:_(t)}:{"--Grid-columns":12};return S(e.breakpoints,t.columns,(e,a)=>{e(n,{[`--Grid-columns${p(t.unstable_level)}`]:a})}),n},L=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=O(t),a=I(t)?{[`--Grid-rowSpacing${p(t.unstable_level)}`]:n("row")}:{};return S(e.breakpoints,t.rowSpacing,(n,r)=>{var i;n(a,{[`--Grid-rowSpacing${p(t.unstable_level)}`]:"string"==typeof r?r:null==(i=e.spacing)?void 0:i.call(e,r)})}),a},b=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=O(t),a=I(t)?{[`--Grid-columnSpacing${p(t.unstable_level)}`]:n("column")}:{};return S(e.breakpoints,t.columnSpacing,(n,r)=>{var i;n(a,{[`--Grid-columnSpacing${p(t.unstable_level)}`]:"string"==typeof r?r:null==(i=e.spacing)?void 0:i.call(e,r)})}),a},f=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={};return S(e.breakpoints,t.direction,(e,t)=>{e(n,{flexDirection:t})}),n},D=({ownerState:e})=>{let t=N(e),n=O(e);return(0,a.Z)({minWidth:0,boxSizing:"border-box"},e.container&&(0,a.Z)({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||I(e))&&(0,a.Z)({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},h=e=>{let t=[];return Object.entries(e).forEach(([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)}),t},P=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){let t=[];return Object.entries(e).forEach(([e,a])=>{n(a)&&t.push(`spacing-${e}-${String(a)}`)}),t}return[]},y=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`];var M=n(85893);let U=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],v=(0,R.Z)(),w=(0,T.Z)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function G(e){return(0,c.Z)({props:e,name:"MuiGrid",defaultTheme:v})}var k=n(74312),F=n(20407);let x=function(e={}){let{createStyledComponent:t=w,useThemeProps:n=G,componentName:T="MuiGrid"}=e,c=i.createContext(void 0),R=(e,t)=>{let{container:n,direction:a,spacing:r,wrap:i,gridSize:o}=e,l={root:["root",n&&"container","wrap"!==i&&`wrap-xs-${String(i)}`,...y(a),...h(o),...n?P(r,t.breakpoints.keys[0]):[]]};return(0,s.Z)(l,e=>(0,E.Z)(T,e),{})},A=t(C,b,L,g,f,D,m),S=i.forwardRef(function(e,t){var s,E,T,S,p,I,N,O;let _=(0,u.Z)(),g=n(e),m=(0,d.Z)(g),C=i.useContext(c),{className:L,children:b,columns:f=12,container:D=!1,component:h="div",direction:P="row",wrap:y="wrap",spacing:v=0,rowSpacing:w=v,columnSpacing:G=v,disableEqualOverflow:k,unstable_level:F=0}=m,x=(0,r.Z)(m,U),B=k;F&&void 0!==k&&(B=e.disableEqualOverflow);let H={},Y={},V={};Object.entries(x).forEach(([e,t])=>{void 0!==_.breakpoints.values[e]?H[e]=t:void 0!==_.breakpoints.values[e.replace("Offset","")]?Y[e.replace("Offset","")]=t:V[e]=t});let W=null!=(s=e.columns)?s:F?void 0:f,$=null!=(E=e.spacing)?E:F?void 0:v,X=null!=(T=null!=(S=e.rowSpacing)?S:e.spacing)?T:F?void 0:w,K=null!=(p=null!=(I=e.columnSpacing)?I:e.spacing)?p:F?void 0:G,z=(0,a.Z)({},m,{level:F,columns:W,container:D,direction:P,wrap:y,spacing:$,rowSpacing:X,columnSpacing:K,gridSize:H,gridOffset:Y,disableEqualOverflow:null!=(N=null!=(O=B)?O:C)&&N,parentDisableEqualOverflow:C}),j=R(z,_),Z=(0,M.jsx)(A,(0,a.Z)({ref:t,as:h,ownerState:z,className:(0,o.Z)(j.root,L)},V,{children:i.Children.map(b,e=>{if(i.isValidElement(e)&&(0,l.Z)(e,["Grid"])){var t;return i.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:F+1})}return e})}));return void 0!==B&&B!==(null!=C&&C)&&(Z=(0,M.jsx)(c.Provider,{value:B,children:Z})),Z});return S.muiName="Grid",S}({createStyledComponent:(0,k.Z)("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,F.Z)({props:e,name:"JoyGrid"})});var B=x},43458:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var a=n(63366),r=n(87462),i=n(67294),o=n(86010),s=n(94780),E=n(14142),l=n(18719),T=n(74312),c=n(20407),u=n(78653),d=n(3414),R=n(26821);function A(e){return(0,R.d6)("MuiModalDialog",e)}(0,R.sI)("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]);let S=i.createContext(void 0),p=i.createContext(void 0);var I=n(30220),N=n(85893);let O=["className","children","color","component","variant","size","layout","slots","slotProps"],_=e=>{let{variant:t,color:n,size:a,layout:r}=e,i={root:["root",t&&`variant${(0,E.Z)(t)}`,n&&`color${(0,E.Z)(n)}`,a&&`size${(0,E.Z)(a)}`,r&&`layout${(0,E.Z)(r)}`]};return(0,s.Z)(i,A,{})},g=(0,T.Z)(d.U,{name:"JoyModalDialog",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>(0,r.Z)({"--Divider-inset":"calc(-1 * var(--ModalDialog-padding))","--ModalClose-radius":"max((var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) / 2))"},"sm"===t.size&&{"--ModalDialog-padding":e.spacing(2),"--ModalDialog-radius":e.vars.radius.sm,"--ModalDialog-gap":e.spacing(.75),"--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.25),"--ModalClose-inset":e.spacing(1.25),fontSize:e.vars.fontSize.sm},"md"===t.size&&{"--ModalDialog-padding":e.spacing(2.5),"--ModalDialog-radius":e.vars.radius.md,"--ModalDialog-gap":e.spacing(1.5),"--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.75),"--ModalClose-inset":e.spacing(1.5),fontSize:e.vars.fontSize.md},"lg"===t.size&&{"--ModalDialog-padding":e.spacing(3),"--ModalDialog-radius":e.vars.radius.md,"--ModalDialog-gap":e.spacing(2),"--ModalDialog-titleOffset":e.spacing(.75),"--ModalDialog-descriptionOffset":e.spacing(1),"--ModalClose-inset":e.spacing(1.5),fontSize:e.vars.fontSize.lg},{boxSizing:"border-box",boxShadow:e.shadow.md,borderRadius:"var(--ModalDialog-radius)",fontFamily:e.vars.fontFamily.body,lineHeight:e.vars.lineHeight.md,padding:"var(--ModalDialog-padding)",minWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-minWidth, 300px))",outline:0,position:"absolute",display:"flex",flexDirection:"column"},"fullscreen"===t.layout&&{top:0,left:0,right:0,bottom:0,border:0,borderRadius:0},"center"===t.layout&&{top:"50%",left:"50%",transform:"translate(-50%, -50%)",maxWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-maxWidth, 100vw))",maxHeight:"calc(100% - 2 * var(--ModalDialog-padding))"},{[`& [id="${t["aria-labelledby"]}"]`]:{"--Typography-margin":"calc(-1 * var(--ModalDialog-titleOffset)) 0 var(--ModalDialog-gap) 0","--Typography-fontSize":"1.125em",[`& + [id="${t["aria-describedby"]}"]`]:{"--unstable_ModalDialog-descriptionOffset":"calc(-1 * var(--ModalDialog-descriptionOffset))"}},[`& [id="${t["aria-describedby"]}"]`]:{"--Typography-fontSize":"1em","--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 0 0","&:not(:last-child)":{"--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 var(--ModalDialog-gap) 0"}}})),m=i.forwardRef(function(e,t){let n=(0,c.Z)({props:e,name:"JoyModalDialog"}),{className:s,children:E,color:T="neutral",component:d="div",variant:R="outlined",size:A="md",layout:m="center",slots:C={},slotProps:L={}}=n,b=(0,a.Z)(n,O),{getColor:f}=(0,u.VT)(R),D=f(e.color,T),h=(0,r.Z)({},n,{color:D,component:d,layout:m,size:A,variant:R}),P=_(h),y=(0,r.Z)({},b,{component:d,slots:C,slotProps:L}),M=i.useMemo(()=>({variant:R,color:"context"===D?void 0:D}),[D,R]),[U,v]=(0,I.Z)("root",{ref:t,className:(0,o.Z)(P.root,s),elementType:g,externalForwardedProps:y,ownerState:h,additionalProps:{as:d,role:"dialog","aria-modal":"true"}});return(0,N.jsx)(S.Provider,{value:A,children:(0,N.jsx)(p.Provider,{value:M,children:(0,N.jsx)(U,(0,r.Z)({},v,{children:i.Children.map(E,e=>{if(!i.isValidElement(e))return e;if((0,l.Z)(e,["Divider"])){let t={};return t.inset="inset"in e.props?e.props.inset:"context",i.cloneElement(e,t)}return e})}))})})});var C=m},16789:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var a=n(63366),r=n(87462),i=n(67294),o=n(86010),s=n(14142),E=n(70917),l=n(94780),T=n(20407),c=n(74312),u=n(26821);function d(e){return(0,u.d6)("MuiSkeleton",e)}(0,u.sI)("MuiSkeleton",["root","variantOverlay","variantCircular","variantRectangular","variantText","variantInline","h1","h2","h3","h4","h5","h6","body1","body2","body3"]);var R=n(30220),A=n(85893);let S=["className","component","children","animation","overlay","loading","variant","level","height","width","sx","slots","slotProps"],p=e=>e,I,N,O,_,g,m=e=>{let{variant:t,level:n}=e,a={root:["root",t&&`variant${(0,s.Z)(t)}`,n&&`level${(0,s.Z)(n)}`]};return(0,l.Z)(a,d,{})},C=(0,E.F4)(I||(I=p` - 0% { - opacity: 1; - } - - 50% { - opacity: 0.8; - background: var(--unstable_pulse-bg); - } - - 100% { - opacity: 1; - } -`)),L=(0,E.F4)(N||(N=p` - 0% { - transform: translateX(-100%); - } - - 50% { - /* +0.5s of delay between each loop */ - transform: translateX(100%); - } - - 100% { - transform: translateX(100%); - } -`)),b=(0,c.Z)("span",{name:"JoySkeleton",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>"pulse"===e.animation&&"inline"!==e.variant&&(0,E.iv)(O||(O=p` - &::before { - animation: ${0} 1.5s ease-in-out 0.5s infinite; - background: ${0}; - } - `),C,t.vars.palette.background.level2),({ownerState:e,theme:t})=>"pulse"===e.animation&&"inline"===e.variant&&(0,E.iv)(_||(_=p` - &::after { - animation: ${0} 1.5s ease-in-out 0.5s infinite; - background: ${0}; - } - `),C,t.vars.palette.background.level2),({ownerState:e,theme:t})=>"wave"===e.animation&&(0,E.iv)(g||(g=p` - /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ - -webkit-mask-image: -webkit-radial-gradient(white, black); - background: ${0}; - - &::after { - content: ' '; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: var(--unstable_pseudo-zIndex); - animation: ${0} 1.6s linear 0.5s infinite; - background: linear-gradient( - 90deg, - transparent, - var(--unstable_wave-bg, rgba(0 0 0 / 0.08)), - transparent - ); - transform: translateX(-100%); /* Avoid flash during server-side hydration */ - } - `),t.vars.palette.background.level2,L),({ownerState:e,theme:t})=>{var n,a,i,o;let s=(null==(n=t.components)||null==(n=n.JoyTypography)||null==(n=n.defaultProps)?void 0:n.level)||"body1";return[{display:"block",position:"relative","--unstable_pseudo-zIndex":9,"--unstable_pulse-bg":t.vars.palette.background.level1,overflow:"hidden",cursor:"default","& *":{visibility:"hidden"},"&::before":{display:"block",content:'" "',top:0,bottom:0,left:0,right:0,zIndex:"var(--unstable_pseudo-zIndex)",borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"--unstable_wave-bg":"rgba(255 255 255 / 0.1)"}},"rectangular"===e.variant&&(0,r.Z)({borderRadius:"min(0.15em, 6px)",height:"auto",width:"100%","&::before":{position:"absolute"}},!e.animation&&{backgroundColor:t.vars.palette.background.level2},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level])),"circular"===e.variant&&(0,r.Z)({borderRadius:"50%",width:"100%",height:"100%","&::before":{position:"absolute"}},!e.animation&&{backgroundColor:t.vars.palette.background.level2},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level])),"text"===e.variant&&(0,r.Z)({borderRadius:"min(0.15em, 6px)",background:"transparent",width:"100%"},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level||s],{paddingBlockStart:`calc((${(null==(a=t.typography[e.level||s])?void 0:a.lineHeight)||1} - 1) * 0.56em)`,paddingBlockEnd:`calc((${(null==(i=t.typography[e.level||s])?void 0:i.lineHeight)||1} - 1) * 0.44em)`,"&::before":(0,r.Z)({height:"1em"},t.typography[e.level||s],"wave"===e.animation&&{backgroundColor:t.vars.palette.background.level2},!e.animation&&{backgroundColor:t.vars.palette.background.level2}),"&::after":(0,r.Z)({height:"1em",top:`calc((${(null==(o=t.typography[e.level||s])?void 0:o.lineHeight)||1} - 1) * 0.56em)`},t.typography[e.level||s])})),"inline"===e.variant&&(0,r.Z)({display:"inline",position:"initial",borderRadius:"min(0.15em, 6px)"},!e.animation&&{backgroundColor:t.vars.palette.background.level2},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level]),{"-webkit-mask-image":"-webkit-radial-gradient(white, black)","&::before":{position:"absolute",zIndex:"var(--unstable_pseudo-zIndex)",backgroundColor:t.vars.palette.background.level2}},"pulse"===e.animation&&{"&::after":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:"var(--unstable_pseudo-zIndex)",backgroundColor:t.vars.palette.background.level2}}),"overlay"===e.variant&&(0,r.Z)({borderRadius:t.vars.radius.xs,position:"absolute",width:"100%",height:"100%",zIndex:"var(--unstable_pseudo-zIndex)"},"pulse"===e.animation&&{backgroundColor:t.vars.palette.background.surface},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level]),{"&::before":{position:"absolute"}})]}),f=i.forwardRef(function(e,t){let n=(0,T.Z)({props:e,name:"JoySkeleton"}),{className:s,component:E="span",children:l,animation:c="pulse",overlay:u=!1,loading:d=!0,variant:p="overlay",level:I="text"===p?"body1":"inherit",height:N,width:O,sx:_,slots:g={},slotProps:C={}}=n,L=(0,a.Z)(n,S),f=(0,r.Z)({},L,{component:E,slots:g,slotProps:C,sx:[{width:O,height:N},...Array.isArray(_)?_:[_]]}),D=(0,r.Z)({},n,{animation:c,component:E,level:I,loading:d,overlay:u,variant:p,width:O,height:N}),h=m(D),[P,y]=(0,R.Z)("root",{ref:t,className:(0,o.Z)(h.root,s),elementType:b,externalForwardedProps:f,ownerState:D});return d?(0,A.jsx)(P,(0,r.Z)({},y,{children:l})):(0,A.jsx)(i.Fragment,{children:i.Children.map(l,(e,t)=>0===t&&i.isValidElement(e)?i.cloneElement(e,{"data-first-child":""}):e)})});f.muiName="Skeleton";var D=f},99484:function(e,t,n){"use strict";/** @license React v16.14.0 - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var a=n(96086),r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,E=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,T=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,R=r?Symbol.for("react.memo"):60115,A=r?Symbol.for("react.lazy"):60116,S="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nP.length&&P.push(e)}function U(e,t,n){return null==e?0:function e(t,n,a,r){var s=typeof t;("undefined"===s||"boolean"===s)&&(t=null);var E=!1;if(null===t)E=!0;else switch(s){case"string":case"number":E=!0;break;case"object":switch(t.$$typeof){case i:case o:E=!0}}if(E)return a(r,t,""===n?"."+v(t,0):n),1;if(E=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var a=n(46260),r=n(46195);e.exports=function(e){return a(e)||r(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},69654:function(e){var t;t=function(){function e(t,n,a){return this.id=++e.highestId,this.name=t,this.symbols=n,this.postprocess=a,this}function t(e,t,n,a){this.rule=e,this.dot=t,this.reference=n,this.data=[],this.wantedBy=a,this.isComplete=this.dot===e.symbols.length}function n(e,t){this.grammar=e,this.index=t,this.states=[],this.wants={},this.scannable=[],this.completed={}}function a(e,t){this.rules=e,this.start=t||this.rules[0].name;var n=this.byName={};this.rules.forEach(function(e){n.hasOwnProperty(e.name)||(n[e.name]=[]),n[e.name].push(e)})}function r(){this.reset("")}function i(e,t,i){if(e instanceof a)var o=e,i=t;else var o=a.fromCompiled(e,t);for(var s in this.grammar=o,this.options={keepHistory:!1,lexer:o.lexer||new r},i||{})this.options[s]=i[s];this.lexer=this.options.lexer,this.lexerState=void 0;var E=new n(o,0);this.table=[E],E.wants[o.start]=[],E.predict(o.start),E.process(),this.current=0}function o(e){var t=typeof e;if("string"===t)return e;if("object"===t){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return e.toString();if(e.type)return"%"+e.type;if(e.test)return"<"+String(e.test)+">";else throw Error("Unknown symbol type: "+e)}}return e.highestId=0,e.prototype.toString=function(e){var t=void 0===e?this.symbols.map(o).join(" "):this.symbols.slice(0,e).map(o).join(" ")+" ● "+this.symbols.slice(e).map(o).join(" ");return this.name+" → "+t},t.prototype.toString=function(){return"{"+this.rule.toString(this.dot)+"}, from: "+(this.reference||0)},t.prototype.nextState=function(e){var n=new t(this.rule,this.dot+1,this.reference,this.wantedBy);return n.left=this,n.right=e,n.isComplete&&(n.data=n.build(),n.right=void 0),n},t.prototype.build=function(){var e=[],t=this;do e.push(t.right.data),t=t.left;while(t.left);return e.reverse(),e},t.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,i.fail))},n.prototype.process=function(e){for(var t=this.states,n=this.wants,a=this.completed,r=0;r0&&t.push(" ^ "+a+" more lines identical to this"),a=0,t.push(" "+o)),n=o}},i.prototype.getSymbolDisplay=function(e){return function(e){var t=typeof e;if("string"===t)return e;if("object"===t){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return"character matching "+e;if(e.type)return e.type+" token";if(e.test)return"token matching "+String(e.test);else throw Error("Unknown symbol type: "+e)}}(e)},i.prototype.buildFirstStateStack=function(e,t){if(-1!==t.indexOf(e))return null;if(0===e.wantedBy.length)return[e];var n=e.wantedBy[0],a=[e].concat(t),r=this.buildFirstStateStack(n,a);return null===r?null:[e].concat(r)},i.prototype.save=function(){var e=this.table[this.current];return e.lexerState=this.lexerState,e},i.prototype.restore=function(e){var t=e.index;this.current=t,this.table[t]=e,this.table.splice(t+1),this.lexerState=e.lexerState,this.results=this.finish()},i.prototype.rewind=function(e){if(!this.options.keepHistory)throw Error("set option `keepHistory` to enable rewinding");this.restore(this.table[e])},i.prototype.finish=function(){var e=[],t=this.grammar.start;return this.table[this.table.length-1].states.forEach(function(n){n.rule.name===t&&n.dot===n.rule.symbols.length&&0===n.reference&&n.data!==i.fail&&e.push(n)}),e.map(function(e){return e.data})},{Parser:i,Grammar:a,Rule:e}},e.exports?e.exports=t():this.nearley=t()},96086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},89435:function(e){"use strict";var t;e.exports=function(e){var n,a="&"+e+";";return(t=t||document.createElement("i")).innerHTML=a,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==a&&n}},57574:function(e,t,n){"use strict";var a=n(37452),r=n(93580),i=n(46195),o=n(79480),s=n(7961),E=n(89435);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),u)n=t[i],o[i]=null==n?u[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,u,N,O,_,g,m,C,L,b,f,D,h,P,y,M,U,v,w,G=t.additional,k=t.nonTerminated,F=t.text,x=t.reference,B=t.warning,H=t.textContext,Y=t.referenceContext,V=t.warningContext,W=t.position,$=t.indent||[],X=e.length,K=0,z=-1,j=W.column||1,Z=W.line||1,q="",J=[];for("string"==typeof G&&(G=G.charCodeAt(0)),M=Q(),C=B?function(e,t){var n=Q();n.column+=t,n.offset+=t,B.call(V,I[e],n,e)}:c,K--,X++;++K=55296&&n<=57343||n>1114111?(C(7,v),g=T(65533)):g in r?(C(6,v),g=r[g]):(b="",((i=g)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&C(6,v),g>65535&&(g-=65536,b+=T(g>>>10|55296),g=56320|1023&g),g=b+T(g))):P!==d&&C(4,v)),g?(ee(),M=Q(),K=w-1,j+=w-h+1,J.push(g),U=Q(),U.offset++,x&&x.call(Y,g,{start:M,end:U},e.slice(h-1,w)),M=U):(q+=O=e.slice(h-1,w),j+=O.length,K=w-1)}else 10===_&&(Z++,z++,j=0),_==_?(q+=T(_),j++):ee();return J.join("");function Q(){return{line:Z,column:j,offset:K+(W.offset||0)}}function ee(){q&&(J.push(q),F&&F.call(H,q,{start:M,end:Q()}),q="")}}(e,o)};var l={}.hasOwnProperty,T=String.fromCharCode,c=Function.prototype,u={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},d="named",R="hexadecimal",A="decimal",S={};S[R]=16,S[A]=10;var p={};p[d]=s,p[A]=i,p[R]=o;var I={};I[1]="Named character references must be terminated by a semicolon",I[2]="Numeric character references must be terminated by a semicolon",I[3]="Named character references cannot be empty",I[4]="Numeric character references cannot be empty",I[5]="Named character references must be known",I[6]="Numeric character references cannot be disallowed",I[7]="Numeric character references cannot be outside the permissible Unicode range"},99560:function(e,t,n){"use strict";var a=n(66632),r=n(98805),i=n(57643),o="data";e.exports=function(e,t){var n,u,d,R=a(t),A=t,S=i;return R in e.normal?e.property[e.normal[R]]:(R.length>4&&R.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?A=o+(n=t.slice(5).replace(E,c)).charAt(0).toUpperCase()+n.slice(1):(d=(u=t).slice(4),t=E.test(d)?u:("-"!==(d=d.replace(l,T)).charAt(0)&&(d="-"+d),o+d)),S=r),new S(A,t))};var s=/^data[-\w.:]+$/i,E=/-[a-z]/g,l=/[A-Z]/g;function T(e){return"-"+e.toLowerCase()}function c(e){return e.charAt(1).toUpperCase()}},97247:function(e,t,n){"use strict";var a=n(19940),r=n(8289),i=n(5812),o=n(94397),s=n(67716),E=n(61805);e.exports=a([i,r,o,s,E])},67716:function(e,t,n){"use strict";var a=n(17e3),r=n(17596),i=a.booleanish,o=a.number,s=a.spaceSeparated;e.exports=r({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},61805:function(e,t,n){"use strict";var a=n(17e3),r=n(17596),i=n(10855),o=a.boolean,s=a.overloadedBoolean,E=a.booleanish,l=a.number,T=a.spaceSeparated,c=a.commaSeparated;e.exports=r({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:c,acceptCharset:T,accessKey:T,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:T,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:T,cols:l,colSpan:null,content:null,contentEditable:E,controls:o,controlsList:T,coords:l|c,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:E,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:T,height:l,hidden:o,high:l,href:null,hrefLang:null,htmlFor:T,httpEquiv:T,id:null,imageSizes:null,imageSrcSet:c,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:T,itemRef:T,itemScope:o,itemType:T,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:l,manifest:null,max:null,maxLength:l,media:null,method:null,min:null,minLength:l,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:l,pattern:null,ping:T,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:T,required:o,reversed:o,rows:l,rowSpan:l,sandbox:T,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:l,sizes:null,slot:null,span:l,spellCheck:E,src:null,srcDoc:null,srcLang:null,srcSet:c,start:l,step:null,style:null,tabIndex:l,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:E,width:l,wrap:null,align:null,aLink:null,archive:T,axis:null,background:null,bgColor:null,border:l,borderColor:null,bottomMargin:l,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:l,leftMargin:l,link:null,longDesc:null,lowSrc:null,marginHeight:l,marginWidth:l,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:l,rules:null,scheme:null,scrolling:E,standby:null,summary:null,text:null,topMargin:l,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:l,security:null,unselectable:null}})},10855:function(e,t,n){"use strict";var a=n(28740);e.exports=function(e,t){return a(e,t.toLowerCase())}},28740:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},17596:function(e,t,n){"use strict";var a=n(66632),r=n(99607),i=n(98805);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],E=e.attributes||{},l=e.properties,T=e.transform,c={},u={};for(t in l)n=new i(t,T(E,t),l[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),c[t]=n,u[a(t)]=t,u[a(n.attribute)]=t;return new r(c,u,o)}},98805:function(e,t,n){"use strict";var a=n(57643),r=n(17e3);e.exports=s,s.prototype=new a,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var E,l,T,c=-1;for(s&&(this.space=s),a.call(this,e,t);++c1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return u[n]||(u[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),u[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return c(c({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===r?{}:r),a)})}else S=c(c({},s),{},{className:s.className.join(" ")});var _=p(n.children);return E.createElement(d,(0,l.Z)({key:o},S),_)}}({node:e,stylesheet:n,useInlineStyles:a,key:"code-segement".concat(t)})})}function g(e){return e&&void 0!==e.highlightAuto}var m=n(98695),C=(a=n.n(m)(),r={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,s=e.style,l=void 0===s?r:s,T=e.customStyle,c=void 0===T?{}:T,u=e.codeTagProps,R=void 0===u?{className:t?"language-".concat(t):void 0,style:A(A({},l['code[class*="language-"]']),l['code[class*="language-'.concat(t,'"]')])}:u,m=e.useInlineStyles,C=void 0===m||m,L=e.showLineNumbers,b=void 0!==L&&L,f=e.showInlineLineNumbers,D=void 0===f||f,h=e.startingLineNumber,P=void 0===h?1:h,y=e.lineNumberContainerStyle,M=e.lineNumberStyle,U=void 0===M?{}:M,v=e.wrapLines,w=e.wrapLongLines,G=void 0!==w&&w,k=e.lineProps,F=void 0===k?{}:k,x=e.renderer,B=e.PreTag,H=void 0===B?"pre":B,Y=e.CodeTag,V=void 0===Y?"code":Y,W=e.code,$=void 0===W?(Array.isArray(n)?n[0]:n)||"":W,X=e.astGenerator,K=(0,i.Z)(e,d);X=X||a;var z=b?E.createElement(p,{containerStyle:y,codeStyle:R.style||{},numberStyle:U,startingLineNumber:P,codeString:$}):null,j=l.hljs||l['pre[class*="language-"]']||{backgroundColor:"#fff"},Z=g(X)?"hljs":"prismjs",q=C?Object.assign({},K,{style:Object.assign({},j,c)}):Object.assign({},K,{className:K.className?"".concat(Z," ").concat(K.className):Z,style:Object.assign({},c)});if(G?R.style=A(A({},R.style),{},{whiteSpace:"pre-wrap"}):R.style=A(A({},R.style),{},{whiteSpace:"pre"}),!X)return E.createElement(H,q,z,E.createElement(V,R,$));(void 0===v&&x||G)&&(v=!0),x=x||_;var J=[{type:"text",value:$}],Q=function(e){var t=e.astGenerator,n=e.language,a=e.code,r=e.defaultCodeValue;if(g(t)){var i=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:r,language:"text"}:i?t.highlight(n,a):t.highlightAuto(a)}try{return n&&"text"!==n?{value:t.highlight(a,n)}:{value:r}}catch(e){return{value:r}}}({astGenerator:X,language:t,code:$,defaultCodeValue:J});null===Q.language&&(Q.value=J);var ee=Q.value.length+P,et=function(e,t,n,a,r,i,s,E,l){var T,c=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return O({children:e,lineNumber:t,lineNumberStyle:E,largestLineNumber:s,showInlineLineNumbers:r,lineProps:n,className:i,showLineNumbers:a,wrapLongLines:l})}(e,i,o):function(e,t){if(a&&t&&r){var n=N(E,t,s);e.unshift(I(t,n))}return e}(e,i)}for(;R code[class*="language-"]':{background:"#272822",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8292a2"},prolog:{color:"#8292a2"},doctype:{color:"#8292a2"},cdata:{color:"#8292a2"},punctuation:{color:"#f8f8f2"},namespace:{Opacity:".7"},property:{color:"#f92672"},tag:{color:"#f92672"},constant:{color:"#f92672"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},boolean:{color:"#ae81ff"},number:{color:"#ae81ff"},selector:{color:"#a6e22e"},"attr-name":{color:"#a6e22e"},string:{color:"#a6e22e"},char:{color:"#a6e22e"},builtin:{color:"#a6e22e"},inserted:{color:"#a6e22e"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#e6db74"},"attr-value":{color:"#e6db74"},function:{color:"#e6db74"},"class-name":{color:"#e6db74"},keyword:{color:"#66d9ef"},regex:{color:"#fd971f"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}},11215:function(e,t,n){"use strict";var a,r,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(r=(a="Prism"in i)?i.Prism:void 0,function(){a?i.Prism=r:delete i.Prism,a=void 0,r=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),E=n(57574),l=n(59216),T=n(2717),c=n(12049),u=n(29726),d=n(36155);o();var R={}.hasOwnProperty;function A(){}A.prototype=l;var S=new A;function p(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===S.languages[e.displayName]&&e(S)}e.exports=S,S.highlight=function(e,t){var n,a=l.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===S.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(R.call(S.languages,t))n=S.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return a.call(this,e,n,t)},S.register=p,S.alias=function(e,t){var n,a,r,i,o=S.languages,s=e;for(n in t&&((s={})[e]=t),s)for(r=(a="string"==typeof(a=s[n])?[a]:a).length,i=-1;++i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},68313:function(e){"use strict";function t(e){var t;t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}e.exports=t,t.displayName="abnf",t.aliases=[]},5199:function(e){"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},89693:function(e){"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},24001:function(e){"use strict";function t(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}e.exports=t,t.displayName="agda",t.aliases=[]},18018:function(e){"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},36363:function(e){"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},35281:function(e){"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},10433:function(e,t,n){"use strict";var a=n(11114);function r(e){e.register(a),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return t.source});function a(e){return RegExp(e.replace(//g,function(){return n}),"i")}var r={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:a(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:r},{pattern:a(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:r},{pattern:a(/(?=\s*\w+\s*[;=,(){:])/.source),inside:r}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=r,r.displayName="apex",r.aliases=[]},84039:function(e){"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},71336:function(e){"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},4481:function(e){"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},2159:function(e,t,n){"use strict";var a=n(80096);function r(e){e.register(a),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=r,r.displayName="arduino",r.aliases=["ino"]},60274:function(e){"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},18738:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function a(e){e=e.split(" ");for(var t={},a=0,r=e.length;a>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},78734:function(e,t,n){"use strict";var a=n(61958);function r(e){e.register(a),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=r,r.displayName="aspnet",r.aliases=[]},6681:function(e){"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},53358:function(e){"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},81700:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]}),n||"")}var n=/bool|clip|float|int|string|val/.source,a=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[a],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},37219:function(e){"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},6979:function(e){"use strict";function t(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},a={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:a},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:a},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:a.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:a.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=a.variable[1].inside,o=0;o?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},94781:function(e){"use strict";function t(e){var t,n,a,r;t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},a=/"(?:[\\"]"|[^"])*"(?!")/,r=/(?:\b|-)\d+\b/,e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:a,parameter:n,variable:t,number:r,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:a,parameter:n,variable:t,number:r,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:a,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:r,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:a,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:r,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}e.exports=t,t.displayName="batch",t.aliases=[]},62260:function(e){"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},36153:function(e){"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},59258:function(e){"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},62890:function(e,t,n){"use strict";var a=n(65806);function r(e){e.register(a),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=r,r.displayName="bison",r.aliases=[]},15958:function(e){"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},61321:function(e){"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},77856:function(e){"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},90741:function(e){"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},83410:function(e){"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},65806:function(e){"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},33039:function(e){"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},85082:function(e,t,n){"use strict";var a=n(80096);function r(e){e.register(a),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=r,r.displayName="chaiscript",r.aliases=[]},79415:function(e){"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},29726:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},62849:function(e){"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},55773:function(e){"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},32762:function(e){"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},43576:function(e){"use strict";function t(e){var t,n;t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"},e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},71794:function(e){"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},1315:function(e){"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},80096:function(e,t,n){"use strict";var a=n(65806);function r(e){var t,n;e.register(a),t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}e.exports=r,r.displayName="cpp",r.aliases=[]},99176:function(e,t,n){"use strict";var a=n(56939);function r(e){e.register(a),e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}e.exports=r,r.displayName="crystal",r.aliases=[]},61958:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,a){return RegExp(t(e,n),a||"")}function a(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var r={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var o=i(r.typeDeclaration),s=RegExp(i(r.type+" "+r.typeDeclaration+" "+r.contextual+" "+r.other)),E=i(r.typeDeclaration+" "+r.contextual+" "+r.other),l=i(r.type+" "+r.typeDeclaration+" "+r.other),T=a(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),c=a(/\((?:[^()]|<>)*\)/.source,2),u=/@?\b[A-Za-z_]\w*\b/.source,d=t(/<<0>>(?:\s*<<1>>)?/.source,[u,T]),R=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[E,d]),A=/\[\s*(?:,\s*)*\]/.source,S=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[R,A]),p=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[T,c,A]),I=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[p]),N=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[I,R,A]),O={keyword:s,punctuation:/[<>()?,.:[\]]/},_=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,g=/"(?:\\.|[^\\"\r\n])*"/.source,m=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[m]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[g]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[R]),lookbehind:!0,inside:O},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[u,N]),lookbehind:!0,inside:O},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[u]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,d]),lookbehind:!0,inside:O},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[R]),lookbehind:!0,inside:O},{pattern:n(/(\bwhere\s+)<<0>>/.source,[u]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[S]),lookbehind:!0,inside:O},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[N,l,u]),inside:O}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[u]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[u]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[c]),lookbehind:!0,alias:"class-name",inside:O},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[N,R]),inside:O,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[N]),lookbehind:!0,inside:O,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[u,T]),inside:{function:n(/^<<0>>/.source,[u]),generic:{pattern:RegExp(T),alias:"class-name",inside:O}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,d,u,N,s.source,c,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[d,c]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(N),greedy:!0,inside:O},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var C=g+"|"+_,L=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[C]),b=a(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[L]),2),f=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,D=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[R,b]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[f,D]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[f]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[b]),inside:e.languages.csharp},"class-name":{pattern:RegExp(R),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var h=/:[^}\r\n]+/.source,P=a(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[L]),2),y=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,h]),M=a(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[C]),2),U=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,h]);function v(t,a){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[a,h]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[y]),lookbehind:!0,greedy:!0,inside:v(y,P)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[U]),lookbehind:!0,greedy:!0,inside:v(U,M)}],char:{pattern:RegExp(_),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:function(e,t,n){"use strict";var a=n(61958);function r(e){e.register(a),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function a(e,a){for(var r=0;r/g,function(){return"(?:"+e+")"});return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var r=a(/\((?:[^()'"@/]|||)*\)/.source,2),i=a(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=a(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=a(/<(?:[^<>'"@/]|||)*>/.source,2),E=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,l=/(?!\d)[^\s>\/=$<%]+/.source+E+/\s*\/?>/.source,T=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+E+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+l+"|"+a(/<\1/.source+E+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+l+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var a={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:a,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,number:r})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},12049:function(e){"use strict";function t(e){var t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},78090:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315:function(e){"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},7902:function(e){"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},28651:function(e){"use strict";function t(e){var t,n,a;t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[a,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},55579:function(e){"use strict";function t(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}e.exports=t,t.displayName="dataweave",t.aliases=[]},93685:function(e){"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},13934:function(e){"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},93336:function(e){"use strict";function t(e){var t;e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var a=t[n],r=[];/^\w+$/.test(n)||r.push(/\w+/.exec(n)[0]),"diff"===n&&r.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+a+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:r,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}e.exports=t,t.displayName="diff",t.aliases=[]},13294:function(e,t,n){"use strict";var a=n(93205);function r(e){var t,n;e.register(a),e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"],e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}e.exports=r,r.displayName="django",r.aliases=["jinja2"]},38223:function(e){"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},97266:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),a=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,r=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return a}),i={pattern:RegExp(a),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return r}).replace(//g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},80636:function(e){"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function a(e,n){return RegExp(e.replace(//g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:a(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:a(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:a(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:a(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},36500:function(e){"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},30296:function(e){"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},50115:function(e){"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},20791:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=r,r.displayName="ejs",r.aliases=["eta"]},11974:function(e){"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}e.exports=t,t.displayName="elixir",t.aliases=[]},8645:function(e){"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},84790:function(e,t,n){"use strict";var a=n(56939),r=n(93205);function i(e){e.register(a),e.register(r),e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}e.exports=i,i.displayName="erb",i.aliases=[]},4502:function(e){"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},66055:function(e,t,n){"use strict";var a=n(59803),r=n(93205);function i(e){e.register(a),e.register(r),e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}e.exports=i,i.displayName="etlua",i.aliases=[]},34668:function(e){"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},95126:function(e){"use strict";function t(e){var t,n,a,r,i,o;a={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(n={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},r=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return RegExp("(^|\\s)(?:"+e.map(r).join("|")+")(?=\\s|$)")},Object.keys(o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(e){a[e].pattern=i(o[e])}),a.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=a}e.exports=t,t.displayName="factor",t.aliases=[]},90618:function(e){"use strict";function t(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},37225:function(e){"use strict";function t(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}e.exports=t,t.displayName="flow",t.aliases=[]},16725:function(e){"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},95559:function(e){"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},82114:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var a={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};a.string[1].inside.interpolation.inside.rest=a,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}}},e.hooks.add("before-tokenize",function(n){var a=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",a)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(e)}e.exports=r,r.displayName="ftl",r.aliases=[]},6806:function(e){"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},12208:function(e){"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},62728:function(e){"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},81549:function(e){"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},6024:function(e){"use strict";function t(e){var t;t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}e.exports=t,t.displayName="gherkin",t.aliases=[]},13600:function(e){"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},3322:function(e,t,n){"use strict";var a=n(65806);function r(e){e.register(a),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=r,r.displayName="glsl",r.aliases=[]},53877:function(e){"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},60794:function(e){"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},20222:function(e){"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},51519:function(e){"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},94055:function(e){"use strict";function t(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n0)){var s=c(/^\{$/,/^\}$/);if(-1===s)continue;for(var E=n;E=0&&u(l,"variable-input")}}}}function T(e,a){a=a||0;for(var r=0;r]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:a,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}e.exports=t,t.displayName="groovy",t.aliases=[]},29536:function(e,t,n){"use strict";var a=n(56939);function r(e){e.register(a),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},a=0,r=t.length;a@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}),e.languages.hbs=e.languages.handlebars}e.exports=r,r.displayName="handlebars",r.aliases=["hbs"]},58090:function(e){"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},95121:function(e){"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},59904:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},9436:function(e,t,n){"use strict";var a=n(65806);function r(e){e.register(a),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=r,r.displayName="hlsl",r.aliases=[]},60591:function(e){"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},76942:function(e){"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},60561:function(e){"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},49660:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,a=e.languages,r={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},i={"application/json":!0,"application/xml":!0};for(var o in r)if(r[o]){n=n||{};var s=i[o]?function(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}(o):o;n[o.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+s+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:r[o]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},30615:function(e){"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},93865:function(e){"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},51078:function(e){"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,a={pattern:/''/,greedy:!0,alias:"operator"},r=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),i={pattern:RegExp(r),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(r),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:a,string:{pattern:n,greedy:!0,inside:{escape:a}}},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},91178:function(e,t,n){"use strict";var a=n(58090);function r(e){e.register(a),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=r,r.displayName="idris",r.aliases=["idr"]},40011:function(e){"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},12017:function(e){"use strict";function t(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},65175:function(e){"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},14970:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},30764:function(e){"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},15909:function(e){"use strict";function t(e){var t,n,a;t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[a,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}e.exports=t,t.displayName="java",t.aliases=[]},36553:function(e,t,n){"use strict";var a=n(15909),r=n(9858);function i(e){var t,n,i;e.register(a),e.register(r),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return n}),e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}e.exports=i,i.displayName="javadoc",i.aliases=[]},9858:function(e){"use strict";function t(e){var t;Object.defineProperty(t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var a="doc-comment",r=e.languages[t];if(r){var i=r[a];if(!i){var o={};o[a]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(r=e.languages.insertBefore(t,"comment",o))[a]}if(i instanceof RegExp&&(i=r[a]={pattern:i}),Array.isArray(i))for(var s=0,E=i.length;s|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},11223:function(e){"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},57957:function(e){"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},66604:function(e){"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},77935:function(e){"use strict";function t(e){var t,n,a,r;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),a={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},r=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:a},string:{pattern:n,lookbehind:!0,greedy:!0,inside:a},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},a.interpolation.inside.content.inside=r}e.exports=t,t.displayName="jq",t.aliases=[]},46155:function(e){"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],a=0;a=u.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var E=u[l],c="string"==typeof o?o:o.content,d=c.indexOf(E);if(-1!==d){++l;var R=c.substring(0,d),A=function(t){var n={};n["interpolation-punctuation"]=r;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,a.alias,t)}(T[E]),S=c.substring(d+E.length),p=[];if(R&&p.push(R),p.push(A),S){var I=[S];t(I),p.push.apply(p,I)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(p)),i+=p.length-1):o.content=p}}else{var N=o.content;Array.isArray(N)?t(N):t([N])}}}(c),new e.Token(o,c,"language-"+o,t)}(u,A,R)}}else t(T)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},25319:function(e,t,n){"use strict";var a=n(9858),r=n(4979);function i(e){var t,n,i;e.register(a),e.register(r),t=e.languages.javascript,i="(@(?:arg|argument|param|property)\\s+(?:"+(n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},45950:function(e){"use strict";function t(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},50235:function(e,t,n){"use strict";var a=n(45950);function r(e){var t;e.register(a),t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}e.exports=r,r.displayName="json5",r.aliases=[]},80963:function(e,t,n){"use strict";var a=n(45950);function r(e){e.register(a),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=r,r.displayName="jsonp",r.aliases=[]},79358:function(e){"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},96412:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return a}).replace(//g,function(){return r}),t)}r=i(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],a=0;a0&&n[n.length-1].tagName===o(r.content[0].content[1])&&n.pop():"/>"===r.content[r.content.length-1].content||n.push({tagName:o(r.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===r.type&&"{"===r.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===r.type&&"}"===r.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof r)&&n.length>0&&0===n[n.length-1].openedBraces){var E=o(r);a0&&("string"==typeof t[a-1]||"plain-text"===t[a-1].type)&&(E=o(t[a-1])+E,t.splice(a-1,1),a--),t[a]=new e.Token("plain-text",E,null,E)}r.content&&"string"!=typeof r.content&&s(r.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},39259:function(e){"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},32409:function(e){"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},35760:function(e){"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},19715:function(e){"use strict";function t(e){var t;e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},27614:function(e){"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},82819:function(e){"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},42876:function(e){"use strict";function t(e){var t,n;n={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},2980:function(e,t,n){"use strict";var a=n(93205),r=n(88262);function i(e){var t;e.register(a),e.register(r),e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}},t=e.languages.extend("markup",{}),e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}e.exports=i,i.displayName="latte",i.aliases=[]},41701:function(e){"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},42491:function(e,t,n){"use strict";var a=n(9997);function r(e){e.register(a),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var a=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};a["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=a,e.languages.ly=a}(e)}e.exports=r,r.displayName="lilypond",r.aliases=[]},34927:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var a=t[1];if("raw"===a&&!n)return n=!0,!0;if("endraw"===a)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=r,r.displayName="liquid",r.aliases=[]},3848:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var a=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,r="&"+a,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,E={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+a+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+a),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+a),alias:"property"},splice:{pattern:RegExp(",@?"+a),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+a),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(a)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+a+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+a),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+a+"(?:\\s+&?"+a+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+a),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},l={"lisp-marker":RegExp(r),varform:{pattern:RegExp(/\(/.source+a+/\s+(?=\S)/.source+s+/\)/.source),inside:E},argument:{pattern:RegExp(/(^|[\s(])/.source+a),lookbehind:!0,alias:"variable"},rest:E},T="\\S+(?:\\s+\\S+)*",c={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+T),inside:l},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+T),inside:l},keys:{pattern:RegExp("&key\\s+"+T+"(?:\\s+&allow-other-keys)?"),inside:l},argument:{pattern:RegExp(a),alias:"variable"},punctuation:/[()]/}};E.lambda.inside.arguments=c,E.defun.inside.arguments=e.util.clone(c),E.defun.inside.arguments.inside.sublist=c,e.languages.lisp=E,e.languages.elisp=E,e.languages.emacs=E,e.languages["emacs-lisp"]=E}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},41469:function(e){"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},73070:function(e){"use strict";function t(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}e.exports=t,t.displayName="llvm",t.aliases=[]},35049:function(e){"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},8789:function(e){"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},59803:function(e){"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},86328:function(e){"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},33055:function(e){"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},90542:function(e){"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return a}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+i+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+i+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,a=t.length;n",quot:'"'},E=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},93205:function(e){"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,a,r,i){if(n.language===a){var o=n.tokenStack=[];n.code=n.code.replace(r,function(e){if("function"==typeof i&&!i(e))return e;for(var r,s=o.length;-1!==n.code.indexOf(r=t(a,s));)++s;return o[s]=e,r}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,a){if(n.language===a&&n.tokenStack){n.grammar=e.languages[a];var r=0,i=Object.keys(n.tokenStack);!function o(s){for(var E=0;E=i.length);E++){var l=s[E];if("string"==typeof l||l.content&&"string"==typeof l.content){var T=i[r],c=n.tokenStack[T],u="string"==typeof l?l:l.content,d=t(a,T),R=u.indexOf(d);if(R>-1){++r;var A=u.substring(0,R),S=new e.Token(a,e.tokenize(c,n.grammar),"language-"+a,c),p=u.substring(R+d.length),I=[];A&&I.push.apply(I,o([A])),I.push(S),p&&I.push.apply(I,o([p])),"string"==typeof l?s.splice.apply(s,[E,1].concat(I)):l.content=I}}else l.content&&o(l.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},2717:function(e){"use strict";function t(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var a={};a["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},a.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:a}};r["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:function(e){"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},91115:function(e){"use strict";function t(e){var t;t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}e.exports=t,t.displayName="maxscript",t.aliases=[]},606:function(e){"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},68582:function(e){"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},23388:function(e){"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},90596:function(e){"use strict";function t(e){var t,n;n="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},95721:function(e){"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},64262:function(e){"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},18190:function(e){"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},70896:function(e){"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},42242:function(e){"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},37943:function(e){"use strict";function t(e){var t,n;n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t=/\{[^\r\n\[\]{}]*\}/,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]},e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(e);!function(e){for(var t=[],n=0;n=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},83873:function(e){"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},75932:function(e){"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60221:function(e){"use strict";function t(e){var t;t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}e.exports=t,t.displayName="nginx",t.aliases=[]},44188:function(e){"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},74426:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},88447:function(e){"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},16032:function(e,t,n){"use strict";var a=n(65806);function r(e){e.register(a),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=r,r.displayName="objectivec",r.aliases=["objc"]},33607:function(e){"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},22001:function(e,t,n){"use strict";var a=n(65806);function r(e){var t;e.register(a),e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}e.exports=r,r.displayName="opencl",r.aliases=[]},22950:function(e){"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},23254:function(e){"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},92694:function(e){"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"].map(function(e){return e.split("").join(" *")}).join("|")+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},43273:function(e){"use strict";function t(e){var t;t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}e.exports=t,t.displayName="parser",t.aliases=[]},60718:function(e){"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},39303:function(e){"use strict";function t(e){var t,n,a,r;t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return t}),a=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},r=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=a[t],e},{}),a["class-name"].forEach(function(e){e.inside=r})}e.exports=t,t.displayName="pascaligo",t.aliases=[]},77393:function(e){"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},19023:function(e){"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},74212:function(e){"use strict";function t(e){var t;t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="perl",t.aliases=[]},5137:function(e,t,n){"use strict";var a=n(88262);function r(e){e.register(a),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=r,r.displayName="phpExtras",r.aliases=[]},88262:function(e,t,n){"use strict";var a=n(93205);function r(e){var t,n,r,i,o,s,E;e.register(a),t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/,e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:o},E=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}],e.languages.insertBefore("php","variable",{string:E,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:E,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}e.exports=r,r.displayName="php",r.aliases=[]},63632:function(e,t,n){"use strict";var a=n(88262),r=n(9858);function i(e){var t;e.register(a),e.register(r),t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},59149:function(e,t,n){"use strict";var a=n(11114);function r(e){e.register(a),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=r,r.displayName="plsql",r.aliases=[]},50256:function(e){"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},61777:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},3623:function(e){"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},82707:function(e){"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},59338:function(e){"use strict";function t(e){var t,n;n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}e.exports=t,t.displayName="promql",t.aliases=[]},56267:function(e){"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},98809:function(e){"use strict";function t(e){var t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}e.exports=t,t.displayName="protobuf",t.aliases=[]},37548:function(e){"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},82161:function(e){"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],a={},r=0,i=n.length;r",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",a)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},80625:function(e){"use strict";function t(e){var t;e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}e.exports=t,t.displayName="puppet",t.aliases=[]},88393:function(e){"use strict";function t(e){var t;e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var a=n;if("string"!=typeof n&&(a=n.alias,n=n.lang),e.languages[a]){var r={};r["inline-lang-"+a]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},r["inline-lang-"+a].inside.rest=e.util.clone(e.languages[a]),e.languages.insertBefore("pure","inline-lang",r)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},78404:function(e){"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},92923:function(e,t,n){"use strict";var a=n(58090);function r(e){e.register(a),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=r,r.displayName="purescript",r.aliases=["purs"]},52992:function(e){"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},55762:function(e){"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},4137:function(e){"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,a=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),r=0;r<2;r++)a=a.replace(//g,function(){return a});a=a.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},28260:function(e){"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},71360:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,a){return RegExp(t(e,n),a||"")}var a={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},r=RegExp("\\b(?:"+(a.type+" "+a.other).trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),s={keyword:r,punctuation:/[<>()?,.:[\]]/},E=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[E]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:s},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:s}],keyword:r,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var l=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[E]),0);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[l]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[l]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},29308:function(e){"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},32168:function(e,t,n){"use strict";var a=n(9997);function r(e){e.register(a),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=r,r.displayName="racket",r.aliases=["rkt"]},5755:function(e){"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},54105:function(e){"use strict";function t(e){var t,n,a,r,i;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=RegExp((a="(?:[^\\\\-]|"+(n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+a),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:r,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},35108:function(e){"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},46678:function(e){"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},47496:function(e){"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},30527:function(e){"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},5261:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function a(e,a){var r={};for(var i in r["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},a)r[i]=a[i];return r.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},r.variable=n,r.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:r}}var r={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:a("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:a("Variables"),"test-cases":a("Test Cases",{"test-name":i,documentation:r,property:o}),keywords:a("Keywords",{"keyword-name":i,documentation:r,property:o}),tasks:a("Tasks",{"task-name":i,documentation:r,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},56939:function(e){"use strict";function t(e){var t,n,a;e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",a=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+a),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+a+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},83648:function(e){"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},16009:function(e){"use strict";function t(e){var t,n,a,r,i,o,s,E,l,T,c,u,d,R,A,S,p,I;t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,a={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],c={function:T={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":r={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":a,punctuation:l=/[$%@.(){}\[\];,\\]/,string:E={pattern:RegExp(t),greedy:!0}},u={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},d={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},R={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},A={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},S=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,p={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return S}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return S}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:T,"arg-value":c["arg-value"],operator:c.operator,argument:c.arg,number:n,"numeric-constant":a,punctuation:l,string:E}},I={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":R,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":a,punctuation:l,string:E}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:I,"submit-statement":A,"global-statements":R,number:n,"numeric-constant":a,punctuation:l,string:E}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:I,"submit-statement":A,"global-statements":R,number:n,"numeric-constant":a,punctuation:l,string:E}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:c}},"cas-actions":p,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:c},step:o,keyword:I,function:T,format:u,altformat:d,"global-statements":R,number:n,"numeric-constant":a,punctuation:l,string:E}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,inside:c},"macro-keyword":i,"macro-variable":r,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":r,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:l}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":a}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:c},"cas-actions":p,comment:s,function:T,format:u,altformat:d,"numeric-constant":a,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:E,step:o,keyword:I,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:l}}e.exports=t,t.displayName="sas",t.aliases=[]},41720:function(e){"use strict";function t(e){var t,n;e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule,t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}e.exports=t,t.displayName="sass",t.aliases=[]},6054:function(e,t,n){"use strict";var a=n(15909);function r(e){e.register(a),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=r,r.displayName="scala",r.aliases=[]},9997:function(e){"use strict";function t(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}e.exports=t,t.displayName="scheme",t.aliases=[]},24296:function(e){"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},49246:function(e,t,n){"use strict";var a=n(6979);function r(e){var t;e.register(a),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=r,r.displayName="shellSession",r.aliases=[]},18890:function(e){"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},11037:function(e){"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},64020:function(e,t,n){"use strict";var a=n(93205);function r(e){var t,n;e.register(a),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return t.source}),"g"),e.hooks.add("before-tokenize",function(t){var a=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(a=!1),!a&&("{literal}"===e&&(a=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=r,r.displayName="smarty",r.aliases=[]},49760:function(e){"use strict";function t(e){var t;t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},33351:function(e){"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},13570:function(e){"use strict";function t(e){var t;t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}e.exports=t,t.displayName="solutionFile",t.aliases=[]},38181:function(e,t,n){"use strict";var a=n(93205);function r(e){var t,n;e.register(a),t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}e.exports=r,r.displayName="soy",r.aliases=[]},98774:function(e,t,n){"use strict";var a=n(24691);function r(e){e.register(a),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=r,r.displayName="sparql",r.aliases=["rq"]},22855:function(e){"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},29611:function(e){"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},11114:function(e){"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},67386:function(e){"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},28067:function(e){"use strict";function t(e){var t;t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}e.exports=t,t.displayName="stan",t.aliases=[]},49168:function(e){"use strict";function t(e){var t,n,a;(a={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:a}},a.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:a}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:a}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:a}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:a}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:a.interpolation}},rest:a}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:a.interpolation,comment:a.comment,punctuation:/[{},]/}},func:a.func,string:a.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:a.interpolation,punctuation:/[{}()\[\];:.]/}}e.exports=t,t.displayName="stylus",t.aliases=[]},23651:function(e){"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}e.exports=t,t.displayName="swift",t.aliases=[]},21483:function(e){"use strict";function t(e){var t,n;t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}e.exports=t,t.displayName="systemd",t.aliases=[]},32268:function(e,t,n){"use strict";var a=n(2329),r=n(61958);function i(e){e.register(a),e.register(r),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},2329:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var a=e.languages[n],r="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",a,r),"class-feature":t("\\+",a,r),standard:t("",a,r)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},82996:function(e,t,n){"use strict";var a=n(2329),r=n(53813);function i(e){e.register(a),e.register(r),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},17290:function(e,t,n){"use strict";var a=n(65039);function r(e){e.register(a),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=r,r.displayName="tap",r.aliases=[]},67989:function(e){"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},31065:function(e){"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function a(e,a){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),a||"")}var r={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:a(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:a(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:r},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:a(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:a(/(^[*#]+)+/.source),lookbehind:!0,inside:r},punctuation:/^[*#]+/}},table:{pattern:a(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:a(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:r},punctuation:/\||^\./}},inline:{pattern:a(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:a(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:a(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:a(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:a(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:a(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:a(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:a(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:a(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:r},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:a(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:a(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:a(/(^")+/.source),lookbehind:!0,inside:r},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:a(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:a(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:a(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:r},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var E=o.inline.inside;E.bold.inside=s,E.italic.inside=s,E.inserted.inside=s,E.deleted.inside=s,E.span.inside=s;var l=o.table.inside;l.inline=s.inline,l.link=s.link,l.image=s.image,l.footnote=s.footnote,l.acronym=s.acronym,l.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},85572:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},27536:function(e){"use strict";function t(e){var t;e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}e.exports=t,t.displayName="tremor",t.aliases=[]},87041:function(e,t,n){"use strict";var a=n(96412),r=n(4979);function i(e){var t,n;e.register(a),e.register(r),t=e.util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=i,i.displayName="tsx",i.aliases=[]},61028:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}e.exports=r,r.displayName="tt2",r.aliases=[]},24691:function(e){"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},19892:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}e.exports=r,r.displayName="twig",r.aliases=[]},4979:function(e){"use strict";function t(e){var t;e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},23159:function(e){"use strict";function t(e){var t;t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},34966:function(e){"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},44623:function(e){"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},38521:function(e){"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},7255:function(e){"use strict";function t(e){var t;t={pattern:/[\s\S]+/,inside:null},e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}e.exports=t,t.displayName="v",t.aliases=[]},28173:function(e){"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},53813:function(e,t,n){"use strict";var a=n(46241);function r(e){e.register(a),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=r,r.displayName="vbnet",r.aliases=[]},46891:function(e){"use strict";function t(e){var t;e.languages.velocity=e.languages.extend("markup",{}),(t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}e.exports=t,t.displayName="velocity",t.aliases=[]},91824:function(e){"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},9447:function(e){"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},53062:function(e){"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},46215:function(e){"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},10784:function(e){"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},17684:function(e){"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},64851:function(e){"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,a={};for(var r in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:a},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:a},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:a}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==r&&(a[r]=e.languages["web-idl"][r]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},18191:function(e){"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},75242:function(e){"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},93639:function(e){"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},97202:function(e){"use strict";function t(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},13808:function(e){"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,a={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",a),t("fsharp",a),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},21301:function(e){"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},20349:function(e){"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(a){for(var r=[],i=0;i0&&r[r.length-1].tagName===t(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(r.length>0)||"punctuation"!==o.type||"{"!==o.content||a[i+1]&&"punctuation"===a[i+1].type&&"{"===a[i+1].content||a[i-1]&&"plain-text"===a[i-1].type&&"{"===a[i-1].content?r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:"comment"!==o.type&&(s=!0):r[r.length-1].openedBraces++),(s||"string"==typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var E=t(o);i0&&("string"==typeof a[i-1]||"plain-text"===a[i-1].type)&&(E=t(a[i-1])+E,a.splice(i-1,1),i--),/^\s+$/.test(E)?a[i]=E:a[i]=new e.Token("plain-text",E,null,E)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},65039:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return"(?:"+r+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},96319:function(e){"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},31501:function(e){"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,a="\\b(?!"+n.source+")(?!\\d)\\w+\\b",r=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(r))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(a))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(i)).replace(//g,t(r))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(i)).replace(//g,t(r))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},59216:function(e,t,n){/** - * Prism: Lightweight, robust, elegant syntax highlighting - * - * @license MIT - * @author Lea Verou - * @namespace - * @public - */var a=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},r={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=T.reach));g+=_.value.length,_=_.next){var m,C=_.value;if(n.length>t.length)return;if(!(C instanceof i)){var L=1;if(p){if(!(m=o(O,g,t,S))||m.index>=t.length)break;var b=m.index,f=m.index+m[0].length,D=g;for(D+=_.value.length;b>=D;)D+=(_=_.next).value.length;if(D-=_.value.length,g=D,_.value instanceof i)continue;for(var h=_;h!==n.tail&&(DT.reach&&(T.reach=U);var v=_.prev;y&&(v=E(n,v,y),g+=y.length),function(e,t,n){for(var a=t.next,r=0;r1){var G={cause:c+","+d,reach:U};e(t,n,a,_.prev,g,G),T&&G.reach>T.reach&&(T.reach=G.reach)}}}}}}(e,l,t,l.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(l)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,i=0;a=n[i++];)a(t)}},Token:i};function i(e,t,n,a){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length}function o(e,t,n,a){e.lastIndex=t;var r=e.exec(n);if(r&&a&&r[1]){var i=r[1].length;r.index+=i,r[0]=r[0].slice(i)}return r}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function E(e,t,n){var a=t.next,r={value:n,prev:t,next:a};return t.next=r,a.prev=r,e.length++,r}if(e.Prism=r,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach(function(t){a+=e(t,n)}),a}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),r.hooks.run("wrap",i);var s="";for(var E in i.attributes)s+=" "+E+'="'+(i.attributes[E]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(r.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),a=n.language,i=n.code,o=n.immediateClose;e.postMessage(r.highlight(i,r.languages[a],a)),o&&e.close()},!1)),r;var l=r.util.currentScript();function T(){r.manual||r.highlightAll()}if(l&&(r.filename=l.src,l.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var c=document.readyState;"loading"===c||"interactive"===c&&l&&l.defer?document.addEventListener("DOMContentLoaded",T):window.requestAnimationFrame?window.requestAnimationFrame(T):window.setTimeout(T,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=a),void 0!==n.g&&(n.g.Prism=a)},36582:function(e,t){"use strict";t.Q=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)};var n=/[ \t\n\r\f]+/g},47529:function(e){e.exports=function(){for(var e={},n=0;ne.length)&&(t=e.length);for(var n=0,a=Array(t);n=e.length?e.apply(this,r):function(){for(var e=arguments.length,a=Array(e),i=0;i=c.length?c.apply(this,a):function(){for(var n=arguments.length,r=Array(n),i=0;i1&&void 0!==arguments[1]?arguments[1]:{};R.initial(e),R.handler(t);var n={current:e},a=E(p)(n,t),r=E(S)(n),i=E(R.changes)(e),o=E(A)(n);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return R.selector(e),e(n.current)},function(e){(function(){for(var e=arguments.length,t=Array(e),n=0;n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(t,["monaco"]);b(function(e){return{config:function e(t,n){return Object.keys(n).forEach(function(a){n[a]instanceof Object&&t[a]&&Object.assign(n[a],e(t[a],n[a]))}),r(r({},t),n)}(e.config,a),monaco:n}})},init:function(){var e=L(function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}});if(!e.isInitialized){if(b({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),m(y);if(window.monaco&&window.monaco.editor)return P(window.monaco),e.resolve(window.monaco),m(y);_(f,D)(h)}return m(y)},__getMonacoInstance:function(){return L(function(e){return e.monaco})}},U=n(67294),v={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},w={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},G=function({children:e}){return U.createElement("div",{style:w.container},e)},k=(0,U.memo)(function({width:e,height:t,isEditorReady:n,loading:a,_ref:r,className:i,wrapperProps:o}){return U.createElement("section",{style:{...v.wrapper,width:e,height:t},...o},!n&&U.createElement(G,null,a),U.createElement("div",{ref:r,style:{...v.fullWidth,...!n&&v.hide},className:i}))}),F=function(e){(0,U.useEffect)(e,[])},x=function(e,t,n=!0){let a=(0,U.useRef)(!0);(0,U.useEffect)(a.current||!n?()=>{a.current=!1}:e,t)};function B(){}function H(e,t,n,a){return e.editor.getModel(Y(e,a))||e.editor.createModel(t,n,a?Y(e,a):void 0)}function Y(e,t){return e.Uri.parse(t)}(0,U.memo)(function({original:e,modified:t,language:n,originalLanguage:a,modifiedLanguage:r,originalModelPath:i,modifiedModelPath:o,keepCurrentOriginalModel:s=!1,keepCurrentModifiedModel:E=!1,theme:l="light",loading:T="Loading...",options:c={},height:u="100%",width:d="100%",className:R,wrapperProps:A={},beforeMount:S=B,onMount:p=B}){let[I,N]=(0,U.useState)(!1),[O,_]=(0,U.useState)(!0),g=(0,U.useRef)(null),m=(0,U.useRef)(null),C=(0,U.useRef)(null),L=(0,U.useRef)(p),b=(0,U.useRef)(S),f=(0,U.useRef)(!1);F(()=>{let e=M.init();return e.then(e=>(m.current=e)&&_(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>{let t;return g.current?(t=g.current?.getModel(),void(s||t?.original?.dispose(),E||t?.modified?.dispose(),g.current?.dispose())):e.cancel()}}),x(()=>{if(g.current&&m.current){let t=g.current.getOriginalEditor(),r=H(m.current,e||"",a||n||"text",i||"");r!==t.getModel()&&t.setModel(r)}},[i],I),x(()=>{if(g.current&&m.current){let e=g.current.getModifiedEditor(),a=H(m.current,t||"",r||n||"text",o||"");a!==e.getModel()&&e.setModel(a)}},[o],I),x(()=>{let e=g.current.getModifiedEditor();e.getOption(m.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())},[t],I),x(()=>{g.current?.getModel()?.original.setValue(e||"")},[e],I),x(()=>{let{original:e,modified:t}=g.current.getModel();m.current.editor.setModelLanguage(e,a||n||"text"),m.current.editor.setModelLanguage(t,r||n||"text")},[n,a,r],I),x(()=>{m.current?.editor.setTheme(l)},[l],I),x(()=>{g.current?.updateOptions(c)},[c],I);let D=(0,U.useCallback)(()=>{if(!m.current)return;b.current(m.current);let s=H(m.current,e||"",a||n||"text",i||""),E=H(m.current,t||"",r||n||"text",o||"");g.current?.setModel({original:s,modified:E})},[n,t,r,e,a,i,o]),h=(0,U.useCallback)(()=>{!f.current&&C.current&&(g.current=m.current.editor.createDiffEditor(C.current,{automaticLayout:!0,...c}),D(),m.current?.editor.setTheme(l),N(!0),f.current=!0)},[c,l,D]);return(0,U.useEffect)(()=>{I&&L.current(g.current,m.current)},[I]),(0,U.useEffect)(()=>{O||I||h()},[O,I,h]),U.createElement(k,{width:d,height:u,isEditorReady:I,loading:T,_ref:C,className:R,wrapperProps:A})});var V=function(e){let t=(0,U.useRef)();return(0,U.useEffect)(()=>{t.current=e},[e]),t.current},W=new Map,$=(0,U.memo)(function({defaultValue:e,defaultLanguage:t,defaultPath:n,value:a,language:r,path:i,theme:o="light",line:s,loading:E="Loading...",options:l={},overrideServices:T={},saveViewState:c=!0,keepCurrentModel:u=!1,width:d="100%",height:R="100%",className:A,wrapperProps:S={},beforeMount:p=B,onMount:I=B,onChange:N,onValidate:O=B}){let[_,g]=(0,U.useState)(!1),[m,C]=(0,U.useState)(!0),L=(0,U.useRef)(null),b=(0,U.useRef)(null),f=(0,U.useRef)(null),D=(0,U.useRef)(I),h=(0,U.useRef)(p),P=(0,U.useRef)(),y=(0,U.useRef)(a),v=V(i),w=(0,U.useRef)(!1),G=(0,U.useRef)(!1);F(()=>{let e=M.init();return e.then(e=>(L.current=e)&&C(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>b.current?void(P.current?.dispose(),u?c&&W.set(i,b.current.saveViewState()):b.current.getModel()?.dispose(),b.current.dispose()):e.cancel()}),x(()=>{let o=H(L.current,e||a||"",t||r||"",i||n||"");o!==b.current?.getModel()&&(c&&W.set(v,b.current?.saveViewState()),b.current?.setModel(o),c&&b.current?.restoreViewState(W.get(i)))},[i],_),x(()=>{b.current?.updateOptions(l)},[l],_),x(()=>{b.current&&void 0!==a&&(b.current.getOption(L.current.editor.EditorOption.readOnly)?b.current.setValue(a):a===b.current.getValue()||(G.current=!0,b.current.executeEdits("",[{range:b.current.getModel().getFullModelRange(),text:a,forceMoveMarkers:!0}]),b.current.pushUndoStop(),G.current=!1))},[a],_),x(()=>{let e=b.current?.getModel();e&&r&&L.current?.editor.setModelLanguage(e,r)},[r],_),x(()=>{void 0!==s&&b.current?.revealLine(s)},[s],_),x(()=>{L.current?.editor.setTheme(o)},[o],_);let Y=(0,U.useCallback)(()=>{if(!(!f.current||!L.current)&&!w.current){h.current(L.current);let s=i||n,E=H(L.current,a||e||"",t||r||"",s||"");b.current=L.current?.editor.create(f.current,{model:E,automaticLayout:!0,...l},T),c&&b.current.restoreViewState(W.get(s)),L.current.editor.setTheme(o),g(!0),w.current=!0}},[e,t,n,a,r,i,l,T,c,o]);return(0,U.useEffect)(()=>{_&&D.current(b.current,L.current)},[_]),(0,U.useEffect)(()=>{m||_||Y()},[m,_,Y]),y.current=a,(0,U.useEffect)(()=>{_&&N&&(P.current?.dispose(),P.current=b.current?.onDidChangeModelContent(e=>{G.current||N(b.current.getValue(),e)}))},[_,N]),(0,U.useEffect)(()=>{if(_){let e=L.current.editor.onDidChangeMarkers(e=>{let t=b.current.getModel()?.uri;if(t&&e.find(e=>e.path===t.path)){let e=L.current.editor.getModelMarkers({resource:t});O?.(e)}});return()=>{e?.dispose()}}return()=>{}},[_,O]),U.createElement(k,{width:d,height:R,isEditorReady:_,loading:E,_ref:f,className:A,wrapperProps:S})})},35576:function(e,t,n){"use strict";var a,r,i=n(67294);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),l={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xa0",quot:"“"},T=["style","script"],c=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,u=/mailto:/i,d=/\n{2,}$/,R=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,A=/^ *> ?/gm,S=/^ {2,}\n/,p=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,I=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,N=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,O=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,_=/^(?:\n *)*\n/,g=/\r\n?/g,m=/^\[\^([^\]]+)](:.*)\n/,C=/^\[\^([^\]]+)]/,L=/\f/g,b=/^\s*?\[(x|\s)\]/,f=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,D=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,h=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,P=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,y=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,M=/^)/,U=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,v=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,w=/^\{.*\}$/,G=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,k=/^<([^ >]+@[^ >]+)>/,F=/^<([^ >]+:\/[^ >]+)>/,x=/-([a-z])?/gi,B=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,H=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,Y=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,V=/^\[([^\]]*)\] ?\[([^\]]*)\]/,W=/(\[|\])/g,$=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,X=/\t/g,K=/^ *\| */,z=/(^ *\||\| *$)/g,j=/ *$/,Z=/^ *:-+: *$/,q=/^ *:-+ *$/,J=/^ *-+: *$/,Q=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,ee=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,et=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,en=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,ea=/^\\([^0-9A-Za-z\s])/,er=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,ei=/^\n+/,eo=/^([ \t]*)/,es=/\\([^\\])/g,eE=/ *\n+$/,el=/(?:^|\n)( *)$/,eT="(?:\\d+\\.)",ec="(?:[*+-])";function eu(e){return"( *)("+(1===e?eT:ec)+") +"}let ed=eu(1),eR=eu(2);function eA(e){return RegExp("^"+(1===e?ed:eR))}let eS=eA(1),ep=eA(2);function eI(e){return RegExp("^"+(1===e?ed:eR)+"[^\\n]*(?:\\n(?!\\1"+(1===e?eT:ec)+" )[^\\n]*)*(\\n|$)","gm")}let eN=eI(1),eO=eI(2);function e_(e){let t=1===e?eT:ec;return RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}let eg=e_(1),em=e_(2);function eC(e,t){let n=1===t,a=n?eg:em,i=n?eN:eO,o=n?eS:ep;return{t(e,t,n){let r=el.exec(n);return r&&(t.o||!t._&&!t.u)?a.exec(e=r[1]+e):null},i:r.HIGH,l(e,t,a){let r=n?+e[2]:void 0,s=e[0].replace(d,"\n").match(i),E=!1;return{p:s.map(function(e,n){let r;let i=o.exec(e)[0].length,l=RegExp("^ {1,"+i+"}","gm"),T=e.replace(l,"").replace(o,""),c=n===s.length-1,u=-1!==T.indexOf("\n\n")||c&&E;E=u;let d=a._,R=a.o;a.o=!0,u?(a._=!1,r=T.replace(eE,"\n\n")):(a._=!0,r=T.replace(eE,""));let A=t(r,a);return a._=d,a.o=R,A}),m:n,g:r}},h:(t,n,a)=>e(t.m?"ol":"ul",{key:a.k,start:t.g},t.p.map(function(t,r){return e("li",{key:r},n(t,a))}))}}let eL=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,eb=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,ef=[R,I,N,f,h,D,M,B,eN,eg,eO,em],eD=[...ef,/^[^\n]+(?: \n|\n{2,})/,P,v];function eh(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function eP(e){return J.test(e)?"right":Z.test(e)?"center":q.test(e)?"left":null}function ey(e,t,n){let a=n.$;n.$=!0;let r=t(e.trim(),n);n.$=a;let i=[[]];return r.forEach(function(e,t){"tableSeparator"===e.type?0!==t&&t!==r.length-1&&i.push([]):("text"!==e.type||null!=r[t+1]&&"tableSeparator"!==r[t+1].type||(e.v=e.v.replace(j,"")),i[i.length-1].push(e))}),i}function eM(e,t,n){n._=!0;let a=ey(e[1],t,n),r=e[2].replace(z,"").split("|").map(eP),i=e[3].trim().split("\n").map(function(e){return ey(e,t,n)});return n._=!1,{S:r,A:i,L:a,type:"table"}}function eU(e,t){return null==e.S[t]?{}:{textAlign:e.S[t]}}function ev(e){return function(t,n){return n._?e.exec(t):null}}function ew(e){return function(t,n){return n._||n.u?e.exec(t):null}}function eG(e){return function(t,n){return n._||n.u?null:e.exec(t)}}function ek(e){return function(t){return e.exec(t)}}function eF(e,t,n){if(t._||t.u||n&&!n.endsWith("\n"))return null;let a="";e.split("\n").every(e=>!ef.some(t=>t.test(e))&&(a+=e+"\n",e.trim()));let r=a.trimEnd();return""==r?null:[a,r]}function ex(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch(e){return null}return e}function eB(e){return e.replace(es,"$1")}function eH(e,t,n){let a=n._||!1,r=n.u||!1;n._=!0,n.u=!0;let i=e(t,n);return n._=a,n.u=r,i}function eY(e,t,n){return n._=!1,e(t,n)}let eV=(e,t,n)=>({v:eH(t,e[1],n)});function eW(){return{}}function e$(){return null}function eX(e,t,n){let a=e,r=t.split(".");for(;r.length&&void 0!==(a=a[r[0]]);)r.shift();return a||n}(a=r||(r={}))[a.MAX=0]="MAX",a[a.HIGH=1]="HIGH",a[a.MED=2]="MED",a[a.LOW=3]="LOW",a[a.MIN=4]="MIN",t.Z=e=>{let{children:t,options:n}=e,a=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}(e,s);return i.cloneElement(function(e,t={}){let n;t.overrides=t.overrides||{},t.slugify=t.slugify||eh,t.namedCodesToUnicode=t.namedCodesToUnicode?o({},l,t.namedCodesToUnicode):l;let a=t.createElement||i.createElement;function s(e,n,...r){let i=eX(t.overrides,`${e}.props`,{});return a(function(e,t){let n=eX(t,e);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:eX(t,`${e}.component`,e):e}(e,t.overrides),o({},n,i,{className:function(...e){return e.filter(Boolean).join(" ")}(null==n?void 0:n.className,i.className)||void 0}),...r)}function d(e){let n,a=!1;t.forceInline?a=!0:t.forceBlock||(a=!1===$.test(e));let r=es(J(a?e:`${e.trimEnd().replace(ei,"")} - -`,{_:a}));for(;"string"==typeof r[r.length-1]&&!r[r.length-1].trim();)r.pop();if(null===t.wrapper)return r;let o=t.wrapper||(a?"span":"div");if(r.length>1||t.forceWrapper)n=r;else{if(1===r.length)return"string"==typeof(n=r[0])?s("span",{key:"outer"},n):n;n=null}return i.createElement(o,{key:"outer"},n)}function z(e){let t=e.match(c);return t?t.reduce(function(e,t,n){let a=t.indexOf("=");if(-1!==a){var r,o;let s=(-1!==(r=t.slice(0,a)).indexOf("-")&&null===r.match(U)&&(r=r.replace(x,function(e,t){return t.toUpperCase()})),r).trim(),l=function(e){let t=e[0];return('"'===t||"'"===t)&&e.length>=2&&e[e.length-1]===t?e.slice(1,-1):e}(t.slice(a+1).trim()),T=E[s]||s,c=e[T]=(o=l,"style"===s?o.split(/;\s?/).reduce(function(e,t){let n=t.slice(0,t.indexOf(":"));return e[n.replace(/(-[a-z])/g,e=>e[1].toUpperCase())]=t.slice(n.length+1).trim(),e},{}):"href"===s?ex(o):(o.match(w)&&(o=o.slice(1,o.length-1)),"true"===o||"false"!==o&&o));"string"==typeof c&&(P.test(c)||v.test(c))&&(e[T]=i.cloneElement(d(c.trim()),{key:n}))}else"style"!==t&&(e[E[t]||t]=!0);return e},{}):null}let j=[],Z={},q={blockQuote:{t:eG(R),i:r.HIGH,l:(e,t,n)=>({v:t(e[0].replace(A,""),n)}),h:(e,t,n)=>s("blockquote",{key:n.k},t(e.v,n))},breakLine:{t:ek(S),i:r.HIGH,l:eW,h:(e,t,n)=>s("br",{key:n.k})},breakThematic:{t:eG(p),i:r.HIGH,l:eW,h:(e,t,n)=>s("hr",{key:n.k})},codeBlock:{t:eG(N),i:r.MAX,l:e=>({v:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(e,t,n)=>s("pre",{key:n.k},s("code",o({},e.O,{className:e.M?`lang-${e.M}`:""}),e.v))},codeFenced:{t:eG(I),i:r.MAX,l:e=>({O:z(e[3]||""),v:e[4],M:e[2]||void 0,type:"codeBlock"})},codeInline:{t:ew(O),i:r.LOW,l:e=>({v:e[2]}),h:(e,t,n)=>s("code",{key:n.k},e.v)},footnote:{t:eG(m),i:r.MAX,l:e=>(j.push({I:e[2],j:e[1]}),{}),h:e$},footnoteReference:{t:ev(C),i:r.HIGH,l:e=>({v:e[1],B:`#${t.slugify(e[1])}`}),h:(e,t,n)=>s("a",{key:n.k,href:ex(e.B)},s("sup",{key:n.k},e.v))},gfmTask:{t:ev(b),i:r.HIGH,l:e=>({R:"x"===e[1].toLowerCase()}),h:(e,t,n)=>s("input",{checked:e.R,key:n.k,readOnly:!0,type:"checkbox"})},heading:{t:eG(t.enforceAtxHeadings?D:f),i:r.HIGH,l:(e,n,a)=>({v:eH(n,e[2],a),T:t.slugify(e[2]),C:e[1].length}),h:(e,t,n)=>s(`h${e.C}`,{id:e.T,key:n.k},t(e.v,n))},headingSetext:{t:eG(h),i:r.MAX,l:(e,t,n)=>({v:eH(t,e[1],n),C:"="===e[2]?1:2,type:"heading"})},htmlComment:{t:ek(M),i:r.HIGH,l:()=>({}),h:e$},image:{t:ew(eb),i:r.HIGH,l:e=>({D:e[1],B:eB(e[2]),F:e[3]}),h:(e,t,n)=>s("img",{key:n.k,alt:e.D||void 0,title:e.F||void 0,src:ex(e.B)})},link:{t:ev(eL),i:r.LOW,l:(e,t,n)=>({v:function(e,t,n){let a=n._||!1,r=n.u||!1;n._=!1,n.u=!0;let i=e(t,n);return n._=a,n.u=r,i}(t,e[1],n),B:eB(e[2]),F:e[3]}),h:(e,t,n)=>s("a",{key:n.k,href:ex(e.B),title:e.F},t(e.v,n))},linkAngleBraceStyleDetector:{t:ev(F),i:r.MAX,l:e=>({v:[{v:e[1],type:"text"}],B:e[1],type:"link"})},linkBareUrlDetector:{t:(e,t)=>t.N?null:ev(G)(e,t),i:r.MAX,l:e=>({v:[{v:e[1],type:"text"}],B:e[1],F:void 0,type:"link"})},linkMailtoDetector:{t:ev(k),i:r.MAX,l(e){let t=e[1],n=e[1];return u.test(n)||(n="mailto:"+n),{v:[{v:t.replace("mailto:",""),type:"text"}],B:n,type:"link"}}},orderedList:eC(s,1),unorderedList:eC(s,2),newlineCoalescer:{t:eG(_),i:r.LOW,l:eW,h:()=>"\n"},paragraph:{t:eF,i:r.LOW,l:eV,h:(e,t,n)=>s("p",{key:n.k},t(e.v,n))},ref:{t:ev(H),i:r.MAX,l:e=>(Z[e[1]]={B:e[2],F:e[4]},{}),h:e$},refImage:{t:ew(Y),i:r.MAX,l:e=>({D:e[1]||void 0,P:e[2]}),h:(e,t,n)=>s("img",{key:n.k,alt:e.D,src:ex(Z[e.P].B),title:Z[e.P].F})},refLink:{t:ev(V),i:r.MAX,l:(e,t,n)=>({v:t(e[1],n),Z:t(e[0].replace(W,"\\$1"),n),P:e[2]}),h:(e,t,n)=>Z[e.P]?s("a",{key:n.k,href:ex(Z[e.P].B),title:Z[e.P].F},t(e.v,n)):s("span",{key:n.k},t(e.Z,n))},table:{t:eG(B),i:r.HIGH,l:eM,h:(e,t,n)=>s("table",{key:n.k},s("thead",null,s("tr",null,e.L.map(function(a,r){return s("th",{key:r,style:eU(e,r)},t(a,n))}))),s("tbody",null,e.A.map(function(a,r){return s("tr",{key:r},a.map(function(a,r){return s("td",{key:r,style:eU(e,r)},t(a,n))}))})))},tableSeparator:{t:function(e,t){return t.$?(t._=!0,K.exec(e)):null},i:r.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:ek(er),i:r.MIN,l:e=>({v:e[0].replace(y,(e,n)=>t.namedCodesToUnicode[n]?t.namedCodesToUnicode[n]:e)}),h:e=>e.v},textBolded:{t:ew(Q),i:r.MED,l:(e,t,n)=>({v:t(e[2],n)}),h:(e,t,n)=>s("strong",{key:n.k},t(e.v,n))},textEmphasized:{t:ew(ee),i:r.LOW,l:(e,t,n)=>({v:t(e[2],n)}),h:(e,t,n)=>s("em",{key:n.k},t(e.v,n))},textEscaped:{t:ew(ea),i:r.HIGH,l:e=>({v:e[1],type:"text"})},textMarked:{t:ew(et),i:r.LOW,l:eV,h:(e,t,n)=>s("mark",{key:n.k},t(e.v,n))},textStrikethroughed:{t:ew(en),i:r.LOW,l:eV,h:(e,t,n)=>s("del",{key:n.k},t(e.v,n))}};!0!==t.disableParsingRawHTML&&(q.htmlBlock={t:ek(P),i:r.HIGH,l(e,t,n){let[,a]=e[3].match(eo),r=RegExp(`^${a}`,"gm"),i=e[3].replace(r,""),o=eD.some(e=>e.test(i))?eY:eH,s=e[1].toLowerCase(),E=-1!==T.indexOf(s);n.N=n.N||"a"===s;let l=E?e[3]:o(t,i,n);return n.N=!1,{O:z(e[2]),v:l,G:E,H:E?s:e[1]}},h:(e,t,n)=>s(e.H,o({key:n.k},e.O),e.G?e.v:t(e.v,n))},q.htmlSelfClosing={t:ek(v),i:r.HIGH,l:e=>({O:z(e[2]||""),H:e[1]}),h:(e,t,n)=>s(e.H,o({},e.O,{key:n.k}))});let J=((n=Object.keys(q)).sort(function(e,t){let n=q[e].i,a=q[t].i;return n!==a?n-a:e({type:a.EOF,raw:"\xabEOF\xbb",text:"\xabEOF\xbb",start:e}),c=T(1/0),u=e=>t=>t.type===e.type&&t.text===e.text,d={ARRAY:u({text:"ARRAY",type:a.RESERVED_KEYWORD}),BY:u({text:"BY",type:a.RESERVED_KEYWORD}),SET:u({text:"SET",type:a.RESERVED_CLAUSE}),STRUCT:u({text:"STRUCT",type:a.RESERVED_KEYWORD}),WINDOW:u({text:"WINDOW",type:a.RESERVED_CLAUSE})},R=e=>e===a.RESERVED_KEYWORD||e===a.RESERVED_FUNCTION_NAME||e===a.RESERVED_PHRASE||e===a.RESERVED_CLAUSE||e===a.RESERVED_SELECT||e===a.RESERVED_SET_OPERATION||e===a.RESERVED_JOIN||e===a.ARRAY_KEYWORD||e===a.CASE||e===a.END||e===a.WHEN||e===a.ELSE||e===a.THEN||e===a.LIMIT||e===a.BETWEEN||e===a.AND||e===a.OR||e===a.XOR,A=e=>e===a.AND||e===a.OR||e===a.XOR,S=e=>e.flatMap(p),p=e=>g(_(e)).map(e=>e.trim()),I=/[^[\]{}]+/y,N=/\{.*?\}/y,O=/\[.*?\]/y,_=e=>{let t=0,n=[];for(;te.trim());n.push(["",...e]),t+=r[0].length}N.lastIndex=t;let i=N.exec(e);if(i){let e=i[0].slice(1,-1).split("|").map(e=>e.trim());n.push(e),t+=i[0].length}if(!a&&!r&&!i)throw Error(`Unbalanced parenthesis in: ${e}`)}return n},g=([e,...t])=>void 0===e?[""]:g(t).flatMap(t=>e.map(e=>e.trim()+" "+t.trim())),m=e=>[...new Set(e)],C=e=>e[e.length-1],L=e=>e.sort((e,t)=>t.length-e.length||e.localeCompare(t)),b=e=>e.reduce((e,t)=>Math.max(e,t.length),0),f=e=>e.replace(/\s+/gu," "),D=e=>m(Object.values(e).flat()),h=e=>/\n/.test(e),P=D({keywords:["ALL","AND","ANY","ARRAY","AS","ASC","ASSERT_ROWS_MODIFIED","AT","BETWEEN","BY","CASE","CAST","COLLATE","CONTAINS","CREATE","CROSS","CUBE","CURRENT","DEFAULT","DEFINE","DESC","DISTINCT","ELSE","END","ENUM","ESCAPE","EXCEPT","EXCLUDE","EXISTS","EXTRACT","FALSE","FETCH","FOLLOWING","FOR","FROM","FULL","GROUP","GROUPING","GROUPS","HASH","HAVING","IF","IGNORE","IN","INNER","INTERSECT","INTERVAL","INTO","IS","JOIN","LATERAL","LEFT","LIKE","LIMIT","LOOKUP","MERGE","NATURAL","NEW","NO","NOT","NULL","NULLS","OF","ON","OR","ORDER","OUTER","OVER","PARTITION","PRECEDING","PROTO","RANGE","RECURSIVE","RESPECT","RIGHT","ROLLUP","ROWS","SELECT","SET","SOME","STRUCT","TABLE","TABLESAMPLE","THEN","TO","TREAT","TRUE","UNBOUNDED","UNION","UNNEST","USING","WHEN","WHERE","WINDOW","WITH","WITHIN"],datatypes:["ARRAY","BOOL","BYTES","DATE","DATETIME","GEOGRAPHY","INTERVAL","INT64","INT","SMALLINT","INTEGER","BIGINT","TINYINT","BYTEINT","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","FLOAT64","STRING","STRUCT","TIME","TIMEZONE"],stringFormat:["HEX","BASEX","BASE64M","ASCII","UTF-8","UTF8"],misc:["SAFE"],ddl:["LIKE","COPY","CLONE","IN","OUT","INOUT","RETURNS","LANGUAGE","CASCADE","RESTRICT","DETERMINISTIC"]}),y=D({aead:["KEYS.NEW_KEYSET","KEYS.ADD_KEY_FROM_RAW_BYTES","AEAD.DECRYPT_BYTES","AEAD.DECRYPT_STRING","AEAD.ENCRYPT","KEYS.KEYSET_CHAIN","KEYS.KEYSET_FROM_JSON","KEYS.KEYSET_TO_JSON","KEYS.ROTATE_KEYSET","KEYS.KEYSET_LENGTH"],aggregateAnalytic:["ANY_VALUE","ARRAY_AGG","AVG","CORR","COUNT","COUNTIF","COVAR_POP","COVAR_SAMP","MAX","MIN","ST_CLUSTERDBSCAN","STDDEV_POP","STDDEV_SAMP","STRING_AGG","SUM","VAR_POP","VAR_SAMP"],aggregate:["ANY_VALUE","ARRAY_AGG","ARRAY_CONCAT_AGG","AVG","BIT_AND","BIT_OR","BIT_XOR","COUNT","COUNTIF","LOGICAL_AND","LOGICAL_OR","MAX","MIN","STRING_AGG","SUM"],approximateAggregate:["APPROX_COUNT_DISTINCT","APPROX_QUANTILES","APPROX_TOP_COUNT","APPROX_TOP_SUM"],array:["ARRAY_CONCAT","ARRAY_LENGTH","ARRAY_TO_STRING","GENERATE_ARRAY","GENERATE_DATE_ARRAY","GENERATE_TIMESTAMP_ARRAY","ARRAY_REVERSE","OFFSET","SAFE_OFFSET","ORDINAL","SAFE_ORDINAL"],bitwise:["BIT_COUNT"],conversion:["PARSE_BIGNUMERIC","PARSE_NUMERIC","SAFE_CAST"],date:["CURRENT_DATE","EXTRACT","DATE","DATE_ADD","DATE_SUB","DATE_DIFF","DATE_TRUNC","DATE_FROM_UNIX_DATE","FORMAT_DATE","LAST_DAY","PARSE_DATE","UNIX_DATE"],datetime:["CURRENT_DATETIME","DATETIME","EXTRACT","DATETIME_ADD","DATETIME_SUB","DATETIME_DIFF","DATETIME_TRUNC","FORMAT_DATETIME","LAST_DAY","PARSE_DATETIME"],debugging:["ERROR"],federatedQuery:["EXTERNAL_QUERY"],geography:["S2_CELLIDFROMPOINT","S2_COVERINGCELLIDS","ST_ANGLE","ST_AREA","ST_ASBINARY","ST_ASGEOJSON","ST_ASTEXT","ST_AZIMUTH","ST_BOUNDARY","ST_BOUNDINGBOX","ST_BUFFER","ST_BUFFERWITHTOLERANCE","ST_CENTROID","ST_CENTROID_AGG","ST_CLOSESTPOINT","ST_CLUSTERDBSCAN","ST_CONTAINS","ST_CONVEXHULL","ST_COVEREDBY","ST_COVERS","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DUMP","ST_DWITHIN","ST_ENDPOINT","ST_EQUALS","ST_EXTENT","ST_EXTERIORRING","ST_GEOGFROM","ST_GEOGFROMGEOJSON","ST_GEOGFROMTEXT","ST_GEOGFROMWKB","ST_GEOGPOINT","ST_GEOGPOINTFROMGEOHASH","ST_GEOHASH","ST_GEOMETRYTYPE","ST_INTERIORRINGS","ST_INTERSECTION","ST_INTERSECTS","ST_INTERSECTSBOX","ST_ISCOLLECTION","ST_ISEMPTY","ST_LENGTH","ST_MAKELINE","ST_MAKEPOLYGON","ST_MAKEPOLYGONORIENTED","ST_MAXDISTANCE","ST_NPOINTS","ST_NUMGEOMETRIES","ST_NUMPOINTS","ST_PERIMETER","ST_POINTN","ST_SIMPLIFY","ST_SNAPTOGRID","ST_STARTPOINT","ST_TOUCHES","ST_UNION","ST_UNION_AGG","ST_WITHIN","ST_X","ST_Y"],hash:["FARM_FINGERPRINT","MD5","SHA1","SHA256","SHA512"],hll:["HLL_COUNT.INIT","HLL_COUNT.MERGE","HLL_COUNT.MERGE_PARTIAL","HLL_COUNT.EXTRACT"],interval:["MAKE_INTERVAL","EXTRACT","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL"],json:["JSON_EXTRACT","JSON_QUERY","JSON_EXTRACT_SCALAR","JSON_VALUE","JSON_EXTRACT_ARRAY","JSON_QUERY_ARRAY","JSON_EXTRACT_STRING_ARRAY","JSON_VALUE_ARRAY","TO_JSON_STRING"],math:["ABS","SIGN","IS_INF","IS_NAN","IEEE_DIVIDE","RAND","SQRT","POW","POWER","EXP","LN","LOG","LOG10","GREATEST","LEAST","DIV","SAFE_DIVIDE","SAFE_MULTIPLY","SAFE_NEGATE","SAFE_ADD","SAFE_SUBTRACT","MOD","ROUND","TRUNC","CEIL","CEILING","FLOOR","COS","COSH","ACOS","ACOSH","SIN","SINH","ASIN","ASINH","TAN","TANH","ATAN","ATANH","ATAN2","RANGE_BUCKET"],navigation:["FIRST_VALUE","LAST_VALUE","NTH_VALUE","LEAD","LAG","PERCENTILE_CONT","PERCENTILE_DISC"],net:["NET.IP_FROM_STRING","NET.SAFE_IP_FROM_STRING","NET.IP_TO_STRING","NET.IP_NET_MASK","NET.IP_TRUNC","NET.IPV4_FROM_INT64","NET.IPV4_TO_INT64","NET.HOST","NET.PUBLIC_SUFFIX","NET.REG_DOMAIN"],numbering:["RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","NTILE","ROW_NUMBER"],security:["SESSION_USER"],statisticalAggregate:["CORR","COVAR_POP","COVAR_SAMP","STDDEV_POP","STDDEV_SAMP","STDDEV","VAR_POP","VAR_SAMP","VARIANCE"],string:["ASCII","BYTE_LENGTH","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CODE_POINTS_TO_BYTES","CODE_POINTS_TO_STRING","CONCAT","CONTAINS_SUBSTR","ENDS_WITH","FORMAT","FROM_BASE32","FROM_BASE64","FROM_HEX","INITCAP","INSTR","LEFT","LENGTH","LPAD","LOWER","LTRIM","NORMALIZE","NORMALIZE_AND_CASEFOLD","OCTET_LENGTH","REGEXP_CONTAINS","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPLACE","REPEAT","REVERSE","RIGHT","RPAD","RTRIM","SAFE_CONVERT_BYTES_TO_STRING","SOUNDEX","SPLIT","STARTS_WITH","STRPOS","SUBSTR","SUBSTRING","TO_BASE32","TO_BASE64","TO_CODE_POINTS","TO_HEX","TRANSLATE","TRIM","UNICODE","UPPER"],time:["CURRENT_TIME","TIME","EXTRACT","TIME_ADD","TIME_SUB","TIME_DIFF","TIME_TRUNC","FORMAT_TIME","PARSE_TIME"],timestamp:["CURRENT_TIMESTAMP","EXTRACT","STRING","TIMESTAMP","TIMESTAMP_ADD","TIMESTAMP_SUB","TIMESTAMP_DIFF","TIMESTAMP_TRUNC","FORMAT_TIMESTAMP","PARSE_TIMESTAMP","TIMESTAMP_SECONDS","TIMESTAMP_MILLIS","TIMESTAMP_MICROS","UNIX_SECONDS","UNIX_MILLIS","UNIX_MICROS"],uuid:["GENERATE_UUID"],conditional:["COALESCE","IF","IFNULL","NULLIF"],legacyAggregate:["AVG","BIT_AND","BIT_OR","BIT_XOR","CORR","COUNT","COVAR_POP","COVAR_SAMP","EXACT_COUNT_DISTINCT","FIRST","GROUP_CONCAT","GROUP_CONCAT_UNQUOTED","LAST","MAX","MIN","NEST","NTH","QUANTILES","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","TOP","UNIQUE","VARIANCE","VAR_POP","VAR_SAMP"],legacyBitwise:["BIT_COUNT"],legacyCasting:["BOOLEAN","BYTES","CAST","FLOAT","HEX_STRING","INTEGER","STRING"],legacyComparison:["COALESCE","GREATEST","IFNULL","IS_INF","IS_NAN","IS_EXPLICITLY_DEFINED","LEAST","NVL"],legacyDatetime:["CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE","DATE_ADD","DATEDIFF","DAY","DAYOFWEEK","DAYOFYEAR","FORMAT_UTC_USEC","HOUR","MINUTE","MONTH","MSEC_TO_TIMESTAMP","NOW","PARSE_UTC_USEC","QUARTER","SEC_TO_TIMESTAMP","SECOND","STRFTIME_UTC_USEC","TIME","TIMESTAMP","TIMESTAMP_TO_MSEC","TIMESTAMP_TO_SEC","TIMESTAMP_TO_USEC","USEC_TO_TIMESTAMP","UTC_USEC_TO_DAY","UTC_USEC_TO_HOUR","UTC_USEC_TO_MONTH","UTC_USEC_TO_WEEK","UTC_USEC_TO_YEAR","WEEK","YEAR"],legacyIp:["FORMAT_IP","PARSE_IP","FORMAT_PACKED_IP","PARSE_PACKED_IP"],legacyJson:["JSON_EXTRACT","JSON_EXTRACT_SCALAR"],legacyMath:["ABS","ACOS","ACOSH","ASIN","ASINH","ATAN","ATANH","ATAN2","CEIL","COS","COSH","DEGREES","EXP","FLOOR","LN","LOG","LOG2","LOG10","PI","POW","RADIANS","RAND","ROUND","SIN","SINH","SQRT","TAN","TANH"],legacyRegex:["REGEXP_MATCH","REGEXP_EXTRACT","REGEXP_REPLACE"],legacyString:["CONCAT","INSTR","LEFT","LENGTH","LOWER","LPAD","LTRIM","REPLACE","RIGHT","RPAD","RTRIM","SPLIT","SUBSTR","UPPER"],legacyTableWildcard:["TABLE_DATE_RANGE","TABLE_DATE_RANGE_STRICT","TABLE_QUERY"],legacyUrl:["HOST","DOMAIN","TLD"],legacyWindow:["AVG","COUNT","MAX","MIN","STDDEV","SUM","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","RATIO_TO_REPORT","ROW_NUMBER"],legacyMisc:["CURRENT_USER","EVERY","FROM_BASE64","HASH","FARM_FINGERPRINT","IF","POSITION","SHA1","SOME","TO_BASE64"],other:["BQ.JOBS.CANCEL","BQ.REFRESH_MATERIALIZED_VIEW"],ddl:["OPTIONS"],pivot:["PIVOT","UNPIVOT"],dataTypes:["BYTES","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","STRING"]}),M=S(["SELECT [ALL | DISTINCT] [AS STRUCT | AS VALUE]"]),U=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","QUALIFY","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","OMIT RECORD IF","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY SOURCE | BY TARGET] [THEN]","UPDATE SET","CREATE [OR REPLACE] [MATERIALIZED] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMP|TEMPORARY|SNAPSHOT|EXTERNAL] TABLE [IF NOT EXISTS]","CLUSTER BY","FOR SYSTEM_TIME AS OF","WITH CONNECTION","WITH PARTITION COLUMNS","REMOTE WITH CONNECTION"]),v=S(["UPDATE","DELETE [FROM]","DROP [SNAPSHOT | EXTERNAL] TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","ADD COLUMN [IF NOT EXISTS]","DROP COLUMN [IF EXISTS]","RENAME TO","ALTER COLUMN [IF EXISTS]","SET DEFAULT COLLATE","SET OPTIONS","DROP NOT NULL","SET DATA TYPE","ALTER SCHEMA [IF EXISTS]","ALTER [MATERIALIZED] VIEW [IF EXISTS]","ALTER BI_CAPACITY","TRUNCATE TABLE","CREATE SCHEMA [IF NOT EXISTS]","DEFAULT COLLATE","CREATE [OR REPLACE] [TEMP|TEMPORARY|TABLE] FUNCTION [IF NOT EXISTS]","CREATE [OR REPLACE] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] ROW ACCESS POLICY [IF NOT EXISTS]","GRANT TO","FILTER USING","CREATE CAPACITY","AS JSON","CREATE RESERVATION","CREATE ASSIGNMENT","CREATE SEARCH INDEX [IF NOT EXISTS]","DROP SCHEMA [IF EXISTS]","DROP [MATERIALIZED] VIEW [IF EXISTS]","DROP [TABLE] FUNCTION [IF EXISTS]","DROP PROCEDURE [IF EXISTS]","DROP ROW ACCESS POLICY","DROP ALL ROW ACCESS POLICIES","DROP CAPACITY [IF EXISTS]","DROP RESERVATION [IF EXISTS]","DROP ASSIGNMENT [IF EXISTS]","DROP SEARCH INDEX [IF EXISTS]","DROP [IF EXISTS]","GRANT","REVOKE","DECLARE","EXECUTE IMMEDIATE","LOOP","END LOOP","REPEAT","END REPEAT","WHILE","END WHILE","BREAK","LEAVE","CONTINUE","ITERATE","FOR","END FOR","BEGIN","BEGIN TRANSACTION","COMMIT TRANSACTION","ROLLBACK TRANSACTION","RAISE","RETURN","CALL","ASSERT","EXPORT DATA"]),w=S(["UNION {ALL | DISTINCT}","EXCEPT DISTINCT","INTERSECT DISTINCT"]),G=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),k=S(["TABLESAMPLE SYSTEM","ANY TYPE","ALL COLUMNS","NOT DETERMINISTIC","{ROWS | RANGE} BETWEEN","IS [NOT] DISTINCT FROM"]),F={tokenizerOptions:{reservedSelect:M,reservedClauses:[...U,...v],reservedSetOperations:w,reservedJoins:G,reservedPhrases:k,reservedKeywords:P,reservedFunctionNames:y,extraParens:["[]"],stringTypes:[{quote:'""".."""',prefixes:["R","B","RB","BR"]},{quote:"'''..'''",prefixes:["R","B","RB","BR"]},'""-bs',"''-bs",{quote:'""-raw',prefixes:["R","B","RB","BR"],requirePrefix:!0},{quote:"''-raw",prefixes:["R","B","RB","BR"],requirePrefix:!0}],identTypes:["``"],identChars:{dashes:!0},paramTypes:{positional:!0,named:["@"],quoted:["@"]},variableTypes:[{regex:String.raw`@@\w+`}],lineCommentTypes:["--","#"],operators:["&","|","^","~",">>","<<","||","=>"],postProcess:function(e){var t;let n;return t=function(e){let t=[];for(let r=0;r"===t.text?n--:">>"===t.text&&(n-=2),0===n)return a}return e.length-1}(e,r+1),o=e.slice(r,n+1);t.push({type:a.IDENTIFIER,raw:o.map(x("raw")).join(""),text:o.map(x("text")).join(""),start:i.start}),r=n}else t.push(i)}return t}(e),n=c,t.map(e=>"OFFSET"===e.text&&"["===n.text?(n=e,{...e,type:a.RESERVED_FUNCTION_NAME}):(n=e,e))}},formatOptions:{onelineClauses:v}},x=e=>t=>t.type===a.IDENTIFIER||t.type===a.COMMA?t[e]+" ":t[e],B=D({aggregate:["ARRAY_AGG","AVG","CORR","CORRELATION","COUNT","COUNT_BIG","COVAR_POP","COVARIANCE","COVAR","COVAR_SAMP","COVARIANCE_SAMP","CUME_DIST","GROUPING","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_ICPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV_POP","STDDEV","STDDEV_SAMP","SUM","VAR_POP","VARIANCE","VAR","VAR_SAMP","VARIANCE_SAMP","XMLAGG"],scalar:["ABS","ABSVAL","ACOS","ADD_DAYS","ADD_MONTHS","ARRAY_DELETE","ARRAY_FIRST","ARRAY_LAST","ARRAY_NEXT","ARRAY_PRIOR","ARRAY_TRIM","ASCII","ASCII_CHR","ASCII_STR","ASCIISTR","ASIN","ATAN","ATANH","ATAN2","BIGINT","BINARY","BITAND","BITANDNOT","BITOR","BITXOR","BITNOT","BLOB","BTRIM","CARDINALITY","CCSID_ENCODING","CEILING","CEIL","CHAR","CHAR9","CHARACTER_LENGTH","CHAR_LENGTH","CHR","CLOB","COALESCE","COLLATION_KEY","COMPARE_DECFLOAT","CONCAT","CONTAINS","COS","COSH","DATE","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFWEEK_ISO","DAYOFYEAR","DAYS","DAYS_BETWEEN","DBCLOB","DECFLOAT","DECFLOAT_FORMAT","DECFLOAT_SORTKEY","DECIMAL","DEC","DECODE","DECRYPT_BINARY","DECRYPT_BIT","DECRYPT_CHAR","DECRYPT_DB","DECRYPT_DATAKEY_BIGINT","DECRYPT_DATAKEY_BIT","DECRYPT_DATAKEY_CLOB","DECRYPT_DATAKEY_DBCLOB","DECRYPT_DATAKEY_DECIMAL","DECRYPT_DATAKEY_INTEGER","DECRYPT_DATAKEY_VARCHAR","DECRYPT_DATAKEY_VARGRAPHIC","DEGREES","DIFFERENCE","DIGITS","DOUBLE_PRECISION","DOUBLE","DSN_XMLVALIDATE","EBCDIC_CHR","EBCDIC_STR","ENCRYPT_DATAKEY","ENCRYPT_TDES","EXP","EXTRACT","FLOAT","FLOOR","GENERATE_UNIQUE","GENERATE_UNIQUE_BINARY","GETHINT","GETVARIABLE","GRAPHIC","GREATEST","HASH","HASH_CRC32","HASH_MD5","HASH_SHA1","HASH_SHA256","HEX","HOUR","IDENTITY_VAL_LOCAL","IFNULL","INSERT","INSTR","INTEGER","INT","JULIAN_DAY","LAST_DAY","LCASE","LEAST","LEFT","LENGTH","LN","LOCATE","LOCATE_IN_STRING","LOG10","LOWER","LPAD","LTRIM","MAX","MAX_CARDINALITY","MICROSECOND","MIDNIGHT_SECONDS","MIN","MINUTE","MOD","MONTH","MONTHS_BETWEEN","MQREAD","MQREADCLOB","MQRECEIVE","MQRECEIVECLOB","MQSEND","MULTIPLY_ALT","NEXT_DAY","NEXT_MONTH","NORMALIZE_DECFLOAT","NORMALIZE_STRING","NULLIF","NVL","OVERLAY","PACK","POSITION","POSSTR","POWER","POW","QUANTIZE","QUARTER","RADIANS","RAISE_ERROR","RANDOM","RAND","REAL","REGEXP_COUNT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","RID","RIGHT","ROUND","ROUND_TIMESTAMP","ROWID","RPAD","RTRIM","SCORE","SECOND","SIGN","SIN","SINH","SMALLINT","SOUNDEX","SOAPHTTPC","SOAPHTTPV","SOAPHTTPNC","SOAPHTTPNV","SPACE","SQRT","STRIP","STRLEFT","STRPOS","STRRIGHT","SUBSTR","SUBSTRING","TAN","TANH","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMESTAMP_FORMAT","TIMESTAMP_ISO","TIMESTAMP_TZ","TO_CHAR","TO_CLOB","TO_DATE","TO_NUMBER","TOTALORDER","TO_TIMESTAMP","TRANSLATE","TRIM","TRIM_ARRAY","TRUNCATE","TRUNC","TRUNC_TIMESTAMP","UCASE","UNICODE","UNICODE_STR","UNISTR","UPPER","VALUE","VARBINARY","VARCHAR","VARCHAR9","VARCHAR_BIT_FORMAT","VARCHAR_FORMAT","VARGRAPHIC","VERIFY_GROUP_FOR_USER","VERIFY_ROLE_FOR_USER","VERIFY_TRUSTED_CONTEXT_ROLE_FOR_USER","WEEK","WEEK_ISO","WRAP","XMLATTRIBUTES","XMLCOMMENT","XMLCONCAT","XMLDOCUMENT","XMLELEMENT","XMLFOREST","XMLMODIFY","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLSERIALIZE","XMLTEXT","XMLXSROBJECTID","XSLTRANSFORM","YEAR"],table:["ADMIN_TASK_LIST","ADMIN_TASK_OUTPUT","ADMIN_TASK_STATUS","BLOCKING_THREADS","MQREADALL","MQREADALLCLOB","MQRECEIVEALL","MQRECEIVEALLCLOB","XMLTABLE"],row:["UNPACK"],olap:["CUME_DIST","PERCENT_RANK","RANK","DENSE_RANK","NTILE","LAG","LEAD","ROW_NUMBER","FIRST_VALUE","LAST_VALUE","NTH_VALUE","RATIO_TO_REPORT"],cast:["CAST"]}),H=D({standard:["ALL","ALLOCATE","ALLOW","ALTERAND","ANY","AS","ARRAY","ARRAY_EXISTS","ASENSITIVE","ASSOCIATE","ASUTIME","AT","AUDIT","AUX","AUXILIARY","BEFORE","BEGIN","BETWEEN","BUFFERPOOL","BY","CAPTURE","CASCADED","CAST","CCSID","CHARACTER","CHECK","CLONE","CLUSTER","COLLECTION","COLLID","COLUMN","CONDITION","CONNECTION","CONSTRAINT","CONTENT","CONTINUE","CREATE","CUBE","CURRENT","CURRENT_DATE","CURRENT_LC_CTYPE","CURRENT_PATH","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRVAL","CURSOR","DATA","DATABASE","DBINFO","DECLARE","DEFAULT","DESCRIPTOR","DETERMINISTIC","DISABLE","DISALLOW","DISTINCT","DO","DOCUMENT","DSSIZE","DYNAMIC","EDITPROC","ELSE","ELSEIF","ENCODING","ENCRYPTION","ENDING","END-EXEC","ERASE","ESCAPE","EXCEPTION","EXISTS","EXIT","EXTERNAL","FENCED","FIELDPROC","FINAL","FIRST","FOR","FREE","FULL","FUNCTION","GENERATED","GET","GLOBAL","GOTO","GROUP","HANDLER","HOLD","HOURS","IF","IMMEDIATE","IN","INCLUSIVE","INDEX","INHERIT","INNER","INOUT","INSENSITIVE","INTO","IS","ISOBID","ITERATE","JAR","KEEP","KEY","LANGUAGE","LAST","LC_CTYPE","LEAVE","LIKE","LOCAL","LOCALE","LOCATOR","LOCATORS","LOCK","LOCKMAX","LOCKSIZE","LONG","LOOP","MAINTAINED","MATERIALIZED","MICROSECONDS","MINUTEMINUTES","MODIFIES","MONTHS","NEXT","NEXTVAL","NO","NONE","NOT","NULL","NULLS","NUMPARTS","OBID","OF","OLD","ON","OPTIMIZATION","OPTIMIZE","ORDER","ORGANIZATION","OUT","OUTER","PACKAGE","PARAMETER","PART","PADDED","PARTITION","PARTITIONED","PARTITIONING","PATH","PIECESIZE","PERIOD","PLAN","PRECISION","PREVVAL","PRIOR","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PSID","PUBLIC","QUERY","QUERYNO","READS","REFERENCES","RESIGNAL","RESTRICT","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNS","ROLE","ROLLUP","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_UP","ROUND_UP","ROW","ROWSET","SCHEMA","SCRATCHPAD","SECONDS","SECQTY","SECURITY","SEQUENCE","SENSITIVE","SESSION_USER","SIMPLE","SOME","SOURCE","SPECIFIC","STANDARD","STATIC","STATEMENT","STAY","STOGROUP","STORES","STYLE","SUMMARY","SYNONYM","SYSDATE","SYSTEM","SYSTIMESTAMP","TABLE","TABLESPACE","THEN","TO","TRIGGER","TYPE","UNDO","UNIQUE","UNTIL","USER","USING","VALIDPROC","VARIABLE","VARIANT","VCAT","VERSIONING","VIEW","VOLATILE","VOLUMES","WHILE","WLM","XMLEXISTS","XMLCAST","YEARS","ZONE"]}),Y=S(["SELECT [ALL | DISTINCT]"]),V=S(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY [INPUT SEQUENCE]","FETCH FIRST","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT","CREATE [OR REPLACE] VIEW","CREATE [GLOBAL TEMPORARY] TABLE"]),W=S(["UPDATE","WHERE CURRENT OF","WITH {RR | RS | CS | UR}","DELETE FROM","DROP TABLE [HIERARCHY]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME [COLUMN]","ALTER [COLUMN]","SET DATA TYPE","SET NOT NULL","DROP {IDENTITY | EXPRESSION | DEFAULT | NOT NULL}","TRUNCATE [TABLE]","SET [CURRENT] SCHEMA","AFTER","GO","ALLOCATE CURSOR","ALTER DATABASE","ALTER FUNCTION","ALTER INDEX","ALTER MASK","ALTER PERMISSION","ALTER PROCEDURE","ALTER SEQUENCE","ALTER STOGROUP","ALTER TABLESPACE","ALTER TRIGGER","ALTER TRUSTED CONTEXT","ALTER VIEW","ASSOCIATE LOCATORS","BEGIN DECLARE SECTION","CALL","CLOSE","COMMENT","COMMIT","CONNECT","CREATE ALIAS","CREATE AUXILIARY TABLE","CREATE DATABASE","CREATE FUNCTION","CREATE GLOBAL TEMPORARY TABLE","CREATE INDEX","CREATE LOB TABLESPACE","CREATE MASK","CREATE PERMISSION","CREATE PROCEDURE","CREATE ROLE","CREATE SEQUENCE","CREATE STOGROUP","CREATE SYNONYM","CREATE TABLESPACE","CREATE TRIGGER","CREATE TRUSTED CONTEXT","CREATE TYPE","CREATE VARIABLE","DECLARE CURSOR","DECLARE GLOBAL TEMPORARY TABLE","DECLARE STATEMENT","DECLARE TABLE","DECLARE VARIABLE","DESCRIBE CURSOR","DESCRIBE INPUT","DESCRIBE OUTPUT","DESCRIBE PROCEDURE","DESCRIBE TABLE","DROP","END DECLARE SECTION","EXCHANGE","EXECUTE","EXECUTE IMMEDIATE","EXPLAIN","FETCH","FREE LOCATOR","GET DIAGNOSTICS","GRANT","HOLD LOCATOR","INCLUDE","LABEL","LOCK TABLE","OPEN","PREPARE","REFRESH","RELEASE","RELEASE SAVEPOINT","RENAME","REVOKE","ROLLBACK","SAVEPOINT","SELECT INTO","SET CONNECTION","SET CURRENT ACCELERATOR","SET CURRENT APPLICATION COMPATIBILITY","SET CURRENT APPLICATION ENCODING SCHEME","SET CURRENT DEBUG MODE","SET CURRENT DECFLOAT ROUNDING MODE","SET CURRENT DEGREE","SET CURRENT EXPLAIN MODE","SET CURRENT GET_ACCEL_ARCHIVE","SET CURRENT LOCALE LC_CTYPE","SET CURRENT MAINTAINED TABLE TYPES FOR OPTIMIZATION","SET CURRENT OPTIMIZATION HINT","SET CURRENT PACKAGE PATH","SET CURRENT PACKAGESET","SET CURRENT PRECISION","SET CURRENT QUERY ACCELERATION","SET CURRENT QUERY ACCELERATION WAITFORDATA","SET CURRENT REFRESH AGE","SET CURRENT ROUTINE VERSION","SET CURRENT RULES","SET CURRENT SQLID","SET CURRENT TEMPORAL BUSINESS_TIME","SET CURRENT TEMPORAL SYSTEM_TIME","SET ENCRYPTION PASSWORD","SET PATH","SET SESSION TIME ZONE","SIGNAL","VALUES INTO","WHENEVER"]),$=S(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),X=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),K=S(["ON DELETE","ON UPDATE","SET NULL","{ROWS | RANGE} BETWEEN"]),z={tokenizerOptions:{reservedSelect:Y,reservedClauses:[...V,...W],reservedSetOperations:$,reservedJoins:X,reservedPhrases:K,reservedKeywords:H,reservedFunctionNames:B,stringTypes:[{quote:"''-qq",prefixes:["G","N","U&"]},{quote:"''-raw",prefixes:["X","BX","GX","UX"],requirePrefix:!0}],identTypes:['""-qq'],identChars:{first:"@#$"},paramTypes:{positional:!0,named:[":"]},paramChars:{first:"@#$",rest:"@#$"},operators:["**","\xac=","\xac>","\xac<","!>","!<","||"]},formatOptions:{onelineClauses:W}},j=D({math:["ABS","ACOS","ASIN","ATAN","BIN","BROUND","CBRT","CEIL","CEILING","CONV","COS","DEGREES","EXP","FACTORIAL","FLOOR","GREATEST","HEX","LEAST","LN","LOG","LOG10","LOG2","NEGATIVE","PI","PMOD","POSITIVE","POW","POWER","RADIANS","RAND","ROUND","SHIFTLEFT","SHIFTRIGHT","SHIFTRIGHTUNSIGNED","SIGN","SIN","SQRT","TAN","UNHEX","WIDTH_BUCKET"],array:["ARRAY_CONTAINS","MAP_KEYS","MAP_VALUES","SIZE","SORT_ARRAY"],conversion:["BINARY","CAST"],date:["ADD_MONTHS","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFYEAR","EXTRACT","FROM_UNIXTIME","FROM_UTC_TIMESTAMP","HOUR","LAST_DAY","MINUTE","MONTH","MONTHS_BETWEEN","NEXT_DAY","QUARTER","SECOND","TIMESTAMP","TO_DATE","TO_UTC_TIMESTAMP","TRUNC","UNIX_TIMESTAMP","WEEKOFYEAR","YEAR"],conditional:["ASSERT_TRUE","COALESCE","IF","ISNOTNULL","ISNULL","NULLIF","NVL"],string:["ASCII","BASE64","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONTEXT_NGRAMS","DECODE","ELT","ENCODE","FIELD","FIND_IN_SET","FORMAT_NUMBER","GET_JSON_OBJECT","IN_FILE","INITCAP","INSTR","LCASE","LENGTH","LEVENSHTEIN","LOCATE","LOWER","LPAD","LTRIM","NGRAMS","OCTET_LENGTH","PARSE_URL","PRINTF","QUOTE","REGEXP_EXTRACT","REGEXP_REPLACE","REPEAT","REVERSE","RPAD","RTRIM","SENTENCES","SOUNDEX","SPACE","SPLIT","STR_TO_MAP","SUBSTR","SUBSTRING","TRANSLATE","TRIM","UCASE","UNBASE64","UPPER"],masking:["MASK","MASK_FIRST_N","MASK_HASH","MASK_LAST_N","MASK_SHOW_FIRST_N","MASK_SHOW_LAST_N"],misc:["AES_DECRYPT","AES_ENCRYPT","CRC32","CURRENT_DATABASE","CURRENT_USER","HASH","JAVA_METHOD","LOGGED_IN_USER","MD5","REFLECT","SHA","SHA1","SHA2","SURROGATE_KEY","VERSION"],aggregate:["AVG","COLLECT_LIST","COLLECT_SET","CORR","COUNT","COVAR_POP","COVAR_SAMP","HISTOGRAM_NUMERIC","MAX","MIN","NTILE","PERCENTILE","PERCENTILE_APPROX","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],table:["EXPLODE","INLINE","JSON_TUPLE","PARSE_URL_TUPLE","POSEXPLODE","STACK"],window:["LEAD","LAG","FIRST_VALUE","LAST_VALUE","RANK","ROW_NUMBER","DENSE_RANK","CUME_DIST","PERCENT_RANK","NTILE"],dataTypes:["DECIMAL","NUMERIC","VARCHAR","CHAR"]}),Z=D({nonReserved:["ADD","ADMIN","AFTER","ANALYZE","ARCHIVE","ASC","BEFORE","BUCKET","BUCKETS","CASCADE","CHANGE","CLUSTER","CLUSTERED","CLUSTERSTATUS","COLLECTION","COLUMNS","COMMENT","COMPACT","COMPACTIONS","COMPUTE","CONCATENATE","CONTINUE","DATA","DATABASES","DATETIME","DAY","DBPROPERTIES","DEFERRED","DEFINED","DELIMITED","DEPENDENCY","DESC","DIRECTORIES","DIRECTORY","DISABLE","DISTRIBUTE","ELEM_TYPE","ENABLE","ESCAPED","EXCLUSIVE","EXPLAIN","EXPORT","FIELDS","FILE","FILEFORMAT","FIRST","FORMAT","FORMATTED","FUNCTIONS","HOLD_DDLTIME","HOUR","IDXPROPERTIES","IGNORE","INDEX","INDEXES","INPATH","INPUTDRIVER","INPUTFORMAT","ITEMS","JAR","KEYS","KEY_TYPE","LIMIT","LINES","LOAD","LOCATION","LOCK","LOCKS","LOGICAL","LONG","MAPJOIN","MATERIALIZED","METADATA","MINUS","MINUTE","MONTH","MSCK","NOSCAN","NO_DROP","OFFLINE","OPTION","OUTPUTDRIVER","OUTPUTFORMAT","OVERWRITE","OWNER","PARTITIONED","PARTITIONS","PLUS","PRETTY","PRINCIPALS","PROTECTION","PURGE","READ","READONLY","REBUILD","RECORDREADER","RECORDWRITER","RELOAD","RENAME","REPAIR","REPLACE","REPLICATION","RESTRICT","REWRITE","ROLE","ROLES","SCHEMA","SCHEMAS","SECOND","SEMI","SERDE","SERDEPROPERTIES","SERVER","SETS","SHARED","SHOW","SHOW_DATABASE","SKEWED","SORT","SORTED","SSL","STATISTICS","STORED","STREAMTABLE","STRING","STRUCT","TABLES","TBLPROPERTIES","TEMPORARY","TERMINATED","TINYINT","TOUCH","TRANSACTIONS","UNARCHIVE","UNDO","UNIONTYPE","UNLOCK","UNSET","UNSIGNED","URI","USE","UTC","UTCTIMESTAMP","VALUE_TYPE","VIEW","WHILE","YEAR","AUTOCOMMIT","ISOLATION","LEVEL","OFFSET","SNAPSHOT","TRANSACTION","WORK","WRITE","ABORT","KEY","LAST","NORELY","NOVALIDATE","NULLS","RELY","VALIDATE","DETAIL","DOW","EXPRESSION","OPERATOR","QUARTER","SUMMARY","VECTORIZATION","WEEK","YEARS","MONTHS","WEEKS","DAYS","HOURS","MINUTES","SECONDS","TIMESTAMPTZ","ZONE"],reserved:["ALL","ALTER","AND","ARRAY","AS","AUTHORIZATION","BETWEEN","BIGINT","BINARY","BOOLEAN","BOTH","BY","CASE","CAST","CHAR","COLUMN","CONF","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIMESTAMP","CURSOR","DATABASE","DATE","DECIMAL","DELETE","DESCRIBE","DISTINCT","DOUBLE","DROP","ELSE","END","EXCHANGE","EXISTS","EXTENDED","EXTERNAL","FALSE","FETCH","FLOAT","FOLLOWING","FOR","FROM","FULL","FUNCTION","GRANT","GROUP","GROUPING","HAVING","IF","IMPORT","IN","INNER","INSERT","INT","INTERSECT","INTERVAL","INTO","IS","JOIN","LATERAL","LEFT","LESS","LIKE","LOCAL","MACRO","MAP","MORE","NONE","NOT","NULL","OF","ON","OR","ORDER","OUT","OUTER","OVER","PARTIALSCAN","PARTITION","PERCENT","PRECEDING","PRESERVE","PROCEDURE","RANGE","READS","REDUCE","REVOKE","RIGHT","ROLLUP","ROW","ROWS","SELECT","SET","SMALLINT","TABLE","TABLESAMPLE","THEN","TIMESTAMP","TO","TRANSFORM","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNION","UNIQUEJOIN","UPDATE","USER","USING","UTC_TMESTAMP","VALUES","VARCHAR","WHEN","WHERE","WINDOW","WITH","COMMIT","ONLY","REGEXP","RLIKE","ROLLBACK","START","CACHE","CONSTRAINT","FOREIGN","PRIMARY","REFERENCES","DAYOFWEEK","EXTRACT","FLOOR","INTEGER","PRECISION","VIEWS","TIME","NUMERIC","SYNC"],fileTypes:["TEXTFILE","SEQUENCEFILE","ORC","CSV","TSV","PARQUET","AVRO","RCFILE","JSONFILE","INPUTFORMAT","OUTPUTFORMAT"]}),q=S(["SELECT [ALL | DISTINCT]"]),J=S(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","SORT BY","CLUSTER BY","DISTRIBUTE BY","LIMIT","INSERT INTO [TABLE]","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT [VALUES]","INSERT OVERWRITE [LOCAL] DIRECTORY","LOAD DATA [LOCAL] INPATH","[OVERWRITE] INTO TABLE","CREATE [MATERIALIZED] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY] [EXTERNAL] TABLE [IF NOT EXISTS]"]),Q=S(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","RENAME TO","TRUNCATE [TABLE]","ALTER","CREATE","USE","DESCRIBE","DROP","FETCH","SHOW","STORED AS","STORED BY","ROW FORMAT"]),ee=S(["UNION [ALL | DISTINCT]"]),et=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","LEFT SEMI JOIN"]),en=S(["{ROWS | RANGE} BETWEEN"]),ea={tokenizerOptions:{reservedSelect:q,reservedClauses:[...J,...Q],reservedSetOperations:ee,reservedJoins:et,reservedPhrases:en,reservedKeywords:Z,reservedFunctionNames:j,extraParens:["[]"],stringTypes:['""-bs',"''-bs"],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||"]},formatOptions:{onelineClauses:Q}},er=D({all:["ACCESSIBLE","ACCOUNT","ACTION","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","ALL","ALGORITHM","ALTER","ALWAYS","ANALYZE","AND","ANY","AS","ASC","ASCII","ASENSITIVE","AT","ATOMIC","AUTHORS","AUTO_INCREMENT","AUTOEXTEND_SIZE","AUTO","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BODY","BOOL","BOOLEAN","BOTH","BTREE","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHANGE","CHANGED","CHAR","CHARACTER","CHARSET","CHECK","CHECKPOINT","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLOB","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMN_NAME","COLUMNS","COLUMN_ADD","COLUMN_CHECK","COLUMN_CREATE","COLUMN_DELETE","COLUMN_GET","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONTRIBUTORS","CONVERT","CPU","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_POS","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","CYCLE","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DELETE_DOMAIN_ID","DESC","DESCRIBE","DES_KEY_FILE","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DO_DOMAIN_IDS","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","ELSIF","EMPTY","ENABLE","ENCLOSED","END","ENDS","ENGINE","ENGINES","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXAMINED","EXCEPT","EXCHANGE","EXCLUDE","EXECUTE","EXCEPTION","EXISTS","EXIT","EXPANSION","EXPIRE","EXPORT","EXPLAIN","EXTENDED","EXTENT_SIZE","FALSE","FAST","FAULTS","FEDERATED","FETCH","FIELDS","FILE","FIRST","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GET_FORMAT","GET","GLOBAL","GOTO","GRANT","GRANTS","GROUP","HANDLER","HARD","HASH","HAVING","HELP","HIGH_PRIORITY","HISTORY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORED","IGNORE_DOMAIN_IDS","IGNORE_SERVER_IDS","IMMEDIATE","IMPORT","INTERSECT","IN","INCREMENT","INDEX","INDEXES","INFILE","INITIAL_SIZE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INVISIBLE","INTO","IO","IO_THREAD","IPC","IS","ISOLATION","ISOPEN","ISSUER","ITERATE","INVOKER","JOIN","JSON","JSON_TABLE","KEY","KEYS","KEY_BLOCK_SIZE","KILL","LANGUAGE","LAST","LAST_VALUE","LASTVAL","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKED","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_GTID_POS","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_USER","MASTER_USE_GTID","MASTER_HEARTBEAT_PERIOD","MATCH","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_STATEMENT_TIME","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MAXVALUE","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUS","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MINVALUE","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONITOR","MONTH","MUTEX","MYSQL","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NESTED","NEVER","NEW","NEXT","NEXTVAL","NO","NOMAXVALUE","NOMINVALUE","NOCACHE","NOCYCLE","NO_WAIT","NOWAIT","NODEGROUP","NONE","NOT","NOTFOUND","NO_WRITE_TO_BINLOG","NULL","NUMBER","NUMERIC","NVARCHAR","OF","OFFSET","OLD_PASSWORD","ON","ONE","ONLINE","ONLY","OPEN","OPTIMIZE","OPTIONS","OPTION","OPTIONALLY","OR","ORDER","ORDINALITY","OTHERS","OUT","OUTER","OUTFILE","OVER","OVERLAPS","OWNER","PACKAGE","PACK_KEYS","PAGE","PAGE_CHECKSUM","PARSER","PARSE_VCOL_EXPR","PATH","PERIOD","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PERSISTENT","PHASE","PLUGIN","PLUGINS","PORT","PORTION","PRECEDES","PRECEDING","PRECISION","PREPARE","PRESERVE","PREV","PREVIOUS","PRIMARY","PRIVILEGES","PROCEDURE","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RAISE","RANGE","RAW","READ","READ_ONLY","READ_WRITE","READS","REAL","REBUILD","RECOVER","RECURSIVE","REDO_BUFFER_SIZE","REDOFILE","REDUNDANT","REFERENCES","REGEXP","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEATABLE","REPLACE","REPLAY","REPLICA","REPLICAS","REPLICA_POS","REPLICATION","REPEAT","REQUIRE","RESET","RESIGNAL","RESTART","RESTORE","RESTRICT","RESUME","RETURNED_SQLSTATE","RETURN","RETURNING","RETURNS","REUSE","REVERSE","REVOKE","RIGHT","RLIKE","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROW","ROWCOUNT","ROWNUM","ROWS","ROWTYPE","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMA_NAME","SCHEMAS","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SEQUENCE","SERIAL","SERIALIZABLE","SESSION","SERVER","SET","SETVAL","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SKIP","SLAVE","SLAVES","SLAVE_POS","SLOW","SNAPSHOT","SMALLINT","SOCKET","SOFT","SOME","SONAME","SOUNDS","SOURCE","STAGE","STORED","SPATIAL","SPECIFIC","REF_SYSTEM_ID","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_SECOND","SQL_TSI_MINUTE","SQL_TSI_HOUR","SQL_TSI_DAY","SQL_TSI_WEEK","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_YEAR","SSL","START","STARTING","STARTS","STATEMENT","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STRAIGHT_JOIN","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","SYSDATE","SYSTEM","SYSTEM_TIME","TABLE","TABLE_NAME","TABLES","TABLESPACE","TABLE_CHECKSUM","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRANSACTION","TRANSACTIONAL","THREADS","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO_BUFFER_SIZE","UNDOFILE","UNDO","UNICODE","UNION","UNIQUE","UNKNOWN","UNLOCK","UNINSTALL","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARCHAR2","VARIABLES","VARYING","VIA","VIEW","VIRTUAL","VISIBLE","VERSIONING","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","X509","XOR","XA","XML","YEAR","YEAR_MONTH","ZEROFILL"]}),ei=D({all:["ADDDATE","ADD_MONTHS","BIT_AND","BIT_OR","BIT_XOR","CAST","COUNT","CUME_DIST","CURDATE","CURTIME","DATE_ADD","DATE_SUB","DATE_FORMAT","DECODE","DENSE_RANK","EXTRACT","FIRST_VALUE","GROUP_CONCAT","JSON_ARRAYAGG","JSON_OBJECTAGG","LAG","LEAD","MAX","MEDIAN","MID","MIN","NOW","NTH_VALUE","NTILE","POSITION","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","ROW_NUMBER","SESSION_USER","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","SUBDATE","SUBSTR","SUBSTRING","SUM","SYSTEM_USER","TRIM","TRIM_ORACLE","VARIANCE","VAR_POP","VAR_SAMP","ABS","ACOS","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ASIN","ATAN","ATAN2","BENCHMARK","BIN","BINLOG_GTID_POS","BIT_COUNT","BIT_LENGTH","CEIL","CEILING","CHARACTER_LENGTH","CHAR_LENGTH","CHR","COERCIBILITY","COLUMN_CHECK","COLUMN_EXISTS","COLUMN_LIST","COLUMN_JSON","COMPRESS","CONCAT","CONCAT_OPERATOR_ORACLE","CONCAT_WS","CONNECTION_ID","CONV","CONVERT_TZ","COS","COT","CRC32","DATEDIFF","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DEGREES","DECODE_HISTOGRAM","DECODE_ORACLE","DES_DECRYPT","DES_ENCRYPT","ELT","ENCODE","ENCRYPT","EXP","EXPORT_SET","EXTRACTVALUE","FIELD","FIND_IN_SET","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GET_LOCK","GREATEST","HEX","IFNULL","INSTR","ISNULL","IS_FREE_LOCK","IS_USED_LOCK","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_COMPACT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_DETAILED","JSON_EXISTS","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_LOOSE","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_QUERY","JSON_QUOTE","JSON_OBJECT","JSON_REMOVE","JSON_REPLACE","JSON_SET","JSON_SEARCH","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","JSON_VALUE","LAST_DAY","LAST_INSERT_ID","LCASE","LEAST","LENGTH","LENGTHB","LN","LOAD_FILE","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LPAD_ORACLE","LTRIM","LTRIM_ORACLE","MAKEDATE","MAKETIME","MAKE_SET","MASTER_GTID_WAIT","MASTER_POS_WAIT","MD5","MONTHNAME","NAME_CONST","NVL","NVL2","OCT","OCTET_LENGTH","ORD","PERIOD_ADD","PERIOD_DIFF","PI","POW","POWER","QUOTE","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","RADIANS","RAND","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPLACE_ORACLE","REVERSE","ROUND","RPAD","RPAD_ORACLE","RTRIM","RTRIM_ORACLE","SEC_TO_TIME","SHA","SHA1","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SPACE","SQRT","STRCMP","STR_TO_DATE","SUBSTR_ORACLE","SUBSTRING_INDEX","SUBTIME","SYS_GUID","TAN","TIMEDIFF","TIME_FORMAT","TIME_TO_SEC","TO_BASE64","TO_CHAR","TO_DAYS","TO_SECONDS","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","UUID","UUID_SHORT","VERSION","WEEKDAY","WEEKOFYEAR","WSREP_LAST_WRITTEN_GTID","WSREP_LAST_SEEN_GTID","WSREP_SYNC_WAIT_UPTO_GTID","YEARWEEK","COALESCE","NULLIF","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","BIT","BINARY","BLOB","CHAR","NATIONAL CHAR","CHAR BYTE","ENUM","VARBINARY","VARCHAR","NATIONAL VARCHAR","TIME","DATETIME","TIMESTAMP","YEAR"]}),eo=S(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),es=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO]","REPLACE [LOW_PRIORITY | DELAYED] [INTO]","VALUES","SET","CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMPORARY] TABLE [IF NOT EXISTS]","RETURNING"]),eE=S(["UPDATE [LOW_PRIORITY] [IGNORE]","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER [ONLINE] [IGNORE] TABLE [IF EXISTS]","ADD [COLUMN] [IF NOT EXISTS]","{CHANGE | MODIFY} [COLUMN] [IF EXISTS]","DROP [COLUMN] [IF EXISTS]","RENAME [TO]","RENAME COLUMN","ALTER [COLUMN]","{SET | DROP} DEFAULT","SET {VISIBLE | INVISIBLE}","TRUNCATE [TABLE]","ALTER DATABASE","ALTER DATABASE COMMENT","ALTER EVENT","ALTER FUNCTION","ALTER PROCEDURE","ALTER SCHEMA","ALTER SCHEMA COMMENT","ALTER SEQUENCE","ALTER SERVER","ALTER USER","ALTER VIEW","ANALYZE","ANALYZE TABLE","BACKUP LOCK","BACKUP STAGE","BACKUP UNLOCK","BEGIN","BINLOG","CACHE INDEX","CALL","CHANGE MASTER TO","CHECK TABLE","CHECK VIEW","CHECKSUM TABLE","COMMIT","CREATE AGGREGATE FUNCTION","CREATE DATABASE","CREATE EVENT","CREATE FUNCTION","CREATE INDEX","CREATE PROCEDURE","CREATE ROLE","CREATE SEQUENCE","CREATE SERVER","CREATE SPATIAL INDEX","CREATE TRIGGER","CREATE UNIQUE INDEX","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP EVENT","DROP FUNCTION","DROP INDEX","DROP PREPARE","DROP PROCEDURE","DROP ROLE","DROP SEQUENCE","DROP SERVER","DROP TRIGGER","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","GET DIAGNOSTICS","GET DIAGNOSTICS CONDITION","GRANT","HANDLER","HELP","INSTALL PLUGIN","INSTALL SONAME","KILL","LOAD DATA INFILE","LOAD INDEX INTO CACHE","LOAD XML INFILE","LOCK TABLE","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","PURGE MASTER LOGS","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","REPAIR VIEW","RESET MASTER","RESET QUERY CACHE","RESET REPLICA","RESET SLAVE","RESIGNAL","REVOKE","ROLLBACK","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET GLOBAL TRANSACTION","SET NAMES","SET PASSWORD","SET ROLE","SET STATEMENT","SET TRANSACTION","SHOW","SHOW ALL REPLICAS STATUS","SHOW ALL SLAVES STATUS","SHOW AUTHORS","SHOW BINARY LOGS","SHOW BINLOG EVENTS","SHOW BINLOG STATUS","SHOW CHARACTER SET","SHOW CLIENT_STATISTICS","SHOW COLLATION","SHOW COLUMNS","SHOW CONTRIBUTORS","SHOW CREATE DATABASE","SHOW CREATE EVENT","SHOW CREATE FUNCTION","SHOW CREATE PACKAGE","SHOW CREATE PACKAGE BODY","SHOW CREATE PROCEDURE","SHOW CREATE SEQUENCE","SHOW CREATE TABLE","SHOW CREATE TRIGGER","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINE INNODB STATUS","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW EXPLAIN","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW INDEXES","SHOW INDEX_STATISTICS","SHOW KEYS","SHOW LOCALES","SHOW MASTER LOGS","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PACKAGE BODY CODE","SHOW PACKAGE BODY STATUS","SHOW PACKAGE STATUS","SHOW PLUGINS","SHOW PLUGINS SONAME","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW QUERY_RESPONSE_TIME","SHOW RELAYLOG EVENTS","SHOW REPLICA","SHOW REPLICA HOSTS","SHOW REPLICA STATUS","SHOW SCHEMAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW SLAVE STATUS","SHOW STATUS","SHOW STORAGE ENGINES","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW USER_STATISTICS","SHOW VARIABLES","SHOW WARNINGS","SHOW WSREP_MEMBERSHIP","SHOW WSREP_STATUS","SHUTDOWN","SIGNAL","START ALL REPLICAS","START ALL SLAVES","START REPLICA","START SLAVE","START TRANSACTION","STOP ALL REPLICAS","STOP ALL SLAVES","STOP REPLICA","STOP SLAVE","UNINSTALL PLUGIN","UNINSTALL SONAME","UNLOCK TABLE","USE","XA BEGIN","XA COMMIT","XA END","XA PREPARE","XA RECOVER","XA ROLLBACK","XA START"]),el=S(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]","MINUS [ALL | DISTINCT]"]),eT=S(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),ec=S(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),eu={tokenizerOptions:{reservedSelect:eo,reservedClauses:[...es,...eE],reservedSetOperations:el,reservedJoins:eT,reservedPhrases:ec,supportsXor:!0,reservedKeywords:er,reservedFunctionNames:ei,stringTypes:['""-qq-bs',"''-qq-bs",{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_.$]+"},{quote:'""-qq-bs',prefixes:["@"],requirePrefix:!0},{quote:"''-qq-bs",prefixes:["@"],requirePrefix:!0},{quote:"``",prefixes:["@"],requirePrefix:!0}],paramTypes:{positional:!0},lineCommentTypes:["--","#"],operators:["%",":=","&","|","^","~","<<",">>","<=>","&&","||","!"],postProcess:function(e){return e.map((t,n)=>{let r=e[n+1]||c;return d.SET(t)&&"("===r.text?{...t,type:a.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{onelineClauses:eE}},ed=D({all:["ACCESSIBLE","ACCOUNT","ACTION","ACTIVE","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ALWAYS","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASCII","ASENSITIVE","AT","ATTRIBUTE","AUTHENTICATION","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BOOL","BOOLEAN","BOTH","BTREE","BUCKETS","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHALLENGE_RESPONSE","CHANGE","CHANGED","CHANNEL","CHAR","CHARACTER","CHARSET","CHECK","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLONE","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPONENT","COMPRESSED","COMPRESSION","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONVERT","CPU","CREATE","CROSS","CUBE","CUME_DIST","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULT_AUTH","DEFINER","DEFINITION","DELAYED","DELAY_KEY_WRITE","DELETE","DENSE_RANK","DESC","DESCRIBE","DESCRIPTION","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","EMPTY","ENABLE","ENCLOSED","ENCRYPTION","END","ENDS","ENFORCED","ENGINE","ENGINES","ENGINE_ATTRIBUTE","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXCEPT","EXCHANGE","EXCLUDE","EXECUTE","EXISTS","EXIT","EXPANSION","EXPIRE","EXPLAIN","EXPORT","EXTENDED","EXTENT_SIZE","FACTOR","FAILED_LOGIN_ATTEMPTS","FALSE","FAST","FAULTS","FETCH","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FINISH","FIRST","FIRST_VALUE","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GEOMCOLLECTION","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GET_MASTER_PUBLIC_KEY","GET_SOURCE_PUBLIC_KEY","GLOBAL","GRANT","GRANTS","GROUP","GROUPING","GROUPS","GROUP_REPLICATION","GTID_ONLY","HANDLER","HASH","HAVING","HELP","HIGH_PRIORITY","HISTOGRAM","HISTORY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORE_SERVER_IDS","IMPORT","IN","INACTIVE","INDEX","INDEXES","INFILE","INITIAL","INITIAL_SIZE","INITIATE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INSTANCE","IN","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERSECT","INTERVAL","INTO","INVISIBLE","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","IS","ISOLATION","ISSUER","ITERATE","JOIN","JSON","JSON_TABLE","JSON_VALUE","KEY","KEYRING","KEYS","KEY_BLOCK_SIZE","KILL","LAG","LANGUAGE","LAST","LAST_VALUE","LATERAL","LEAD","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LINESTRING","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKED","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_COMPRESSION_ALGORITHMS","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_PUBLIC_KEY_PATH","MASTER_RETRY_COUNT","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_TLS_CIPHERSUITES","MASTER_TLS_VERSION","MASTER_USER","MASTER_ZSTD_COMPRESSION_LEVEL","MATCH","MAXVALUE","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMBER","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NESTED","NETWORK_NAMESPACE","NEVER","NEW","NEXT","NO","NODEGROUP","NONE","NOT","NOWAIT","NO_WAIT","NO_WRITE_TO_BINLOG","NTH_VALUE","NTILE","NULL","NULLS","NUMBER","NUMERIC","NVARCHAR","OF","OFF","OFFSET","OJ","OLD","ON","ONE","ONLY","OPEN","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONAL","OPTIONALLY","OPTIONS","OR","ORDER","ORDINALITY","ORGANIZATION","OTHERS","OUT","OUTER","OUTFILE","OVER","OWNER","PACK_KEYS","PAGE","PARSER","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PASSWORD_LOCK_TIME","PATH","PERCENT_RANK","PERSIST","PERSIST_ONLY","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECEDING","PRECISION","PREPARE","PRESERVE","PREV","PRIMARY","PRIVILEGES","PRIVILEGE_CHECKS_USER","PROCEDURE","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RANDOM","RANGE","RANK","READ","READS","READ_ONLY","READ_WRITE","REAL","REBUILD","RECOVER","RECURSIVE","REDO_BUFFER_SIZE","REDUNDANT","REFERENCE","REFERENCES","REGEXP","REGISTRATION","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICA","REPLICAS","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE","REQUIRE_ROW_FORMAT","RESET","RESIGNAL","RESOURCE","RESPECT","RESTART","RESTORE","RESTRICT","RESUME","RETAIN","RETURN","RETURNED_SQLSTATE","RETURNING","RETURNS","REUSE","REVERSE","REVOKE","RIGHT","RLIKE","ROLE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW","ROWS","ROW_COUNT","ROW_FORMAT","ROW_NUMBER","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMAS","SCHEMA_NAME","SECOND","SECONDARY","SECONDARY_ENGINE","SECONDARY_ENGINE_ATTRIBUTE","SECONDARY_LOAD","SECONDARY_UNLOAD","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SESSION","SET","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SKIP","SLAVE","SLOW","SMALLINT","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SOURCE_AUTO_POSITION","SOURCE_BIND","SOURCE_COMPRESSION_ALGORITHMS","SOURCE_CONNECT_RETRY","SOURCE_DELAY","SOURCE_HEARTBEAT_PERIOD","SOURCE_HOST","SOURCE_LOG_FILE","SOURCE_LOG_POS","SOURCE_PASSWORD","SOURCE_PORT","SOURCE_PUBLIC_KEY_PATH","SOURCE_RETRY_COUNT","SOURCE_SSL","SOURCE_SSL_CA","SOURCE_SSL_CAPATH","SOURCE_SSL_CERT","SOURCE_SSL_CIPHER","SOURCE_SSL_CRL","SOURCE_SSL_CRLPATH","SOURCE_SSL_KEY","SOURCE_SSL_VERIFY_SERVER_CERT","SOURCE_TLS_CIPHERSUITES","SOURCE_TLS_VERSION","SOURCE_USER","SOURCE_ZSTD_COMPRESSION_LEVEL","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SRID","SSL","STACKED","START","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STORED","STRAIGHT_JOIN","STREAM","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","SYSTEM","TABLE","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","THREAD_PRIORITY","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TLS","TO","TRAILING","TRANSACTION","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNION","UNIQUE","UNKNOWN","UNLOCK","UNREGISTER","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARYING","VCPU","VIEW","VIRTUAL","VISIBLE","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WINDOW","WITH","WITHOUT","WORK","WRAPPER","WRITE","X509","XA","XID","XML","XOR","YEAR","YEAR_MONTH","ZEROFILL","ZONE"]}),eR=D({all:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","ASCII","ASIN","ATAN","ATAN2","AVG","BENCHMARK","BIN","BIN_TO_UUID","BINARY","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","CAN_ACCESS_COLUMN","CAN_ACCESS_DATABASE","CAN_ACCESS_TABLE","CAN_ACCESS_USER","CAN_ACCESS_VIEW","CAST","CEIL","CEILING","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","CONV","CONVERT","CONVERT_TZ","COS","COT","COUNT","CRC32","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DEFAULT","DEGREES","DENSE_RANK","DIV","ELT","EXP","EXPORT_SET","EXTRACT","EXTRACTVALUE","FIELD","FIND_IN_SET","FIRST_VALUE","FLOOR","FORMAT","FORMAT_BYTES","FORMAT_PICO_TIME","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEOMCOLLECTION","GEOMETRYCOLLECTION","GET_DD_COLUMN_PRIVILEGES","GET_DD_CREATE_OPTIONS","GET_DD_INDEX_SUB_PART_LENGTH","GET_FORMAT","GET_LOCK","GREATEST","GROUP_CONCAT","GROUPING","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","INTERNAL_AUTO_INCREMENT","INTERNAL_AVG_ROW_LENGTH","INTERNAL_CHECK_TIME","INTERNAL_CHECKSUM","INTERNAL_DATA_FREE","INTERNAL_DATA_LENGTH","INTERNAL_DD_CHAR_LENGTH","INTERNAL_GET_COMMENT_OR_ERROR","INTERNAL_GET_ENABLED_ROLE_JSON","INTERNAL_GET_HOSTNAME","INTERNAL_GET_USERNAME","INTERNAL_GET_VIEW_WARNING_OR_ERROR","INTERNAL_INDEX_COLUMN_CARDINALITY","INTERNAL_INDEX_LENGTH","INTERNAL_IS_ENABLED_ROLE","INTERNAL_IS_MANDATORY_ROLE","INTERNAL_KEYS_DISABLED","INTERNAL_MAX_DATA_LENGTH","INTERNAL_TABLE_ROWS","INTERNAL_UPDATE_TIME","INTERVAL","IS","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS NOT","IS NOT NULL","IS NULL","IS_USED_LOCK","IS_UUID","ISNULL","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_ARRAYAGG","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_OBJECTAGG","JSON_OVERLAPS","JSON_PRETTY","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SCHEMA_VALID","JSON_SCHEMA_VALIDATION_REPORT","JSON_SEARCH","JSON_SET","JSON_STORAGE_FREE","JSON_STORAGE_SIZE","JSON_TABLE","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","JSON_VALUE","LAG","LAST_DAY","LAST_INSERT_ID","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LIKE","LINESTRING","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MATCH","MAX","MBRCONTAINS","MBRCOVEREDBY","MBRCOVERS","MBRDISJOINT","MBREQUALS","MBRINTERSECTS","MBROVERLAPS","MBRTOUCHES","MBRWITHIN","MD5","MEMBER OF","MICROSECOND","MID","MIN","MINUTE","MOD","MONTH","MONTHNAME","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","NAME_CONST","NOT","NOT IN","NOT LIKE","NOT REGEXP","NOW","NTH_VALUE","NTILE","NULLIF","OCT","OCTET_LENGTH","ORD","PERCENT_RANK","PERIOD_ADD","PERIOD_DIFF","PI","POINT","POLYGON","POSITION","POW","POWER","PS_CURRENT_THREAD_ID","PS_THREAD_ID","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RANK","REGEXP","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","RLIKE","ROLES_GRAPHML","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SOUNDS LIKE","SOURCE_POS_WAIT","SPACE","SQRT","ST_AREA","ST_ASBINARY","ST_ASGEOJSON","ST_ASTEXT","ST_BUFFER","ST_BUFFER_STRATEGY","ST_CENTROID","ST_COLLECT","ST_CONTAINS","ST_CONVEXHULL","ST_CROSSES","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DISTANCE_SPHERE","ST_ENDPOINT","ST_ENVELOPE","ST_EQUALS","ST_EXTERIORRING","ST_FRECHETDISTANCE","ST_GEOHASH","ST_GEOMCOLLFROMTEXT","ST_GEOMCOLLFROMWKB","ST_GEOMETRYN","ST_GEOMETRYTYPE","ST_GEOMFROMGEOJSON","ST_GEOMFROMTEXT","ST_GEOMFROMWKB","ST_HAUSDORFFDISTANCE","ST_INTERIORRINGN","ST_INTERSECTION","ST_INTERSECTS","ST_ISCLOSED","ST_ISEMPTY","ST_ISSIMPLE","ST_ISVALID","ST_LATFROMGEOHASH","ST_LATITUDE","ST_LENGTH","ST_LINEFROMTEXT","ST_LINEFROMWKB","ST_LINEINTERPOLATEPOINT","ST_LINEINTERPOLATEPOINTS","ST_LONGFROMGEOHASH","ST_LONGITUDE","ST_MAKEENVELOPE","ST_MLINEFROMTEXT","ST_MLINEFROMWKB","ST_MPOINTFROMTEXT","ST_MPOINTFROMWKB","ST_MPOLYFROMTEXT","ST_MPOLYFROMWKB","ST_NUMGEOMETRIES","ST_NUMINTERIORRING","ST_NUMPOINTS","ST_OVERLAPS","ST_POINTATDISTANCE","ST_POINTFROMGEOHASH","ST_POINTFROMTEXT","ST_POINTFROMWKB","ST_POINTN","ST_POLYFROMTEXT","ST_POLYFROMWKB","ST_SIMPLIFY","ST_SRID","ST_STARTPOINT","ST_SWAPXY","ST_SYMDIFFERENCE","ST_TOUCHES","ST_TRANSFORM","ST_UNION","ST_VALIDATE","ST_WITHIN","ST_X","ST_Y","STATEMENT_DIGEST","STATEMENT_DIGEST_TEXT","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","UUID_TO_BIN","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","YEAR","YEARWEEK","BIT","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DATETIME","TIMESTAMP","TIME","YEAR","CHAR","NATIONAL CHAR","VARCHAR","NATIONAL VARCHAR","BINARY","VARBINARY","BLOB","TEXT","ENUM"]}),eA=S(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),eS=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO]","REPLACE [LOW_PRIORITY | DELAYED] [INTO]","VALUES","SET","CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY] TABLE [IF NOT EXISTS]"]),ep=S(["UPDATE [LOW_PRIORITY] [IGNORE]","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","{CHANGE | MODIFY} [COLUMN]","DROP [COLUMN]","RENAME [TO | AS]","RENAME COLUMN","ALTER [COLUMN]","{SET | DROP} DEFAULT","TRUNCATE [TABLE]","ALTER DATABASE","ALTER EVENT","ALTER FUNCTION","ALTER INSTANCE","ALTER LOGFILE GROUP","ALTER PROCEDURE","ALTER RESOURCE GROUP","ALTER SERVER","ALTER TABLESPACE","ALTER USER","ALTER VIEW","ANALYZE TABLE","BINLOG","CACHE INDEX","CALL","CHANGE MASTER TO","CHANGE REPLICATION FILTER","CHANGE REPLICATION SOURCE TO","CHECK TABLE","CHECKSUM TABLE","CLONE","COMMIT","CREATE DATABASE","CREATE EVENT","CREATE FUNCTION","CREATE FUNCTION","CREATE INDEX","CREATE LOGFILE GROUP","CREATE PROCEDURE","CREATE RESOURCE GROUP","CREATE ROLE","CREATE SERVER","CREATE SPATIAL REFERENCE SYSTEM","CREATE TABLESPACE","CREATE TRIGGER","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP EVENT","DROP FUNCTION","DROP FUNCTION","DROP INDEX","DROP LOGFILE GROUP","DROP PROCEDURE","DROP RESOURCE GROUP","DROP ROLE","DROP SERVER","DROP SPATIAL REFERENCE SYSTEM","DROP TABLESPACE","DROP TRIGGER","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","GRANT","HANDLER","HELP","IMPORT TABLE","INSTALL COMPONENT","INSTALL PLUGIN","KILL","LOAD DATA","LOAD INDEX INTO CACHE","LOAD XML","LOCK INSTANCE FOR BACKUP","LOCK TABLES","MASTER_POS_WAIT","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","RESET","RESET MASTER","RESET PERSIST","RESET REPLICA","RESET SLAVE","RESTART","REVOKE","ROLLBACK","ROLLBACK TO SAVEPOINT","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET NAMES","SET PASSWORD","SET RESOURCE GROUP","SET ROLE","SET TRANSACTION","SHOW","SHOW BINARY LOGS","SHOW BINLOG EVENTS","SHOW CHARACTER SET","SHOW COLLATION","SHOW COLUMNS","SHOW CREATE DATABASE","SHOW CREATE EVENT","SHOW CREATE FUNCTION","SHOW CREATE PROCEDURE","SHOW CREATE TABLE","SHOW CREATE TRIGGER","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW RELAYLOG EVENTS","SHOW REPLICA STATUS","SHOW REPLICAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW VARIABLES","SHOW WARNINGS","SHUTDOWN","SOURCE_POS_WAIT","START GROUP_REPLICATION","START REPLICA","START SLAVE","START TRANSACTION","STOP GROUP_REPLICATION","STOP REPLICA","STOP SLAVE","TABLE","UNINSTALL COMPONENT","UNINSTALL PLUGIN","UNLOCK INSTANCE","UNLOCK TABLES","USE","XA","ITERATE","LEAVE","LOOP","REPEAT","RETURN","WHILE"]),eI=S(["UNION [ALL | DISTINCT]"]),eN=S(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),eO=S(["ON {UPDATE | DELETE} [SET NULL]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),e_={tokenizerOptions:{reservedSelect:eA,reservedClauses:[...eS,...ep],reservedSetOperations:eI,reservedJoins:eN,reservedPhrases:eO,supportsXor:!0,reservedKeywords:ed,reservedFunctionNames:eR,stringTypes:['""-qq-bs',{quote:"''-qq-bs",prefixes:["N"]},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_.$]+"},{quote:'""-qq-bs',prefixes:["@"],requirePrefix:!0},{quote:"''-qq-bs",prefixes:["@"],requirePrefix:!0},{quote:"``",prefixes:["@"],requirePrefix:!0}],paramTypes:{positional:!0},lineCommentTypes:["--","#"],operators:["%",":=","&","|","^","~","<<",">>","<=>","->","->>","&&","||","!"],postProcess:function(e){return e.map((t,n)=>{let r=e[n+1]||c;return d.SET(t)&&"("===r.text?{...t,type:a.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{onelineClauses:ep}},eg=D({all:["ABORT","ABS","ACOS","ADVISOR","ARRAY_AGG","ARRAY_AGG","ARRAY_APPEND","ARRAY_AVG","ARRAY_BINARY_SEARCH","ARRAY_CONCAT","ARRAY_CONTAINS","ARRAY_COUNT","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_FLATTEN","ARRAY_IFNULL","ARRAY_INSERT","ARRAY_INTERSECT","ARRAY_LENGTH","ARRAY_MAX","ARRAY_MIN","ARRAY_MOVE","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_PUT","ARRAY_RANGE","ARRAY_REMOVE","ARRAY_REPEAT","ARRAY_REPLACE","ARRAY_REVERSE","ARRAY_SORT","ARRAY_STAR","ARRAY_SUM","ARRAY_SYMDIFF","ARRAY_SYMDIFF1","ARRAY_SYMDIFFN","ARRAY_UNION","ASIN","ATAN","ATAN2","AVG","BASE64","BASE64_DECODE","BASE64_ENCODE","BITAND ","BITCLEAR ","BITNOT ","BITOR ","BITSET ","BITSHIFT ","BITTEST ","BITXOR ","CEIL","CLOCK_LOCAL","CLOCK_MILLIS","CLOCK_STR","CLOCK_TZ","CLOCK_UTC","COALESCE","CONCAT","CONCAT2","CONTAINS","CONTAINS_TOKEN","CONTAINS_TOKEN_LIKE","CONTAINS_TOKEN_REGEXP","COS","COUNT","COUNT","COUNTN","CUME_DIST","CURL","DATE_ADD_MILLIS","DATE_ADD_STR","DATE_DIFF_MILLIS","DATE_DIFF_STR","DATE_FORMAT_STR","DATE_PART_MILLIS","DATE_PART_STR","DATE_RANGE_MILLIS","DATE_RANGE_STR","DATE_TRUNC_MILLIS","DATE_TRUNC_STR","DECODE","DECODE_JSON","DEGREES","DENSE_RANK","DURATION_TO_STR","ENCODED_SIZE","ENCODE_JSON","EXP","FIRST_VALUE","FLOOR","GREATEST","HAS_TOKEN","IFINF","IFMISSING","IFMISSINGORNULL","IFNAN","IFNANORINF","IFNULL","INITCAP","ISARRAY","ISATOM","ISBITSET","ISBOOLEAN","ISNUMBER","ISOBJECT","ISSTRING","LAG","LAST_VALUE","LEAD","LEAST","LENGTH","LN","LOG","LOWER","LTRIM","MAX","MEAN","MEDIAN","META","MILLIS","MILLIS_TO_LOCAL","MILLIS_TO_STR","MILLIS_TO_TZ","MILLIS_TO_UTC","MILLIS_TO_ZONE_NAME","MIN","MISSINGIF","NANIF","NEGINFIF","NOW_LOCAL","NOW_MILLIS","NOW_STR","NOW_TZ","NOW_UTC","NTH_VALUE","NTILE","NULLIF","NVL","NVL2","OBJECT_ADD","OBJECT_CONCAT","OBJECT_INNER_PAIRS","OBJECT_INNER_VALUES","OBJECT_LENGTH","OBJECT_NAMES","OBJECT_PAIRS","OBJECT_PUT","OBJECT_REMOVE","OBJECT_RENAME","OBJECT_REPLACE","OBJECT_UNWRAP","OBJECT_VALUES","PAIRS","PERCENT_RANK","PI","POLY_LENGTH","POSINFIF","POSITION","POWER","RADIANS","RANDOM","RANK","RATIO_TO_REPORT","REGEXP_CONTAINS","REGEXP_LIKE","REGEXP_MATCHES","REGEXP_POSITION","REGEXP_REPLACE","REGEXP_SPLIT","REGEX_CONTAINS","REGEX_LIKE","REGEX_MATCHES","REGEX_POSITION","REGEX_REPLACE","REGEX_SPLIT","REPEAT","REPLACE","REVERSE","ROUND","ROW_NUMBER","RTRIM","SEARCH","SEARCH_META","SEARCH_SCORE","SIGN","SIN","SPLIT","SQRT","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DURATION","STR_TO_MILLIS","STR_TO_TZ","STR_TO_UTC","STR_TO_ZONE_NAME","SUBSTR","SUFFIXES","SUM","TAN","TITLE","TOARRAY","TOATOM","TOBOOLEAN","TOKENS","TOKENS","TONUMBER","TOOBJECT","TOSTRING","TRIM","TRUNC","UPPER","UUID","VARIANCE","VARIANCE_POP","VARIANCE_SAMP","VAR_POP","VAR_SAMP","WEEKDAY_MILLIS","WEEKDAY_STR","CAST"]}),em=D({all:["ADVISE","ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","AT","BEGIN","BETWEEN","BINARY","BOOLEAN","BREAK","BUCKET","BUILD","BY","CALL","CASE","CAST","CLUSTER","COLLATE","COLLECTION","COMMIT","COMMITTED","CONNECT","CONTINUE","CORRELATED","COVER","CREATE","CURRENT","DATABASE","DATASET","DATASTORE","DECLARE","DECREMENT","DELETE","DERIVED","DESC","DESCRIBE","DISTINCT","DO","DROP","EACH","ELEMENT","ELSE","END","EVERY","EXCEPT","EXCLUDE","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FILTER","FIRST","FLATTEN","FLUSH","FOLLOWING","FOR","FORCE","FROM","FTS","FUNCTION","GOLANG","GRANT","GROUP","GROUPS","GSI","HASH","HAVING","IF","ISOLATION","IGNORE","ILIKE","IN","INCLUDE","INCREMENT","INDEX","INFER","INLINE","INNER","INSERT","INTERSECT","INTO","IS","JAVASCRIPT","JOIN","KEY","KEYS","KEYSPACE","KNOWN","LANGUAGE","LAST","LEFT","LET","LETTING","LEVEL","LIKE","LIMIT","LSM","MAP","MAPPING","MATCHED","MATERIALIZED","MERGE","MINUS","MISSING","NAMESPACE","NEST","NL","NO","NOT","NTH_VALUE","NULL","NULLS","NUMBER","OBJECT","OFFSET","ON","OPTION","OPTIONS","OR","ORDER","OTHERS","OUTER","OVER","PARSE","PARTITION","PASSWORD","PATH","POOL","PRECEDING","PREPARE","PRIMARY","PRIVATE","PRIVILEGE","PROBE","PROCEDURE","PUBLIC","RANGE","RAW","REALM","REDUCE","RENAME","RESPECT","RETURN","RETURNING","REVOKE","RIGHT","ROLE","ROLLBACK","ROW","ROWS","SATISFIES","SAVEPOINT","SCHEMA","SCOPE","SELECT","SELF","SEMI","SET","SHOW","SOME","START","STATISTICS","STRING","SYSTEM","THEN","TIES","TO","TRAN","TRANSACTION","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNDER","UNION","UNIQUE","UNKNOWN","UNNEST","UNSET","UPDATE","UPSERT","USE","USER","USING","VALIDATE","VALUE","VALUED","VALUES","VIA","VIEW","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WORK","XOR"]}),eC=S(["SELECT [ALL | DISTINCT]"]),eL=S(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED THEN","UPDATE SET","INSERT","NEST","UNNEST","RETURNING"]),eb=S(["UPDATE","DELETE FROM","SET SCHEMA","ADVISE","ALTER INDEX","BEGIN TRANSACTION","BUILD INDEX","COMMIT TRANSACTION","CREATE COLLECTION","CREATE FUNCTION","CREATE INDEX","CREATE PRIMARY INDEX","CREATE SCOPE","DROP COLLECTION","DROP FUNCTION","DROP INDEX","DROP PRIMARY INDEX","DROP SCOPE","EXECUTE","EXECUTE FUNCTION","EXPLAIN","GRANT","INFER","PREPARE","REVOKE","ROLLBACK TRANSACTION","SAVEPOINT","SET TRANSACTION","UPDATE STATISTICS","UPSERT","LET","SET CURRENT SCHEMA","SHOW","USE [PRIMARY] KEYS"]),ef=S(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),eD=S(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","INNER JOIN"]),eh=S(["{ROWS | RANGE | GROUPS} BETWEEN"]),eP={tokenizerOptions:{reservedSelect:eC,reservedClauses:[...eL,...eb],reservedSetOperations:ef,reservedJoins:eD,reservedPhrases:eh,supportsXor:!0,reservedKeywords:em,reservedFunctionNames:eg,stringTypes:['""-bs',"''-bs"],identTypes:["``"],extraParens:["[]","{}"],paramTypes:{positional:!0,numbered:["$"],named:["$"]},lineCommentTypes:["#","--"],operators:["%","==",":","||"]},formatOptions:{onelineClauses:eb}},ey=D({all:["ADD","AGENT","AGGREGATE","ALL","ALTER","AND","ANY","ARRAY","ARROW","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BEGIN","BETWEEN","BFILE_BASE","BINARY","BLOB_BASE","BLOCK","BODY","BOTH","BOUND","BULK","BY","BYTE","CALL","CALLING","CASCADE","CASE","CHAR","CHAR_BASE","CHARACTER","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOB_BASE","CLOSE","CLUSTER","CLUSTERS","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONVERT","COUNT","CRASH","CREATE","CURRENT","CURSOR","CUSTOMDATUM","DANGLING","DATA","DATE","DATE_BASE","DAY","DECIMAL","DECLARE","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DISTINCT","DOUBLE","DROP","DURATION","ELEMENT","ELSE","ELSIF","EMPTY","END","ESCAPE","EXCEPT","EXCEPTION","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FINAL","FIXED","FLOAT","FOR","FORALL","FORCE","FORM","FROM","FUNCTION","GENERAL","GOTO","GRANT","GROUP","HASH","HAVING","HEAP","HIDDEN","HOUR","IDENTIFIED","IF","IMMEDIATE","IN","INCLUDING","INDEX","INDEXES","INDICATOR","INDICES","INFINITE","INSERT","INSTANTIABLE","INT","INTERFACE","INTERSECT","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMIT","LIMITED","LOCAL","LOCK","LONG","LOOP","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MOD","MODE","MODIFY","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NCHAR","NEW","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","NUMBER_BASE","OBJECT","OCICOLL","OCIDATE","OCIDATETIME","OCIDURATION","OCIINTERVAL","OCILOBLOCATOR","OCINUMBER","OCIRAW","OCIREF","OCIREFCURSOR","OCIROWID","OCISTRING","OCITYPE","OF","ON","ONLY","OPAQUE","OPEN","OPERATOR","OPTION","OR","ORACLE","ORADATA","ORDER","OVERLAPS","ORGANIZATION","ORLANY","ORLVARY","OTHERS","OUT","OVERRIDING","PACKAGE","PARALLEL_ENABLE","PARAMETER","PARAMETERS","PARTITION","PASCAL","PIPE","PIPELINED","PRAGMA","PRECISION","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RAW","READ","RECORD","REF","REFERENCE","REM","REMAINDER","RENAME","RESOURCE","RESULT","RETURN","RETURNING","REVERSE","REVOKE","ROLLBACK","ROW","SAMPLE","SAVE","SAVEPOINT","SB1","SB2","SB4","SECOND","SEGMENT","SELECT","SELF","SEPARATE","SEQUENCE","SERIALIZABLE","SET","SHARE","SHORT","SIZE","SIZE_T","SOME","SPARSE","SQL","SQLCODE","SQLDATA","SQLNAME","SQLSTATE","STANDARD","START","STATIC","STDDEV","STORED","STRING","STRUCT","STYLE","SUBMULTISET","SUBPARTITION","SUBSTITUTABLE","SUBTYPE","SUM","SYNONYM","TABAUTH","TABLE","TDO","THE","THEN","TIME","TIMESTAMP","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TO","TRAILING","TRANSAC","TRANSACTIONAL","TRUSTED","TYPE","UB1","UB2","UB4","UNDER","UNION","UNIQUE","UNSIGNED","UNTRUSTED","UPDATE","USE","USING","VALIST","VALUE","VALUES","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","VOID","WHEN","WHERE","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"]}),eM=D({numeric:["ABS","ACOS","ASIN","ATAN","ATAN2","BITAND","CEIL","COS","COSH","EXP","FLOOR","LN","LOG","MOD","NANVL","POWER","REMAINDER","ROUND","SIGN","SIN","SINH","SQRT","TAN","TANH","TRUNC","WIDTH_BUCKET"],character:["CHR","CONCAT","INITCAP","LOWER","LPAD","LTRIM","NLS_INITCAP","NLS_LOWER","NLSSORT","NLS_UPPER","REGEXP_REPLACE","REGEXP_SUBSTR","REPLACE","RPAD","RTRIM","SOUNDEX","SUBSTR","TRANSLATE","TREAT","TRIM","UPPER","NLS_CHARSET_DECL_LEN","NLS_CHARSET_ID","NLS_CHARSET_NAME","ASCII","INSTR","LENGTH","REGEXP_INSTR"],datetime:["ADD_MONTHS","CURRENT_DATE","CURRENT_TIMESTAMP","DBTIMEZONE","EXTRACT","FROM_TZ","LAST_DAY","LOCALTIMESTAMP","MONTHS_BETWEEN","NEW_TIME","NEXT_DAY","NUMTODSINTERVAL","NUMTOYMINTERVAL","ROUND","SESSIONTIMEZONE","SYS_EXTRACT_UTC","SYSDATE","SYSTIMESTAMP","TO_CHAR","TO_TIMESTAMP","TO_TIMESTAMP_TZ","TO_DSINTERVAL","TO_YMINTERVAL","TRUNC","TZ_OFFSET"],comparison:["GREATEST","LEAST"],conversion:["ASCIISTR","BIN_TO_NUM","CAST","CHARTOROWID","COMPOSE","CONVERT","DECOMPOSE","HEXTORAW","NUMTODSINTERVAL","NUMTOYMINTERVAL","RAWTOHEX","RAWTONHEX","ROWIDTOCHAR","ROWIDTONCHAR","SCN_TO_TIMESTAMP","TIMESTAMP_TO_SCN","TO_BINARY_DOUBLE","TO_BINARY_FLOAT","TO_CHAR","TO_CLOB","TO_DATE","TO_DSINTERVAL","TO_LOB","TO_MULTI_BYTE","TO_NCHAR","TO_NCLOB","TO_NUMBER","TO_DSINTERVAL","TO_SINGLE_BYTE","TO_TIMESTAMP","TO_TIMESTAMP_TZ","TO_YMINTERVAL","TO_YMINTERVAL","TRANSLATE","UNISTR"],largeObject:["BFILENAME","EMPTY_BLOB,","EMPTY_CLOB"],collection:["CARDINALITY","COLLECT","POWERMULTISET","POWERMULTISET_BY_CARDINALITY","SET"],hierarchical:["SYS_CONNECT_BY_PATH"],dataMining:["CLUSTER_ID","CLUSTER_PROBABILITY","CLUSTER_SET","FEATURE_ID","FEATURE_SET","FEATURE_VALUE","PREDICTION","PREDICTION_COST","PREDICTION_DETAILS","PREDICTION_PROBABILITY","PREDICTION_SET"],xml:["APPENDCHILDXML","DELETEXML","DEPTH","EXTRACT","EXISTSNODE","EXTRACTVALUE","INSERTCHILDXML","INSERTXMLBEFORE","PATH","SYS_DBURIGEN","SYS_XMLAGG","SYS_XMLGEN","UPDATEXML","XMLAGG","XMLCDATA","XMLCOLATTVAL","XMLCOMMENT","XMLCONCAT","XMLFOREST","XMLPARSE","XMLPI","XMLQUERY","XMLROOT","XMLSEQUENCE","XMLSERIALIZE","XMLTABLE","XMLTRANSFORM"],encoding:["DECODE","DUMP","ORA_HASH","VSIZE"],nullRelated:["COALESCE","LNNVL","NULLIF","NVL","NVL2"],env:["SYS_CONTEXT","SYS_GUID","SYS_TYPEID","UID","USER","USERENV"],aggregate:["AVG","COLLECT","CORR","CORR_S","CORR_K","COUNT","COVAR_POP","COVAR_SAMP","CUME_DIST","DENSE_RANK","FIRST","GROUP_ID","GROUPING","GROUPING_ID","LAST","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","RANK","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","STATS_BINOMIAL_TEST","STATS_CROSSTAB","STATS_F_TEST","STATS_KS_TEST","STATS_MODE","STATS_MW_TEST","STATS_ONE_WAY_ANOVA","STATS_T_TEST_ONE","STATS_T_TEST_PAIRED","STATS_T_TEST_INDEP","STATS_T_TEST_INDEPU","STATS_WSR_TEST","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],window:["FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTILE","RATIO_TO_REPORT","ROW_NUMBER"],objectReference:["DEREF","MAKE_REF","REF","REFTOHEX","VALUE"],model:["CV","ITERATION_NUMBER","PRESENTNNV","PRESENTV","PREVIOUS"],dataTypes:["VARCHAR2","NVARCHAR2","NUMBER","FLOAT","TIMESTAMP","INTERVAL YEAR","INTERVAL DAY","RAW","UROWID","NCHAR","CHARACTER","CHAR","CHARACTER VARYING","CHAR VARYING","NATIONAL CHARACTER","NATIONAL CHAR","NATIONAL CHARACTER VARYING","NATIONAL CHAR VARYING","NCHAR VARYING","NUMERIC","DECIMAL","FLOAT","VARCHAR"]}),eU=S(["SELECT [ALL | DISTINCT | UNIQUE]"]),ev=S(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER [SIBLINGS] BY","OFFSET","FETCH {FIRST | NEXT}","FOR UPDATE [OF]","INSERT [INTO | ALL INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [THEN]","UPDATE SET","CREATE [OR REPLACE] [NO FORCE | FORCE] [EDITIONING | EDITIONABLE | EDITIONABLE EDITIONING | NONEDITIONABLE] VIEW","CREATE MATERIALIZED VIEW","CREATE [GLOBAL TEMPORARY | PRIVATE TEMPORARY | SHARDED | DUPLICATED | IMMUTABLE BLOCKCHAIN | BLOCKCHAIN | IMMUTABLE] TABLE","RETURNING"]),ew=S(["UPDATE [ONLY]","DELETE FROM [ONLY]","DROP TABLE","ALTER TABLE","ADD","DROP {COLUMN | UNUSED COLUMNS | COLUMNS CONTINUE}","MODIFY","RENAME TO","RENAME COLUMN","TRUNCATE TABLE","SET SCHEMA","BEGIN","CONNECT BY","DECLARE","EXCEPT","EXCEPTION","LOOP","START WITH"]),eG=S(["UNION [ALL]","EXCEPT","INTERSECT"]),ek=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | OUTER} APPLY"]),eF=S(["ON {UPDATE | DELETE} [SET NULL]","ON COMMIT","{ROWS | RANGE} BETWEEN"]),ex={tokenizerOptions:{reservedSelect:eU,reservedClauses:[...ev,...ew],reservedSetOperations:eG,reservedJoins:ek,reservedPhrases:eF,supportsXor:!0,reservedKeywords:ey,reservedFunctionNames:eM,stringTypes:[{quote:"''-qq",prefixes:["N"]},{quote:"q''",prefixes:["N"]}],identTypes:['""-qq'],identChars:{rest:"$#"},variableTypes:[{regex:"&{1,2}[A-Za-z][A-Za-z0-9_$#]*"}],paramTypes:{numbered:[":"],named:[":"]},paramChars:{},operators:["**",":=","%","~=","^=",">>","<<","=>","@","||"],postProcess:function(e){let t=c;return e.map(e=>d.SET(e)&&d.BY(t)?{...e,type:a.RESERVED_KEYWORD}:(R(e.type)&&(t=e),e))}},formatOptions:{alwaysDenseOperators:["@"],onelineClauses:ew}},eB=D({math:["ABS","ACOS","ACOSD","ACOSH","ASIN","ASIND","ASINH","ATAN","ATAN2","ATAN2D","ATAND","ATANH","CBRT","CEIL","CEILING","COS","COSD","COSH","COT","COTD","DEGREES","DIV","EXP","FACTORIAL","FLOOR","GCD","LCM","LN","LOG","LOG10","MIN_SCALE","MOD","PI","POWER","RADIANS","RANDOM","ROUND","SCALE","SETSEED","SIGN","SIN","SIND","SINH","SQRT","TAN","TAND","TANH","TRIM_SCALE","TRUNC","WIDTH_BUCKET"],string:["ABS","ASCII","BIT_LENGTH","BTRIM","CHARACTER_LENGTH","CHAR_LENGTH","CHR","CONCAT","CONCAT_WS","FORMAT","INITCAP","LEFT","LENGTH","LOWER","LPAD","LTRIM","MD5","NORMALIZE","OCTET_LENGTH","OVERLAY","PARSE_IDENT","PG_CLIENT_ENCODING","POSITION","QUOTE_IDENT","QUOTE_LITERAL","QUOTE_NULLABLE","REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE","REPEAT","REPLACE","REVERSE","RIGHT","RPAD","RTRIM","SPLIT_PART","SPRINTF","STARTS_WITH","STRING_AGG","STRING_TO_ARRAY","STRING_TO_TABLE","STRPOS","SUBSTR","SUBSTRING","TO_ASCII","TO_HEX","TRANSLATE","TRIM","UNISTR","UPPER"],binary:["BIT_COUNT","BIT_LENGTH","BTRIM","CONVERT","CONVERT_FROM","CONVERT_TO","DECODE","ENCODE","GET_BIT","GET_BYTE","LENGTH","LTRIM","MD5","OCTET_LENGTH","OVERLAY","POSITION","RTRIM","SET_BIT","SET_BYTE","SHA224","SHA256","SHA384","SHA512","STRING_AGG","SUBSTR","SUBSTRING","TRIM"],bitstring:["BIT_COUNT","BIT_LENGTH","GET_BIT","LENGTH","OCTET_LENGTH","OVERLAY","POSITION","SET_BIT","SUBSTRING"],pattern:["REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE"],datatype:["TO_CHAR","TO_DATE","TO_NUMBER","TO_TIMESTAMP"],datetime:["CLOCK_TIMESTAMP","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE_BIN","DATE_PART","DATE_TRUNC","EXTRACT","ISFINITE","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL","LOCALTIME","LOCALTIMESTAMP","MAKE_DATE","MAKE_INTERVAL","MAKE_TIME","MAKE_TIMESTAMP","MAKE_TIMESTAMPTZ","NOW","PG_SLEEP","PG_SLEEP_FOR","PG_SLEEP_UNTIL","STATEMENT_TIMESTAMP","TIMEOFDAY","TO_TIMESTAMP","TRANSACTION_TIMESTAMP"],enum:["ENUM_FIRST","ENUM_LAST","ENUM_RANGE"],geometry:["AREA","BOUND_BOX","BOX","CENTER","CIRCLE","DIAGONAL","DIAMETER","HEIGHT","ISCLOSED","ISOPEN","LENGTH","LINE","LSEG","NPOINTS","PATH","PCLOSE","POINT","POLYGON","POPEN","RADIUS","SLOPE","WIDTH"],network:["ABBREV","BROADCAST","FAMILY","HOST","HOSTMASK","INET_MERGE","INET_SAME_FAMILY","MACADDR8_SET7BIT","MASKLEN","NETMASK","NETWORK","SET_MASKLEN","TEXT","TRUNC"],textsearch:["ARRAY_TO_TSVECTOR","GET_CURRENT_TS_CONFIG","JSONB_TO_TSVECTOR","JSON_TO_TSVECTOR","LENGTH","NUMNODE","PHRASETO_TSQUERY","PLAINTO_TSQUERY","QUERYTREE","SETWEIGHT","STRIP","TO_TSQUERY","TO_TSVECTOR","TSQUERY_PHRASE","TSVECTOR_TO_ARRAY","TS_DEBUG","TS_DELETE","TS_FILTER","TS_HEADLINE","TS_LEXIZE","TS_PARSE","TS_RANK","TS_RANK_CD","TS_REWRITE","TS_STAT","TS_TOKEN_TYPE","WEBSEARCH_TO_TSQUERY"],uuid:["UUID"],xml:["CURSOR_TO_XML","CURSOR_TO_XMLSCHEMA","DATABASE_TO_XML","DATABASE_TO_XMLSCHEMA","DATABASE_TO_XML_AND_XMLSCHEMA","NEXTVAL","QUERY_TO_XML","QUERY_TO_XMLSCHEMA","QUERY_TO_XML_AND_XMLSCHEMA","SCHEMA_TO_XML","SCHEMA_TO_XMLSCHEMA","SCHEMA_TO_XML_AND_XMLSCHEMA","STRING","TABLE_TO_XML","TABLE_TO_XMLSCHEMA","TABLE_TO_XML_AND_XMLSCHEMA","XMLAGG","XMLCOMMENT","XMLCONCAT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLPARSE","XMLPI","XMLROOT","XMLSERIALIZE","XMLTABLE","XML_IS_WELL_FORMED","XML_IS_WELL_FORMED_CONTENT","XML_IS_WELL_FORMED_DOCUMENT","XPATH","XPATH_EXISTS"],json:["ARRAY_TO_JSON","JSONB_AGG","JSONB_ARRAY_ELEMENTS","JSONB_ARRAY_ELEMENTS_TEXT","JSONB_ARRAY_LENGTH","JSONB_BUILD_ARRAY","JSONB_BUILD_OBJECT","JSONB_EACH","JSONB_EACH_TEXT","JSONB_EXTRACT_PATH","JSONB_EXTRACT_PATH_TEXT","JSONB_INSERT","JSONB_OBJECT","JSONB_OBJECT_AGG","JSONB_OBJECT_KEYS","JSONB_PATH_EXISTS","JSONB_PATH_EXISTS_TZ","JSONB_PATH_MATCH","JSONB_PATH_MATCH_TZ","JSONB_PATH_QUERY","JSONB_PATH_QUERY_ARRAY","JSONB_PATH_QUERY_ARRAY_TZ","JSONB_PATH_QUERY_FIRST","JSONB_PATH_QUERY_FIRST_TZ","JSONB_PATH_QUERY_TZ","JSONB_POPULATE_RECORD","JSONB_POPULATE_RECORDSET","JSONB_PRETTY","JSONB_SET","JSONB_SET_LAX","JSONB_STRIP_NULLS","JSONB_TO_RECORD","JSONB_TO_RECORDSET","JSONB_TYPEOF","JSON_AGG","JSON_ARRAY_ELEMENTS","JSON_ARRAY_ELEMENTS_TEXT","JSON_ARRAY_LENGTH","JSON_BUILD_ARRAY","JSON_BUILD_OBJECT","JSON_EACH","JSON_EACH_TEXT","JSON_EXTRACT_PATH","JSON_EXTRACT_PATH_TEXT","JSON_OBJECT","JSON_OBJECT_AGG","JSON_OBJECT_KEYS","JSON_POPULATE_RECORD","JSON_POPULATE_RECORDSET","JSON_STRIP_NULLS","JSON_TO_RECORD","JSON_TO_RECORDSET","JSON_TYPEOF","ROW_TO_JSON","TO_JSON","TO_JSONB","TO_TIMESTAMP"],sequence:["CURRVAL","LASTVAL","NEXTVAL","SETVAL"],conditional:["COALESCE","GREATEST","LEAST","NULLIF"],array:["ARRAY_AGG","ARRAY_APPEND","ARRAY_CAT","ARRAY_DIMS","ARRAY_FILL","ARRAY_LENGTH","ARRAY_LOWER","ARRAY_NDIMS","ARRAY_POSITION","ARRAY_POSITIONS","ARRAY_PREPEND","ARRAY_REMOVE","ARRAY_REPLACE","ARRAY_TO_STRING","ARRAY_UPPER","CARDINALITY","STRING_TO_ARRAY","TRIM_ARRAY","UNNEST"],range:["ISEMPTY","LOWER","LOWER_INC","LOWER_INF","MULTIRANGE","RANGE_MERGE","UPPER","UPPER_INC","UPPER_INF"],aggregate:["ARRAY_AGG","AVG","BIT_AND","BIT_OR","BIT_XOR","BOOL_AND","BOOL_OR","COALESCE","CORR","COUNT","COVAR_POP","COVAR_SAMP","CUME_DIST","DENSE_RANK","EVERY","GROUPING","JSONB_AGG","JSONB_OBJECT_AGG","JSON_AGG","JSON_OBJECT_AGG","MAX","MIN","MODE","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","RANGE_AGG","RANGE_INTERSECT_AGG","RANK","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV","STDDEV_POP","STDDEV_SAMP","STRING_AGG","SUM","TO_JSON","TO_JSONB","VARIANCE","VAR_POP","VAR_SAMP","XMLAGG"],window:["CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER"],set:["GENERATE_SERIES","GENERATE_SUBSCRIPTS"],sysInfo:["ACLDEFAULT","ACLEXPLODE","COL_DESCRIPTION","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_QUERY","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_USER","FORMAT_TYPE","HAS_ANY_COLUMN_PRIVILEGE","HAS_COLUMN_PRIVILEGE","HAS_DATABASE_PRIVILEGE","HAS_FOREIGN_DATA_WRAPPER_PRIVILEGE","HAS_FUNCTION_PRIVILEGE","HAS_LANGUAGE_PRIVILEGE","HAS_SCHEMA_PRIVILEGE","HAS_SEQUENCE_PRIVILEGE","HAS_SERVER_PRIVILEGE","HAS_TABLESPACE_PRIVILEGE","HAS_TABLE_PRIVILEGE","HAS_TYPE_PRIVILEGE","INET_CLIENT_ADDR","INET_CLIENT_PORT","INET_SERVER_ADDR","INET_SERVER_PORT","MAKEACLITEM","OBJ_DESCRIPTION","PG_BACKEND_PID","PG_BLOCKING_PIDS","PG_COLLATION_IS_VISIBLE","PG_CONF_LOAD_TIME","PG_CONTROL_CHECKPOINT","PG_CONTROL_INIT","PG_CONTROL_SYSTEM","PG_CONVERSION_IS_VISIBLE","PG_CURRENT_LOGFILE","PG_CURRENT_SNAPSHOT","PG_CURRENT_XACT_ID","PG_CURRENT_XACT_ID_IF_ASSIGNED","PG_DESCRIBE_OBJECT","PG_FUNCTION_IS_VISIBLE","PG_GET_CATALOG_FOREIGN_KEYS","PG_GET_CONSTRAINTDEF","PG_GET_EXPR","PG_GET_FUNCTIONDEF","PG_GET_FUNCTION_ARGUMENTS","PG_GET_FUNCTION_IDENTITY_ARGUMENTS","PG_GET_FUNCTION_RESULT","PG_GET_INDEXDEF","PG_GET_KEYWORDS","PG_GET_OBJECT_ADDRESS","PG_GET_OWNED_SEQUENCE","PG_GET_RULEDEF","PG_GET_SERIAL_SEQUENCE","PG_GET_STATISTICSOBJDEF","PG_GET_TRIGGERDEF","PG_GET_USERBYID","PG_GET_VIEWDEF","PG_HAS_ROLE","PG_IDENTIFY_OBJECT","PG_IDENTIFY_OBJECT_AS_ADDRESS","PG_INDEXAM_HAS_PROPERTY","PG_INDEX_COLUMN_HAS_PROPERTY","PG_INDEX_HAS_PROPERTY","PG_IS_OTHER_TEMP_SCHEMA","PG_JIT_AVAILABLE","PG_LAST_COMMITTED_XACT","PG_LISTENING_CHANNELS","PG_MY_TEMP_SCHEMA","PG_NOTIFICATION_QUEUE_USAGE","PG_OPCLASS_IS_VISIBLE","PG_OPERATOR_IS_VISIBLE","PG_OPFAMILY_IS_VISIBLE","PG_OPTIONS_TO_TABLE","PG_POSTMASTER_START_TIME","PG_SAFE_SNAPSHOT_BLOCKING_PIDS","PG_SNAPSHOT_XIP","PG_SNAPSHOT_XMAX","PG_SNAPSHOT_XMIN","PG_STATISTICS_OBJ_IS_VISIBLE","PG_TABLESPACE_DATABASES","PG_TABLESPACE_LOCATION","PG_TABLE_IS_VISIBLE","PG_TRIGGER_DEPTH","PG_TS_CONFIG_IS_VISIBLE","PG_TS_DICT_IS_VISIBLE","PG_TS_PARSER_IS_VISIBLE","PG_TS_TEMPLATE_IS_VISIBLE","PG_TYPEOF","PG_TYPE_IS_VISIBLE","PG_VISIBLE_IN_SNAPSHOT","PG_XACT_COMMIT_TIMESTAMP","PG_XACT_COMMIT_TIMESTAMP_ORIGIN","PG_XACT_STATUS","PQSERVERVERSION","ROW_SECURITY_ACTIVE","SESSION_USER","SHOBJ_DESCRIPTION","TO_REGCLASS","TO_REGCOLLATION","TO_REGNAMESPACE","TO_REGOPER","TO_REGOPERATOR","TO_REGPROC","TO_REGPROCEDURE","TO_REGROLE","TO_REGTYPE","TXID_CURRENT","TXID_CURRENT_IF_ASSIGNED","TXID_CURRENT_SNAPSHOT","TXID_SNAPSHOT_XIP","TXID_SNAPSHOT_XMAX","TXID_SNAPSHOT_XMIN","TXID_STATUS","TXID_VISIBLE_IN_SNAPSHOT","USER","VERSION"],sysAdmin:["BRIN_DESUMMARIZE_RANGE","BRIN_SUMMARIZE_NEW_VALUES","BRIN_SUMMARIZE_RANGE","CONVERT_FROM","CURRENT_SETTING","GIN_CLEAN_PENDING_LIST","PG_ADVISORY_LOCK","PG_ADVISORY_LOCK_SHARED","PG_ADVISORY_UNLOCK","PG_ADVISORY_UNLOCK_ALL","PG_ADVISORY_UNLOCK_SHARED","PG_ADVISORY_XACT_LOCK","PG_ADVISORY_XACT_LOCK_SHARED","PG_BACKUP_START_TIME","PG_CANCEL_BACKEND","PG_COLLATION_ACTUAL_VERSION","PG_COLUMN_COMPRESSION","PG_COLUMN_SIZE","PG_COPY_LOGICAL_REPLICATION_SLOT","PG_COPY_PHYSICAL_REPLICATION_SLOT","PG_CREATE_LOGICAL_REPLICATION_SLOT","PG_CREATE_PHYSICAL_REPLICATION_SLOT","PG_CREATE_RESTORE_POINT","PG_CURRENT_WAL_FLUSH_LSN","PG_CURRENT_WAL_INSERT_LSN","PG_CURRENT_WAL_LSN","PG_DATABASE_SIZE","PG_DROP_REPLICATION_SLOT","PG_EXPORT_SNAPSHOT","PG_FILENODE_RELATION","PG_GET_WAL_REPLAY_PAUSE_STATE","PG_IMPORT_SYSTEM_COLLATIONS","PG_INDEXES_SIZE","PG_IS_IN_BACKUP","PG_IS_IN_RECOVERY","PG_IS_WAL_REPLAY_PAUSED","PG_LAST_WAL_RECEIVE_LSN","PG_LAST_WAL_REPLAY_LSN","PG_LAST_XACT_REPLAY_TIMESTAMP","PG_LOGICAL_EMIT_MESSAGE","PG_LOGICAL_SLOT_GET_BINARY_CHANGES","PG_LOGICAL_SLOT_GET_CHANGES","PG_LOGICAL_SLOT_PEEK_BINARY_CHANGES","PG_LOGICAL_SLOT_PEEK_CHANGES","PG_LOG_BACKEND_MEMORY_CONTEXTS","PG_LS_ARCHIVE_STATUSDIR","PG_LS_DIR","PG_LS_LOGDIR","PG_LS_TMPDIR","PG_LS_WALDIR","PG_PARTITION_ANCESTORS","PG_PARTITION_ROOT","PG_PARTITION_TREE","PG_PROMOTE","PG_READ_BINARY_FILE","PG_READ_FILE","PG_RELATION_FILENODE","PG_RELATION_FILEPATH","PG_RELATION_SIZE","PG_RELOAD_CONF","PG_REPLICATION_ORIGIN_ADVANCE","PG_REPLICATION_ORIGIN_CREATE","PG_REPLICATION_ORIGIN_DROP","PG_REPLICATION_ORIGIN_OID","PG_REPLICATION_ORIGIN_PROGRESS","PG_REPLICATION_ORIGIN_SESSION_IS_SETUP","PG_REPLICATION_ORIGIN_SESSION_PROGRESS","PG_REPLICATION_ORIGIN_SESSION_RESET","PG_REPLICATION_ORIGIN_SESSION_SETUP","PG_REPLICATION_ORIGIN_XACT_RESET","PG_REPLICATION_ORIGIN_XACT_SETUP","PG_REPLICATION_SLOT_ADVANCE","PG_ROTATE_LOGFILE","PG_SIZE_BYTES","PG_SIZE_PRETTY","PG_START_BACKUP","PG_STAT_FILE","PG_STOP_BACKUP","PG_SWITCH_WAL","PG_TABLESPACE_SIZE","PG_TABLE_SIZE","PG_TERMINATE_BACKEND","PG_TOTAL_RELATION_SIZE","PG_TRY_ADVISORY_LOCK","PG_TRY_ADVISORY_LOCK_SHARED","PG_TRY_ADVISORY_XACT_LOCK","PG_TRY_ADVISORY_XACT_LOCK_SHARED","PG_WALFILE_NAME","PG_WALFILE_NAME_OFFSET","PG_WAL_LSN_DIFF","PG_WAL_REPLAY_PAUSE","PG_WAL_REPLAY_RESUME","SET_CONFIG"],trigger:["SUPPRESS_REDUNDANT_UPDATES_TRIGGER","TSVECTOR_UPDATE_TRIGGER","TSVECTOR_UPDATE_TRIGGER_COLUMN"],eventTrigger:["PG_EVENT_TRIGGER_DDL_COMMANDS","PG_EVENT_TRIGGER_DROPPED_OBJECTS","PG_EVENT_TRIGGER_TABLE_REWRITE_OID","PG_EVENT_TRIGGER_TABLE_REWRITE_REASON","PG_GET_OBJECT_ADDRESS"],stats:["PG_MCV_LIST_ITEMS"],cast:["CAST"],dataTypes:["BIT","BIT VARYING","CHARACTER","CHARACTER VARYING","VARCHAR","CHAR","DECIMAL","NUMERIC","TIME","TIMESTAMP","ENUM"]}),eH=D({all:["ABORT","ABSOLUTE","ACCESS","ACTION","ADD","ADMIN","AFTER","AGGREGATE","ALL","ALSO","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASENSITIVE","ASSERTION","ASSIGNMENT","ASYMMETRIC","AT","ATOMIC","ATTACH","ATTRIBUTE","AUTHORIZATION","BACKWARD","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BIT","BOOLEAN","BOTH","BREADTH","BY","CACHE","CALL","CALLED","CASCADE","CASCADED","CASE","CAST","CATALOG","CHAIN","CHAR","CHARACTER","CHARACTERISTICS","CHECK","CHECKPOINT","CLASS","CLOSE","CLUSTER","COALESCE","COLLATE","COLLATION","COLUMN","COLUMNS","COMMENT","COMMENTS","COMMIT","COMMITTED","COMPRESSION","CONCURRENTLY","CONFIGURATION","CONFLICT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTENT","CONTINUE","CONVERSION","COPY","COST","CREATE","CROSS","CSV","CUBE","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINER","DELETE","DELIMITER","DELIMITERS","DEPENDS","DEPTH","DESC","DETACH","DICTIONARY","DISABLE","DISCARD","DISTINCT","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","EACH","ELSE","ENABLE","ENCODING","ENCRYPTED","END","ENUM","ESCAPE","EVENT","EXCEPT","EXCLUDE","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXPLAIN","EXPRESSION","EXTENSION","EXTERNAL","EXTRACT","FALSE","FAMILY","FETCH","FILTER","FINALIZE","FIRST","FLOAT","FOLLOWING","FOR","FORCE","FOREIGN","FORWARD","FREEZE","FROM","FULL","FUNCTION","FUNCTIONS","GENERATED","GLOBAL","GRANT","GRANTED","GREATEST","GROUP","GROUPING","GROUPS","HANDLER","HAVING","HEADER","HOLD","HOUR","IDENTITY","IF","ILIKE","IMMEDIATE","IMMUTABLE","IMPLICIT","IMPORT","IN","INCLUDE","INCLUDING","INCREMENT","INDEX","INDEXES","INHERIT","INHERITS","INITIALLY","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSTEAD","INT","INTEGER","INTERSECT","INTERVAL","INTO","INVOKER","IS","ISNULL","ISOLATION","JOIN","KEY","LABEL","LANGUAGE","LARGE","LAST","LATERAL","LEADING","LEAKPROOF","LEAST","LEFT","LEVEL","LIKE","LIMIT","LISTEN","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCK","LOCKED","LOGGED","MAPPING","MATCH","MATERIALIZED","MAXVALUE","METHOD","MINUTE","MINVALUE","MODE","MONTH","MOVE","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NEW","NEXT","NFC","NFD","NFKC","NFKD","NO","NONE","NORMALIZE","NORMALIZED","NOT","NOTHING","NOTIFY","NOTNULL","NOWAIT","NULL","NULLIF","NULLS","NUMERIC","OBJECT","OF","OFF","OFFSET","OIDS","OLD","ON","ONLY","OPERATOR","OPTION","OPTIONS","OR","ORDER","ORDINALITY","OTHERS","OUT","OUTER","OVER","OVERLAPS","OVERLAY","OVERRIDING","OWNED","OWNER","PARALLEL","PARSER","PARTIAL","PARTITION","PASSING","PASSWORD","PLACING","PLANS","POLICY","POSITION","PRECEDING","PRECISION","PREPARE","PREPARED","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROCEDURES","PROGRAM","PUBLICATION","QUOTE","RANGE","READ","REAL","REASSIGN","RECHECK","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REINDEX","RELATIVE","RELEASE","RENAME","REPEATABLE","REPLACE","REPLICA","RESET","RESTART","RESTRICT","RETURN","RETURNING","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROUTINES","ROW","ROWS","RULE","SAVEPOINT","SCHEMA","SCHEMAS","SCROLL","SEARCH","SECOND","SECURITY","SELECT","SEQUENCE","SEQUENCES","SERIALIZABLE","SERVER","SESSION","SESSION_USER","SET","SETOF","SETS","SHARE","SHOW","SIMILAR","SIMPLE","SKIP","SMALLINT","SNAPSHOT","SOME","SQL","STABLE","STANDALONE","START","STATEMENT","STATISTICS","STDIN","STDOUT","STORAGE","STORED","STRICT","STRIP","SUBSCRIPTION","SUBSTRING","SUPPORT","SYMMETRIC","SYSID","SYSTEM","TABLE","TABLES","TABLESAMPLE","TABLESPACE","TEMP","TEMPLATE","TEMPORARY","TEXT","THEN","TIES","TIME","TIMESTAMP","TO","TRAILING","TRANSACTION","TRANSFORM","TREAT","TRIGGER","TRIM","TRUE","TRUNCATE","TRUSTED","TYPE","TYPES","UESCAPE","UNBOUNDED","UNCOMMITTED","UNENCRYPTED","UNION","UNIQUE","UNKNOWN","UNLISTEN","UNLOGGED","UNTIL","UPDATE","USER","USING","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VARCHAR","VARIADIC","VARYING","VERBOSE","VERSION","VIEW","VIEWS","VOLATILE","WHEN","WHERE","WHITESPACE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","XML","XMLATTRIBUTES","XMLCONCAT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLNAMESPACES","XMLPARSE","XMLPI","XMLROOT","XMLSERIALIZE","XMLTABLE","YEAR","YES","ZONE"]}),eY=S(["SELECT [ALL | DISTINCT]"]),eV=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","FOR {UPDATE | NO KEY UPDATE | SHARE | KEY SHARE} [OF]","INSERT INTO","VALUES","SET","CREATE [OR REPLACE] [TEMP | TEMPORARY] [RECURSIVE] VIEW","CREATE MATERIALIZED VIEW [IF NOT EXISTS]","CREATE [GLOBAL | LOCAL] [TEMPORARY | TEMP | UNLOGGED] TABLE [IF NOT EXISTS]","RETURNING"]),eW=S(["UPDATE [ONLY]","WHERE CURRENT OF","ON CONFLICT","DELETE FROM [ONLY]","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS] [ONLY]","ALTER TABLE ALL IN TABLESPACE","RENAME [COLUMN]","RENAME TO","ADD [COLUMN] [IF NOT EXISTS]","DROP [COLUMN] [IF EXISTS]","ALTER [COLUMN]","[SET DATA] TYPE","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","TRUNCATE [TABLE] [ONLY]","SET SCHEMA","AFTER","ABORT","ALTER AGGREGATE","ALTER COLLATION","ALTER CONVERSION","ALTER DATABASE","ALTER DEFAULT PRIVILEGES","ALTER DOMAIN","ALTER EVENT TRIGGER","ALTER EXTENSION","ALTER FOREIGN DATA WRAPPER","ALTER FOREIGN TABLE","ALTER FUNCTION","ALTER GROUP","ALTER INDEX","ALTER LANGUAGE","ALTER LARGE OBJECT","ALTER MATERIALIZED VIEW","ALTER OPERATOR","ALTER OPERATOR CLASS","ALTER OPERATOR FAMILY","ALTER POLICY","ALTER PROCEDURE","ALTER PUBLICATION","ALTER ROLE","ALTER ROUTINE","ALTER RULE","ALTER SCHEMA","ALTER SEQUENCE","ALTER SERVER","ALTER STATISTICS","ALTER SUBSCRIPTION","ALTER SYSTEM","ALTER TABLESPACE","ALTER TEXT SEARCH CONFIGURATION","ALTER TEXT SEARCH DICTIONARY","ALTER TEXT SEARCH PARSER","ALTER TEXT SEARCH TEMPLATE","ALTER TRIGGER","ALTER TYPE","ALTER USER","ALTER USER MAPPING","ALTER VIEW","ANALYZE","BEGIN","CALL","CHECKPOINT","CLOSE","CLUSTER","COMMENT","COMMIT","COMMIT PREPARED","COPY","CREATE ACCESS METHOD","CREATE AGGREGATE","CREATE CAST","CREATE COLLATION","CREATE CONVERSION","CREATE DATABASE","CREATE DOMAIN","CREATE EVENT TRIGGER","CREATE EXTENSION","CREATE FOREIGN DATA WRAPPER","CREATE FOREIGN TABLE","CREATE FUNCTION","CREATE GROUP","CREATE INDEX","CREATE LANGUAGE","CREATE OPERATOR","CREATE OPERATOR CLASS","CREATE OPERATOR FAMILY","CREATE POLICY","CREATE PROCEDURE","CREATE PUBLICATION","CREATE ROLE","CREATE RULE","CREATE SCHEMA","CREATE SEQUENCE","CREATE SERVER","CREATE STATISTICS","CREATE SUBSCRIPTION","CREATE TABLESPACE","CREATE TEXT SEARCH CONFIGURATION","CREATE TEXT SEARCH DICTIONARY","CREATE TEXT SEARCH PARSER","CREATE TEXT SEARCH TEMPLATE","CREATE TRANSFORM","CREATE TRIGGER","CREATE TYPE","CREATE USER","CREATE USER MAPPING","DEALLOCATE","DECLARE","DISCARD","DROP ACCESS METHOD","DROP AGGREGATE","DROP CAST","DROP COLLATION","DROP CONVERSION","DROP DATABASE","DROP DOMAIN","DROP EVENT TRIGGER","DROP EXTENSION","DROP FOREIGN DATA WRAPPER","DROP FOREIGN TABLE","DROP FUNCTION","DROP GROUP","DROP INDEX","DROP LANGUAGE","DROP MATERIALIZED VIEW","DROP OPERATOR","DROP OPERATOR CLASS","DROP OPERATOR FAMILY","DROP OWNED","DROP POLICY","DROP PROCEDURE","DROP PUBLICATION","DROP ROLE","DROP ROUTINE","DROP RULE","DROP SCHEMA","DROP SEQUENCE","DROP SERVER","DROP STATISTICS","DROP SUBSCRIPTION","DROP TABLESPACE","DROP TEXT SEARCH CONFIGURATION","DROP TEXT SEARCH DICTIONARY","DROP TEXT SEARCH PARSER","DROP TEXT SEARCH TEMPLATE","DROP TRANSFORM","DROP TRIGGER","DROP TYPE","DROP USER","DROP USER MAPPING","DROP VIEW","EXECUTE","EXPLAIN","FETCH","GRANT","IMPORT FOREIGN SCHEMA","LISTEN","LOAD","LOCK","MOVE","NOTIFY","PREPARE","PREPARE TRANSACTION","REASSIGN OWNED","REFRESH MATERIALIZED VIEW","REINDEX","RELEASE SAVEPOINT","RESET","REVOKE","ROLLBACK","ROLLBACK PREPARED","ROLLBACK TO SAVEPOINT","SAVEPOINT","SECURITY LABEL","SELECT INTO","SET CONSTRAINTS","SET ROLE","SET SESSION AUTHORIZATION","SET TRANSACTION","SHOW","START TRANSACTION","UNLISTEN","VACUUM"]),e$=S(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),eX=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),eK=S(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN","{TIMESTAMP | TIME} {WITH | WITHOUT} TIME ZONE","IS [NOT] DISTINCT FROM"]),ez={tokenizerOptions:{reservedSelect:eY,reservedClauses:[...eV,...eW],reservedSetOperations:e$,reservedJoins:eX,reservedPhrases:eK,reservedKeywords:eH,reservedFunctionNames:eB,nestedBlockComments:!0,extraParens:["[]"],stringTypes:["$$",{quote:"''-qq",prefixes:["U&"]},{quote:"''-bs",prefixes:["E"],requirePrefix:!0},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:[{quote:'""-qq',prefixes:["U&"]}],identChars:{rest:"$"},paramTypes:{numbered:["$"]},operators:["%","^","|/","||/","@",":=","&","|","#","~","<<",">>","~>~","~<~","~>=~","~<=~","@-@","@@","##","<->","&&","&<","&>","<<|","&<|","|>>","|&>","<^","^>","?#","?-","?|","?-|","?||","@>","<@","~=","?","@?","?&","->","->>","#>","#>>","#-","=>",">>=","<<=","~~","~~*","!~~","!~~*","~","~*","!~","!~*","-|-","||","@@@","!!","<%","%>","<<%","%>>","<<->","<->>","<<<->","<->>>","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:eW}},ej=D({aggregate:["ANY_VALUE","APPROXIMATE PERCENTILE_DISC","AVG","COUNT","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP"],array:["array","array_concat","array_flatten","get_array_length","split_to_array","subarray"],bitwise:["BIT_AND","BIT_OR","BOOL_AND","BOOL_OR"],conditional:["COALESCE","DECODE","GREATEST","LEAST","NVL","NVL2","NULLIF"],dateTime:["ADD_MONTHS","AT TIME ZONE","CONVERT_TIMEZONE","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE_CMP","DATE_CMP_TIMESTAMP","DATE_CMP_TIMESTAMPTZ","DATE_PART_YEAR","DATEADD","DATEDIFF","DATE_PART","DATE_TRUNC","EXTRACT","GETDATE","INTERVAL_CMP","LAST_DAY","MONTHS_BETWEEN","NEXT_DAY","SYSDATE","TIMEOFDAY","TIMESTAMP_CMP","TIMESTAMP_CMP_DATE","TIMESTAMP_CMP_TIMESTAMPTZ","TIMESTAMPTZ_CMP","TIMESTAMPTZ_CMP_DATE","TIMESTAMPTZ_CMP_TIMESTAMP","TIMEZONE","TO_TIMESTAMP","TRUNC"],spatial:["AddBBox","DropBBox","GeometryType","ST_AddPoint","ST_Angle","ST_Area","ST_AsBinary","ST_AsEWKB","ST_AsEWKT","ST_AsGeoJSON","ST_AsText","ST_Azimuth","ST_Boundary","ST_Collect","ST_Contains","ST_ContainsProperly","ST_ConvexHull","ST_CoveredBy","ST_Covers","ST_Crosses","ST_Dimension","ST_Disjoint","ST_Distance","ST_DistanceSphere","ST_DWithin","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_Force2D","ST_Force3D","ST_Force3DM","ST_Force3DZ","ST_Force4D","ST_GeometryN","ST_GeometryType","ST_GeomFromEWKB","ST_GeomFromEWKT","ST_GeomFromText","ST_GeomFromWKB","ST_InteriorRingN","ST_Intersects","ST_IsPolygonCCW","ST_IsPolygonCW","ST_IsClosed","ST_IsCollection","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_Length","ST_LengthSphere","ST_Length2D","ST_LineFromMultiPoint","ST_LineInterpolatePoint","ST_M","ST_MakeEnvelope","ST_MakeLine","ST_MakePoint","ST_MakePolygon","ST_MemSize","ST_MMax","ST_MMin","ST_Multi","ST_NDims","ST_NPoints","ST_NRings","ST_NumGeometries","ST_NumInteriorRings","ST_NumPoints","ST_Perimeter","ST_Perimeter2D","ST_Point","ST_PointN","ST_Points","ST_Polygon","ST_RemovePoint","ST_Reverse","ST_SetPoint","ST_SetSRID","ST_Simplify","ST_SRID","ST_StartPoint","ST_Touches","ST_Within","ST_X","ST_XMax","ST_XMin","ST_Y","ST_YMax","ST_YMin","ST_Z","ST_ZMax","ST_ZMin","SupportsBBox"],hash:["CHECKSUM","FUNC_SHA1","FNV_HASH","MD5","SHA","SHA1","SHA2"],hyperLogLog:["HLL","HLL_CREATE_SKETCH","HLL_CARDINALITY","HLL_COMBINE"],json:["IS_VALID_JSON","IS_VALID_JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_EXTRACT_ARRAY_ELEMENT_TEXT","JSON_EXTRACT_PATH_TEXT","JSON_PARSE","JSON_SERIALIZE"],math:["ABS","ACOS","ASIN","ATAN","ATAN2","CBRT","CEILING","CEIL","COS","COT","DEGREES","DEXP","DLOG1","DLOG10","EXP","FLOOR","LN","LOG","MOD","PI","POWER","RADIANS","RANDOM","ROUND","SIN","SIGN","SQRT","TAN","TO_HEX","TRUNC"],machineLearning:["EXPLAIN_MODEL"],string:["ASCII","BPCHARCMP","BTRIM","BTTEXT_PATTERN_CMP","CHAR_LENGTH","CHARACTER_LENGTH","CHARINDEX","CHR","COLLATE","CONCAT","CRC32","DIFFERENCE","INITCAP","LEFT","RIGHT","LEN","LENGTH","LOWER","LPAD","RPAD","LTRIM","OCTETINDEX","OCTET_LENGTH","POSITION","QUOTE_IDENT","QUOTE_LITERAL","REGEXP_COUNT","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","REPLICATE","REVERSE","RTRIM","SOUNDEX","SPLIT_PART","STRPOS","STRTOL","SUBSTRING","TEXTLEN","TRANSLATE","TRIM","UPPER"],superType:["decimal_precision","decimal_scale","is_array","is_bigint","is_boolean","is_char","is_decimal","is_float","is_integer","is_object","is_scalar","is_smallint","is_varchar","json_typeof"],window:["AVG","COUNT","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAST_VALUE","LAG","LEAD","LISTAGG","MAX","MEDIAN","MIN","NTH_VALUE","NTILE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","RATIO_TO_REPORT","ROW_NUMBER","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP"],dataType:["CAST","CONVERT","TO_CHAR","TO_DATE","TO_NUMBER","TEXT_TO_INT_ALT","TEXT_TO_NUMERIC_ALT"],sysAdmin:["CHANGE_QUERY_PRIORITY","CHANGE_SESSION_PRIORITY","CHANGE_USER_PRIORITY","CURRENT_SETTING","PG_CANCEL_BACKEND","PG_TERMINATE_BACKEND","REBOOT_CLUSTER","SET_CONFIG"],sysInfo:["CURRENT_AWS_ACCOUNT","CURRENT_DATABASE","CURRENT_NAMESPACE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_USER","CURRENT_USER_ID","HAS_ASSUMEROLE_PRIVILEGE","HAS_DATABASE_PRIVILEGE","HAS_SCHEMA_PRIVILEGE","HAS_TABLE_PRIVILEGE","PG_BACKEND_PID","PG_GET_COLS","PG_GET_GRANTEE_BY_IAM_ROLE","PG_GET_IAM_ROLE_BY_USER","PG_GET_LATE_BINDING_VIEW_COLS","PG_LAST_COPY_COUNT","PG_LAST_COPY_ID","PG_LAST_UNLOAD_ID","PG_LAST_QUERY_ID","PG_LAST_UNLOAD_COUNT","SESSION_USER","SLICE_NUM","USER","VERSION"],dataTypes:["DECIMAL","NUMERIC","CHAR","CHARACTER","VARCHAR","CHARACTER VARYING","NCHAR","NVARCHAR","VARBYTE"]}),eZ=D({standard:["AES128","AES256","ALL","ALLOWOVERWRITE","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BOTH","CHECK","COLUMN","CONSTRAINT","CREATE","CROSS","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DESC","DISABLE","DISTINCT","DO","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GROUP","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTO","IS","ISNULL","LANGUAGE","LEADING","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","MINUS","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RECOVER","REFERENCES","REJECTLOG","RESORT","RESPECT","RESTORE","SIMILAR","SNAPSHOT","SOME","SYSTEM","TABLE","TAG","TDES","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","UNIQUE","USING","VERBOSE","WALLET","WITHOUT"],dataConversionParams:["ACCEPTANYDATE","ACCEPTINVCHARS","BLANKSASNULL","DATEFORMAT","EMPTYASNULL","ENCODING","ESCAPE","EXPLICIT_IDS","FILLRECORD","IGNOREBLANKLINES","IGNOREHEADER","REMOVEQUOTES","ROUNDEC","TIMEFORMAT","TRIMBLANKS","TRUNCATECOLUMNS"],dataLoadParams:["COMPROWS","COMPUPDATE","MAXERROR","NOLOAD","STATUPDATE"],dataFormatParams:["FORMAT","CSV","DELIMITER","FIXEDWIDTH","SHAPEFILE","AVRO","JSON","PARQUET","ORC"],copyAuthParams:["ACCESS_KEY_ID","CREDENTIALS","ENCRYPTED","IAM_ROLE","MASTER_SYMMETRIC_KEY","SECRET_ACCESS_KEY","SESSION_TOKEN"],copyCompressionParams:["BZIP2","GZIP","LZOP","ZSTD"],copyMiscParams:["MANIFEST","READRATIO","REGION","SSH"],compressionEncodings:["RAW","AZ64","BYTEDICT","DELTA","DELTA32K","LZO","MOSTLY8","MOSTLY16","MOSTLY32","RUNLENGTH","TEXT255","TEXT32K"],misc:["CATALOG_ROLE","SECRET_ARN","EXTERNAL","AUTO","EVEN","KEY","PREDICATE","COMPRESSION"],dataTypes:["BPCHAR","TEXT"]}),eq=S(["SELECT [ALL | DISTINCT]"]),eJ=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET","CREATE [OR REPLACE | MATERIALIZED] VIEW","CREATE [TEMPORARY | TEMP | LOCAL TEMPORARY | LOCAL TEMP] TABLE [IF NOT EXISTS]"]),eQ=S(["UPDATE","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ALTER TABLE APPEND","ADD [COLUMN]","DROP [COLUMN]","RENAME TO","RENAME COLUMN","ALTER COLUMN","TYPE","ENCODE","TRUNCATE [TABLE]","ABORT","ALTER DATABASE","ALTER DATASHARE","ALTER DEFAULT PRIVILEGES","ALTER GROUP","ALTER MATERIALIZED VIEW","ALTER PROCEDURE","ALTER SCHEMA","ALTER USER","ANALYSE","ANALYZE","ANALYSE COMPRESSION","ANALYZE COMPRESSION","BEGIN","CALL","CANCEL","CLOSE","COMMENT","COMMIT","COPY","CREATE DATABASE","CREATE DATASHARE","CREATE EXTERNAL FUNCTION","CREATE EXTERNAL SCHEMA","CREATE EXTERNAL TABLE","CREATE FUNCTION","CREATE GROUP","CREATE LIBRARY","CREATE MODEL","CREATE PROCEDURE","CREATE SCHEMA","CREATE USER","DEALLOCATE","DECLARE","DESC DATASHARE","DROP DATABASE","DROP DATASHARE","DROP FUNCTION","DROP GROUP","DROP LIBRARY","DROP MODEL","DROP MATERIALIZED VIEW","DROP PROCEDURE","DROP SCHEMA","DROP USER","DROP VIEW","DROP","EXECUTE","EXPLAIN","FETCH","GRANT","LOCK","PREPARE","REFRESH MATERIALIZED VIEW","RESET","REVOKE","ROLLBACK","SELECT INTO","SET SESSION AUTHORIZATION","SET SESSION CHARACTERISTICS","SHOW","SHOW EXTERNAL TABLE","SHOW MODEL","SHOW DATASHARES","SHOW PROCEDURE","SHOW TABLE","SHOW VIEW","START TRANSACTION","UNLOAD","VACUUM"]),e0=S(["UNION [ALL]","EXCEPT","INTERSECT","MINUS"]),e1=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),e2=S(["NULL AS","DATA CATALOG","HIVE METASTORE","{ROWS | RANGE} BETWEEN"]),e3={tokenizerOptions:{reservedSelect:eq,reservedClauses:[...eJ,...eQ],reservedSetOperations:e0,reservedJoins:e1,reservedPhrases:e2,reservedKeywords:eZ,reservedFunctionNames:ej,stringTypes:["''-qq"],identTypes:['""-qq'],identChars:{first:"#"},paramTypes:{numbered:["$"]},operators:["^","%","@","|/","||/","&","|","~","<<",">>","||","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:eQ}},e6=D({all:["ADD","AFTER","ALL","ALTER","ANALYZE","AND","ANTI","ANY","ARCHIVE","ARRAY","AS","ASC","AT","AUTHORIZATION","BETWEEN","BOTH","BUCKET","BUCKETS","BY","CACHE","CASCADE","CAST","CHANGE","CHECK","CLEAR","CLUSTER","CLUSTERED","CODEGEN","COLLATE","COLLECTION","COLUMN","COLUMNS","COMMENT","COMMIT","COMPACT","COMPACTIONS","COMPUTE","CONCATENATE","CONSTRAINT","COST","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DATA","DATABASE","DATABASES","DAY","DBPROPERTIES","DEFINED","DELETE","DELIMITED","DESC","DESCRIBE","DFS","DIRECTORIES","DIRECTORY","DISTINCT","DISTRIBUTE","DIV","DROP","ESCAPE","ESCAPED","EXCEPT","EXCHANGE","EXISTS","EXPORT","EXTENDED","EXTERNAL","EXTRACT","FALSE","FETCH","FIELDS","FILTER","FILEFORMAT","FIRST","FIRST_VALUE","FOLLOWING","FOR","FOREIGN","FORMAT","FORMATTED","FULL","FUNCTION","FUNCTIONS","GLOBAL","GRANT","GROUP","GROUPING","HOUR","IF","IGNORE","IMPORT","IN","INDEX","INDEXES","INNER","INPATH","INPUTFORMAT","INTERSECT","INTERVAL","INTO","IS","ITEMS","KEYS","LAST","LAST_VALUE","LATERAL","LAZY","LEADING","LEFT","LIKE","LINES","LIST","LOCAL","LOCATION","LOCK","LOCKS","LOGICAL","MACRO","MAP","MATCHED","MERGE","MINUTE","MONTH","MSCK","NAMESPACE","NAMESPACES","NATURAL","NO","NOT","NULL","NULLS","OF","ONLY","OPTION","OPTIONS","OR","ORDER","OUT","OUTER","OUTPUTFORMAT","OVER","OVERLAPS","OVERLAY","OVERWRITE","OWNER","PARTITION","PARTITIONED","PARTITIONS","PERCENT","PLACING","POSITION","PRECEDING","PRIMARY","PRINCIPALS","PROPERTIES","PURGE","QUERY","RANGE","RECORDREADER","RECORDWRITER","RECOVER","REDUCE","REFERENCES","RENAME","REPAIR","REPLACE","RESPECT","RESTRICT","REVOKE","RIGHT","RLIKE","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","SCHEMA","SECOND","SELECT","SEMI","SEPARATED","SERDE","SERDEPROPERTIES","SESSION_USER","SETS","SHOW","SKEWED","SOME","SORT","SORTED","START","STATISTICS","STORED","STRATIFY","STRUCT","SUBSTR","SUBSTRING","TABLE","TABLES","TBLPROPERTIES","TEMPORARY","TERMINATED","THEN","TO","TOUCH","TRAILING","TRANSACTION","TRANSACTIONS","TRIM","TRUE","TRUNCATE","UNARCHIVE","UNBOUNDED","UNCACHE","UNIQUE","UNKNOWN","UNLOCK","UNSET","USE","USER","USING","VIEW","WINDOW","YEAR","ANALYSE","ARRAY_ZIP","COALESCE","CONTAINS","CONVERT","DAYS","DAY_HOUR","DAY_MINUTE","DAY_SECOND","DECODE","DEFAULT","DISTINCTROW","ENCODE","EXPLODE","EXPLODE_OUTER","FIXED","GREATEST","GROUP_CONCAT","HOURS","HOUR_MINUTE","HOUR_SECOND","IFNULL","LEAST","LEVEL","MINUTE_SECOND","NULLIF","OFFSET","ON","OPTIMIZE","REGEXP","SEPARATOR","SIZE","STRING","TYPE","TYPES","UNSIGNED","VARIABLES","YEAR_MONTH"]}),e4=D({aggregate:["APPROX_COUNT_DISTINCT","APPROX_PERCENTILE","AVG","BIT_AND","BIT_OR","BIT_XOR","BOOL_AND","BOOL_OR","COLLECT_LIST","COLLECT_SET","CORR","COUNT","COUNT","COUNT","COUNT_IF","COUNT_MIN_SKETCH","COVAR_POP","COVAR_SAMP","EVERY","FIRST","FIRST_VALUE","GROUPING","GROUPING_ID","KURTOSIS","LAST","LAST_VALUE","MAX","MAX_BY","MEAN","MIN","MIN_BY","PERCENTILE","PERCENTILE","PERCENTILE_APPROX","SKEWNESS","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],window:["CUME_DIST","DENSE_RANK","LAG","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER"],array:["ARRAY","ARRAY_CONTAINS","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_INTERSECT","ARRAY_JOIN","ARRAY_MAX","ARRAY_MIN","ARRAY_POSITION","ARRAY_REMOVE","ARRAY_REPEAT","ARRAY_UNION","ARRAYS_OVERLAP","ARRAYS_ZIP","FLATTEN","SEQUENCE","SHUFFLE","SLICE","SORT_ARRAY"],map:["ELEMENT_AT","ELEMENT_AT","MAP","MAP_CONCAT","MAP_ENTRIES","MAP_FROM_ARRAYS","MAP_FROM_ENTRIES","MAP_KEYS","MAP_VALUES","STR_TO_MAP"],datetime:["ADD_MONTHS","CURRENT_DATE","CURRENT_DATE","CURRENT_TIMESTAMP","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","DATE_ADD","DATE_FORMAT","DATE_FROM_UNIX_DATE","DATE_PART","DATE_SUB","DATE_TRUNC","DATEDIFF","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","EXTRACT","FROM_UNIXTIME","FROM_UTC_TIMESTAMP","HOUR","LAST_DAY","MAKE_DATE","MAKE_DT_INTERVAL","MAKE_INTERVAL","MAKE_TIMESTAMP","MAKE_YM_INTERVAL","MINUTE","MONTH","MONTHS_BETWEEN","NEXT_DAY","NOW","QUARTER","SECOND","SESSION_WINDOW","TIMESTAMP_MICROS","TIMESTAMP_MILLIS","TIMESTAMP_SECONDS","TO_DATE","TO_TIMESTAMP","TO_UNIX_TIMESTAMP","TO_UTC_TIMESTAMP","TRUNC","UNIX_DATE","UNIX_MICROS","UNIX_MILLIS","UNIX_SECONDS","UNIX_TIMESTAMP","WEEKDAY","WEEKOFYEAR","WINDOW","YEAR"],json:["FROM_JSON","GET_JSON_OBJECT","JSON_ARRAY_LENGTH","JSON_OBJECT_KEYS","JSON_TUPLE","SCHEMA_OF_JSON","TO_JSON"],misc:["ABS","ACOS","ACOSH","AGGREGATE","ARRAY_SORT","ASCII","ASIN","ASINH","ASSERT_TRUE","ATAN","ATAN2","ATANH","BASE64","BIGINT","BIN","BINARY","BIT_COUNT","BIT_GET","BIT_LENGTH","BOOLEAN","BROUND","BTRIM","CARDINALITY","CBRT","CEIL","CEILING","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONV","COS","COSH","COT","CRC32","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_USER","DATE","DECIMAL","DEGREES","DOUBLE","ELT","EXP","EXPM1","FACTORIAL","FIND_IN_SET","FLOAT","FLOOR","FORALL","FORMAT_NUMBER","FORMAT_STRING","FROM_CSV","GETBIT","HASH","HEX","HYPOT","INITCAP","INLINE","INLINE_OUTER","INPUT_FILE_BLOCK_LENGTH","INPUT_FILE_BLOCK_START","INPUT_FILE_NAME","INSTR","INT","ISNAN","ISNOTNULL","ISNULL","JAVA_METHOD","LCASE","LEFT","LENGTH","LEVENSHTEIN","LN","LOCATE","LOG","LOG10","LOG1P","LOG2","LOWER","LPAD","LTRIM","MAP_FILTER","MAP_ZIP_WITH","MD5","MOD","MONOTONICALLY_INCREASING_ID","NAMED_STRUCT","NANVL","NEGATIVE","NVL","NVL2","OCTET_LENGTH","OVERLAY","PARSE_URL","PI","PMOD","POSEXPLODE","POSEXPLODE_OUTER","POSITION","POSITIVE","POW","POWER","PRINTF","RADIANS","RAISE_ERROR","RAND","RANDN","RANDOM","REFLECT","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_LIKE","REGEXP_REPLACE","REPEAT","REPLACE","REVERSE","RIGHT","RINT","ROUND","RPAD","RTRIM","SCHEMA_OF_CSV","SENTENCES","SHA","SHA1","SHA2","SHIFTLEFT","SHIFTRIGHT","SHIFTRIGHTUNSIGNED","SIGN","SIGNUM","SIN","SINH","SMALLINT","SOUNDEX","SPACE","SPARK_PARTITION_ID","SPLIT","SQRT","STACK","SUBSTR","SUBSTRING","SUBSTRING_INDEX","TAN","TANH","TIMESTAMP","TINYINT","TO_CSV","TRANSFORM_KEYS","TRANSFORM_VALUES","TRANSLATE","TRIM","TRY_ADD","TRY_DIVIDE","TYPEOF","UCASE","UNBASE64","UNHEX","UPPER","UUID","VERSION","WIDTH_BUCKET","XPATH","XPATH_BOOLEAN","XPATH_DOUBLE","XPATH_FLOAT","XPATH_INT","XPATH_LONG","XPATH_NUMBER","XPATH_SHORT","XPATH_STRING","XXHASH64","ZIP_WITH"],cast:["CAST"],caseAbbrev:["COALESCE","NULLIF"],dataTypes:["DECIMAL","DEC","NUMERIC","VARCHAR"]}),e9=S(["SELECT [ALL | DISTINCT]"]),e8=S(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","SORT BY","CLUSTER BY","DISTRIBUTE BY","LIMIT","INSERT [INTO | OVERWRITE] [TABLE]","VALUES","INSERT OVERWRITE [LOCAL] DIRECTORY","LOAD DATA [LOCAL] INPATH","[OVERWRITE] INTO TABLE","CREATE [OR REPLACE] [GLOBAL TEMPORARY | TEMPORARY] VIEW [IF NOT EXISTS]","CREATE [EXTERNAL] TABLE [IF NOT EXISTS]"]),e5=S(["DROP TABLE [IF EXISTS]","ALTER TABLE","ADD COLUMNS","DROP {COLUMN | COLUMNS}","RENAME TO","RENAME COLUMN","ALTER COLUMN","TRUNCATE TABLE","LATERAL VIEW","ALTER DATABASE","ALTER VIEW","CREATE DATABASE","CREATE FUNCTION","DROP DATABASE","DROP FUNCTION","DROP VIEW","REPAIR TABLE","USE DATABASE","TABLESAMPLE","PIVOT","TRANSFORM","EXPLAIN","ADD FILE","ADD JAR","ANALYZE TABLE","CACHE TABLE","CLEAR CACHE","DESCRIBE DATABASE","DESCRIBE FUNCTION","DESCRIBE QUERY","DESCRIBE TABLE","LIST FILE","LIST JAR","REFRESH","REFRESH TABLE","REFRESH FUNCTION","RESET","SHOW COLUMNS","SHOW CREATE TABLE","SHOW DATABASES","SHOW FUNCTIONS","SHOW PARTITIONS","SHOW TABLE EXTENDED","SHOW TABLES","SHOW TBLPROPERTIES","SHOW VIEWS","UNCACHE TABLE"]),e7=S(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),te=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","[LEFT] {ANTI | SEMI} JOIN","NATURAL [LEFT] {ANTI | SEMI} JOIN"]),tt=S(["ON DELETE","ON UPDATE","CURRENT ROW","{ROWS | RANGE} BETWEEN"]),tn={tokenizerOptions:{reservedSelect:e9,reservedClauses:[...e8,...e5],reservedSetOperations:e7,reservedJoins:te,reservedPhrases:tt,supportsXor:!0,reservedKeywords:e6,reservedFunctionNames:e4,extraParens:["[]"],stringTypes:["''-bs",'""-bs',{quote:"''-raw",prefixes:["R","X"],requirePrefix:!0},{quote:'""-raw',prefixes:["R","X"],requirePrefix:!0}],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||","->"],postProcess:function(e){return e.map((t,n)=>{let r=e[n-1]||c,i=e[n+1]||c;return d.WINDOW(t)&&i.type===a.OPEN_PAREN?{...t,type:a.RESERVED_FUNCTION_NAME}:"ITEMS"!==t.text||t.type!==a.RESERVED_KEYWORD||"COLLECTION"===r.text&&"TERMINATED"===i.text?t:{...t,type:a.IDENTIFIER,text:t.raw}})}},formatOptions:{onelineClauses:e5}},ta=D({scalar:["ABS","CHANGES","CHAR","COALESCE","FORMAT","GLOB","HEX","IFNULL","IIF","INSTR","LAST_INSERT_ROWID","LENGTH","LIKE","LIKELIHOOD","LIKELY","LOAD_EXTENSION","LOWER","LTRIM","NULLIF","PRINTF","QUOTE","RANDOM","RANDOMBLOB","REPLACE","ROUND","RTRIM","SIGN","SOUNDEX","SQLITE_COMPILEOPTION_GET","SQLITE_COMPILEOPTION_USED","SQLITE_OFFSET","SQLITE_SOURCE_ID","SQLITE_VERSION","SUBSTR","SUBSTRING","TOTAL_CHANGES","TRIM","TYPEOF","UNICODE","UNLIKELY","UPPER","ZEROBLOB"],aggregate:["AVG","COUNT","GROUP_CONCAT","MAX","MIN","SUM","TOTAL"],datetime:["DATE","TIME","DATETIME","JULIANDAY","UNIXEPOCH","STRFTIME"],window:["row_number","rank","dense_rank","percent_rank","cume_dist","ntile","lag","lead","first_value","last_value","nth_value"],math:["ACOS","ACOSH","ASIN","ASINH","ATAN","ATAN2","ATANH","CEIL","CEILING","COS","COSH","DEGREES","EXP","FLOOR","LN","LOG","LOG","LOG10","LOG2","MOD","PI","POW","POWER","RADIANS","SIN","SINH","SQRT","TAN","TANH","TRUNC"],json:["JSON","JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_ARRAY_LENGTH","JSON_EXTRACT","JSON_INSERT","JSON_OBJECT","JSON_PATCH","JSON_REMOVE","JSON_REPLACE","JSON_SET","JSON_TYPE","JSON_TYPE","JSON_VALID","JSON_QUOTE","JSON_GROUP_ARRAY","JSON_GROUP_OBJECT","JSON_EACH","JSON_TREE"],cast:["CAST"],dataTypes:["CHARACTER","VARCHAR","VARYING CHARACTER","NCHAR","NATIVE CHARACTER","NVARCHAR","NUMERIC","DECIMAL"]}),tr=D({all:["ABORT","ACTION","ADD","AFTER","ALL","ALTER","AND","ANY","ARE","ARRAY","ALWAYS","ANALYZE","AS","ASC","ATTACH","AUTOINCREMENT","BEFORE","BEGIN","BETWEEN","BY","CASCADE","CASE","CAST","CHECK","COLLATE","COLUMN","COMMIT","CONFLICT","CONSTRAINT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATABASE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DETACH","DISTINCT","DO","DROP","EACH","ELSE","END","ESCAPE","EXCEPT","EXCLUDE","EXCLUSIVE","EXISTS","EXPLAIN","FAIL","FILTER","FIRST","FOLLOWING","FOR","FOREIGN","FROM","FULL","GENERATED","GLOB","GROUP","GROUPS","HAVING","IF","IGNORE","IMMEDIATE","IN","INDEX","INDEXED","INITIALLY","INNER","INSERT","INSTEAD","INTERSECT","INTO","IS","ISNULL","JOIN","KEY","LAST","LEFT","LIKE","LIMIT","MATCH","MATERIALIZED","NATURAL","NO","NOT","NOTHING","NOTNULL","NULL","NULLS","OF","OFFSET","ON","ONLY","OPEN","OR","ORDER","OTHERS","OUTER","OVER","PARTITION","PLAN","PRAGMA","PRECEDING","PRIMARY","QUERY","RAISE","RANGE","RECURSIVE","REFERENCES","REGEXP","REINDEX","RELEASE","RENAME","REPLACE","RESTRICT","RETURNING","RIGHT","ROLLBACK","ROW","ROWS","SAVEPOINT","SELECT","SET","TABLE","TEMP","TEMPORARY","THEN","TIES","TO","TRANSACTION","TRIGGER","UNBOUNDED","UNION","UNIQUE","UPDATE","USING","VACUUM","VALUES","VIEW","VIRTUAL","WHEN","WHERE","WINDOW","WITH","WITHOUT"]}),ti=S(["SELECT [ALL | DISTINCT]"]),to=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [OR ABORT | OR FAIL | OR IGNORE | OR REPLACE | OR ROLLBACK] INTO","REPLACE INTO","VALUES","SET","CREATE [TEMPORARY | TEMP] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY | TEMP] TABLE [IF NOT EXISTS]"]),ts=S(["UPDATE [OR ABORT | OR FAIL | OR IGNORE | OR REPLACE | OR ROLLBACK]","ON CONFLICT","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME [COLUMN]","RENAME TO","SET SCHEMA"]),tE=S(["UNION [ALL]","EXCEPT","INTERSECT"]),tl=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tT=S(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN"]),tc={tokenizerOptions:{reservedSelect:ti,reservedClauses:[...to,...ts],reservedSetOperations:tE,reservedJoins:tl,reservedPhrases:tT,reservedKeywords:tr,reservedFunctionNames:ta,stringTypes:["''-qq",{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``","[]"],paramTypes:{positional:!0,numbered:["?"],named:[":","@","$"]},operators:["%","~","&","|","<<",">>","==","->","->>","||"]},formatOptions:{onelineClauses:ts}},tu=D({set:["GROUPING"],window:["RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","ROW_NUMBER"],numeric:["POSITION","OCCURRENCES_REGEX","POSITION_REGEX","EXTRACT","CHAR_LENGTH","CHARACTER_LENGTH","OCTET_LENGTH","CARDINALITY","ABS","MOD","LN","EXP","POWER","SQRT","FLOOR","CEIL","CEILING","WIDTH_BUCKET"],string:["SUBSTRING","SUBSTRING_REGEX","UPPER","LOWER","CONVERT","TRANSLATE","TRANSLATE_REGEX","TRIM","OVERLAY","NORMALIZE","SPECIFICTYPE"],datetime:["CURRENT_DATE","CURRENT_TIME","LOCALTIME","CURRENT_TIMESTAMP","LOCALTIMESTAMP"],aggregate:["COUNT","AVG","MAX","MIN","SUM","STDDEV_POP","STDDEV_SAMP","VAR_SAMP","VAR_POP","COLLECT","FUSION","INTERSECTION","COVAR_POP","COVAR_SAMP","CORR","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","PERCENTILE_CONT","PERCENTILE_DISC"],cast:["CAST"],caseAbbrev:["COALESCE","NULLIF"],nonStandard:["ROUND","SIN","COS","TAN","ASIN","ACOS","ATAN"],dataTypes:["CHARACTER","CHAR","CHARACTER VARYING","CHAR VARYING","VARCHAR","CHARACTER LARGE OBJECT","CHAR LARGE OBJECT","CLOB","NATIONAL CHARACTER","NATIONAL CHAR","NCHAR","NATIONAL CHARACTER VARYING","NATIONAL CHAR VARYING","NCHAR VARYING","NATIONAL CHARACTER LARGE OBJECT","NCHAR LARGE OBJECT","NCLOB","BINARY","BINARY VARYING","VARBINARY","BINARY LARGE OBJECT","BLOB","NUMERIC","DECIMAL","DEC","TIME","TIMESTAMP"]}),td=D({all:["ALL","ALLOCATE","ALTER","ANY","ARE","ARRAY","AS","ASENSITIVE","ASYMMETRIC","AT","ATOMIC","AUTHORIZATION","BEGIN","BETWEEN","BIGINT","BINARY","BLOB","BOOLEAN","BOTH","BY","CALL","CALLED","CASCADED","CAST","CHAR","CHARACTER","CHECK","CLOB","CLOSE","COALESCE","COLLATE","COLUMN","COMMIT","CONDITION","CONNECT","CONSTRAINT","CORRESPONDING","CREATE","CROSS","CUBE","CURRENT","CURRENT_CATALOG","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_PATH","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CYCLE","DATE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DELETE","DEREF","DESCRIBE","DETERMINISTIC","DISCONNECT","DISTINCT","DOUBLE","DROP","DYNAMIC","EACH","ELEMENT","END-EXEC","ESCAPE","EVERY","EXCEPT","EXEC","EXECUTE","EXISTS","EXTERNAL","FALSE","FETCH","FILTER","FLOAT","FOR","FOREIGN","FREE","FROM","FULL","FUNCTION","GET","GLOBAL","GRANT","GROUP","HAVING","HOLD","HOUR","IDENTITY","IN","INDICATOR","INNER","INOUT","INSENSITIVE","INSERT","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","LANGUAGE","LARGE","LATERAL","LEADING","LEFT","LIKE","LIKE_REGEX","LOCAL","MATCH","MEMBER","MERGE","METHOD","MINUTE","MODIFIES","MODULE","MONTH","MULTISET","NATIONAL","NATURAL","NCHAR","NCLOB","NEW","NO","NONE","NOT","NULL","NULLIF","NUMERIC","OF","OLD","ON","ONLY","OPEN","ORDER","OUT","OUTER","OVER","OVERLAPS","PARAMETER","PARTITION","PRECISION","PREPARE","PRIMARY","PROCEDURE","RANGE","READS","REAL","RECURSIVE","REF","REFERENCES","REFERENCING","RELEASE","RESULT","RETURN","RETURNS","REVOKE","RIGHT","ROLLBACK","ROLLUP","ROW","ROWS","SAVEPOINT","SCOPE","SCROLL","SEARCH","SECOND","SELECT","SENSITIVE","SESSION_USER","SET","SIMILAR","SMALLINT","SOME","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","START","STATIC","SUBMULTISET","SYMMETRIC","SYSTEM","SYSTEM_USER","TABLE","TABLESAMPLE","THEN","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSLATION","TREAT","TRIGGER","TRUE","UESCAPE","UNION","UNIQUE","UNKNOWN","UNNEST","UPDATE","USER","USING","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","WHENEVER","WINDOW","WITHIN","WITHOUT","YEAR"]}),tR=S(["SELECT [ALL | DISTINCT]"]),tA=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","CREATE [RECURSIVE] VIEW","CREATE [GLOBAL TEMPORARY | LOCAL TEMPORARY] TABLE"]),tS=S(["UPDATE","WHERE CURRENT OF","DELETE FROM","DROP TABLE","ALTER TABLE","ADD COLUMN","DROP [COLUMN]","RENAME COLUMN","RENAME TO","ALTER [COLUMN]","{SET | DROP} DEFAULT","ADD SCOPE","DROP SCOPE {CASCADE | RESTRICT}","RESTART WITH","TRUNCATE TABLE","SET SCHEMA"]),tp=S(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tI=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tN=S(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),tO={tokenizerOptions:{reservedSelect:tR,reservedClauses:[...tA,...tS],reservedSetOperations:tp,reservedJoins:tI,reservedPhrases:tN,reservedKeywords:td,reservedFunctionNames:tu,stringTypes:[{quote:"''-qq-bs",prefixes:["N","U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``"],paramTypes:{positional:!0},operators:["||"]},formatOptions:{onelineClauses:tS}},t_=D({all:["ABS","ACOS","ALL_MATCH","ANY_MATCH","APPROX_DISTINCT","APPROX_MOST_FREQUENT","APPROX_PERCENTILE","APPROX_SET","ARBITRARY","ARRAYS_OVERLAP","ARRAY_AGG","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_INTERSECT","ARRAY_JOIN","ARRAY_MAX","ARRAY_MIN","ARRAY_POSITION","ARRAY_REMOVE","ARRAY_SORT","ARRAY_UNION","ASIN","ATAN","ATAN2","AT_TIMEZONE","AVG","BAR","BETA_CDF","BING_TILE","BING_TILES_AROUND","BING_TILE_AT","BING_TILE_COORDINATES","BING_TILE_POLYGON","BING_TILE_QUADKEY","BING_TILE_ZOOM_LEVEL","BITWISE_AND","BITWISE_AND_AGG","BITWISE_LEFT_SHIFT","BITWISE_NOT","BITWISE_OR","BITWISE_OR_AGG","BITWISE_RIGHT_SHIFT","BITWISE_RIGHT_SHIFT_ARITHMETIC","BITWISE_XOR","BIT_COUNT","BOOL_AND","BOOL_OR","CARDINALITY","CAST","CBRT","CEIL","CEILING","CHAR2HEXINT","CHECKSUM","CHR","CLASSIFY","COALESCE","CODEPOINT","COLOR","COMBINATIONS","CONCAT","CONCAT_WS","CONTAINS","CONTAINS_SEQUENCE","CONVEX_HULL_AGG","CORR","COS","COSH","COSINE_SIMILARITY","COUNT","COUNT_IF","COVAR_POP","COVAR_SAMP","CRC32","CUME_DIST","CURRENT_CATALOG","CURRENT_DATE","CURRENT_GROUPS","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_USER","DATE","DATE_ADD","DATE_DIFF","DATE_FORMAT","DATE_PARSE","DATE_TRUNC","DAY","DAY_OF_MONTH","DAY_OF_WEEK","DAY_OF_YEAR","DEGREES","DENSE_RANK","DOW","DOY","E","ELEMENT_AT","EMPTY_APPROX_SET","EVALUATE_CLASSIFIER_PREDICTIONS","EVERY","EXP","EXTRACT","FEATURES","FILTER","FIRST_VALUE","FLATTEN","FLOOR","FORMAT","FORMAT_DATETIME","FORMAT_NUMBER","FROM_BASE","FROM_BASE32","FROM_BASE64","FROM_BASE64URL","FROM_BIG_ENDIAN_32","FROM_BIG_ENDIAN_64","FROM_ENCODED_POLYLINE","FROM_GEOJSON_GEOMETRY","FROM_HEX","FROM_IEEE754_32","FROM_IEEE754_64","FROM_ISO8601_DATE","FROM_ISO8601_TIMESTAMP","FROM_ISO8601_TIMESTAMP_NANOS","FROM_UNIXTIME","FROM_UNIXTIME_NANOS","FROM_UTF8","GEOMETRIC_MEAN","GEOMETRY_FROM_HADOOP_SHAPE","GEOMETRY_INVALID_REASON","GEOMETRY_NEAREST_POINTS","GEOMETRY_TO_BING_TILES","GEOMETRY_UNION","GEOMETRY_UNION_AGG","GREATEST","GREAT_CIRCLE_DISTANCE","HAMMING_DISTANCE","HASH_COUNTS","HISTOGRAM","HMAC_MD5","HMAC_SHA1","HMAC_SHA256","HMAC_SHA512","HOUR","HUMAN_READABLE_SECONDS","IF","INDEX","INFINITY","INTERSECTION_CARDINALITY","INVERSE_BETA_CDF","INVERSE_NORMAL_CDF","IS_FINITE","IS_INFINITE","IS_JSON_SCALAR","IS_NAN","JACCARD_INDEX","JSON_ARRAY_CONTAINS","JSON_ARRAY_GET","JSON_ARRAY_LENGTH","JSON_EXISTS","JSON_EXTRACT","JSON_EXTRACT_SCALAR","JSON_FORMAT","JSON_PARSE","JSON_QUERY","JSON_SIZE","JSON_VALUE","KURTOSIS","LAG","LAST_DAY_OF_MONTH","LAST_VALUE","LEAD","LEARN_CLASSIFIER","LEARN_LIBSVM_CLASSIFIER","LEARN_LIBSVM_REGRESSOR","LEARN_REGRESSOR","LEAST","LENGTH","LEVENSHTEIN_DISTANCE","LINE_INTERPOLATE_POINT","LINE_INTERPOLATE_POINTS","LINE_LOCATE_POINT","LISTAGG","LN","LOCALTIME","LOCALTIMESTAMP","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","LUHN_CHECK","MAKE_SET_DIGEST","MAP","MAP_AGG","MAP_CONCAT","MAP_ENTRIES","MAP_FILTER","MAP_FROM_ENTRIES","MAP_KEYS","MAP_UNION","MAP_VALUES","MAP_ZIP_WITH","MAX","MAX_BY","MD5","MERGE","MERGE_SET_DIGEST","MILLISECOND","MIN","MINUTE","MIN_BY","MOD","MONTH","MULTIMAP_AGG","MULTIMAP_FROM_ENTRIES","MURMUR3","NAN","NGRAMS","NONE_MATCH","NORMALIZE","NORMAL_CDF","NOW","NTH_VALUE","NTILE","NULLIF","NUMERIC_HISTOGRAM","OBJECTID","OBJECTID_TIMESTAMP","PARSE_DATA_SIZE","PARSE_DATETIME","PARSE_DURATION","PERCENT_RANK","PI","POSITION","POW","POWER","QDIGEST_AGG","QUARTER","RADIANS","RAND","RANDOM","RANK","REDUCE","REDUCE_AGG","REGEXP_COUNT","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_LIKE","REGEXP_POSITION","REGEXP_REPLACE","REGEXP_SPLIT","REGRESS","REGR_INTERCEPT","REGR_SLOPE","RENDER","REPEAT","REPLACE","REVERSE","RGB","ROUND","ROW_NUMBER","RPAD","RTRIM","SECOND","SEQUENCE","SHA1","SHA256","SHA512","SHUFFLE","SIGN","SIMPLIFY_GEOMETRY","SIN","SKEWNESS","SLICE","SOUNDEX","SPATIAL_PARTITIONING","SPATIAL_PARTITIONS","SPLIT","SPLIT_PART","SPLIT_TO_MAP","SPLIT_TO_MULTIMAP","SPOOKY_HASH_V2_32","SPOOKY_HASH_V2_64","SQRT","STARTS_WITH","STDDEV","STDDEV_POP","STDDEV_SAMP","STRPOS","ST_AREA","ST_ASBINARY","ST_ASTEXT","ST_BOUNDARY","ST_BUFFER","ST_CENTROID","ST_CONTAINS","ST_CONVEXHULL","ST_COORDDIM","ST_CROSSES","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_ENDPOINT","ST_ENVELOPE","ST_ENVELOPEASPTS","ST_EQUALS","ST_EXTERIORRING","ST_GEOMETRIES","ST_GEOMETRYFROMTEXT","ST_GEOMETRYN","ST_GEOMETRYTYPE","ST_GEOMFROMBINARY","ST_INTERIORRINGN","ST_INTERIORRINGS","ST_INTERSECTION","ST_INTERSECTS","ST_ISCLOSED","ST_ISEMPTY","ST_ISRING","ST_ISSIMPLE","ST_ISVALID","ST_LENGTH","ST_LINEFROMTEXT","ST_LINESTRING","ST_MULTIPOINT","ST_NUMGEOMETRIES","ST_NUMINTERIORRING","ST_NUMPOINTS","ST_OVERLAPS","ST_POINT","ST_POINTN","ST_POINTS","ST_POLYGON","ST_RELATE","ST_STARTPOINT","ST_SYMDIFFERENCE","ST_TOUCHES","ST_UNION","ST_WITHIN","ST_X","ST_XMAX","ST_XMIN","ST_Y","ST_YMAX","ST_YMIN","SUBSTR","SUBSTRING","SUM","TAN","TANH","TDIGEST_AGG","TIMESTAMP_OBJECTID","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO_BASE","TO_BASE32","TO_BASE64","TO_BASE64URL","TO_BIG_ENDIAN_32","TO_BIG_ENDIAN_64","TO_CHAR","TO_DATE","TO_ENCODED_POLYLINE","TO_GEOJSON_GEOMETRY","TO_GEOMETRY","TO_HEX","TO_IEEE754_32","TO_IEEE754_64","TO_ISO8601","TO_MILLISECONDS","TO_SPHERICAL_GEOGRAPHY","TO_TIMESTAMP","TO_UNIXTIME","TO_UTF8","TRANSFORM","TRANSFORM_KEYS","TRANSFORM_VALUES","TRANSLATE","TRIM","TRIM_ARRAY","TRUNCATE","TRY","TRY_CAST","TYPEOF","UPPER","URL_DECODE","URL_ENCODE","URL_EXTRACT_FRAGMENT","URL_EXTRACT_HOST","URL_EXTRACT_PARAMETER","URL_EXTRACT_PATH","URL_EXTRACT_PORT","URL_EXTRACT_PROTOCOL","URL_EXTRACT_QUERY","UUID","VALUES_AT_QUANTILES","VALUE_AT_QUANTILE","VARIANCE","VAR_POP","VAR_SAMP","VERSION","WEEK","WEEK_OF_YEAR","WIDTH_BUCKET","WILSON_INTERVAL_LOWER","WILSON_INTERVAL_UPPER","WITH_TIMEZONE","WORD_STEM","XXHASH64","YEAR","YEAR_OF_WEEK","YOW","ZIP","ZIP_WITH"],rowPattern:["CLASSIFIER","FIRST","LAST","MATCH_NUMBER","NEXT","PERMUTE","PREV"]}),tg=D({all:["ABSENT","ADD","ADMIN","AFTER","ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","AT","AUTHORIZATION","BERNOULLI","BETWEEN","BOTH","BY","CALL","CASCADE","CASE","CATALOGS","COLUMN","COLUMNS","COMMENT","COMMIT","COMMITTED","CONDITIONAL","CONSTRAINT","COPARTITION","CREATE","CROSS","CUBE","CURRENT","CURRENT_PATH","CURRENT_ROLE","DATA","DEALLOCATE","DEFAULT","DEFINE","DEFINER","DELETE","DENY","DESC","DESCRIBE","DESCRIPTOR","DISTINCT","DISTRIBUTED","DOUBLE","DROP","ELSE","EMPTY","ENCODING","END","ERROR","ESCAPE","EXCEPT","EXCLUDING","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FINAL","FIRST","FOLLOWING","FOR","FROM","FULL","FUNCTIONS","GRANT","GRANTED","GRANTS","GRAPHVIZ","GROUP","GROUPING","GROUPS","HAVING","IGNORE","IN","INCLUDING","INITIAL","INNER","INPUT","INSERT","INTERSECT","INTERVAL","INTO","INVOKER","IO","IS","ISOLATION","JOIN","JSON","JSON_ARRAY","JSON_OBJECT","KEEP","KEY","KEYS","LAST","LATERAL","LEADING","LEFT","LEVEL","LIKE","LIMIT","LOCAL","LOGICAL","MATCH","MATCHED","MATCHES","MATCH_RECOGNIZE","MATERIALIZED","MEASURES","NATURAL","NEXT","NFC","NFD","NFKC","NFKD","NO","NONE","NOT","NULL","NULLS","OBJECT","OF","OFFSET","OMIT","ON","ONE","ONLY","OPTION","OR","ORDER","ORDINALITY","OUTER","OUTPUT","OVER","OVERFLOW","PARTITION","PARTITIONS","PASSING","PAST","PATH","PATTERN","PER","PERMUTE","PRECEDING","PRECISION","PREPARE","PRIVILEGES","PROPERTIES","PRUNE","QUOTES","RANGE","READ","RECURSIVE","REFRESH","RENAME","REPEATABLE","RESET","RESPECT","RESTRICT","RETURNING","REVOKE","RIGHT","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","RUNNING","SCALAR","SCHEMA","SCHEMAS","SECURITY","SEEK","SELECT","SERIALIZABLE","SESSION","SET","SETS","SHOW","SKIP","SOME","START","STATS","STRING","SUBSET","SYSTEM","TABLE","TABLES","TABLESAMPLE","TEXT","THEN","TIES","TIME","TIMESTAMP","TO","TRAILING","TRANSACTION","TRUE","TYPE","UESCAPE","UNBOUNDED","UNCOMMITTED","UNCONDITIONAL","UNION","UNIQUE","UNKNOWN","UNMATCHED","UNNEST","UPDATE","USE","USER","USING","UTF16","UTF32","UTF8","VALIDATE","VALUE","VALUES","VERBOSE","VIEW","WHEN","WHERE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","ZONE"],types:["BIGINT","INT","INTEGER","SMALLINT","TINYINT","BOOLEAN","DATE","DECIMAL","REAL","DOUBLE","HYPERLOGLOG","QDIGEST","TDIGEST","P4HYPERLOGLOG","INTERVAL","TIMESTAMP","TIME","VARBINARY","VARCHAR","CHAR","ROW","ARRAY","MAP","JSON","JSON2016","IPADDRESS","GEOMETRY","UUID","SETDIGEST","JONIREGEXP","RE2JREGEXP","LIKEPATTERN","COLOR","CODEPOINTS","FUNCTION","JSONPATH"]}),tm=S(["SELECT [ALL | DISTINCT]"]),tC=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","CREATE [OR REPLACE] [MATERIALIZED] VIEW","CREATE TABLE [IF NOT EXISTS]","MATCH_RECOGNIZE","MEASURES","ONE ROW PER MATCH","ALL ROWS PER MATCH","AFTER MATCH","PATTERN","SUBSET","DEFINE"]),tL=S(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","ADD COLUMN [IF NOT EXISTS]","DROP COLUMN [IF EXISTS]","RENAME COLUMN [IF EXISTS]","RENAME TO","SET AUTHORIZATION [USER | ROLE]","SET PROPERTIES","EXECUTE","TRUNCATE TABLE","ALTER SCHEMA","ALTER MATERIALIZED VIEW","ALTER VIEW","CREATE SCHEMA","CREATE ROLE","DROP SCHEMA","DROP MATERIALIZED VIEW","DROP VIEW","DROP ROLE","EXPLAIN","ANALYZE","EXPLAIN ANALYZE","EXPLAIN ANALYZE VERBOSE","USE","COMMENT ON TABLE","COMMENT ON COLUMN","DESCRIBE INPUT","DESCRIBE OUTPUT","REFRESH MATERIALIZED VIEW","RESET SESSION","SET SESSION","SET PATH","SET TIME ZONE","SHOW GRANTS","SHOW CREATE TABLE","SHOW CREATE SCHEMA","SHOW CREATE VIEW","SHOW CREATE MATERIALIZED VIEW","SHOW TABLES","SHOW SCHEMAS","SHOW CATALOGS","SHOW COLUMNS","SHOW STATS FOR","SHOW ROLES","SHOW CURRENT ROLES","SHOW ROLE GRANTS","SHOW FUNCTIONS","SHOW SESSION"]),tb=S(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tf=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tD=S(["{ROWS | RANGE | GROUPS} BETWEEN","IS [NOT] DISTINCT FROM"]),th={tokenizerOptions:{reservedSelect:tm,reservedClauses:[...tC,...tL],reservedSetOperations:tb,reservedJoins:tf,reservedPhrases:tD,reservedKeywords:tg,reservedFunctionNames:t_,extraParens:["[]","{}"],stringTypes:[{quote:"''-qq",prefixes:["U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq'],paramTypes:{positional:!0},operators:["%","->","=>",":","||","|","^","$"]},formatOptions:{onelineClauses:tL}},tP=D({aggregate:["APPROX_COUNT_DISTINCT","AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","STDEV","STDEVP","SUM","VAR","VARP"],analytic:["CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","Collation - COLLATIONPROPERTY","Collation - TERTIARY_WEIGHTS"],configuration:["@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION"],conversion:["CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE"],cryptographic:["ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY"],cursor:["@@CURSOR_ROWS","@@FETCH_STATUS","CURSOR_STATUS"],dataType:["DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY"],datetime:["@@DATEFIRST","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_TIMEZONE_ID","DATEADD","DATEDIFF","DATEDIFF_BIG","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","JSON","ISJSON","JSON_VALUE","JSON_QUERY","JSON_MODIFY"],mathematical:["ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","CHOOSE","GREATEST","IIF","LEAST"],metadata:["@@PROCID","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FILEPROPERTYEX","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","NEXT VALUE FOR","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY"],ranking:["DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME"],security:["CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","DATABASE_PRINCIPAL_ID","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME"],string:["ASCII","CHAR","CHARINDEX","CONCAT","CONCAT_WS","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STRING_AGG","STRING_ESCAPE","STUFF","SUBSTRING","TRANSLATE","TRIM","UNICODE","UPPER"],system:["$PARTITION","@@ERROR","@@IDENTITY","@@PACK_RECEIVED","@@ROWCOUNT","@@TRANCOUNT","BINARY_CHECKSUM","CHECKSUM","COMPRESS","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","CURRENT_TRANSACTION_ID","DECOMPRESS","ERROR_LINE","ERROR_MESSAGE","ERROR_NUMBER","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GET_FILESTREAM_TRANSACTION_CONTEXT","GETANSINULL","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","SESSION_CONTEXT","XACT_STATE"],statistical:["@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACK_SENT","@@PACKET_ERRORS","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE","TEXTPTR","TEXTVALID"],trigger:["COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE"],caseAbbrev:["COALESCE","NULLIF"],dataTypes:["DECIMAL","NUMERIC","FLOAT","REAL","DATETIME2","DATETIMEOFFSET","TIME","CHAR","VARCHAR","NCHAR","NVARCHAR","BINARY","VARBINARY"]}),ty=D({standard:["ADD","ALL","ALTER","AND","ANY","AS","ASC","AUTHORIZATION","BACKUP","BEGIN","BETWEEN","BREAK","BROWSE","BULK","BY","CASCADE","CHECK","CHECKPOINT","CLOSE","CLUSTERED","COALESCE","COLLATE","COLUMN","COMMIT","COMPUTE","CONSTRAINT","CONTAINS","CONTAINSTABLE","CONTINUE","CONVERT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DBCC","DEALLOCATE","DECLARE","DEFAULT","DELETE","DENY","DESC","DISK","DISTINCT","DISTRIBUTED","DOUBLE","DROP","DUMP","ERRLVL","ESCAPE","EXEC","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FILE","FILLFACTOR","FOR","FOREIGN","FREETEXT","FREETEXTTABLE","FROM","FULL","FUNCTION","GOTO","GRANT","GROUP","HAVING","HOLDLOCK","IDENTITY","IDENTITYCOL","IDENTITY_INSERT","IF","IN","INDEX","INNER","INSERT","INTERSECT","INTO","IS","JOIN","KEY","KILL","LEFT","LIKE","LINENO","LOAD","MERGE","NATIONAL","NOCHECK","NONCLUSTERED","NOT","NULL","NULLIF","OF","OFF","OFFSETS","ON","OPEN","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","OPTION","OR","ORDER","OUTER","OVER","PERCENT","PIVOT","PLAN","PRECISION","PRIMARY","PRINT","PROC","PROCEDURE","PUBLIC","RAISERROR","READ","READTEXT","RECONFIGURE","REFERENCES","REPLICATION","RESTORE","RESTRICT","RETURN","REVERT","REVOKE","RIGHT","ROLLBACK","ROWCOUNT","ROWGUIDCOL","RULE","SAVE","SCHEMA","SECURITYAUDIT","SELECT","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","SESSION_USER","SET","SETUSER","SHUTDOWN","SOME","STATISTICS","SYSTEM_USER","TABLE","TABLESAMPLE","TEXTSIZE","THEN","TO","TOP","TRAN","TRANSACTION","TRIGGER","TRUNCATE","TRY_CONVERT","TSEQUAL","UNION","UNIQUE","UNPIVOT","UPDATE","UPDATETEXT","USE","USER","VALUES","VARYING","VIEW","WAITFOR","WHERE","WHILE","WITH","WITHIN GROUP","WRITETEXT"],odbc:["ABSOLUTE","ACTION","ADA","ADD","ALL","ALLOCATE","ALTER","AND","ANY","ARE","AS","ASC","ASSERTION","AT","AUTHORIZATION","AVG","BEGIN","BETWEEN","BIT","BIT_LENGTH","BOTH","BY","CASCADE","CASCADED","CAST","CATALOG","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CLOSE","COALESCE","COLLATE","COLLATION","COLUMN","COMMIT","CONNECT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTINUE","CONVERT","CORRESPONDING","COUNT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DESCRIBE","DESCRIPTOR","DIAGNOSTICS","DISCONNECT","DISTINCT","DOMAIN","DOUBLE","DROP","END-EXEC","ESCAPE","EXCEPTION","EXEC","EXECUTE","EXISTS","EXTERNAL","EXTRACT","FALSE","FETCH","FIRST","FLOAT","FOR","FOREIGN","FORTRAN","FOUND","FROM","FULL","GET","GLOBAL","GO","GOTO","GRANT","GROUP","HAVING","HOUR","IDENTITY","IMMEDIATE","IN","INCLUDE","INDEX","INDICATOR","INITIALLY","INNER","INPUT","INSENSITIVE","INSERT","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","ISOLATION","JOIN","KEY","LANGUAGE","LAST","LEADING","LEFT","LEVEL","LIKE","LOCAL","LOWER","MATCH","MAX","MIN","MINUTE","MODULE","MONTH","NAMES","NATIONAL","NATURAL","NCHAR","NEXT","NO","NONE","NOT","NULL","NULLIF","NUMERIC","OCTET_LENGTH","OF","ONLY","OPEN","OPTION","OR","ORDER","OUTER","OUTPUT","OVERLAPS","PAD","PARTIAL","PASCAL","POSITION","PRECISION","PREPARE","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURE","PUBLIC","READ","REAL","REFERENCES","RELATIVE","RESTRICT","REVOKE","RIGHT","ROLLBACK","ROWS","SCHEMA","SCROLL","SECOND","SECTION","SELECT","SESSION","SESSION_USER","SET","SIZE","SMALLINT","SOME","SPACE","SQL","SQLCA","SQLCODE","SQLERROR","SQLSTATE","SQLWARNING","SUBSTRING","SUM","SYSTEM_USER","TABLE","TEMPORARY","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSACTION","TRANSLATE","TRANSLATION","TRIM","TRUE","UNION","UNIQUE","UNKNOWN","UPDATE","UPPER","USAGE","USER","VALUE","VALUES","VARCHAR","VARYING","VIEW","WHENEVER","WHERE","WITH","WORK","WRITE","YEAR","ZONE"]}),tM=S(["SELECT [ALL | DISTINCT]"]),tU=S(["WITH","INTO","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","OFFSET","FETCH {FIRST | NEXT}","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY TARGET | BY SOURCE] [THEN]","UPDATE SET","CREATE [OR ALTER] [MATERIALIZED] VIEW","CREATE TABLE","CREATE [OR ALTER] {PROC | PROCEDURE}"]),tv=S(["UPDATE","WHERE CURRENT OF","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD","DROP COLUMN [IF EXISTS]","ALTER COLUMN","TRUNCATE TABLE","ADD SENSITIVITY CLASSIFICATION","ADD SIGNATURE","AGGREGATE","ANSI_DEFAULTS","ANSI_NULLS","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_PADDING","ANSI_WARNINGS","APPLICATION ROLE","ARITHABORT","ARITHIGNORE","ASSEMBLY","ASYMMETRIC KEY","AUTHORIZATION","AVAILABILITY GROUP","BACKUP","BACKUP CERTIFICATE","BACKUP MASTER KEY","BACKUP SERVICE MASTER KEY","BEGIN CONVERSATION TIMER","BEGIN DIALOG CONVERSATION","BROKER PRIORITY","BULK INSERT","CERTIFICATE","CLOSE MASTER KEY","CLOSE SYMMETRIC KEY","COLLATE","COLUMN ENCRYPTION KEY","COLUMN MASTER KEY","COLUMNSTORE INDEX","CONCAT_NULL_YIELDS_NULL","CONTEXT_INFO","CONTRACT","CREDENTIAL","CRYPTOGRAPHIC PROVIDER","CURSOR_CLOSE_ON_COMMIT","DATABASE","DATABASE AUDIT SPECIFICATION","DATABASE ENCRYPTION KEY","DATABASE HADR","DATABASE SCOPED CONFIGURATION","DATABASE SCOPED CREDENTIAL","DATABASE SET","DATEFIRST","DATEFORMAT","DEADLOCK_PRIORITY","DENY","DENY XML","DISABLE TRIGGER","ENABLE TRIGGER","END CONVERSATION","ENDPOINT","EVENT NOTIFICATION","EVENT SESSION","EXECUTE AS","EXTERNAL DATA SOURCE","EXTERNAL FILE FORMAT","EXTERNAL LANGUAGE","EXTERNAL LIBRARY","EXTERNAL RESOURCE POOL","EXTERNAL TABLE","FIPS_FLAGGER","FMTONLY","FORCEPLAN","FULLTEXT CATALOG","FULLTEXT INDEX","FULLTEXT STOPLIST","FUNCTION","GET CONVERSATION GROUP","GET_TRANSMISSION_STATUS","GRANT","GRANT XML","IDENTITY_INSERT","IMPLICIT_TRANSACTIONS","INDEX","LANGUAGE","LOCK_TIMEOUT","LOGIN","MASTER KEY","MESSAGE TYPE","MOVE CONVERSATION","NOCOUNT","NOEXEC","NUMERIC_ROUNDABORT","OFFSETS","OPEN MASTER KEY","OPEN SYMMETRIC KEY","PARSEONLY","PARTITION FUNCTION","PARTITION SCHEME","PROCEDURE","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUOTED_IDENTIFIER","RECEIVE","REMOTE SERVICE BINDING","REMOTE_PROC_TRANSACTIONS","RESOURCE GOVERNOR","RESOURCE POOL","RESTORE","RESTORE FILELISTONLY","RESTORE HEADERONLY","RESTORE LABELONLY","RESTORE MASTER KEY","RESTORE REWINDONLY","RESTORE SERVICE MASTER KEY","RESTORE VERIFYONLY","REVERT","REVOKE","REVOKE XML","ROLE","ROUTE","ROWCOUNT","RULE","SCHEMA","SEARCH PROPERTY LIST","SECURITY POLICY","SELECTIVE XML INDEX","SEND","SENSITIVITY CLASSIFICATION","SEQUENCE","SERVER AUDIT","SERVER AUDIT SPECIFICATION","SERVER CONFIGURATION","SERVER ROLE","SERVICE","SERVICE MASTER KEY","SETUSER","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SIGNATURE","SPATIAL INDEX","STATISTICS","STATISTICS IO","STATISTICS PROFILE","STATISTICS TIME","STATISTICS XML","SYMMETRIC KEY","SYNONYM","TABLE","TABLE IDENTITY","TEXTSIZE","TRANSACTION ISOLATION LEVEL","TRIGGER","TYPE","UPDATE STATISTICS","USER","WORKLOAD GROUP","XACT_ABORT","XML INDEX","XML SCHEMA COLLECTION"]),tw=S(["UNION [ALL]","EXCEPT","INTERSECT"]),tG=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","{CROSS | OUTER} APPLY"]),tk=S(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),tF={tokenizerOptions:{reservedSelect:tM,reservedClauses:[...tU,...tv],reservedSetOperations:tw,reservedJoins:tG,reservedPhrases:tk,reservedKeywords:ty,reservedFunctionNames:tP,nestedBlockComments:!0,stringTypes:[{quote:"''-qq",prefixes:["N"]}],identTypes:['""-qq',"[]"],identChars:{first:"#@",rest:"#@$"},paramTypes:{named:["@"],quoted:["@"]},operators:["%","&","|","^","~","!<","!>","+=","-=","*=","/=","%=","|=","&=","^=","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:tv}},tx=D({all:["ABORT","ABSOLUTE","ACCESS","ACCESSIBLE","ACCOUNT","ACTION","ACTIVE","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","AGGREGATES","AGGREGATOR","AGGREGATOR_ID","AGGREGATOR_PLAN_HASH","AGGREGATORS","ALGORITHM","ALL","ALSO","ALTER","ALWAYS","ANALYZE","AND","ANY","ARGHISTORY","ARRANGE","ARRANGEMENT","ARRAY","AS","ASC","ASCII","ASENSITIVE","ASM","ASSERTION","ASSIGNMENT","AST","ASYMMETRIC","ASYNC","AT","ATTACH","ATTRIBUTE","AUTHORIZATION","AUTO","AUTO_INCREMENT","AUTO_REPROVISION","AUTOSTATS","AUTOSTATS_CARDINALITY_MODE","AUTOSTATS_ENABLED","AUTOSTATS_HISTOGRAM_MODE","AUTOSTATS_SAMPLING","AVAILABILITY","AVG","AVG_ROW_LENGTH","AVRO","AZURE","BACKGROUND","_BACKGROUND_THREADS_FOR_CLEANUP","BACKUP","BACKUP_HISTORY","BACKUP_ID","BACKWARD","BATCH","BATCHES","BATCH_INTERVAL","_BATCH_SIZE_LIMIT","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","_BINARY","BIT","BLOB","BOOL","BOOLEAN","BOOTSTRAP","BOTH","_BT","BTREE","BUCKET_COUNT","BUCKETS","BY","BYTE","BYTE_LENGTH","CACHE","CALL","CALL_FOR_PIPELINE","CALLED","CAPTURE","CASCADE","CASCADED","CASE","CATALOG","CHAIN","CHANGE","CHAR","CHARACTER","CHARACTERISTICS","CHARSET","CHECK","CHECKPOINT","_CHECK_CAN_CONNECT","_CHECK_CONSISTENCY","CHECKSUM","_CHECKSUM","CLASS","CLEAR","CLIENT","CLIENT_FOUND_ROWS","CLOSE","CLUSTER","CLUSTERED","CNF","COALESCE","COLLATE","COLLATION","COLUMN","COLUMNAR","COLUMNS","COLUMNSTORE","COLUMNSTORE_SEGMENT_ROWS","COMMENT","COMMENTS","COMMIT","COMMITTED","_COMMIT_LOG_TAIL","COMPACT","COMPILE","COMPRESSED","COMPRESSION","CONCURRENT","CONCURRENTLY","CONDITION","CONFIGURATION","CONNECTION","CONNECTIONS","CONFIG","CONSTRAINT","CONTAINS","CONTENT","CONTINUE","_CONTINUE_REPLAY","CONVERSION","CONVERT","COPY","_CORE","COST","CREATE","CREDENTIALS","CROSS","CUBE","CSV","CUME_DIST","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_SCHEMA","CURRENT_SECURITY_GROUPS","CURRENT_SECURITY_ROLES","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DATABASES","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINED","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DELIMITER","DELIMITERS","DENSE_RANK","DESC","DESCRIBE","DETACH","DETERMINISTIC","DICTIONARY","DIFFERENTIAL","DIRECTORY","DISABLE","DISCARD","_DISCONNECT","DISK","DISTINCT","DISTINCTROW","DISTRIBUTED_JOINS","DIV","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","_DROP_PROFILE","DUAL","DUMP","DUPLICATE","DURABILITY","DYNAMIC","EARLIEST","EACH","ECHO","ELECTION","ELSE","ELSEIF","ENABLE","ENCLOSED","ENCODING","ENCRYPTED","END","ENGINE","ENGINES","ENUM","ERRORS","ESCAPE","ESCAPED","ESTIMATE","EVENT","EVENTS","EXCEPT","EXCLUDE","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXPLAIN","EXTENDED","EXTENSION","EXTERNAL","EXTERNAL_HOST","EXTERNAL_PORT","EXTRACTOR","EXTRACTORS","EXTRA_JOIN","_FAILOVER","FAILED_LOGIN_ATTEMPTS","FAILURE","FALSE","FAMILY","FAULT","FETCH","FIELDS","FILE","FILES","FILL","FIX_ALTER","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOR","FORCE","FORCE_COMPILED_MODE","FORCE_INTERPRETER_MODE","FOREGROUND","FOREIGN","FORMAT","FORWARD","FREEZE","FROM","FS","_FSYNC","FULL","FULLTEXT","FUNCTION","FUNCTIONS","GC","GCS","GET_FORMAT","_GC","_GCX","GENERATE","GEOGRAPHY","GEOGRAPHYPOINT","GEOMETRY","GEOMETRYPOINT","GLOBAL","_GLOBAL_VERSION_TIMESTAMP","GRANT","GRANTED","GRANTS","GROUP","GROUPING","GROUPS","GZIP","HANDLE","HANDLER","HARD_CPU_LIMIT_PERCENTAGE","HASH","HAS_TEMP_TABLES","HAVING","HDFS","HEADER","HEARTBEAT_NO_LOGGING","HIGH_PRIORITY","HISTOGRAM","HOLD","HOLDING","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IDENTITY","IF","IGNORE","ILIKE","IMMEDIATE","IMMUTABLE","IMPLICIT","IMPORT","IN","INCLUDING","INCREMENT","INCREMENTAL","INDEX","INDEXES","INFILE","INHERIT","INHERITS","_INIT_PROFILE","INIT","INITIALIZE","INITIALLY","INJECT","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTANCE","INSTEAD","IN","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","_INTERNAL_DYNAMIC_TYPECAST","INTERPRETER_MODE","INTERSECT","INTERVAL","INTO","INVOKER","ISOLATION","ITERATE","JOIN","JSON","KAFKA","KEY","KEY_BLOCK_SIZE","KEYS","KILL","KILLALL","LABEL","LAG","LANGUAGE","LARGE","LAST","LAST_VALUE","LATERAL","LATEST","LC_COLLATE","LC_CTYPE","LEAD","LEADING","LEAF","LEAKPROOF","LEAVE","LEAVES","LEFT","LEVEL","LICENSE","LIKE","LIMIT","LINES","LISTEN","LLVM","LOADDATA_WHERE","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCK","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","_LS","LZ4","MANAGEMENT","_MANAGEMENT_THREAD","MAPPING","MASTER","MATCH","MATERIALIZED","MAXVALUE","MAX_CONCURRENCY","MAX_ERRORS","MAX_PARTITIONS_PER_BATCH","MAX_QUEUE_DEPTH","MAX_RETRIES_PER_BATCH_PARTITION","MAX_ROWS","MBC","MPL","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMBER","MEMORY","MEMORY_PERCENTAGE","_MEMSQL_TABLE_ID_LOOKUP","MEMSQL","MEMSQL_DESERIALIZE","MEMSQL_IMITATING_KAFKA","MEMSQL_SERIALIZE","MERGE","METADATA","MICROSECOND","MIDDLEINT","MIN_ROWS","MINUS","MINUTE_MICROSECOND","MINUTE_SECOND","MINVALUE","MOD","MODE","MODEL","MODIFIES","MODIFY","MONTH","MOVE","MPL","NAMES","NAMED","NAMESPACE","NATIONAL","NATURAL","NCHAR","NEXT","NO","NODE","NONE","NO_QUERY_REWRITE","NOPARAM","NOT","NOTHING","NOTIFY","NOWAIT","NO_WRITE_TO_BINLOG","NO_QUERY_REWRITE","NORELY","NTH_VALUE","NTILE","NULL","NULLCOLS","NULLS","NUMERIC","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OIDS","ON","ONLINE","ONLY","OPEN","OPERATOR","OPTIMIZATION","OPTIMIZE","OPTIMIZER","OPTIMIZER_STATE","OPTION","OPTIONS","OPTIONALLY","OR","ORDER","ORDERED_SERIALIZE","ORPHAN","OUT","OUT_OF_ORDER","OUTER","OUTFILE","OVER","OVERLAPS","OVERLAY","OWNED","OWNER","PACK_KEYS","PAIRED","PARSER","PARQUET","PARTIAL","PARTITION","PARTITION_ID","PARTITIONING","PARTITIONS","PASSING","PASSWORD","PASSWORD_LOCK_TIME","PAUSE","_PAUSE_REPLAY","PERIODIC","PERSISTED","PIPELINE","PIPELINES","PLACING","PLAN","PLANS","PLANCACHE","PLUGINS","POOL","POOLS","PORT","PRECEDING","PRECISION","PREPARE","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROCEDURES","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROGRAM","PROMOTE","PROXY","PURGE","QUARTER","QUERIES","QUERY","QUERY_TIMEOUT","QUEUE","RANGE","RANK","READ","_READ","READS","REAL","REASSIGN","REBALANCE","RECHECK","RECORD","RECURSIVE","REDUNDANCY","REDUNDANT","REF","REFERENCE","REFERENCES","REFRESH","REGEXP","REINDEX","RELATIVE","RELEASE","RELOAD","RELY","REMOTE","REMOVE","RENAME","REPAIR","_REPAIR_TABLE","REPEAT","REPEATABLE","_REPL","_REPROVISIONING","REPLACE","REPLICA","REPLICATE","REPLICATING","REPLICATION","REQUIRE","RESOURCE","RESOURCE_POOL","RESET","RESTART","RESTORE","RESTRICT","RESULT","_RESURRECT","RETRY","RETURN","RETURNING","RETURNS","REVERSE","RG_POOL","REVOKE","RIGHT","RIGHT_ANTI_JOIN","RIGHT_SEMI_JOIN","RIGHT_STRAIGHT_JOIN","RLIKE","ROLES","ROLLBACK","ROLLUP","ROUTINE","ROW","ROW_COUNT","ROW_FORMAT","ROW_NUMBER","ROWS","ROWSTORE","RULE","_RPC","RUNNING","S3","SAFE","SAVE","SAVEPOINT","SCALAR","SCHEMA","SCHEMAS","SCHEMA_BINDING","SCROLL","SEARCH","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SEMI_JOIN","_SEND_THREADS","SENSITIVE","SEPARATOR","SEQUENCE","SEQUENCES","SERIAL","SERIALIZABLE","SERIES","SERVICE_USER","SERVER","SESSION","SESSION_USER","SET","SETOF","SECURITY_LISTS_INTERSECT","SHA","SHARD","SHARDED","SHARDED_ID","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMILAR","SIMPLE","SITE","SKIP","SKIPPED_BATCHES","__SLEEP","SMALLINT","SNAPSHOT","_SNAPSHOT","_SNAPSHOTS","SOFT_CPU_LIMIT_PERCENTAGE","SOME","SONAME","SPARSE","SPATIAL","SPATIAL_CHECK_INDEX","SPECIFIC","SQL","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQLEXCEPTION","SQL_MODE","SQL_NO_CACHE","SQL_NO_LOGGING","SQL_SMALL_RESULT","SQLSTATE","SQLWARNING","STDIN","STDOUT","STOP","STORAGE","STRAIGHT_JOIN","STRICT","STRING","STRIP","SUCCESS","SUPER","SYMMETRIC","SYNC_SNAPSHOT","SYNC","_SYNC","_SYNC2","_SYNC_PARTITIONS","_SYNC_SNAPSHOT","SYNCHRONIZE","SYSID","SYSTEM","TABLE","TABLE_CHECKSUM","TABLES","TABLESPACE","TAGS","TARGET_SIZE","TASK","TEMP","TEMPLATE","TEMPORARY","TEMPTABLE","_TERM_BUMP","TERMINATE","TERMINATED","TEXT","THEN","TIME","TIMEOUT","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMEZONE","TINYBLOB","TINYINT","TINYTEXT","TO","TRACELOGS","TRADITIONAL","TRAILING","TRANSFORM","TRANSACTION","_TRANSACTIONS_EXPERIMENTAL","TREAT","TRIGGER","TRIGGERS","TRUE","TRUNC","TRUNCATE","TRUSTED","TWO_PHASE","_TWOPCID","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO","UNENCRYPTED","UNENFORCED","UNHOLD","UNICODE","UNION","UNIQUE","_UNITTEST","UNKNOWN","UNLISTEN","_UNLOAD","UNLOCK","UNLOGGED","UNPIVOT","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USERS","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","_UTF8","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARIADIC","VARYING","VERBOSE","VIEW","VOID","VOLATILE","VOTING","WAIT","_WAKE","WARNINGS","WEEK","WHEN","WHERE","WHILE","WHITESPACE","WINDOW","WITH","WITHOUT","WITHIN","_WM_HEARTBEAT","WORK","WORKLOAD","WRAPPER","WRITE","XACT_ID","XOR","YEAR","YEAR_MONTH","YES","ZEROFILL","ZONE"]}),tB=D({all:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","APPROX_COUNT_DISTINCT","APPROX_COUNT_DISTINCT_ACCUMULATE","APPROX_COUNT_DISTINCT_COMBINE","APPROX_COUNT_DISTINCT_ESTIMATE","APPROX_GEOGRAPHY_INTERSECTS","APPROX_PERCENTILE","ASCII","ASIN","ATAN","ATAN2","AVG","BIN","BINARY","BIT_AND","BIT_COUNT","BIT_OR","BIT_XOR","CAST","CEIL","CEILING","CHAR","CHARACTER_LENGTH","CHAR_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COLLECT","CONCAT","CONCAT_WS","CONNECTION_ID","CONV","CONVERT","CONVERT_TZ","COS","COT","COUNT","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATEDIFF","DATE_FORMAT","DATE_SUB","DATE_TRUNC","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DENSE_RANK","DIV","DOT_PRODUCT","ELT","EUCLIDEAN_DISTANCE","EXP","EXTRACT","FIELD","FIRST","FIRST_VALUE","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEOGRAPHY_AREA","GEOGRAPHY_CONTAINS","GEOGRAPHY_DISTANCE","GEOGRAPHY_INTERSECTS","GEOGRAPHY_LATITUDE","GEOGRAPHY_LENGTH","GEOGRAPHY_LONGITUDE","GEOGRAPHY_POINT","GEOGRAPHY_WITHIN_DISTANCE","GEOMETRY_AREA","GEOMETRY_CONTAINS","GEOMETRY_DISTANCE","GEOMETRY_FILTER","GEOMETRY_INTERSECTS","GEOMETRY_LENGTH","GEOMETRY_POINT","GEOMETRY_WITHIN_DISTANCE","GEOMETRY_X","GEOMETRY_Y","GREATEST","GROUPING","GROUP_CONCAT","HEX","HIGHLIGHT","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INITCAP","INSERT","INSTR","INTERVAL","IS","IS NULL","JSON_AGG","JSON_ARRAY_CONTAINS_DOUBLE","JSON_ARRAY_CONTAINS_JSON","JSON_ARRAY_CONTAINS_STRING","JSON_ARRAY_PUSH_DOUBLE","JSON_ARRAY_PUSH_JSON","JSON_ARRAY_PUSH_STRING","JSON_DELETE_KEY","JSON_EXTRACT_DOUBLE","JSON_EXTRACT_JSON","JSON_EXTRACT_STRING","JSON_EXTRACT_BIGINT","JSON_GET_TYPE","JSON_LENGTH","JSON_SET_DOUBLE","JSON_SET_JSON","JSON_SET_STRING","JSON_SPLICE_DOUBLE","JSON_SPLICE_JSON","JSON_SPLICE_STRING","LAG","LAST_DAY","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LIKE","LN","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LPAD","LTRIM","MATCH","MAX","MD5","MEDIAN","MICROSECOND","MIN","MINUTE","MOD","MONTH","MONTHNAME","MONTHS_BETWEEN","NOT","NOW","NTH_VALUE","NTILE","NULLIF","OCTET_LENGTH","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PI","PIVOT","POSITION","POW","POWER","QUARTER","QUOTE","RADIANS","RAND","RANK","REGEXP","REPEAT","REPLACE","REVERSE","RIGHT","RLIKE","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCALAR","SCHEMA","SEC_TO_TIME","SHA1","SHA2","SIGMOID","SIGN","SIN","SLEEP","SPLIT","SOUNDEX","SOUNDS LIKE","SOURCE_POS_WAIT","SPACE","SQRT","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUM","SYS_GUID","TAN","TIME","TIMEDIFF","TIME_BUCKET","TIME_FORMAT","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIME_TO_SEC","TO_BASE64","TO_CHAR","TO_DAYS","TO_JSON","TO_NUMBER","TO_SECONDS","TO_TIMESTAMP","TRIM","TRUNC","TRUNCATE","UCASE","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","VALUES","VARIANCE","VAR_POP","VAR_SAMP","VECTOR_SUB","VERSION","WEEK","WEEKDAY","WEEKOFYEAR","YEAR","BIT","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DATETIME","TIMESTAMP","TIME","YEAR","CHAR","NATIONAL CHAR","VARCHAR","NATIONAL VARCHAR","BINARY","VARBINARY","BLOB","TEXT","ENUM"]}),tH=S(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),tY=S(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [IGNORE] [INTO]","VALUES","REPLACE [INTO]","SET","CREATE VIEW","CREATE [ROWSTORE] [REFERENCE | TEMPORARY | GLOBAL TEMPORARY] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMPORARY] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] [EXTERNAL] FUNCTION"]),tV=S(["UPDATE","DELETE [FROM]","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER [ONLINE] TABLE","ADD [COLUMN]","ADD [UNIQUE] {INDEX | KEY}","DROP [COLUMN]","MODIFY [COLUMN]","CHANGE","RENAME [TO | AS]","TRUNCATE [TABLE]","ADD AGGREGATOR","ADD LEAF","AGGREGATOR SET AS MASTER","ALTER DATABASE","ALTER PIPELINE","ALTER RESOURCE POOL","ALTER USER","ALTER VIEW","ANALYZE TABLE","ATTACH DATABASE","ATTACH LEAF","ATTACH LEAF ALL","BACKUP DATABASE","BINLOG","BOOTSTRAP AGGREGATOR","CACHE INDEX","CALL","CHANGE","CHANGE MASTER TO","CHANGE REPLICATION FILTER","CHANGE REPLICATION SOURCE TO","CHECK BLOB CHECKSUM","CHECK TABLE","CHECKSUM TABLE","CLEAR ORPHAN DATABASES","CLONE","COMMIT","CREATE DATABASE","CREATE GROUP","CREATE INDEX","CREATE LINK","CREATE MILESTONE","CREATE PIPELINE","CREATE RESOURCE POOL","CREATE ROLE","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DETACH DATABASE","DETACH PIPELINE","DROP DATABASE","DROP FUNCTION","DROP INDEX","DROP LINK","DROP PIPELINE","DROP PROCEDURE","DROP RESOURCE POOL","DROP ROLE","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","FORCE","GRANT","HANDLER","HELP","KILL CONNECTION","KILLALL QUERIES","LOAD DATA","LOAD INDEX INTO CACHE","LOAD XML","LOCK INSTANCE FOR BACKUP","LOCK TABLES","MASTER_POS_WAIT","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","REBALANCE PARTITIONS","RELEASE SAVEPOINT","REMOVE AGGREGATOR","REMOVE LEAF","REPAIR TABLE","REPLACE","REPLICATE DATABASE","RESET","RESET MASTER","RESET PERSIST","RESET REPLICA","RESET SLAVE","RESTART","RESTORE DATABASE","RESTORE REDUNDANCY","REVOKE","ROLLBACK","ROLLBACK TO SAVEPOINT","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET NAMES","SET PASSWORD","SET RESOURCE GROUP","SET ROLE","SET TRANSACTION","SHOW","SHOW CHARACTER SET","SHOW COLLATION","SHOW COLUMNS","SHOW CREATE DATABASE","SHOW CREATE FUNCTION","SHOW CREATE PIPELINE","SHOW CREATE PROCEDURE","SHOW CREATE TABLE","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW RELAYLOG EVENTS","SHOW REPLICA STATUS","SHOW REPLICAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW VARIABLES","SHOW WARNINGS","SHUTDOWN","SNAPSHOT DATABASE","SOURCE_POS_WAIT","START GROUP_REPLICATION","START PIPELINE","START REPLICA","START SLAVE","START TRANSACTION","STOP GROUP_REPLICATION","STOP PIPELINE","STOP REPLICA","STOP REPLICATING","STOP SLAVE","TEST PIPELINE","UNLOCK INSTANCE","UNLOCK TABLES","USE","XA","ITERATE","LEAVE","LOOP","REPEAT","RETURN","WHILE"]),tW=S(["UNION [ALL | DISTINCT]","EXCEPT","INTERSECT","MINUS"]),t$=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),tX=S(["ON DELETE","ON UPDATE","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),tK={tokenizerOptions:{reservedSelect:tH,reservedClauses:[...tY,...tV],reservedSetOperations:tW,reservedJoins:t$,reservedPhrases:tX,reservedKeywords:tx,reservedFunctionNames:tB,stringTypes:['""-qq-bs',"''-qq-bs",{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_$]+"},{quote:"``",prefixes:["@"],requirePrefix:!0}],lineCommentTypes:["--","#"],operators:[":=","&","|","^","~","<<",">>","<=>","&&","||","::","::$","::%",":>","!:>"],postProcess:function(e){return e.map((t,n)=>{let r=e[n+1]||c;return d.SET(t)&&"("===r.text?{...t,type:a.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{alwaysDenseOperators:["::","::$","::%"],onelineClauses:tV}},tz=D({all:["ABS","ACOS","ACOSH","ADD_MONTHS","ALL_USER_NAMES","ANY_VALUE","APPROX_COUNT_DISTINCT","APPROX_PERCENTILE","APPROX_PERCENTILE_ACCUMULATE","APPROX_PERCENTILE_COMBINE","APPROX_PERCENTILE_ESTIMATE","APPROX_TOP_K","APPROX_TOP_K_ACCUMULATE","APPROX_TOP_K_COMBINE","APPROX_TOP_K_ESTIMATE","APPROXIMATE_JACCARD_INDEX","APPROXIMATE_SIMILARITY","ARRAY_AGG","ARRAY_APPEND","ARRAY_CAT","ARRAY_COMPACT","ARRAY_CONSTRUCT","ARRAY_CONSTRUCT_COMPACT","ARRAY_CONTAINS","ARRAY_INSERT","ARRAY_INTERSECTION","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_SIZE","ARRAY_SLICE","ARRAY_TO_STRING","ARRAY_UNION_AGG","ARRAY_UNIQUE_AGG","ARRAYS_OVERLAP","AS_ARRAY","AS_BINARY","AS_BOOLEAN","AS_CHAR","AS_VARCHAR","AS_DATE","AS_DECIMAL","AS_NUMBER","AS_DOUBLE","AS_REAL","AS_INTEGER","AS_OBJECT","AS_TIME","AS_TIMESTAMP_LTZ","AS_TIMESTAMP_NTZ","AS_TIMESTAMP_TZ","ASCII","ASIN","ASINH","ATAN","ATAN2","ATANH","AUTO_REFRESH_REGISTRATION_HISTORY","AUTOMATIC_CLUSTERING_HISTORY","AVG","BASE64_DECODE_BINARY","BASE64_DECODE_STRING","BASE64_ENCODE","BIT_LENGTH","BITAND","BITAND_AGG","BITMAP_BIT_POSITION","BITMAP_BUCKET_NUMBER","BITMAP_CONSTRUCT_AGG","BITMAP_COUNT","BITMAP_OR_AGG","BITNOT","BITOR","BITOR_AGG","BITSHIFTLEFT","BITSHIFTRIGHT","BITXOR","BITXOR_AGG","BOOLAND","BOOLAND_AGG","BOOLNOT","BOOLOR","BOOLOR_AGG","BOOLXOR","BOOLXOR_AGG","BUILD_SCOPED_FILE_URL","BUILD_STAGE_FILE_URL","CASE","CAST","CBRT","CEIL","CHARINDEX","CHECK_JSON","CHECK_XML","CHR","CHAR","COALESCE","COLLATE","COLLATION","COMPLETE_TASK_GRAPHS","COMPRESS","CONCAT","CONCAT_WS","CONDITIONAL_CHANGE_EVENT","CONDITIONAL_TRUE_EVENT","CONTAINS","CONVERT_TIMEZONE","COPY_HISTORY","CORR","COS","COSH","COT","COUNT","COUNT_IF","COVAR_POP","COVAR_SAMP","CUME_DIST","CURRENT_ACCOUNT","CURRENT_AVAILABLE_ROLES","CURRENT_CLIENT","CURRENT_DATABASE","CURRENT_DATE","CURRENT_IP_ADDRESS","CURRENT_REGION","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_SECONDARY_ROLES","CURRENT_SESSION","CURRENT_STATEMENT","CURRENT_TASK_GRAPHS","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TRANSACTION","CURRENT_USER","CURRENT_VERSION","CURRENT_WAREHOUSE","DATA_TRANSFER_HISTORY","DATABASE_REFRESH_HISTORY","DATABASE_REFRESH_PROGRESS","DATABASE_REFRESH_PROGRESS_BY_JOB","DATABASE_STORAGE_USAGE_HISTORY","DATE_FROM_PARTS","DATE_PART","DATE_TRUNC","DATEADD","DATEDIFF","DAYNAME","DECODE","DECOMPRESS_BINARY","DECOMPRESS_STRING","DECRYPT","DECRYPT_RAW","DEGREES","DENSE_RANK","DIV0","EDITDISTANCE","ENCRYPT","ENCRYPT_RAW","ENDSWITH","EQUAL_NULL","EXP","EXPLAIN_JSON","EXTERNAL_FUNCTIONS_HISTORY","EXTERNAL_TABLE_FILES","EXTERNAL_TABLE_FILE_REGISTRATION_HISTORY","EXTRACT","EXTRACT_SEMANTIC_CATEGORIES","FACTORIAL","FIRST_VALUE","FLATTEN","FLOOR","GENERATE_COLUMN_DESCRIPTION","GENERATOR","GET","GET_ABSOLUTE_PATH","GET_DDL","GET_IGNORE_CASE","GET_OBJECT_REFERENCES","GET_PATH","GET_PRESIGNED_URL","GET_RELATIVE_PATH","GET_STAGE_LOCATION","GETBIT","GREATEST","GROUPING","GROUPING_ID","HASH","HASH_AGG","HAVERSINE","HEX_DECODE_BINARY","HEX_DECODE_STRING","HEX_ENCODE","HLL","HLL_ACCUMULATE","HLL_COMBINE","HLL_ESTIMATE","HLL_EXPORT","HLL_IMPORT","HOUR","MINUTE","SECOND","IFF","IFNULL","ILIKE","ILIKE ANY","INFER_SCHEMA","INITCAP","INSERT","INVOKER_ROLE","INVOKER_SHARE","IS_ARRAY","IS_BINARY","IS_BOOLEAN","IS_CHAR","IS_VARCHAR","IS_DATE","IS_DATE_VALUE","IS_DECIMAL","IS_DOUBLE","IS_REAL","IS_GRANTED_TO_INVOKER_ROLE","IS_INTEGER","IS_NULL_VALUE","IS_OBJECT","IS_ROLE_IN_SESSION","IS_TIME","IS_TIMESTAMP_LTZ","IS_TIMESTAMP_NTZ","IS_TIMESTAMP_TZ","JAROWINKLER_SIMILARITY","JSON_EXTRACT_PATH_TEXT","KURTOSIS","LAG","LAST_DAY","LAST_QUERY_ID","LAST_TRANSACTION","LAST_VALUE","LEAD","LEAST","LEFT","LENGTH","LEN","LIKE","LIKE ALL","LIKE ANY","LISTAGG","LN","LOCALTIME","LOCALTIMESTAMP","LOG","LOGIN_HISTORY","LOGIN_HISTORY_BY_USER","LOWER","LPAD","LTRIM","MATERIALIZED_VIEW_REFRESH_HISTORY","MD5","MD5_HEX","MD5_BINARY","MD5_NUMBER — Obsoleted","MD5_NUMBER_LOWER64","MD5_NUMBER_UPPER64","MEDIAN","MIN","MAX","MINHASH","MINHASH_COMBINE","MOD","MODE","MONTHNAME","MONTHS_BETWEEN","NEXT_DAY","NORMAL","NTH_VALUE","NTILE","NULLIF","NULLIFZERO","NVL","NVL2","OBJECT_AGG","OBJECT_CONSTRUCT","OBJECT_CONSTRUCT_KEEP_NULL","OBJECT_DELETE","OBJECT_INSERT","OBJECT_KEYS","OBJECT_PICK","OCTET_LENGTH","PARSE_IP","PARSE_JSON","PARSE_URL","PARSE_XML","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PI","PIPE_USAGE_HISTORY","POLICY_CONTEXT","POLICY_REFERENCES","POSITION","POW","POWER","PREVIOUS_DAY","QUERY_ACCELERATION_HISTORY","QUERY_HISTORY","QUERY_HISTORY_BY_SESSION","QUERY_HISTORY_BY_USER","QUERY_HISTORY_BY_WAREHOUSE","RADIANS","RANDOM","RANDSTR","RANK","RATIO_TO_REPORT","REGEXP","REGEXP_COUNT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","REGEXP_SUBSTR_ALL","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REGR_VALX","REGR_VALY","REPEAT","REPLACE","REPLICATION_GROUP_REFRESH_HISTORY","REPLICATION_GROUP_REFRESH_PROGRESS","REPLICATION_GROUP_REFRESH_PROGRESS_BY_JOB","REPLICATION_GROUP_USAGE_HISTORY","REPLICATION_USAGE_HISTORY","REST_EVENT_HISTORY","RESULT_SCAN","REVERSE","RIGHT","RLIKE","ROUND","ROW_NUMBER","RPAD","RTRIM","RTRIMMED_LENGTH","SEARCH_OPTIMIZATION_HISTORY","SEQ1","SEQ2","SEQ4","SEQ8","SERVERLESS_TASK_HISTORY","SHA1","SHA1_HEX","SHA1_BINARY","SHA2","SHA2_HEX","SHA2_BINARY","SIGN","SIN","SINH","SKEW","SOUNDEX","SPACE","SPLIT","SPLIT_PART","SPLIT_TO_TABLE","SQRT","SQUARE","ST_AREA","ST_ASEWKB","ST_ASEWKT","ST_ASGEOJSON","ST_ASWKB","ST_ASBINARY","ST_ASWKT","ST_ASTEXT","ST_AZIMUTH","ST_CENTROID","ST_COLLECT","ST_CONTAINS","ST_COVEREDBY","ST_COVERS","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DWITHIN","ST_ENDPOINT","ST_ENVELOPE","ST_GEOGFROMGEOHASH","ST_GEOGPOINTFROMGEOHASH","ST_GEOGRAPHYFROMWKB","ST_GEOGRAPHYFROMWKT","ST_GEOHASH","ST_GEOMETRYFROMWKB","ST_GEOMETRYFROMWKT","ST_HAUSDORFFDISTANCE","ST_INTERSECTION","ST_INTERSECTS","ST_LENGTH","ST_MAKEGEOMPOINT","ST_GEOM_POINT","ST_MAKELINE","ST_MAKEPOINT","ST_POINT","ST_MAKEPOLYGON","ST_POLYGON","ST_NPOINTS","ST_NUMPOINTS","ST_PERIMETER","ST_POINTN","ST_SETSRID","ST_SIMPLIFY","ST_SRID","ST_STARTPOINT","ST_SYMDIFFERENCE","ST_UNION","ST_WITHIN","ST_X","ST_XMAX","ST_XMIN","ST_Y","ST_YMAX","ST_YMIN","STAGE_DIRECTORY_FILE_REGISTRATION_HISTORY","STAGE_STORAGE_USAGE_HISTORY","STARTSWITH","STDDEV","STDDEV_POP","STDDEV_SAMP","STRIP_NULL_VALUE","STRTOK","STRTOK_SPLIT_TO_TABLE","STRTOK_TO_ARRAY","SUBSTR","SUBSTRING","SUM","SYSDATE","SYSTEM$ABORT_SESSION","SYSTEM$ABORT_TRANSACTION","SYSTEM$AUTHORIZE_PRIVATELINK","SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS","SYSTEM$BEHAVIOR_CHANGE_BUNDLE_STATUS","SYSTEM$CANCEL_ALL_QUERIES","SYSTEM$CANCEL_QUERY","SYSTEM$CLUSTERING_DEPTH","SYSTEM$CLUSTERING_INFORMATION","SYSTEM$CLUSTERING_RATIO ","SYSTEM$CURRENT_USER_TASK_NAME","SYSTEM$DATABASE_REFRESH_HISTORY ","SYSTEM$DATABASE_REFRESH_PROGRESS","SYSTEM$DATABASE_REFRESH_PROGRESS_BY_JOB ","SYSTEM$DISABLE_BEHAVIOR_CHANGE_BUNDLE","SYSTEM$DISABLE_DATABASE_REPLICATION","SYSTEM$ENABLE_BEHAVIOR_CHANGE_BUNDLE","SYSTEM$ESTIMATE_QUERY_ACCELERATION","SYSTEM$ESTIMATE_SEARCH_OPTIMIZATION_COSTS","SYSTEM$EXPLAIN_JSON_TO_TEXT","SYSTEM$EXPLAIN_PLAN_JSON","SYSTEM$EXTERNAL_TABLE_PIPE_STATUS","SYSTEM$GENERATE_SAML_CSR","SYSTEM$GENERATE_SCIM_ACCESS_TOKEN","SYSTEM$GET_AWS_SNS_IAM_POLICY","SYSTEM$GET_PREDECESSOR_RETURN_VALUE","SYSTEM$GET_PRIVATELINK","SYSTEM$GET_PRIVATELINK_AUTHORIZED_ENDPOINTS","SYSTEM$GET_PRIVATELINK_CONFIG","SYSTEM$GET_SNOWFLAKE_PLATFORM_INFO","SYSTEM$GET_TAG","SYSTEM$GET_TAG_ALLOWED_VALUES","SYSTEM$GET_TAG_ON_CURRENT_COLUMN","SYSTEM$GET_TAG_ON_CURRENT_TABLE","SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER","SYSTEM$LAST_CHANGE_COMMIT_TIME","SYSTEM$LINK_ACCOUNT_OBJECTS_BY_NAME","SYSTEM$MIGRATE_SAML_IDP_REGISTRATION","SYSTEM$PIPE_FORCE_RESUME","SYSTEM$PIPE_STATUS","SYSTEM$REVOKE_PRIVATELINK","SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESS","SYSTEM$SET_RETURN_VALUE","SYSTEM$SHOW_OAUTH_CLIENT_SECRETS","SYSTEM$STREAM_GET_TABLE_TIMESTAMP","SYSTEM$STREAM_HAS_DATA","SYSTEM$TASK_DEPENDENTS_ENABLE","SYSTEM$TYPEOF","SYSTEM$USER_TASK_CANCEL_ONGOING_EXECUTIONS","SYSTEM$VERIFY_EXTERNAL_OAUTH_TOKEN","SYSTEM$WAIT","SYSTEM$WHITELIST","SYSTEM$WHITELIST_PRIVATELINK","TAG_REFERENCES","TAG_REFERENCES_ALL_COLUMNS","TAG_REFERENCES_WITH_LINEAGE","TAN","TANH","TASK_DEPENDENTS","TASK_HISTORY","TIME_FROM_PARTS","TIME_SLICE","TIMEADD","TIMEDIFF","TIMESTAMP_FROM_PARTS","TIMESTAMPADD","TIMESTAMPDIFF","TO_ARRAY","TO_BINARY","TO_BOOLEAN","TO_CHAR","TO_VARCHAR","TO_DATE","DATE","TO_DECIMAL","TO_NUMBER","TO_NUMERIC","TO_DOUBLE","TO_GEOGRAPHY","TO_GEOMETRY","TO_JSON","TO_OBJECT","TO_TIME","TIME","TO_TIMESTAMP","TO_TIMESTAMP_LTZ","TO_TIMESTAMP_NTZ","TO_TIMESTAMP_TZ","TO_VARIANT","TO_XML","TRANSLATE","TRIM","TRUNCATE","TRUNC","TRUNC","TRY_BASE64_DECODE_BINARY","TRY_BASE64_DECODE_STRING","TRY_CAST","TRY_HEX_DECODE_BINARY","TRY_HEX_DECODE_STRING","TRY_PARSE_JSON","TRY_TO_BINARY","TRY_TO_BOOLEAN","TRY_TO_DATE","TRY_TO_DECIMAL","TRY_TO_NUMBER","TRY_TO_NUMERIC","TRY_TO_DOUBLE","TRY_TO_GEOGRAPHY","TRY_TO_GEOMETRY","TRY_TO_TIME","TRY_TO_TIMESTAMP","TRY_TO_TIMESTAMP_LTZ","TRY_TO_TIMESTAMP_NTZ","TRY_TO_TIMESTAMP_TZ","TYPEOF","UNICODE","UNIFORM","UPPER","UUID_STRING","VALIDATE","VALIDATE_PIPE_LOAD","VAR_POP","VAR_SAMP","VARIANCE","VARIANCE_SAMP","VARIANCE_POP","WAREHOUSE_LOAD_HISTORY","WAREHOUSE_METERING_HISTORY","WIDTH_BUCKET","XMLGET","YEAR","YEAROFWEEK","YEAROFWEEKISO","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFWEEKISO","DAYOFYEAR","WEEK","WEEK","WEEKOFYEAR","WEEKISO","MONTH","QUARTER","ZEROIFNULL","ZIPF"]}),tj=D({all:["ACCOUNT","ALL","ALTER","AND","ANY","AS","BETWEEN","BY","CASE","CAST","CHECK","COLUMN","CONNECT","CONNECTION","CONSTRAINT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DATABASE","DELETE","DISTINCT","DROP","ELSE","EXISTS","FALSE","FOLLOWING","FOR","FROM","FULL","GRANT","GROUP","GSCLUSTER","HAVING","ILIKE","IN","INCREMENT","INNER","INSERT","INTERSECT","INTO","IS","ISSUE","JOIN","LATERAL","LEFT","LIKE","LOCALTIME","LOCALTIMESTAMP","MINUS","NATURAL","NOT","NULL","OF","ON","OR","ORDER","ORGANIZATION","QUALIFY","REGEXP","REVOKE","RIGHT","RLIKE","ROW","ROWS","SAMPLE","SCHEMA","SELECT","SET","SOME","START","TABLE","TABLESAMPLE","THEN","TO","TRIGGER","TRUE","TRY_CAST","UNION","UNIQUE","UPDATE","USING","VALUES","VIEW","WHEN","WHENEVER","WHERE","WITH"]}),tZ=S(["SELECT [ALL | DISTINCT]"]),tq=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","QUALIFY","LIMIT","OFFSET","FETCH [FIRST | NEXT]","INSERT [OVERWRITE] [ALL INTO | INTO | ALL | FIRST]","{THEN | ELSE} INTO","VALUES","SET","CREATE [OR REPLACE] [SECURE] [RECURSIVE] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [VOLATILE] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [LOCAL | GLOBAL] {TEMP|TEMPORARY} TABLE [IF NOT EXISTS]","CLUSTER BY","[WITH] {MASKING POLICY | TAG | ROW ACCESS POLICY}","COPY GRANTS","USING TEMPLATE","MERGE INTO","WHEN MATCHED [AND]","THEN {UPDATE SET | DELETE}","WHEN NOT MATCHED THEN INSERT"]),tJ=S(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","RENAME TO","SWAP WITH","[SUSPEND | RESUME] RECLUSTER","DROP CLUSTERING KEY","ADD [COLUMN]","RENAME COLUMN","{ALTER | MODIFY} [COLUMN]","DROP [COLUMN]","{ADD | ALTER | MODIFY | DROP} [CONSTRAINT]","RENAME CONSTRAINT","{ADD | DROP} SEARCH OPTIMIZATION","{SET | UNSET} TAG","{ADD | DROP} ROW ACCESS POLICY","DROP ALL ROW ACCESS POLICIES","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","[SET DATA] TYPE","[UNSET] COMMENT","{SET | UNSET} MASKING POLICY","TRUNCATE [TABLE] [IF EXISTS]","ALTER ACCOUNT","ALTER API INTEGRATION","ALTER CONNECTION","ALTER DATABASE","ALTER EXTERNAL TABLE","ALTER FAILOVER GROUP","ALTER FILE FORMAT","ALTER FUNCTION","ALTER INTEGRATION","ALTER MASKING POLICY","ALTER MATERIALIZED VIEW","ALTER NETWORK POLICY","ALTER NOTIFICATION INTEGRATION","ALTER PIPE","ALTER PROCEDURE","ALTER REPLICATION GROUP","ALTER RESOURCE MONITOR","ALTER ROLE","ALTER ROW ACCESS POLICY","ALTER SCHEMA","ALTER SECURITY INTEGRATION","ALTER SEQUENCE","ALTER SESSION","ALTER SESSION POLICY","ALTER SHARE","ALTER STAGE","ALTER STORAGE INTEGRATION","ALTER STREAM","ALTER TAG","ALTER TASK","ALTER USER","ALTER VIEW","ALTER WAREHOUSE","BEGIN","CALL","COMMIT","COPY INTO","CREATE ACCOUNT","CREATE API INTEGRATION","CREATE CONNECTION","CREATE DATABASE","CREATE EXTERNAL FUNCTION","CREATE EXTERNAL TABLE","CREATE FAILOVER GROUP","CREATE FILE FORMAT","CREATE FUNCTION","CREATE INTEGRATION","CREATE MANAGED ACCOUNT","CREATE MASKING POLICY","CREATE MATERIALIZED VIEW","CREATE NETWORK POLICY","CREATE NOTIFICATION INTEGRATION","CREATE PIPE","CREATE PROCEDURE","CREATE REPLICATION GROUP","CREATE RESOURCE MONITOR","CREATE ROLE","CREATE ROW ACCESS POLICY","CREATE SCHEMA","CREATE SECURITY INTEGRATION","CREATE SEQUENCE","CREATE SESSION POLICY","CREATE SHARE","CREATE STAGE","CREATE STORAGE INTEGRATION","CREATE STREAM","CREATE TAG","CREATE TASK","CREATE USER","CREATE WAREHOUSE","DELETE","DESCRIBE DATABASE","DESCRIBE EXTERNAL TABLE","DESCRIBE FILE FORMAT","DESCRIBE FUNCTION","DESCRIBE INTEGRATION","DESCRIBE MASKING POLICY","DESCRIBE MATERIALIZED VIEW","DESCRIBE NETWORK POLICY","DESCRIBE PIPE","DESCRIBE PROCEDURE","DESCRIBE RESULT","DESCRIBE ROW ACCESS POLICY","DESCRIBE SCHEMA","DESCRIBE SEQUENCE","DESCRIBE SESSION POLICY","DESCRIBE SHARE","DESCRIBE STAGE","DESCRIBE STREAM","DESCRIBE TABLE","DESCRIBE TASK","DESCRIBE TRANSACTION","DESCRIBE USER","DESCRIBE VIEW","DESCRIBE WAREHOUSE","DROP CONNECTION","DROP DATABASE","DROP EXTERNAL TABLE","DROP FAILOVER GROUP","DROP FILE FORMAT","DROP FUNCTION","DROP INTEGRATION","DROP MANAGED ACCOUNT","DROP MASKING POLICY","DROP MATERIALIZED VIEW","DROP NETWORK POLICY","DROP PIPE","DROP PROCEDURE","DROP REPLICATION GROUP","DROP RESOURCE MONITOR","DROP ROLE","DROP ROW ACCESS POLICY","DROP SCHEMA","DROP SEQUENCE","DROP SESSION POLICY","DROP SHARE","DROP STAGE","DROP STREAM","DROP TAG","DROP TASK","DROP USER","DROP VIEW","DROP WAREHOUSE","EXECUTE IMMEDIATE","EXECUTE TASK","EXPLAIN","GET","GRANT OWNERSHIP","GRANT ROLE","INSERT","LIST","MERGE","PUT","REMOVE","REVOKE ROLE","ROLLBACK","SHOW COLUMNS","SHOW CONNECTIONS","SHOW DATABASES","SHOW DATABASES IN FAILOVER GROUP","SHOW DATABASES IN REPLICATION GROUP","SHOW DELEGATED AUTHORIZATIONS","SHOW EXTERNAL FUNCTIONS","SHOW EXTERNAL TABLES","SHOW FAILOVER GROUPS","SHOW FILE FORMATS","SHOW FUNCTIONS","SHOW GLOBAL ACCOUNTS","SHOW GRANTS","SHOW INTEGRATIONS","SHOW LOCKS","SHOW MANAGED ACCOUNTS","SHOW MASKING POLICIES","SHOW MATERIALIZED VIEWS","SHOW NETWORK POLICIES","SHOW OBJECTS","SHOW ORGANIZATION ACCOUNTS","SHOW PARAMETERS","SHOW PIPES","SHOW PRIMARY KEYS","SHOW PROCEDURES","SHOW REGIONS","SHOW REPLICATION ACCOUNTS","SHOW REPLICATION DATABASES","SHOW REPLICATION GROUPS","SHOW RESOURCE MONITORS","SHOW ROLES","SHOW ROW ACCESS POLICIES","SHOW SCHEMAS","SHOW SEQUENCES","SHOW SESSION POLICIES","SHOW SHARES","SHOW SHARES IN FAILOVER GROUP","SHOW SHARES IN REPLICATION GROUP","SHOW STAGES","SHOW STREAMS","SHOW TABLES","SHOW TAGS","SHOW TASKS","SHOW TRANSACTIONS","SHOW USER FUNCTIONS","SHOW USERS","SHOW VARIABLES","SHOW VIEWS","SHOW WAREHOUSES","TRUNCATE MATERIALIZED VIEW","UNDROP DATABASE","UNDROP SCHEMA","UNDROP TABLE","UNDROP TAG","UNSET","USE DATABASE","USE ROLE","USE SCHEMA","USE SECONDARY ROLES","USE WAREHOUSE"]),tQ=S(["UNION [ALL]","MINUS","EXCEPT","INTERSECT"]),t0=S(["[INNER] JOIN","[NATURAL] {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | NATURAL} JOIN"]),t1=S(["{ROWS | RANGE} BETWEEN","ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]"]),t2={tokenizerOptions:{reservedSelect:tZ,reservedClauses:[...tq,...tJ],reservedSetOperations:tQ,reservedJoins:t0,reservedPhrases:t1,reservedKeywords:tj,reservedFunctionNames:tz,stringTypes:["$$","''-qq-bs"],identTypes:['""-qq'],variableTypes:[{regex:"[$][1-9]\\d*"},{regex:"[$][_a-zA-Z][_a-zA-Z0-9$]*"}],extraParens:["[]"],identChars:{rest:"$"},lineCommentTypes:["--","//"],operators:["%","::","||",":","=>"]},formatOptions:{alwaysDenseOperators:[":","::"],onelineClauses:tJ}},t3=e=>e.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&"),t6=/\s+/uy,t4=e=>RegExp(`(?:${e})`,"uy"),t9=e=>e.split("").map(e=>/ /gu.test(e)?"\\s+":`[${e.toUpperCase()}${e.toLowerCase()}]`).join(""),t8=e=>e+"(?:-"+e+")*",t5=({prefixes:e,requirePrefix:t})=>`(?:${e.map(t9).join("|")}${t?"":"|"})`,t7=e=>RegExp(`(?:${e.map(t3).join("|")}).*?(?=\r -|\r| -|$)`,"uy"),ne=(e,t=[])=>{let n="open"===e?0:1,a=["()",...t].map(e=>e[n]);return t4(a.map(t3).join("|"))},nt=e=>t4(`${L(e).map(t3).join("|")}`),nn=({rest:e,dashes:t})=>e||t?`(?![${e||""}${t?"-":""}])`:"",na=(e,t={})=>{if(0===e.length)return/^\b$/u;let n=nn(t),a=L(e).map(t3).join("|").replace(/ /gu,"\\s+");return RegExp(`(?:${a})${n}\\b`,"iuy")},nr=(e,t)=>{if(!e.length)return;let n=e.map(t3).join("|");return t4(`(?:${n})(?:${t})`)},ni={"``":"(?:`[^`]*`)+","[]":String.raw`(?:\[[^\]]*\])(?:\][^\]]*\])*`,'""-qq':String.raw`(?:"[^"]*")+`,'""-bs':String.raw`(?:"[^"\\]*(?:\\.[^"\\]*)*")`,'""-qq-bs':String.raw`(?:"[^"\\]*(?:\\.[^"\\]*)*")+`,'""-raw':String.raw`(?:"[^"]*")`,"''-qq":String.raw`(?:'[^']*')+`,"''-bs":String.raw`(?:'[^'\\]*(?:\\.[^'\\]*)*')`,"''-qq-bs":String.raw`(?:'[^'\\]*(?:\\.[^'\\]*)*')+`,"''-raw":String.raw`(?:'[^']*')`,$$:String.raw`(?\$\w*\$)[\s\S]*?\k`,"'''..'''":String.raw`'''[^\\]*?(?:\\.[^\\]*?)*?'''`,'""".."""':String.raw`"""[^\\]*?(?:\\.[^\\]*?)*?"""`,"{}":String.raw`(?:\{[^\}]*\})`,"q''":(()=>{let e={"<":">","[":"]","(":")","{":"}"},t=Object.entries(e).map(([e,t])=>"{left}(?:(?!{right}').)*?{right}".replace(/{left}/g,t3(e)).replace(/{right}/g,t3(t))),n=t3(Object.keys(e).join("")),a=String.raw`(?[^\s${n}])(?:(?!\k').)*?\k`,r=`[Qq]'(?:${a}|${t.join("|")})'`;return r})()},no=e=>"string"==typeof e?ni[e]:"regex"in e?e.regex:t5(e)+ni[e.quote],ns=e=>t4(e.map(e=>"regex"in e?e.regex:no(e)).join("|")),nE=e=>e.map(no).join("|"),nl=e=>t4(nE(e)),nT=(e={})=>t4(nc(e)),nc=({first:e,rest:t,dashes:n,allowFirstCharNumber:a}={})=>{let r="\\p{Alphabetic}\\p{Mark}_",i="\\p{Decimal_Number}",o=t3(e??""),s=t3(t??""),E=a?`[${r}${i}${o}][${r}${i}${s}]*`:`[${r}${o}][${r}${i}${s}]*`;return n?t8(E):E};function nu(e,t){let n=e.slice(0,t).split(/\n/);return{line:n.length,col:n[n.length-1].length+1}}class nd{input="";index=0;constructor(e){this.rules=e}tokenize(e){let t;this.input=e,this.index=0;let n=[];for(;this.index0;)if(t=this.matchSection(nR,e))n+=t,a++;else if(t=this.matchSection(nS,e))n+=t,a--;else{if(!(t=this.matchSection(nA,e)))return null;n+=t}return[n]}matchSection(e,t){e.lastIndex=this.lastIndex;let n=e.exec(t);return n&&(this.lastIndex+=n[0].length),n?n[0]:null}}class nI{constructor(e){this.cfg=e,this.rulesBeforeParams=this.buildRulesBeforeParams(e),this.rulesAfterParams=this.buildRulesAfterParams(e)}tokenize(e,t){let n=[...this.rulesBeforeParams,...this.buildParamRules(this.cfg,t),...this.rulesAfterParams],a=new nd(n).tokenize(e);return this.cfg.postProcess?this.cfg.postProcess(a):a}buildRulesBeforeParams(e){return this.validRules([{type:a.BLOCK_COMMENT,regex:e.nestedBlockComments?new np:/(\/\*[^]*?\*\/)/uy},{type:a.LINE_COMMENT,regex:t7(e.lineCommentTypes??["--"])},{type:a.QUOTED_IDENTIFIER,regex:nl(e.identTypes)},{type:a.NUMBER,regex:/(?:0x[0-9a-fA-F]+|0b[01]+|(?:-\s*)?[0-9]+(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+(?:\.[0-9]+)?)?)(?!\w)/uy},{type:a.RESERVED_PHRASE,regex:na(e.reservedPhrases??[],e.identChars),text:nN},{type:a.CASE,regex:/CASE\b/iuy,text:nN},{type:a.END,regex:/END\b/iuy,text:nN},{type:a.BETWEEN,regex:/BETWEEN\b/iuy,text:nN},{type:a.LIMIT,regex:e.reservedClauses.includes("LIMIT")?/LIMIT\b/iuy:void 0,text:nN},{type:a.RESERVED_CLAUSE,regex:na(e.reservedClauses,e.identChars),text:nN},{type:a.RESERVED_SELECT,regex:na(e.reservedSelect,e.identChars),text:nN},{type:a.RESERVED_SET_OPERATION,regex:na(e.reservedSetOperations,e.identChars),text:nN},{type:a.WHEN,regex:/WHEN\b/iuy,text:nN},{type:a.ELSE,regex:/ELSE\b/iuy,text:nN},{type:a.THEN,regex:/THEN\b/iuy,text:nN},{type:a.RESERVED_JOIN,regex:na(e.reservedJoins,e.identChars),text:nN},{type:a.AND,regex:/AND\b/iuy,text:nN},{type:a.OR,regex:/OR\b/iuy,text:nN},{type:a.XOR,regex:e.supportsXor?/XOR\b/iuy:void 0,text:nN},{type:a.RESERVED_FUNCTION_NAME,regex:na(e.reservedFunctionNames,e.identChars),text:nN},{type:a.RESERVED_KEYWORD,regex:na(e.reservedKeywords,e.identChars),text:nN}])}buildRulesAfterParams(e){return this.validRules([{type:a.VARIABLE,regex:e.variableTypes?ns(e.variableTypes):void 0},{type:a.STRING,regex:nl(e.stringTypes)},{type:a.IDENTIFIER,regex:nT(e.identChars)},{type:a.DELIMITER,regex:/[;]/uy},{type:a.COMMA,regex:/[,]/y},{type:a.OPEN_PAREN,regex:ne("open",e.extraParens)},{type:a.CLOSE_PAREN,regex:ne("close",e.extraParens)},{type:a.OPERATOR,regex:nt(["+","-","/",">","<","=","<>","<=",">=","!=",...e.operators??[]])},{type:a.ASTERISK,regex:/[*]/uy},{type:a.DOT,regex:/[.]/uy}])}buildParamRules(e,t){var n,r,i,o,s;let E={named:(null==t?void 0:t.named)||(null===(n=e.paramTypes)||void 0===n?void 0:n.named)||[],quoted:(null==t?void 0:t.quoted)||(null===(r=e.paramTypes)||void 0===r?void 0:r.quoted)||[],numbered:(null==t?void 0:t.numbered)||(null===(i=e.paramTypes)||void 0===i?void 0:i.numbered)||[],positional:"boolean"==typeof(null==t?void 0:t.positional)?t.positional:null===(o=e.paramTypes)||void 0===o?void 0:o.positional,custom:(null==t?void 0:t.custom)||(null===(s=e.paramTypes)||void 0===s?void 0:s.custom)||[]};return this.validRules([{type:a.NAMED_PARAMETER,regex:nr(E.named,nc(e.paramChars||e.identChars)),key:e=>e.slice(1)},{type:a.QUOTED_PARAMETER,regex:nr(E.quoted,nE(e.identTypes)),key:e=>(({tokenKey:e,quoteChar:t})=>e.replace(RegExp(t3("\\"+t),"gu"),t))({tokenKey:e.slice(2,-1),quoteChar:e.slice(-1)})},{type:a.NUMBERED_PARAMETER,regex:nr(E.numbered,"[0-9]+"),key:e=>e.slice(1)},{type:a.POSITIONAL_PARAMETER,regex:E.positional?/[?]/y:void 0},...E.custom.map(e=>({type:a.CUSTOM_PARAMETER,regex:t4(e.regex),key:e.key??(e=>e)}))])}validRules(e){return e.filter(e=>!!e.regex)}}let nN=e=>f(e.toUpperCase()),nO=new Map,n_=e=>{let t=nO.get(e);return t||(t=ng(e),nO.set(e,t)),t},ng=e=>({tokenizer:new nI(e.tokenizerOptions),formatOptions:nm(e.formatOptions)}),nm=e=>({alwaysDenseOperators:e.alwaysDenseOperators||[],onelineClauses:Object.fromEntries(e.onelineClauses.map(e=>[e,!0]))});function nC(e){return"tabularLeft"===e.indentStyle||"tabularRight"===e.indentStyle?" ".repeat(10):e.useTabs?" ":" ".repeat(e.tabWidth)}function nL(e){return"tabularLeft"===e.indentStyle||"tabularRight"===e.indentStyle}class nb{constructor(e){this.params=e,this.index=0}get({key:e,text:t}){return this.params?e?this.params[e]:this.params[this.index++]:t}getPositionalParameterIndex(){return this.index}setPositionalParameterIndex(e){this.index=e}}var nf=n(69654);let nD=(e,t,n)=>{if(R(e.type)){let r=nM(n,t);if(r&&"."===r.text)return{...e,type:a.IDENTIFIER,text:e.raw}}return e},nh=(e,t,n)=>{if(e.type===a.RESERVED_FUNCTION_NAME){let r=nU(n,t);if(!r||!nv(r))return{...e,type:a.RESERVED_KEYWORD}}return e},nP=(e,t,n)=>{if(e.type===a.IDENTIFIER){let r=nU(n,t);if(r&&nw(r))return{...e,type:a.ARRAY_IDENTIFIER}}return e},ny=(e,t,n)=>{if(e.type===a.RESERVED_KEYWORD){let r=nU(n,t);if(r&&nw(r))return{...e,type:a.ARRAY_KEYWORD}}return e},nM=(e,t)=>nU(e,t,-1),nU=(e,t,n=1)=>{let a=1;for(;e[t+a*n]&&nG(e[t+a*n]);)a++;return e[t+a*n]},nv=e=>e.type===a.OPEN_PAREN&&"("===e.text,nw=e=>e.type===a.OPEN_PAREN&&"["===e.text,nG=e=>e.type===a.BLOCK_COMMENT||e.type===a.LINE_COMMENT;class nk{index=0;tokens=[];input="";constructor(e){this.tokenize=e}reset(e,t){this.input=e,this.index=0,this.tokens=this.tokenize(e)}next(){return this.tokens[this.index++]}save(){}formatError(e){let{line:t,col:n}=nu(this.input,e.start);return`Parse error at token: ${e.text} at line ${t} column ${n}`}has(e){return e in a}}function nF(e){return e[0]}(s=r||(r={})).statement="statement",s.clause="clause",s.set_operation="set_operation",s.function_call="function_call",s.array_subscript="array_subscript",s.property_access="property_access",s.parenthesis="parenthesis",s.between_predicate="between_predicate",s.case_expression="case_expression",s.case_when="case_when",s.case_else="case_else",s.limit_clause="limit_clause",s.all_columns_asterisk="all_columns_asterisk",s.literal="literal",s.identifier="identifier",s.keyword="keyword",s.parameter="parameter",s.operator="operator",s.comma="comma",s.line_comment="line_comment",s.block_comment="block_comment";let nx=new nk(e=>[]),nB=e=>({type:r.keyword,tokenType:e.type,text:e.text,raw:e.raw}),nH=(e,{leading:t,trailing:n})=>(null!=t&&t.length&&(e={...e,leadingComments:t}),null!=n&&n.length&&(e={...e,trailingComments:n}),e),nY=(e,{leading:t,trailing:n})=>{if(null!=t&&t.length){let[n,...a]=e;e=[nH(n,{leading:t}),...a]}if(null!=n&&n.length){let t=e.slice(0,-1),a=e[e.length-1];e=[...t,nH(a,{trailing:n})]}return e},nV={Lexer:nx,ParserRules:[{name:"main$ebnf$1",symbols:[]},{name:"main$ebnf$1",symbols:["main$ebnf$1","statement"],postprocess:e=>e[0].concat([e[1]])},{name:"main",symbols:["main$ebnf$1"],postprocess:([e])=>{let t=e[e.length-1];return t&&!t.hasSemicolon?t.children.length>0?e:e.slice(0,-1):e}},{name:"statement$subexpression$1",symbols:[nx.has("DELIMITER")?{type:"DELIMITER"}:DELIMITER]},{name:"statement$subexpression$1",symbols:[nx.has("EOF")?{type:"EOF"}:EOF]},{name:"statement",symbols:["expressions_or_clauses","statement$subexpression$1"],postprocess:([e,[t]])=>({type:r.statement,children:e,hasSemicolon:t.type===a.DELIMITER})},{name:"expressions_or_clauses$ebnf$1",symbols:[]},{name:"expressions_or_clauses$ebnf$1",symbols:["expressions_or_clauses$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"expressions_or_clauses$ebnf$2",symbols:[]},{name:"expressions_or_clauses$ebnf$2",symbols:["expressions_or_clauses$ebnf$2","clause"],postprocess:e=>e[0].concat([e[1]])},{name:"expressions_or_clauses",symbols:["expressions_or_clauses$ebnf$1","expressions_or_clauses$ebnf$2"],postprocess:([e,t])=>[...e,...t]},{name:"clause$subexpression$1",symbols:["limit_clause"]},{name:"clause$subexpression$1",symbols:["select_clause"]},{name:"clause$subexpression$1",symbols:["other_clause"]},{name:"clause$subexpression$1",symbols:["set_operation"]},{name:"clause",symbols:["clause$subexpression$1"],postprocess:([[e]])=>e},{name:"limit_clause$ebnf$1$subexpression$1$ebnf$1",symbols:["free_form_sql"]},{name:"limit_clause$ebnf$1$subexpression$1$ebnf$1",symbols:["limit_clause$ebnf$1$subexpression$1$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"limit_clause$ebnf$1$subexpression$1",symbols:[nx.has("COMMA")?{type:"COMMA"}:COMMA,"limit_clause$ebnf$1$subexpression$1$ebnf$1"]},{name:"limit_clause$ebnf$1",symbols:["limit_clause$ebnf$1$subexpression$1"],postprocess:nF},{name:"limit_clause$ebnf$1",symbols:[],postprocess:()=>null},{name:"limit_clause",symbols:[nx.has("LIMIT")?{type:"LIMIT"}:LIMIT,"_","expression_chain_","limit_clause$ebnf$1"],postprocess:([e,t,n,a])=>{if(!a)return{type:r.limit_clause,limitKw:nH(nB(e),{trailing:t}),count:n};{let[i,o]=a;return{type:r.limit_clause,limitKw:nH(nB(e),{trailing:t}),offset:n,count:o}}}},{name:"select_clause$subexpression$1$ebnf$1",symbols:[]},{name:"select_clause$subexpression$1$ebnf$1",symbols:["select_clause$subexpression$1$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"select_clause$subexpression$1",symbols:["all_columns_asterisk","select_clause$subexpression$1$ebnf$1"]},{name:"select_clause$subexpression$1$ebnf$2",symbols:[]},{name:"select_clause$subexpression$1$ebnf$2",symbols:["select_clause$subexpression$1$ebnf$2","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"select_clause$subexpression$1",symbols:["asteriskless_free_form_sql","select_clause$subexpression$1$ebnf$2"]},{name:"select_clause",symbols:[nx.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT,"select_clause$subexpression$1"],postprocess:([e,[t,n]])=>({type:r.clause,nameKw:nB(e),children:[t,...n]})},{name:"select_clause",symbols:[nx.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT],postprocess:([e])=>({type:r.clause,nameKw:nB(e),children:[]})},{name:"all_columns_asterisk",symbols:[nx.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK],postprocess:()=>({type:r.all_columns_asterisk})},{name:"other_clause$ebnf$1",symbols:[]},{name:"other_clause$ebnf$1",symbols:["other_clause$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"other_clause",symbols:[nx.has("RESERVED_CLAUSE")?{type:"RESERVED_CLAUSE"}:RESERVED_CLAUSE,"other_clause$ebnf$1"],postprocess:([e,t])=>({type:r.clause,nameKw:nB(e),children:t})},{name:"set_operation$ebnf$1",symbols:[]},{name:"set_operation$ebnf$1",symbols:["set_operation$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"set_operation",symbols:[nx.has("RESERVED_SET_OPERATION")?{type:"RESERVED_SET_OPERATION"}:RESERVED_SET_OPERATION,"set_operation$ebnf$1"],postprocess:([e,t])=>({type:r.set_operation,nameKw:nB(e),children:t})},{name:"expression_chain_$ebnf$1",symbols:["expression_with_comments_"]},{name:"expression_chain_$ebnf$1",symbols:["expression_chain_$ebnf$1","expression_with_comments_"],postprocess:e=>e[0].concat([e[1]])},{name:"expression_chain_",symbols:["expression_chain_$ebnf$1"],postprocess:nF},{name:"expression_chain$ebnf$1",symbols:[]},{name:"expression_chain$ebnf$1",symbols:["expression_chain$ebnf$1","_expression_with_comments"],postprocess:e=>e[0].concat([e[1]])},{name:"expression_chain",symbols:["expression","expression_chain$ebnf$1"],postprocess:([e,t])=>[e,...t]},{name:"andless_expression_chain$ebnf$1",symbols:[]},{name:"andless_expression_chain$ebnf$1",symbols:["andless_expression_chain$ebnf$1","_andless_expression_with_comments"],postprocess:e=>e[0].concat([e[1]])},{name:"andless_expression_chain",symbols:["andless_expression","andless_expression_chain$ebnf$1"],postprocess:([e,t])=>[e,...t]},{name:"expression_with_comments_",symbols:["expression","_"],postprocess:([e,t])=>nH(e,{trailing:t})},{name:"_expression_with_comments",symbols:["_","expression"],postprocess:([e,t])=>nH(t,{leading:e})},{name:"_andless_expression_with_comments",symbols:["_","andless_expression"],postprocess:([e,t])=>nH(t,{leading:e})},{name:"free_form_sql$subexpression$1",symbols:["asteriskless_free_form_sql"]},{name:"free_form_sql$subexpression$1",symbols:["asterisk"]},{name:"free_form_sql",symbols:["free_form_sql$subexpression$1"],postprocess:([[e]])=>e},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["asteriskless_andless_expression"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["logic_operator"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["between_predicate"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["comma"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["comment"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["other_keyword"]},{name:"asteriskless_free_form_sql",symbols:["asteriskless_free_form_sql$subexpression$1"],postprocess:([[e]])=>e},{name:"expression$subexpression$1",symbols:["andless_expression"]},{name:"expression$subexpression$1",symbols:["logic_operator"]},{name:"expression",symbols:["expression$subexpression$1"],postprocess:([[e]])=>e},{name:"andless_expression$subexpression$1",symbols:["asteriskless_andless_expression"]},{name:"andless_expression$subexpression$1",symbols:["asterisk"]},{name:"andless_expression",symbols:["andless_expression$subexpression$1"],postprocess:([[e]])=>e},{name:"asteriskless_andless_expression$subexpression$1",symbols:["array_subscript"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["case_expression"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["function_call"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["property_access"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["parenthesis"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["curly_braces"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["square_brackets"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["operator"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["identifier"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["parameter"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["literal"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["keyword"]},{name:"asteriskless_andless_expression",symbols:["asteriskless_andless_expression$subexpression$1"],postprocess:([[e]])=>e},{name:"array_subscript",symbols:[nx.has("ARRAY_IDENTIFIER")?{type:"ARRAY_IDENTIFIER"}:ARRAY_IDENTIFIER,"_","square_brackets"],postprocess:([e,t,n])=>({type:r.array_subscript,array:nH({type:r.identifier,text:e.text},{trailing:t}),parenthesis:n})},{name:"array_subscript",symbols:[nx.has("ARRAY_KEYWORD")?{type:"ARRAY_KEYWORD"}:ARRAY_KEYWORD,"_","square_brackets"],postprocess:([e,t,n])=>({type:r.array_subscript,array:nH(nB(e),{trailing:t}),parenthesis:n})},{name:"function_call",symbols:[nx.has("RESERVED_FUNCTION_NAME")?{type:"RESERVED_FUNCTION_NAME"}:RESERVED_FUNCTION_NAME,"_","parenthesis"],postprocess:([e,t,n])=>({type:r.function_call,nameKw:nH(nB(e),{trailing:t}),parenthesis:n})},{name:"parenthesis",symbols:[{literal:"("},"expressions_or_clauses",{literal:")"}],postprocess:([e,t,n])=>({type:r.parenthesis,children:t,openParen:"(",closeParen:")"})},{name:"curly_braces$ebnf$1",symbols:[]},{name:"curly_braces$ebnf$1",symbols:["curly_braces$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"curly_braces",symbols:[{literal:"{"},"curly_braces$ebnf$1",{literal:"}"}],postprocess:([e,t,n])=>({type:r.parenthesis,children:t,openParen:"{",closeParen:"}"})},{name:"square_brackets$ebnf$1",symbols:[]},{name:"square_brackets$ebnf$1",symbols:["square_brackets$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"square_brackets",symbols:[{literal:"["},"square_brackets$ebnf$1",{literal:"]"}],postprocess:([e,t,n])=>({type:r.parenthesis,children:t,openParen:"[",closeParen:"]"})},{name:"property_access$subexpression$1",symbols:["identifier"]},{name:"property_access$subexpression$1",symbols:["array_subscript"]},{name:"property_access$subexpression$1",symbols:["all_columns_asterisk"]},{name:"property_access",symbols:["expression","_",nx.has("DOT")?{type:"DOT"}:DOT,"_","property_access$subexpression$1"],postprocess:([e,t,n,a,[i]])=>({type:r.property_access,object:nH(e,{trailing:t}),property:nH(i,{leading:a})})},{name:"between_predicate",symbols:[nx.has("BETWEEN")?{type:"BETWEEN"}:BETWEEN,"_","andless_expression_chain","_",nx.has("AND")?{type:"AND"}:AND,"_","andless_expression"],postprocess:([e,t,n,a,i,o,s])=>({type:r.between_predicate,betweenKw:nB(e),expr1:nY(n,{leading:t,trailing:a}),andKw:nB(i),expr2:[nH(s,{leading:o})]})},{name:"case_expression$ebnf$1",symbols:["expression_chain_"],postprocess:nF},{name:"case_expression$ebnf$1",symbols:[],postprocess:()=>null},{name:"case_expression$ebnf$2",symbols:[]},{name:"case_expression$ebnf$2",symbols:["case_expression$ebnf$2","case_clause"],postprocess:e=>e[0].concat([e[1]])},{name:"case_expression",symbols:[nx.has("CASE")?{type:"CASE"}:CASE,"_","case_expression$ebnf$1","case_expression$ebnf$2",nx.has("END")?{type:"END"}:END],postprocess:([e,t,n,a,i])=>({type:r.case_expression,caseKw:nH(nB(e),{trailing:t}),endKw:nB(i),expr:n||[],clauses:a})},{name:"case_clause",symbols:[nx.has("WHEN")?{type:"WHEN"}:WHEN,"_","expression_chain_",nx.has("THEN")?{type:"THEN"}:THEN,"_","expression_chain_"],postprocess:([e,t,n,a,i,o])=>({type:r.case_when,whenKw:nH(nB(e),{trailing:t}),thenKw:nH(nB(a),{trailing:i}),condition:n,result:o})},{name:"case_clause",symbols:[nx.has("ELSE")?{type:"ELSE"}:ELSE,"_","expression_chain_"],postprocess:([e,t,n])=>({type:r.case_else,elseKw:nH(nB(e),{trailing:t}),result:n})},{name:"comma$subexpression$1",symbols:[nx.has("COMMA")?{type:"COMMA"}:COMMA]},{name:"comma",symbols:["comma$subexpression$1"],postprocess:([[e]])=>({type:r.comma})},{name:"asterisk$subexpression$1",symbols:[nx.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK]},{name:"asterisk",symbols:["asterisk$subexpression$1"],postprocess:([[e]])=>({type:r.operator,text:e.text})},{name:"operator$subexpression$1",symbols:[nx.has("OPERATOR")?{type:"OPERATOR"}:OPERATOR]},{name:"operator",symbols:["operator$subexpression$1"],postprocess:([[e]])=>({type:r.operator,text:e.text})},{name:"identifier$subexpression$1",symbols:[nx.has("IDENTIFIER")?{type:"IDENTIFIER"}:IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[nx.has("QUOTED_IDENTIFIER")?{type:"QUOTED_IDENTIFIER"}:QUOTED_IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[nx.has("VARIABLE")?{type:"VARIABLE"}:VARIABLE]},{name:"identifier",symbols:["identifier$subexpression$1"],postprocess:([[e]])=>({type:r.identifier,text:e.text})},{name:"parameter$subexpression$1",symbols:[nx.has("NAMED_PARAMETER")?{type:"NAMED_PARAMETER"}:NAMED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nx.has("QUOTED_PARAMETER")?{type:"QUOTED_PARAMETER"}:QUOTED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nx.has("NUMBERED_PARAMETER")?{type:"NUMBERED_PARAMETER"}:NUMBERED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nx.has("POSITIONAL_PARAMETER")?{type:"POSITIONAL_PARAMETER"}:POSITIONAL_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nx.has("CUSTOM_PARAMETER")?{type:"CUSTOM_PARAMETER"}:CUSTOM_PARAMETER]},{name:"parameter",symbols:["parameter$subexpression$1"],postprocess:([[e]])=>({type:r.parameter,key:e.key,text:e.text})},{name:"literal$subexpression$1",symbols:[nx.has("NUMBER")?{type:"NUMBER"}:NUMBER]},{name:"literal$subexpression$1",symbols:[nx.has("STRING")?{type:"STRING"}:STRING]},{name:"literal",symbols:["literal$subexpression$1"],postprocess:([[e]])=>({type:r.literal,text:e.text})},{name:"keyword$subexpression$1",symbols:[nx.has("RESERVED_KEYWORD")?{type:"RESERVED_KEYWORD"}:RESERVED_KEYWORD]},{name:"keyword$subexpression$1",symbols:[nx.has("RESERVED_PHRASE")?{type:"RESERVED_PHRASE"}:RESERVED_PHRASE]},{name:"keyword$subexpression$1",symbols:[nx.has("RESERVED_JOIN")?{type:"RESERVED_JOIN"}:RESERVED_JOIN]},{name:"keyword",symbols:["keyword$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"logic_operator$subexpression$1",symbols:[nx.has("AND")?{type:"AND"}:AND]},{name:"logic_operator$subexpression$1",symbols:[nx.has("OR")?{type:"OR"}:OR]},{name:"logic_operator$subexpression$1",symbols:[nx.has("XOR")?{type:"XOR"}:XOR]},{name:"logic_operator",symbols:["logic_operator$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"other_keyword$subexpression$1",symbols:[nx.has("WHEN")?{type:"WHEN"}:WHEN]},{name:"other_keyword$subexpression$1",symbols:[nx.has("THEN")?{type:"THEN"}:THEN]},{name:"other_keyword$subexpression$1",symbols:[nx.has("ELSE")?{type:"ELSE"}:ELSE]},{name:"other_keyword$subexpression$1",symbols:[nx.has("END")?{type:"END"}:END]},{name:"other_keyword",symbols:["other_keyword$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"_$ebnf$1",symbols:[]},{name:"_$ebnf$1",symbols:["_$ebnf$1","comment"],postprocess:e=>e[0].concat([e[1]])},{name:"_",symbols:["_$ebnf$1"],postprocess:([e])=>e},{name:"comment",symbols:[nx.has("LINE_COMMENT")?{type:"LINE_COMMENT"}:LINE_COMMENT],postprocess:([e])=>({type:r.line_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})},{name:"comment",symbols:[nx.has("BLOCK_COMMENT")?{type:"BLOCK_COMMENT"}:BLOCK_COMMENT],postprocess:([e])=>({type:r.block_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})}],ParserStart:"main"},{Parser:nW,Grammar:n$}=nf,nX=/^\s+/u;(E=i||(i={}))[E.SPACE=0]="SPACE",E[E.NO_SPACE=1]="NO_SPACE",E[E.NO_NEWLINE=2]="NO_NEWLINE",E[E.NEWLINE=3]="NEWLINE",E[E.MANDATORY_NEWLINE=4]="MANDATORY_NEWLINE",E[E.INDENT=5]="INDENT",E[E.SINGLE_INDENT=6]="SINGLE_INDENT";class nK{items=[];constructor(e){this.indentation=e}add(...e){for(let t of e)switch(t){case i.SPACE:this.items.push(i.SPACE);break;case i.NO_SPACE:this.trimHorizontalWhitespace();break;case i.NO_NEWLINE:this.trimWhitespace();break;case i.NEWLINE:this.trimHorizontalWhitespace(),this.addNewline(i.NEWLINE);break;case i.MANDATORY_NEWLINE:this.trimHorizontalWhitespace(),this.addNewline(i.MANDATORY_NEWLINE);break;case i.INDENT:this.addIndentation();break;case i.SINGLE_INDENT:this.items.push(i.SINGLE_INDENT);break;default:this.items.push(t)}}trimHorizontalWhitespace(){for(;nz(C(this.items));)this.items.pop()}trimWhitespace(){for(;nj(C(this.items));)this.items.pop()}addNewline(e){if(this.items.length>0)switch(C(this.items)){case i.NEWLINE:this.items.pop(),this.items.push(e);break;case i.MANDATORY_NEWLINE:break;default:this.items.push(e)}}addIndentation(){for(let e=0;ethis.itemToString(e)).join("")}getLayoutItems(){return this.items}itemToString(e){switch(e){case i.SPACE:return" ";case i.NEWLINE:case i.MANDATORY_NEWLINE:return"\n";case i.SINGLE_INDENT:return this.indentation.getSingleIndent();default:return e}}}let nz=e=>e===i.SPACE||e===i.SINGLE_INDENT,nj=e=>e===i.SPACE||e===i.SINGLE_INDENT||e===i.NEWLINE,nZ="top-level";class nq{indentTypes=[];constructor(e){this.indent=e}getSingleIndent(){return this.indent}getLevel(){return this.indentTypes.length}increaseTopLevel(){this.indentTypes.push(nZ)}increaseBlockLevel(){this.indentTypes.push("block-level")}decreaseTopLevel(){this.indentTypes.length>0&&C(this.indentTypes)===nZ&&this.indentTypes.pop()}decreaseBlockLevel(){for(;this.indentTypes.length>0;){let e=this.indentTypes.pop();if(e!==nZ)break}}}class nJ extends nK{length=0;trailingSpace=!1;constructor(e){super(new nq("")),this.expressionWidth=e}add(...e){if(e.forEach(e=>this.addToLength(e)),this.length>this.expressionWidth)throw new nQ;super.add(...e)}addToLength(e){if("string"==typeof e)this.length+=e.length,this.trailingSpace=!1;else if(e===i.MANDATORY_NEWLINE||e===i.NEWLINE)throw new nQ;else e===i.INDENT||e===i.SINGLE_INDENT||e===i.SPACE?this.trailingSpace||(this.length++,this.trailingSpace=!0):(e===i.NO_NEWLINE||e===i.NO_SPACE)&&this.trailingSpace&&(this.trailingSpace=!1,this.length--)}}class nQ extends Error{}class n0{inline=!1;nodes=[];index=-1;constructor({cfg:e,dialectCfg:t,params:n,layout:a,inline:r=!1}){this.cfg=e,this.dialectCfg=t,this.inline=r,this.params=n,this.layout=a}format(e){for(this.nodes=e,this.index=0;this.index{this.layout.add(this.showKw(e.nameKw))}),this.formatNode(e.parenthesis)}formatArraySubscript(e){this.withComments(e.array,()=>{this.layout.add(e.array.type===r.keyword?this.showKw(e.array):e.array.text)}),this.formatNode(e.parenthesis)}formatPropertyAccess(e){this.formatNode(e.object),this.layout.add(i.NO_SPACE,"."),this.formatNode(e.property)}formatParenthesis(e){let t=this.formatInlineExpression(e.children);t?(this.layout.add(e.openParen),this.layout.add(...t.getLayoutItems()),this.layout.add(i.NO_SPACE,e.closeParen,i.SPACE)):(this.layout.add(e.openParen,i.NEWLINE),nL(this.cfg)?(this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children)):(this.layout.indentation.increaseBlockLevel(),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseBlockLevel()),this.layout.add(i.NEWLINE,i.INDENT,e.closeParen,i.SPACE))}formatBetweenPredicate(e){this.layout.add(this.showKw(e.betweenKw),i.SPACE),this.layout=this.formatSubExpression(e.expr1),this.layout.add(i.NO_SPACE,i.SPACE,this.showNonTabularKw(e.andKw),i.SPACE),this.layout=this.formatSubExpression(e.expr2),this.layout.add(i.SPACE)}formatCaseExpression(e){this.formatNode(e.caseKw),this.layout.indentation.increaseBlockLevel(),this.layout=this.formatSubExpression(e.expr),this.layout=this.formatSubExpression(e.clauses),this.layout.indentation.decreaseBlockLevel(),this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.endKw)}formatCaseWhen(e){this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.whenKw),this.layout=this.formatSubExpression(e.condition),this.formatNode(e.thenKw),this.layout=this.formatSubExpression(e.result)}formatCaseElse(e){this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.elseKw),this.layout=this.formatSubExpression(e.result)}formatClause(e){this.isOnelineClause(e)?this.formatClauseInOnelineStyle(e):nL(this.cfg)?this.formatClauseInTabularStyle(e):this.formatClauseInIndentedStyle(e)}isOnelineClause(e){return this.dialectCfg.onelineClauses[e.nameKw.text]}formatClauseInIndentedStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.NEWLINE),this.layout.indentation.increaseTopLevel(),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatClauseInOnelineStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.SPACE),this.layout=this.formatSubExpression(e.children)}formatClauseInTabularStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.SPACE),this.layout.indentation.increaseTopLevel(),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatSetOperation(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.NEWLINE),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children)}formatLimitClause(e){this.withComments(e.limitKw,()=>{this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.limitKw))}),this.layout.indentation.increaseTopLevel(),nL(this.cfg)?this.layout.add(i.SPACE):this.layout.add(i.NEWLINE,i.INDENT),e.offset&&(this.layout=this.formatSubExpression(e.offset),this.layout.add(i.NO_SPACE,",",i.SPACE)),this.layout=this.formatSubExpression(e.count),this.layout.indentation.decreaseTopLevel()}formatAllColumnsAsterisk(e){this.layout.add("*",i.SPACE)}formatLiteral(e){this.layout.add(e.text,i.SPACE)}formatIdentifier(e){this.layout.add(e.text,i.SPACE)}formatParameter(e){this.layout.add(this.params.get(e),i.SPACE)}formatOperator({text:e}){this.cfg.denseOperators||this.dialectCfg.alwaysDenseOperators.includes(e)?this.layout.add(i.NO_SPACE,e):":"===e?this.layout.add(i.NO_SPACE,e,i.SPACE):this.layout.add(e,i.SPACE)}formatComma(e){this.inline?this.layout.add(i.NO_SPACE,",",i.SPACE):this.layout.add(i.NO_SPACE,",",i.NEWLINE,i.INDENT)}withComments(e,t){this.formatComments(e.leadingComments),t(),this.formatComments(e.trailingComments)}formatComments(e){e&&e.forEach(e=>{e.type===r.line_comment?this.formatLineComment(e):this.formatBlockComment(e)})}formatLineComment(e){h(e.precedingWhitespace||"")?this.layout.add(i.NEWLINE,i.INDENT,e.text,i.MANDATORY_NEWLINE,i.INDENT):this.layout.getLayoutItems().length>0?this.layout.add(i.NO_NEWLINE,i.SPACE,e.text,i.MANDATORY_NEWLINE,i.INDENT):this.layout.add(e.text,i.MANDATORY_NEWLINE,i.INDENT)}formatBlockComment(e){this.isMultilineBlockComment(e)?(this.splitBlockComment(e.text).forEach(e=>{this.layout.add(i.NEWLINE,i.INDENT,e)}),this.layout.add(i.NEWLINE,i.INDENT)):this.layout.add(e.text,i.SPACE)}isMultilineBlockComment(e){return h(e.text)||h(e.precedingWhitespace||"")}isDocComment(e){let t=e.split(/\n/);return/^\/\*\*?$/.test(t[0])&&t.slice(1,t.length-1).every(e=>/^\s*\*/.test(e))&&/^\s*\*\/$/.test(C(t))}splitBlockComment(e){return this.isDocComment(e)?e.split(/\n/).map(e=>/^\s*\*/.test(e)?" "+e.replace(/^\s*/,""):e):e.split(/\n/).map(e=>e.replace(/^\s*/,""))}formatSubExpression(e){return new n0({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:this.layout,inline:this.inline}).format(e)}formatInlineExpression(e){let t=this.params.getPositionalParameterIndex();try{return new n0({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:new nJ(this.cfg.expressionWidth),inline:!0}).format(e)}catch(e){if(e instanceof nQ){this.params.setPositionalParameterIndex(t);return}throw e}}formatKeywordNode(e){switch(e.tokenType){case a.RESERVED_JOIN:return this.formatJoin(e);case a.AND:case a.OR:case a.XOR:return this.formatLogicalOperator(e);default:return this.formatKeyword(e)}}formatJoin(e){nL(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE)}formatKeyword(e){this.layout.add(this.showKw(e),i.SPACE)}formatLogicalOperator(e){"before"===this.cfg.logicalOperatorNewline?nL(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE):this.layout.add(this.showKw(e),i.NEWLINE,i.INDENT)}showKw(e){var t;return A(t=e.tokenType)||t===a.RESERVED_CLAUSE||t===a.RESERVED_SELECT||t===a.RESERVED_SET_OPERATION||t===a.RESERVED_JOIN||t===a.LIMIT?function(e,t){if("standard"===t)return e;let n=[];return e.length>=10&&e.includes(" ")&&([e,...n]=e.split(" ")),(e="tabularLeft"===t?e.padEnd(9," "):e.padStart(9," "))+["",...n].join(" ")}(this.showNonTabularKw(e),this.cfg.indentStyle):this.showNonTabularKw(e)}showNonTabularKw(e){switch(this.cfg.keywordCase){case"preserve":return f(e.raw);case"upper":return e.text;case"lower":return e.text.toLowerCase()}}}class n1{constructor(e,t){this.dialect=e,this.cfg=t,this.params=new nb(this.cfg.params)}format(e){let t=this.parse(e),n=this.formatAst(t),a=this.postFormat(n);return a.trimEnd()}parse(e){return(function(e){let t={},n=new nk(n=>[...e.tokenize(n,t).map(nD).map(nh).map(nP).map(ny),T(n.length)]),a=new nW(n$.fromCompiled(nV),{lexer:n});return{parse:(e,n)=>{t=n;let{results:r}=a.feed(e);if(1===r.length)return r[0];if(0===r.length)throw Error("Parse error: Invalid SQL");throw Error(`Parse error: Ambiguous grammar -${JSON.stringify(r,void 0,2)}`)}}})(this.dialect.tokenizer).parse(e,this.cfg.paramTypes||{})}formatAst(e){return e.map(e=>this.formatStatement(e)).join("\n".repeat(this.cfg.linesBetweenQueries+1))}formatStatement(e){let t=new n0({cfg:this.cfg,dialectCfg:this.dialect.formatOptions,params:this.params,layout:new nK(new nq(nC(this.cfg)))}).format(e.children);return e.hasSemicolon&&(this.cfg.newlineBeforeSemicolon?t.add(i.NEWLINE,";"):t.add(i.NO_NEWLINE,";")),t.toString()}postFormat(e){if(this.cfg.tabulateAlias&&(e=function(e){let t=e.split("\n"),n=[];for(let e=0;e({line:e,matches:e.match(/(^.*?\S) (AS )?(\S+,?$)/i)})).map(({line:e,matches:t})=>t?{precedingText:t[1],as:t[2],alias:t[3]}:{precedingText:e}),i=b(r.map(({precedingText:e})=>e.replace(/\s*,\s*$/,"")));n=[...n,...a=r.map(({precedingText:e,as:t,alias:n})=>e+(n?" ".repeat(i-e.length+1)+(t??"")+n:""))]}n.push(t[e])}return n.join("\n")}(e)),"before"===this.cfg.commaPosition||"tabular"===this.cfg.commaPosition){var t,n,a;t=e,n=this.cfg.commaPosition,a=nC(this.cfg),e=(function(e){let t=[];for(let n=0;n{if(1===e.length)return e;if("tabular"===n)return function(e){let t=b(e.map(e=>e.replace(/\s*--.*/,"")))-1;return e.map((n,a)=>a===e.length-1?n:function(e,t){let[,n,a]=e.match(/^(.*?),(\s*--.*)?$/)||[],r=" ".repeat(t-n.length);return`${n}${r},${a??""}`}(n,t))}(e);if("before"===n)return e.map(e=>e.replace(/,(\s*(--.*)?$)/,"$1")).map((e,t)=>{if(0===t)return e;let[n]=e.match(nX)||[""];return n.replace(RegExp(a+"$"),"")+a.replace(/ {2}$/,", ")+e.trimStart()});throw Error(`Unexpected commaPosition: ${n}`)}).join("\n")}return e}}class n2 extends Error{}let n3={bigquery:"bigquery",db2:"db2",hive:"hive",mariadb:"mariadb",mysql:"mysql",n1ql:"n1ql",plsql:"plsql",postgresql:"postgresql",redshift:"redshift",spark:"spark",sqlite:"sqlite",sql:"sql",trino:"trino",transactsql:"transactsql",tsql:"transactsql",singlestoredb:"singlestoredb",snowflake:"snowflake"},n6=Object.keys(n3),n4={tabWidth:2,useTabs:!1,keywordCase:"preserve",indentStyle:"standard",logicalOperatorNewline:"before",tabulateAlias:!1,commaPosition:"after",expressionWidth:50,linesBetweenQueries:1,denseOperators:!1,newlineBeforeSemicolon:!1},n9=(e,t={})=>{if("string"==typeof t.language&&!n6.includes(t.language))throw new n2(`Unsupported SQL dialect: ${t.language}`);let n=n3[t.language||"sql"];return n8(e,{...t,dialect:l[n]})},n8=(e,{dialect:t,...n})=>{if("string"!=typeof e)throw Error("Invalid query argument. Expected string, instead got "+typeof e);let a=function(e){if("multilineLists"in e)throw new n2("multilineLists config is no more supported.");if("newlineBeforeOpenParen"in e)throw new n2("newlineBeforeOpenParen config is no more supported.");if("newlineBeforeCloseParen"in e)throw new n2("newlineBeforeCloseParen config is no more supported.");if("aliasAs"in e)throw new n2("aliasAs config is no more supported.");if(e.expressionWidth<=0)throw new n2(`expressionWidth config must be positive number. Received ${e.expressionWidth} instead.`);if("before"===e.commaPosition&&e.useTabs)throw new n2("commaPosition: before does not work when tabs are used for indentation.");return e.params&&!function(e){let t=e instanceof Array?e:Object.values(e);return t.every(e=>"string"==typeof e)}(e.params)&&console.warn('WARNING: All "params" option values should be strings.'),e}({...n4,...n});return new n1(n_(t),a).format(e)}},37452:function(e){"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},93580:function(e){"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/455-5c8f2c8bda9b4b83.js b/pilot/server/static/_next/static/chunks/455-5c8f2c8bda9b4b83.js new file mode 100644 index 000000000..35a221fd9 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/455-5c8f2c8bda9b4b83.js @@ -0,0 +1,30 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[455],{80882:function(e,t,n){n.d(t,{Z:function(){return a}});var o=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},l=n(42135),a=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:i}))})},74443:function(e,t,n){n.d(t,{ZP:function(){return c},c4:function(){return i}});var o=n(67294),r=n(46605);let i=["xxl","xl","lg","md","sm","xs"],l=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),a=e=>{let t=[].concat(i).reverse();return t.forEach((n,o)=>{let r=n.toUpperCase(),i=`screen${r}Min`,l=`screen${r}`;if(!(e[i]<=e[l]))throw Error(`${i}<=${l} fails : !(${e[i]}<=${e[l]})`);if(o{let e=new Map,n=-1,o={};return{matchHandlers:{},dispatch:t=>(o=t,e.forEach(e=>e(o)),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(o),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach(e=>{let n=t[e],o=this.matchHandlers[n];null==o||o.mql.removeListener(null==o?void 0:o.listener)}),e.clear()},register(){Object.keys(t).forEach(e=>{let n=t[e],r=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},o),{[e]:n}))},i=window.matchMedia(n);i.addListener(r),this.matchHandlers[n]={mql:i,listener:r},r(i)})},responsiveMap:t}},[e])}},50965:function(e,t,n){n.d(t,{Z:function(){return e9}});var o=n(94184),r=n.n(o),i=n(87462),l=n(74902),a=n(4942),c=n(1413),u=n(97685),s=n(45987),d=n(71002),p=n(21770),f=n(80334),m=n(67294),v=n(8410),g=n(31131),h=n(15105),b=n(42550),w=function(e){var t,n=e.className,o=e.customizeIcon,i=e.customizeIconProps,l=e.onMouseDown,a=e.onClick,c=e.children;return t="function"==typeof o?o(i):o,m.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),l&&l(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a,"aria-hidden":!0},void 0!==t?t:m.createElement("span",{className:r()(n.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},c))},S=m.createContext(null);function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=m.useRef(null),n=m.useRef(null);return m.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}var E=n(64217),x=n(39983),$=m.forwardRef(function(e,t){var n,o,i=e.prefixCls,l=e.id,a=e.inputElement,u=e.disabled,s=e.tabIndex,d=e.autoFocus,p=e.autoComplete,v=e.editable,g=e.activeDescendantId,h=e.value,w=e.maxLength,S=e.onKeyDown,y=e.onMouseDown,E=e.onChange,x=e.onPaste,$=e.onCompositionStart,C=e.onCompositionEnd,I=e.open,Z=e.attrs,O=a||m.createElement("input",null),M=O,D=M.ref,R=M.props,N=R.onKeyDown,P=R.onChange,T=R.onMouseDown,k=R.onCompositionStart,z=R.onCompositionEnd,H=R.style;return(0,f.Kp)(!("maxLength"in O.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),O=m.cloneElement(O,(0,c.Z)((0,c.Z)((0,c.Z)({type:"search"},R),{},{id:l,ref:(0,b.sQ)(t,D),disabled:u,tabIndex:s,autoComplete:p||"off",autoFocus:d,className:r()("".concat(i,"-selection-search-input"),null===(n=O)||void 0===n?void 0:null===(o=n.props)||void 0===o?void 0:o.className),role:"combobox","aria-label":"Search","aria-expanded":I||!1,"aria-haspopup":"listbox","aria-owns":"".concat(l,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(l,"_list"),"aria-activedescendant":I?g:void 0},Z),{},{value:v?h:"",maxLength:w,readOnly:!v,unselectable:v?null:"on",style:(0,c.Z)((0,c.Z)({},H),{},{opacity:v?null:0}),onKeyDown:function(e){S(e),N&&N(e)},onMouseDown:function(e){y(e),T&&T(e)},onChange:function(e){E(e),P&&P(e)},onCompositionStart:function(e){$(e),k&&k(e)},onCompositionEnd:function(e){C(e),z&&z(e)},onPaste:x}))});function C(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}$.displayName="Input";var I="undefined"!=typeof window&&window.document&&window.document.documentElement;function Z(e){return["string","number"].includes((0,d.Z)(e))}function O(e){var t=void 0;return e&&(Z(e.title)?t=e.title.toString():Z(e.label)&&(t=e.label.toString())),t}function M(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var D=function(e){e.preventDefault(),e.stopPropagation()},R=function(e){var t,n,o=e.id,i=e.prefixCls,l=e.values,c=e.open,s=e.searchValue,d=e.autoClearSearchValue,p=e.inputRef,f=e.placeholder,v=e.disabled,g=e.mode,h=e.showSearch,b=e.autoFocus,S=e.autoComplete,y=e.activeDescendantId,C=e.tabIndex,Z=e.removeIcon,R=e.maxTagCount,N=e.maxTagTextLength,P=e.maxTagPlaceholder,T=void 0===P?function(e){return"+ ".concat(e.length," ...")}:P,k=e.tagRender,z=e.onToggleOpen,H=e.onRemove,L=e.onInputChange,j=e.onInputPaste,V=e.onInputKeyDown,A=e.onInputMouseDown,F=e.onInputCompositionStart,W=e.onInputCompositionEnd,_=m.useRef(null),B=(0,m.useState)(0),K=(0,u.Z)(B,2),U=K[0],X=K[1],G=(0,m.useState)(!1),Y=(0,u.Z)(G,2),Q=Y[0],J=Y[1],q="".concat(i,"-selection"),ee=c||"multiple"===g&&!1===d||"tags"===g?s:"",et="tags"===g||"multiple"===g&&!1===d||h&&(c||Q);function en(e,t,n,o,i){return m.createElement("span",{className:r()("".concat(q,"-item"),(0,a.Z)({},"".concat(q,"-item-disabled"),n)),title:O(e)},m.createElement("span",{className:"".concat(q,"-item-content")},t),o&&m.createElement(w,{className:"".concat(q,"-item-remove"),onMouseDown:D,onClick:i,customizeIcon:Z},"\xd7"))}t=function(){X(_.current.scrollWidth)},n=[ee],I?m.useLayoutEffect(t,n):m.useEffect(t,n);var eo=m.createElement("div",{className:"".concat(q,"-search"),style:{width:U},onFocus:function(){J(!0)},onBlur:function(){J(!1)}},m.createElement($,{ref:p,open:c,prefixCls:i,id:o,inputElement:null,disabled:v,autoFocus:b,autoComplete:S,editable:et,activeDescendantId:y,value:ee,onKeyDown:V,onMouseDown:A,onChange:L,onPaste:j,onCompositionStart:F,onCompositionEnd:W,tabIndex:C,attrs:(0,E.Z)(e,!0)}),m.createElement("span",{ref:_,className:"".concat(q,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),er=m.createElement(x.Z,{prefixCls:"".concat(q,"-overflow"),data:l,renderItem:function(e){var t,n=e.disabled,o=e.label,r=e.value,i=!v&&!n,l=o;if("number"==typeof N&&("string"==typeof o||"number"==typeof o)){var a=String(l);a.length>N&&(l="".concat(a.slice(0,N),"..."))}var u=function(t){t&&t.stopPropagation(),H(e)};return"function"==typeof k?(t=l,m.createElement("span",{onMouseDown:function(e){D(e),z(!c)}},k({label:t,value:r,disabled:n,closable:i,onClose:u}))):en(e,l,n,i,u)},renderRest:function(e){var t="function"==typeof T?T(e):T;return en({title:t},t,!1)},suffix:eo,itemKey:M,maxCount:R});return m.createElement(m.Fragment,null,er,!l.length&&!ee&&m.createElement("span",{className:"".concat(q,"-placeholder")},f))},N=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,i=e.disabled,l=e.autoFocus,a=e.autoComplete,c=e.activeDescendantId,s=e.mode,d=e.open,p=e.values,f=e.placeholder,v=e.tabIndex,g=e.showSearch,h=e.searchValue,b=e.activeValue,w=e.maxLength,S=e.onInputKeyDown,y=e.onInputMouseDown,x=e.onInputChange,C=e.onInputPaste,I=e.onInputCompositionStart,Z=e.onInputCompositionEnd,M=e.title,D=m.useState(!1),R=(0,u.Z)(D,2),N=R[0],P=R[1],T="combobox"===s,k=T||g,z=p[0],H=h||"";T&&b&&!N&&(H=b),m.useEffect(function(){T&&P(!1)},[T,b]);var L=("combobox"===s||!!d||!!g)&&!!H,j=void 0===M?O(z):M;return m.createElement(m.Fragment,null,m.createElement("span",{className:"".concat(n,"-selection-search")},m.createElement($,{ref:r,prefixCls:n,id:o,open:d,inputElement:t,disabled:i,autoFocus:l,autoComplete:a,editable:k,activeDescendantId:c,value:H,onKeyDown:S,onMouseDown:y,onChange:function(e){P(!0),x(e)},onPaste:C,onCompositionStart:I,onCompositionEnd:Z,tabIndex:v,attrs:(0,E.Z)(e,!0),maxLength:T?w:void 0})),!T&&z?m.createElement("span",{className:"".concat(n,"-selection-item"),title:j,style:L?{visibility:"hidden"}:void 0},z.label):null,z?null:m.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:L?{visibility:"hidden"}:void 0},f))},P=m.forwardRef(function(e,t){var n=(0,m.useRef)(null),o=(0,m.useRef)(!1),r=e.prefixCls,l=e.open,a=e.mode,c=e.showSearch,s=e.tokenWithEnter,d=e.autoClearSearchValue,p=e.onSearch,f=e.onSearchSubmit,v=e.onToggleOpen,g=e.onInputKeyDown,b=e.domRef;m.useImperativeHandle(t,function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}});var w=y(0),S=(0,u.Z)(w,2),E=S[0],x=S[1],$=(0,m.useRef)(null),C=function(e){!1!==p(e,!0,o.current)&&v(!0)},I={inputRef:n,onInputKeyDown:function(e){var t=e.which;(t===h.Z.UP||t===h.Z.DOWN)&&e.preventDefault(),g&&g(e),t!==h.Z.ENTER||"tags"!==a||o.current||l||null==f||f(e.target.value),[h.Z.ESC,h.Z.SHIFT,h.Z.BACKSPACE,h.Z.TAB,h.Z.WIN_KEY,h.Z.ALT,h.Z.META,h.Z.WIN_KEY_RIGHT,h.Z.CTRL,h.Z.SEMICOLON,h.Z.EQUALS,h.Z.CAPS_LOCK,h.Z.CONTEXT_MENU,h.Z.F1,h.Z.F2,h.Z.F3,h.Z.F4,h.Z.F5,h.Z.F6,h.Z.F7,h.Z.F8,h.Z.F9,h.Z.F10,h.Z.F11,h.Z.F12].includes(t)||v(!0)},onInputMouseDown:function(){x(!0)},onInputChange:function(e){var t=e.target.value;if(s&&$.current&&/[\r\n]/.test($.current)){var n=$.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,$.current)}$.current=null,C(t)},onInputPaste:function(e){var t=e.clipboardData.getData("text");$.current=t},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==a&&C(e.target.value)}},Z="multiple"===a||"tags"===a?m.createElement(R,(0,i.Z)({},e,I)):m.createElement(N,(0,i.Z)({},e,I));return m.createElement("div",{ref:b,className:"".concat(r,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){n.current.focus()}):n.current.focus())},onMouseDown:function(e){var t=E();e.target===n.current||t||"combobox"===a||e.preventDefault(),("combobox"===a||c&&t)&&l||(l&&!1!==d&&p("",!0,!1),v())}},Z)});P.displayName="Selector";var T=n(40228),k=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],z=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}},H=m.forwardRef(function(e,t){var n=e.prefixCls,o=(e.disabled,e.visible),l=e.children,u=e.popupElement,d=e.animation,p=e.transitionName,f=e.dropdownStyle,v=e.dropdownClassName,g=e.direction,h=e.placement,b=e.builtinPlacements,w=e.dropdownMatchSelectWidth,S=e.dropdownRender,y=e.dropdownAlign,E=e.getPopupContainer,x=e.empty,$=e.getTriggerDOMNode,C=e.onPopupVisibleChange,I=e.onPopupMouseEnter,Z=(0,s.Z)(e,k),O="".concat(n,"-dropdown"),M=u;S&&(M=S(u));var D=m.useMemo(function(){return b||z(w)},[b,w]),R=d?"".concat(O,"-").concat(d):p,N="number"==typeof w,P=m.useMemo(function(){return N?null:!1===w?"minWidth":"width"},[w,N]),H=f;N&&(H=(0,c.Z)((0,c.Z)({},H),{},{width:w}));var L=m.useRef(null);return m.useImperativeHandle(t,function(){return{getPopupElement:function(){return L.current}}}),m.createElement(T.Z,(0,i.Z)({},Z,{showAction:C?["click"]:[],hideAction:C?["click"]:[],popupPlacement:h||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:D,prefixCls:O,popupTransitionName:R,popup:m.createElement("div",{ref:L,onMouseEnter:I},M),stretch:P,popupAlign:y,popupVisible:o,getPopupContainer:E,popupClassName:r()(v,(0,a.Z)({},"".concat(O,"-empty"),x)),popupStyle:H,getTriggerDOMNode:$,onPopupVisibleChange:C}),l)});H.displayName="SelectTrigger";var L=n(84506);function j(e,t){var n,o=e.key;return("value"in e&&(n=e.value),null!=o)?o:void 0!==n?n:"rc-index-key-".concat(t)}function V(e,t){var n=e||{},o=n.label,r=n.value,i=n.options,l=n.groupLabel,a=o||(t?"children":"label");return{label:a,value:r||"value",options:i||"options",groupLabel:l||a}}function A(e){var t=(0,c.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,f.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var F=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],W=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function _(e){return"tags"===e||"multiple"===e}var B=m.forwardRef(function(e,t){var n,o,f,E,x,$,C,I,Z=e.id,O=e.prefixCls,M=e.className,D=e.showSearch,R=e.tagRender,N=e.direction,T=e.omitDomProps,k=e.displayValues,z=e.onDisplayValuesChange,j=e.emptyOptions,V=e.notFoundContent,A=void 0===V?"Not Found":V,B=e.onClear,K=e.mode,U=e.disabled,X=e.loading,G=e.getInputElement,Y=e.getRawInputElement,Q=e.open,J=e.defaultOpen,q=e.onDropdownVisibleChange,ee=e.activeValue,et=e.onActiveValueChange,en=e.activeDescendantId,eo=e.searchValue,er=e.autoClearSearchValue,ei=e.onSearch,el=e.onSearchSplit,ea=e.tokenSeparators,ec=e.allowClear,eu=e.suffixIcon,es=e.clearIcon,ed=e.OptionList,ep=e.animation,ef=e.transitionName,em=e.dropdownStyle,ev=e.dropdownClassName,eg=e.dropdownMatchSelectWidth,eh=e.dropdownRender,eb=e.dropdownAlign,ew=e.placement,eS=e.builtinPlacements,ey=e.getPopupContainer,eE=e.showAction,ex=void 0===eE?[]:eE,e$=e.onFocus,eC=e.onBlur,eI=e.onKeyUp,eZ=e.onKeyDown,eO=e.onMouseDown,eM=(0,s.Z)(e,F),eD=_(K),eR=(void 0!==D?D:eD)||"combobox"===K,eN=(0,c.Z)({},eM);W.forEach(function(e){delete eN[e]}),null==T||T.forEach(function(e){delete eN[e]});var eP=m.useState(!1),eT=(0,u.Z)(eP,2),ek=eT[0],ez=eT[1];m.useEffect(function(){ez((0,g.Z)())},[]);var eH=m.useRef(null),eL=m.useRef(null),ej=m.useRef(null),eV=m.useRef(null),eA=m.useRef(null),eF=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=m.useState(!1),n=(0,u.Z)(t,2),o=n[0],r=n[1],i=m.useRef(null),l=function(){window.clearTimeout(i.current)};return m.useEffect(function(){return l},[]),[o,function(t,n){l(),i.current=window.setTimeout(function(){r(t),n&&n()},e)},l]}(),eW=(0,u.Z)(eF,3),e_=eW[0],eB=eW[1],eK=eW[2];m.useImperativeHandle(t,function(){var e,t;return{focus:null===(e=eV.current)||void 0===e?void 0:e.focus,blur:null===(t=eV.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=eA.current)||void 0===t?void 0:t.scrollTo(e)}}});var eU=m.useMemo(function(){if("combobox"!==K)return eo;var e,t=null===(e=k[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[eo,K,k]),eX="combobox"===K&&"function"==typeof G&&G()||null,eG="function"==typeof Y&&Y(),eY=(0,b.x1)(eL,null==eG?void 0:null===(E=eG.props)||void 0===E?void 0:E.ref),eQ=m.useState(!1),eJ=(0,u.Z)(eQ,2),eq=eJ[0],e0=eJ[1];(0,v.Z)(function(){e0(!0)},[]);var e1=(0,p.Z)(!1,{defaultValue:J,value:Q}),e2=(0,u.Z)(e1,2),e4=e2[0],e5=e2[1],e6=!!eq&&e4,e3=!A&&j;(U||e3&&e6&&"combobox"===K)&&(e6=!1);var e7=!e3&&e6,e8=m.useCallback(function(e){var t=void 0!==e?e:!e6;U||(e5(t),e6!==t&&(null==q||q(t)))},[U,e6,e5,q]),e9=m.useMemo(function(){return(ea||[]).some(function(e){return["\n","\r\n"].includes(e)})},[ea]),te=function(e,t,n){var o=!0,r=e;null==et||et(null);var i=n?null:function(e,t){if(!t||!t.length)return null;var n=!1,o=function e(t,o){var r=(0,L.Z)(o),i=r[0],a=r.slice(1);if(!i)return[t];var c=t.split(i);return n=n||c.length>1,c.reduce(function(t,n){return[].concat((0,l.Z)(t),(0,l.Z)(e(n,a)))},[]).filter(function(e){return e})}(e,t);return n?o:null}(e,ea);return"combobox"!==K&&i&&(r="",null==el||el(i),e8(!1),o=!1),ei&&eU!==r&&ei(r,{source:t?"typing":"effect"}),o};m.useEffect(function(){e6||eD||"combobox"===K||te("",!1,!1)},[e6]),m.useEffect(function(){e4&&U&&e5(!1),U&&eB(!1)},[U]);var tt=y(),tn=(0,u.Z)(tt,2),to=tn[0],tr=tn[1],ti=m.useRef(!1),tl=[];m.useEffect(function(){return function(){tl.forEach(function(e){return clearTimeout(e)}),tl.splice(0,tl.length)}},[]);var ta=m.useState({}),tc=(0,u.Z)(ta,2)[1];eG&&($=function(e){e8(e)}),n=function(){var e;return[eH.current,null===(e=ej.current)||void 0===e?void 0:e.getPopupElement()]},o=!!eG,(f=m.useRef(null)).current={open:e7,triggerOpen:e8,customizedTrigger:o},m.useEffect(function(){function e(e){if(null===(t=f.current)||void 0===t||!t.customizedTrigger){var t,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),f.current.open&&n().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&f.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var tu=m.useMemo(function(){return(0,c.Z)((0,c.Z)({},e),{},{notFoundContent:A,open:e6,triggerOpen:e7,id:Z,showSearch:eR,multiple:eD,toggleOpen:e8})},[e,A,e7,e6,Z,eR,eD,e8]),ts=!!eu||X;ts&&(C=m.createElement(w,{className:r()("".concat(O,"-arrow"),(0,a.Z)({},"".concat(O,"-arrow-loading"),X)),customizeIcon:eu,customizeIconProps:{loading:X,searchValue:eU,open:e6,focused:e_,showSearch:eR}}));var td=function(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0,a=arguments.length>7?arguments[7]:void 0,c=m.useMemo(function(){return"object"===(0,d.Z)(o)?o.clearIcon:r||void 0},[o,r]);return{allowClear:m.useMemo(function(){return!i&&!!o&&(!!n.length||!!l)&&!("combobox"===a&&""===l)},[o,i,n.length,l,a]),clearIcon:m.createElement(w,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:c},"\xd7")}}(O,function(){var e;null==B||B(),null===(e=eV.current)||void 0===e||e.focus(),z([],{type:"clear",values:k}),te("",!1,!1)},k,ec,es,U,eU,K),tp=td.allowClear,tf=td.clearIcon,tm=m.createElement(ed,{ref:eA}),tv=r()(O,M,(x={},(0,a.Z)(x,"".concat(O,"-focused"),e_),(0,a.Z)(x,"".concat(O,"-multiple"),eD),(0,a.Z)(x,"".concat(O,"-single"),!eD),(0,a.Z)(x,"".concat(O,"-allow-clear"),ec),(0,a.Z)(x,"".concat(O,"-show-arrow"),ts),(0,a.Z)(x,"".concat(O,"-disabled"),U),(0,a.Z)(x,"".concat(O,"-loading"),X),(0,a.Z)(x,"".concat(O,"-open"),e6),(0,a.Z)(x,"".concat(O,"-customize-input"),eX),(0,a.Z)(x,"".concat(O,"-show-search"),eR),x)),tg=m.createElement(H,{ref:ej,disabled:U,prefixCls:O,visible:e7,popupElement:tm,animation:ep,transitionName:ef,dropdownStyle:em,dropdownClassName:ev,direction:N,dropdownMatchSelectWidth:eg,dropdownRender:eh,dropdownAlign:eb,placement:ew,builtinPlacements:eS,getPopupContainer:ey,empty:j,getTriggerDOMNode:function(){return eL.current},onPopupVisibleChange:$,onPopupMouseEnter:function(){tc({})}},eG?m.cloneElement(eG,{ref:eY}):m.createElement(P,(0,i.Z)({},e,{domRef:eL,prefixCls:O,inputElement:eX,ref:eV,id:Z,showSearch:eR,autoClearSearchValue:er,mode:K,activeDescendantId:en,tagRender:R,values:k,open:e6,onToggleOpen:e8,activeValue:ee,searchValue:eU,onSearch:te,onSearchSubmit:function(e){e&&e.trim()&&ei(e,{source:"submit"})},onRemove:function(e){z(k.filter(function(t){return t!==e}),{type:"remove",values:[e]})},tokenWithEnter:e9})));return I=eG?tg:m.createElement("div",(0,i.Z)({className:tv},eN,{ref:eH,onMouseDown:function(e){var t,n=e.target,o=null===(t=ej.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout(function(){var e,t=tl.indexOf(r);-1!==t&&tl.splice(t,1),eK(),ek||o.contains(document.activeElement)||null===(e=eV.current)||void 0===e||e.focus()});tl.push(r)}for(var i=arguments.length,l=Array(i>1?i-1:0),a=1;a=0;a-=1){var c=r[a];if(!c.disabled){r.splice(a,1),i=c;break}}i&&z(r,{type:"remove",values:[i]})}for(var u=arguments.length,s=Array(u>1?u-1:0),d=1;d1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:1,n=z.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];_(e);var n={source:t?"keyboard":"mouse"},o=z[e];if(!o){C(null,-1,n);return}C(o.value,e,n)};(0,m.useEffect)(function(){B(!1!==I?V(0):-1)},[z.length,v]);var K=m.useCallback(function(e){return M.has(e)&&"combobox"!==f},[f,(0,l.Z)(M).toString(),M.size]);(0,m.useEffect)(function(){var e,t=setTimeout(function(){if(!p&&d&&1===M.size){var e=Array.from(M)[0],t=z.findIndex(function(t){return t.data.value===e});-1!==t&&(B(t),j(t))}});return d&&(null===(e=H.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[d,v,$.length]);var U=function(e){void 0!==e&&Z(e,{selected:!M.has(e)}),p||g(!1)};if(m.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case h.Z.N:case h.Z.P:case h.Z.UP:case h.Z.DOWN:var o=0;if(t===h.Z.UP?o=-1:t===h.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===h.Z.N?o=1:t===h.Z.P&&(o=-1)),0!==o){var r=V(W+o,o);j(r),B(r,!0)}break;case h.Z.ENTER:var i=z[W];i&&!i.data.disabled?U(i.value):U(void 0),d&&e.preventDefault();break;case h.Z.ESC:g(!1),d&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){j(e)}}}),0===z.length)return m.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(k,"-empty"),onMouseDown:L},b);var X=Object.keys(D).map(function(e){return D[e]}),G=function(e){return e.label};function Y(e,t){return{role:e.group?"presentation":"option",id:"".concat(c,"_list_").concat(t)}}var Q=function(e){var t=z[e];if(!t)return null;var n=t.data||{},o=n.value,r=t.group,l=(0,E.Z)(n,!0),a=G(t);return t?m.createElement("div",(0,i.Z)({"aria-label":"string"!=typeof a||r?null:a},l,{key:e},Y(t,e),{"aria-selected":K(o)}),o):null},J={role:"listbox",id:"".concat(c,"_list")};return m.createElement(m.Fragment,null,R&&m.createElement("div",(0,i.Z)({},J,{style:{height:0,width:0,overflow:"hidden"}}),Q(W-1),Q(W),Q(W+1)),m.createElement(ei.Z,{itemKey:"key",ref:H,data:z,height:P,itemHeight:T,fullHeight:!1,onMouseDown:L,onScroll:y,virtual:R,direction:N,innerProps:R?null:J},function(e,t){var n=e.group,o=e.groupOption,l=e.data,c=e.label,u=e.value,d=l.key;if(n){var p,f,v=null!==(f=l.title)&&void 0!==f?f:ec(c)?c.toString():void 0;return m.createElement("div",{className:r()(k,"".concat(k,"-group")),title:v},void 0!==c?c:d)}var g=l.disabled,h=l.title,b=(l.children,l.style),S=l.className,y=(0,s.Z)(l,ea),x=(0,er.Z)(y,X),$=K(u),C="".concat(k,"-option"),I=r()(k,C,S,(p={},(0,a.Z)(p,"".concat(C,"-grouped"),o),(0,a.Z)(p,"".concat(C,"-active"),W===t&&!g),(0,a.Z)(p,"".concat(C,"-disabled"),g),(0,a.Z)(p,"".concat(C,"-selected"),$),p)),Z=G(e),M=!O||"function"==typeof O||$,D="number"==typeof Z?Z:Z||u,N=ec(D)?D.toString():void 0;return void 0!==h&&(N=h),m.createElement("div",(0,i.Z)({},(0,E.Z)(x),R?{}:Y(e,t),{"aria-selected":$,className:I,title:N,onMouseMove:function(){W===t||g||B(t)},onClick:function(){g||U(u)},style:b}),m.createElement("div",{className:"".concat(C,"-content")},D),m.isValidElement(O)||$,M&&m.createElement(w,{className:"".concat(k,"-option-state"),customizeIcon:O,customizeIconProps:{isSelected:$}},$?"✓":null))}))});eu.displayName="OptionList";var es=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],ed=["inputValue"],ep=m.forwardRef(function(e,t){var n,o,r,f,v,g=e.id,h=e.mode,b=e.prefixCls,w=e.backfill,S=e.fieldNames,y=e.inputValue,E=e.searchValue,x=e.onSearch,$=e.autoClearSearchValue,I=void 0===$||$,Z=e.onSelect,O=e.onDeselect,M=e.dropdownMatchSelectWidth,D=void 0===M||M,R=e.filterOption,N=e.filterSort,P=e.optionFilterProp,T=e.optionLabelProp,k=e.options,z=e.children,H=e.defaultActiveFirstOption,L=e.menuItemSelectedIcon,F=e.virtual,W=e.direction,X=e.listHeight,et=void 0===X?200:X,en=e.listItemHeight,eo=void 0===en?20:en,er=e.value,ei=e.defaultValue,ea=e.labelInValue,ec=e.onChange,ep=(0,s.Z)(e,es),ef=(n=m.useState(),r=(o=(0,u.Z)(n,2))[0],f=o[1],m.useEffect(function(){var e;f("rc_select_".concat((Y?(e=G,G+=1):e="TEST_OR_SSR",e)))},[]),g||r),em=_(h),ev=!!(!k&&z),eg=m.useMemo(function(){return(void 0!==R||"combobox"!==h)&&R},[R,h]),eh=m.useMemo(function(){return V(S,ev)},[JSON.stringify(S),ev]),eb=(0,p.Z)("",{value:void 0!==E?E:y,postState:function(e){return e||""}}),ew=(0,u.Z)(eb,2),eS=ew[0],ey=ew[1],eE=m.useMemo(function(){var e=k;k||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,Q.Z)(t).map(function(t,o){if(!m.isValidElement(t)||!t.type)return null;var r,i,l,a,u,d=t.type.isSelectOptGroup,p=t.key,f=t.props,v=f.children,g=(0,s.Z)(f,q);return n||!d?(r=t.key,l=(i=t.props).children,a=i.value,u=(0,s.Z)(i,J),(0,c.Z)({key:r,value:void 0!==a?a:r,children:l},u)):(0,c.Z)((0,c.Z)({key:"__RC_SELECT_GRP__".concat(null===p?o:p,"__"),label:p},g),{},{options:e(v)})}).filter(function(e){return e})}(z));var t=new Map,n=new Map,o=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(r){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=0;l1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],i=V(n,!1),l=i.label,a=i.value,c=i.options,u=i.groupLabel;return!function e(t,n){t.forEach(function(t){if(!n&&c in t){var i=t[u];void 0===i&&o&&(i=t.label),r.push({key:j(t,r.length),group:!0,data:t,label:i}),e(t[c],!0)}else{var s=t[a];r.push({key:j(t,r.length),groupOption:n,data:t,label:t[l],value:s})}})}(e,!1),r}(eV,{fieldNames:eh,childrenAsData:ev})},[eV,eh,ev]),eF=function(e){var t=eI(e);if(eD(t),ec&&(t.length!==eP.length||t.some(function(e,t){var n;return(null===(n=eP[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=ea?t:t.map(function(e){return e.value}),o=t.map(function(e){return A(eT(e.value))});ec(em?n:n[0],em?o:o[0])}},eW=m.useState(null),e_=(0,u.Z)(eW,2),eB=e_[0],eK=e_[1],eU=m.useState(0),eX=(0,u.Z)(eU,2),eG=eX[0],eY=eX[1],eQ=void 0!==H?H:"combobox"!==h,eJ=m.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eY(t),w&&"combobox"===h&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eK(String(e))},[w,h]),eq=function(e,t,n){var o=function(){var t,n=eT(e);return[ea?{label:null==n?void 0:n[eh.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,A(n)]};if(t&&Z){var r=o(),i=(0,u.Z)(r,2);Z(i[0],i[1])}else if(!t&&O&&"clear"!==n){var l=o(),a=(0,u.Z)(l,2);O(a[0],a[1])}},e0=ee(function(e,t){var n=!em||t.selected;eF(n?em?[].concat((0,l.Z)(eP),[e]):[e]:eP.filter(function(t){return t.value!==e})),eq(e,n),"combobox"===h?eK(""):(!_||I)&&(ey(""),eK(""))}),e1=m.useMemo(function(){var e=!1!==F&&!1!==D;return(0,c.Z)((0,c.Z)({},eE),{},{flattenOptions:eA,onActiveValue:eJ,defaultActiveFirstOption:eQ,onSelect:e0,menuItemSelectedIcon:L,rawValues:ez,fieldNames:eh,virtual:e,direction:W,listHeight:et,listItemHeight:eo,childrenAsData:ev})},[eE,eA,eJ,eQ,e0,L,ez,eh,F,D,et,eo,ev]);return m.createElement(el.Provider,{value:e1},m.createElement(B,(0,i.Z)({},ep,{id:ef,prefixCls:void 0===b?"rc-select":b,ref:t,omitDomProps:ed,mode:h,displayValues:ek,onDisplayValuesChange:function(e,t){eF(e);var n=t.type,o=t.values;("remove"===n||"clear"===n)&&o.forEach(function(e){eq(e.value,!1,n)})},direction:W,searchValue:eS,onSearch:function(e,t){if(ey(e),eK(null),"submit"===t.source){var n=(e||"").trim();n&&(eF(Array.from(new Set([].concat((0,l.Z)(ez),[n])))),eq(n,!0),ey(""));return}"blur"!==t.source&&("combobox"===h&&eF(e),null==x||x(e))},autoClearSearchValue:I,onSearchSplit:function(e){var t=e;"tags"!==h&&(t=e.map(function(e){var t=e$.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,l.Z)(ez),(0,l.Z)(t))));eF(n),n.forEach(function(e){eq(e,!0)})},dropdownMatchSelectWidth:D,OptionList:eu,emptyOptions:!eA.length,activeValue:eB,activeDescendantId:"".concat(ef,"_list_").concat(eG)})))});ep.Option=en,ep.OptGroup=et;var ef=n(8745),em=n(33603),ev=n(9708),eg=n(53124),eh=n(98866),eb=n(32983),ew=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,m.useContext)(eg.E_),o=n("empty");switch(t){case"Table":case"List":return m.createElement(eb.Z,{image:eb.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return m.createElement(eb.Z,{image:eb.Z.PRESENTED_IMAGE_SIMPLE,className:`${o}-small`});default:return m.createElement(eb.Z,null)}},eS=n(98675),ey=n(65223),eE=n(4173),ex=n(14747),e$=n(80110),eC=n(45503),eI=n(67968),eZ=n(67771),eO=n(76325),eM=n(93590);let eD=new eO.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eR=new eO.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),eN=new eO.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eP=new eO.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),eT=new eO.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ek=new eO.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ez=new eO.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eH=new eO.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),eL={"move-up":{inKeyframes:ez,outKeyframes:eH},"move-down":{inKeyframes:eD,outKeyframes:eR},"move-left":{inKeyframes:eN,outKeyframes:eP},"move-right":{inKeyframes:eT,outKeyframes:ek}},ej=(e,t)=>{let{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:i}=eL[t];return[(0,eM.R)(o,r,i,e.motionDurationMid),{[` + ${o}-enter, + ${o}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},eV=e=>{let{optionHeight:t,optionFontSize:n,optionLineHeight:o,optionPadding:r}=e;return{position:"relative",display:"block",minHeight:t,padding:r,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:o,boxSizing:"border-box"}};var eA=e=>{let{antCls:t,componentCls:n}=e,o=`${n}-item`,r=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,l=`&${t}-slide-up-leave${t}-slide-up-leave-active`,a=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},(0,ex.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` + ${r}${a}bottomLeft, + ${i}${a}bottomLeft + `]:{animationName:eZ.fJ},[` + ${r}${a}topLeft, + ${i}${a}topLeft, + ${r}${a}topRight, + ${i}${a}topRight + `]:{animationName:eZ.Qt},[`${l}${a}bottomLeft`]:{animationName:eZ.Uw},[` + ${l}${a}topLeft, + ${l}${a}topRight + `]:{animationName:eZ.ly},"&-hidden":{display:"none"},[`${o}`]:Object.assign(Object.assign({},eV(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ex.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${o}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${o}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${o}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${o}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:2*e.controlPaddingHorizontal}}}),"&-rtl":{direction:"rtl"}})},(0,eZ.oN)(e,"slide-up"),(0,eZ.oN)(e,"slide-down"),ej(e,"move-up"),ej(e,"move-down")]};let eF=e=>{let{controlHeightSM:t,controlHeight:n,lineWidth:o}=e,r=(n-t)/2-o;return[r,Math.ceil(r/2)]};function eW(e,t){let{componentCls:n,iconCls:o}=e,r=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,[l]=eF(e),a=t?`${n}-${t}`:"";return{[`${n}-multiple${a}`]:{fontSize:e.fontSize,[r]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${l-2}px 4px`,borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:"2px 0",lineHeight:`${i}px`,visibility:"hidden",content:'"\\a0"'}},[` + &${n}-show-arrow ${n}-selector, + &${n}-allow-clear ${n}-selector + `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:2,marginBottom:2,lineHeight:`${i-2*e.lineWidth}px`,background:e.multipleItemBg,border:`${e.lineWidth}px ${e.lineType} ${e.multipleItemBorderColor}`,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:4,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ex.Ro)()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${o}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${r}-item + ${r}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-l,[` + &-input, + &-mirror + `]:{height:i,fontFamily:e.fontFamily,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}var e_=e=>{let{componentCls:t}=e,n=(0,eC.TS)(e,{controlHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=(0,eC.TS)(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),[,r]=eF(e);return[eW(e),eW(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.controlPaddingHorizontalSM-e.lineWidth},[`${t}-selection-search`]:{marginInlineStart:r}}},eW(o,"lg")]};function eB(e,t){let{componentCls:n,inputPaddingHorizontalBase:o,borderRadius:r}=e,i=e.controlHeight-2*e.lineWidth,l=Math.ceil(1.25*e.fontSize),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,[`${n}-selector`]:Object.assign(Object.assign({},(0,ex.Wf)(e)),{display:"flex",borderRadius:r,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:o,insetInlineEnd:o,bottom:0,"&-input":{width:"100%"}},[` + ${n}-selection-item, + ${n}-selection-placeholder + `]:{padding:0,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${i}px`}},[`${n}-selection-item`]:{position:"relative",userSelect:"none"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[`&:after,${n}-selection-item:after,${n}-selection-placeholder:after`]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${n}-show-arrow ${n}-selection-item, + &${n}-show-arrow ${n}-selection-placeholder + `]:{paddingInlineEnd:l},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${o}px`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:`${i}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${o}px`,"&:after":{display:"none"}}}}}}}let eK=e=>{let{componentCls:t,selectorBg:n}=e;return{position:"relative",backgroundColor:n,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},eU=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{componentCls:o,borderHoverColor:r,outlineColor:i,antCls:l}=t,a=n?{[`${o}-selector`]:{borderColor:r}}:{};return{[e]:{[`&:not(${o}-disabled):not(${o}-customize-input):not(${l}-pagination-size-changer)`]:Object.assign(Object.assign({},a),{[`${o}-focused& ${o}-selector`]:{borderColor:r,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${i}`,outline:0},[`&:hover ${o}-selector`]:{borderColor:r}})}}},eX=e=>{let{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},eG=e=>{let{componentCls:t,inputPaddingHorizontalBase:n,iconCls:o}=e;return{[t]:Object.assign(Object.assign({},(0,ex.Wf)(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:Object.assign(Object.assign({},eK(e)),eX(e)),[`${t}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},ex.vS),[`${t}-selection-placeholder`]:Object.assign(Object.assign({},ex.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:Object.assign(Object.assign({},(0,ex.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.clearBg,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXS}}}},eY=e=>{let{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},eG(e),function(e){let{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[eB(e),eB((0,eC.TS)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+1.5*e.fontSize},[` + &${t}-show-arrow ${t}-selection-item, + &${t}-show-arrow ${t}-selection-placeholder + `]:{paddingInlineEnd:1.5*e.fontSize}}}},eB((0,eC.TS)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}(e),e_(e),eA(e),{[`${t}-rtl`]:{direction:"rtl"}},eU(t,(0,eC.TS)(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),eU(`${t}-status-error`,(0,eC.TS)(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),eU(`${t}-status-warning`,(0,eC.TS)(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),(0,e$.c)(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]};var eQ=(0,eI.Z)("Select",(e,t)=>{let{rootPrefixCls:n}=t,o=(0,eC.TS)(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1,multipleSelectItemHeight:e.multipleItemHeight});return[eY(o)]},e=>{let{fontSize:t,lineHeight:n,controlHeight:o,controlPaddingHorizontal:r,zIndexPopupBase:i,colorText:l,fontWeightStrong:a,controlItemBgActive:c,controlItemBgHover:u,colorBgContainer:s,colorFillSecondary:d,controlHeightLG:p,controlHeightSM:f,colorBgContainerDisabled:m,colorTextDisabled:v}=e;return{zIndexPopup:i+50,optionSelectedColor:l,optionSelectedFontWeight:a,optionSelectedBg:c,optionActiveBg:u,optionPadding:`${(o-t*n)/2}px ${r}px`,optionFontSize:t,optionLineHeight:n,optionHeight:o,selectorBg:s,clearBg:s,singleItemHeightLG:p,multipleItemBg:d,multipleItemBorderColor:"transparent",multipleItemHeight:f,multipleItemHeightLG:o,multipleSelectorBgDisabled:m,multipleItemColorDisabled:v,multipleItemBorderColorDisabled:"transparent"}});let eJ=e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}};var eq=n(63606),e0=n(4340),e1=n(97937),e2=n(80882),e4=n(50888),e5=n(68795),e6=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let e3="SECRET_COMBOBOX_MODE_DO_NOT_USE",e7=m.forwardRef((e,t)=>{let n;var o,i,l,{prefixCls:a,bordered:c=!0,className:u,rootClassName:s,getPopupContainer:d,popupClassName:p,dropdownClassName:f,listHeight:v=256,placement:g,listItemHeight:h=24,size:b,disabled:w,notFoundContent:S,status:y,builtinPlacements:E,dropdownMatchSelectWidth:x,popupMatchSelectWidth:$,direction:C,style:I,allowClear:Z}=e,O=e6(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);let{getPopupContainer:M,getPrefixCls:D,renderEmpty:R,direction:N,virtual:P,popupMatchSelectWidth:T,popupOverflow:k,select:z}=m.useContext(eg.E_),H=D("select",a),L=D(),j=null!=C?C:N,{compactSize:V,compactItemClassnames:A}=(0,eE.ri)(H,j),[F,W]=eQ(H),_=m.useMemo(()=>{let{mode:e}=O;return"combobox"===e?void 0:e===e3?"combobox":e},[O.mode]),B=(o=O.suffixIcon,void 0!==(i=O.showArrow)?i:null!==o),K=null!==(l=null!=$?$:x)&&void 0!==l?l:T,{status:U,hasFeedback:X,isFormItemInput:G,feedbackIcon:Y}=m.useContext(ey.aM),Q=(0,ev.F)(U,y);n=void 0!==S?S:"combobox"===_?null:(null==R?void 0:R("Select"))||m.createElement(ew,{componentName:"Select"});let{suffixIcon:J,itemIcon:q,removeIcon:ee,clearIcon:et}=function(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:o,removeIcon:r,loading:i,multiple:l,hasFeedback:a,prefixCls:c,showSuffixIcon:u,feedbackIcon:s,showArrow:d,componentName:p}=e,f=null!=n?n:m.createElement(e0.Z,null),v=e=>null!==t||a||d?m.createElement(m.Fragment,null,!1!==u&&e,a&&s):null,g=null;if(void 0!==t)g=v(t);else if(i)g=v(m.createElement(e4.Z,{spin:!0}));else{let e=`${c}-suffix`;g=t=>{let{open:n,showSearch:o}=t;return n&&o?v(m.createElement(e5.Z,{className:e})):v(m.createElement(e2.Z,{className:e}))}}let h=null;return h=void 0!==o?o:l?m.createElement(eq.Z,null):null,{clearIcon:f,suffixIcon:g,itemIcon:h,removeIcon:void 0!==r?r:m.createElement(e1.Z,null)}}(Object.assign(Object.assign({},O),{multiple:"multiple"===_||"tags"===_,hasFeedback:X,feedbackIcon:Y,showSuffixIcon:B,prefixCls:H,showArrow:O.showArrow,componentName:"Select"})),en=(0,er.Z)(O,["suffixIcon","itemIcon"]),eo=r()(p||f,{[`${H}-dropdown-${j}`]:"rtl"===j},s,W),ei=(0,eS.Z)(e=>{var t;return null!==(t=null!=b?b:V)&&void 0!==t?t:e}),el=m.useContext(eh.Z),ea=r()({[`${H}-lg`]:"large"===ei,[`${H}-sm`]:"small"===ei,[`${H}-rtl`]:"rtl"===j,[`${H}-borderless`]:!c,[`${H}-in-form-item`]:G},(0,ev.Z)(H,Q,X),A,null==z?void 0:z.className,u,s,W),ec=m.useMemo(()=>void 0!==g?g:"rtl"===j?"bottomRight":"bottomLeft",[g,j]),eu=E||eJ(k);return F(m.createElement(ep,Object.assign({ref:t,virtual:P,showSearch:null==z?void 0:z.showSearch},en,{style:Object.assign(Object.assign({},null==z?void 0:z.style),I),dropdownMatchSelectWidth:K,builtinPlacements:eu,transitionName:(0,em.m)(L,"slide-up",O.transitionName),listHeight:v,listItemHeight:h,mode:_,prefixCls:H,placement:ec,direction:j,suffixIcon:J,menuItemSelectedIcon:q,removeIcon:ee,allowClear:!0===Z?{clearIcon:et}:Z,notFoundContent:n,className:ea,getPopupContainer:d||M,dropdownClassName:eo,disabled:null!=w?w:el})))}),e8=(0,ef.Z)(e7);e7.SECRET_COMBOBOX_MODE_DO_NOT_USE=e3,e7.Option=en,e7.OptGroup=et,e7._InternalPanelDoNotUseOrYouWillBeFired=e8;var e9=e7}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/46-2a716444a56f6f08.js b/pilot/server/static/_next/static/chunks/46-2a716444a56f6f08.js new file mode 100644 index 000000000..55ed1f982 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/46-2a716444a56f6f08.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[46],{59566:function(e,t,n){n.d(t,{default:function(){return en}});var r,l=n(94184),a=n.n(l),o=n(67294),s=n(53124),u=n(65223),i=n(47673),c=n(4340),f=n(67656),d=n(42550),p=n(9708),v=n(98866),m=n(98675),g=n(4173);function b(e,t){let n=(0,o.useRef)([]),r=()=>{n.current.push(setTimeout(()=>{var t,n,r,l;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(l=e.current)||void 0===l||l.input.removeAttribute("value"))}))};return(0,o.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let h=(0,o.forwardRef)((e,t)=>{var n;let r;let{prefixCls:l,bordered:h=!0,status:y,size:w,disabled:C,onBlur:E,onFocus:Z,suffix:N,allowClear:O,addonAfter:S,addonBefore:z,className:j,style:R,styles:A,rootClassName:$,onChange:P,classNames:k}=e,B=x(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:F,direction:T,input:I}=o.useContext(s.E_),M=F("input",l),H=(0,o.useRef)(null),[V,D]=(0,i.ZP)(M),{compactSize:L,compactItemClassnames:_}=(0,g.ri)(M,T),W=(0,m.Z)(e=>{var t;return null!==(t=null!=w?w:L)&&void 0!==t?t:e}),Q=o.useContext(v.Z),J=null!=C?C:Q,{status:K,hasFeedback:X,feedbackIcon:q}=(0,o.useContext)(u.aM),U=(0,p.F)(K,y),Y=!!(e.prefix||e.suffix||e.allowClear)||!!X,G=(0,o.useRef)(Y);(0,o.useEffect)(()=>{Y&&G.current,G.current=Y},[Y]);let ee=b(H,!0),et=(X||N)&&o.createElement(o.Fragment,null,N,X&&q);return"object"==typeof O&&(null==O?void 0:O.clearIcon)?r=O:O&&(r={clearIcon:o.createElement(c.Z,null)}),V(o.createElement(f.Z,Object.assign({ref:(0,d.sQ)(t,H),prefixCls:M,autoComplete:null==I?void 0:I.autoComplete},B,{disabled:J,onBlur:e=>{ee(),null==E||E(e)},onFocus:e=>{ee(),null==Z||Z(e)},style:Object.assign(Object.assign({},null==I?void 0:I.style),R),styles:Object.assign(Object.assign({},null==I?void 0:I.styles),A),suffix:et,allowClear:r,className:a()(j,$,_,null==I?void 0:I.className),onChange:e=>{ee(),null==P||P(e)},addonAfter:S&&o.createElement(g.BR,null,o.createElement(u.Ux,{override:!0,status:!0},S)),addonBefore:z&&o.createElement(g.BR,null,o.createElement(u.Ux,{override:!0,status:!0},z)),classNames:Object.assign(Object.assign(Object.assign({},k),null==I?void 0:I.classNames),{input:a()({[`${M}-sm`]:"small"===W,[`${M}-lg`]:"large"===W,[`${M}-rtl`]:"rtl"===T,[`${M}-borderless`]:!h},!Y&&(0,p.Z)(M,U),null==k?void 0:k.input,null===(n=null==I?void 0:I.classNames)||void 0===n?void 0:n.input,D)}),classes:{affixWrapper:a()({[`${M}-affix-wrapper-sm`]:"small"===W,[`${M}-affix-wrapper-lg`]:"large"===W,[`${M}-affix-wrapper-rtl`]:"rtl"===T,[`${M}-affix-wrapper-borderless`]:!h},(0,p.Z)(`${M}-affix-wrapper`,U,X),D),wrapper:a()({[`${M}-group-rtl`]:"rtl"===T},D),group:a()({[`${M}-group-wrapper-sm`]:"small"===W,[`${M}-group-wrapper-lg`]:"large"===W,[`${M}-group-wrapper-rtl`]:"rtl"===T,[`${M}-group-wrapper-disabled`]:J},(0,p.Z)(`${M}-group-wrapper`,U,X),D)}})))});var y=n(87462),w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},C=n(42135),E=o.forwardRef(function(e,t){return o.createElement(C.Z,(0,y.Z)({},e,{ref:t,icon:w}))}),Z=n(99611),N=n(98423),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let S=e=>e?o.createElement(Z.Z,null):o.createElement(E,null),z={click:"onClick",hover:"onMouseOver"},j=o.forwardRef((e,t)=>{let{visibilityToggle:n=!0}=e,r="object"==typeof n&&void 0!==n.visible,[l,u]=(0,o.useState)(()=>!!r&&n.visible),i=(0,o.useRef)(null);o.useEffect(()=>{r&&u(n.visible)},[r,n]);let c=b(i),f=()=>{let{disabled:t}=e;t||(l&&c(),u(e=>{var t;let r=!e;return"object"==typeof n&&(null===(t=n.onVisibleChange)||void 0===t||t.call(n,r)),r}))},{className:p,prefixCls:v,inputPrefixCls:m,size:g}=e,x=O(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:y}=o.useContext(s.E_),w=y("input",m),C=y("input-password",v),E=n&&(t=>{let{action:n="click",iconRender:r=S}=e,a=z[n]||"",s=r(l),u={[a]:f,className:`${t}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return o.cloneElement(o.isValidElement(s)?s:o.createElement("span",null,s),u)})(C),Z=a()(C,p,{[`${C}-${g}`]:!!g}),j=Object.assign(Object.assign({},(0,N.Z)(x,["suffix","iconRender","visibilityToggle"])),{type:l?"text":"password",className:Z,prefixCls:w,suffix:E});return g&&(j.size=g),o.createElement(h,Object.assign({ref:(0,d.sQ)(t,i)},j))});var R=n(68795),A=n(96159),$=n(71577),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let k=o.forwardRef((e,t)=>{let n;let{prefixCls:r,inputPrefixCls:l,className:u,size:i,suffix:c,enterButton:f=!1,addonAfter:p,loading:v,disabled:b,onSearch:x,onChange:y,onCompositionStart:w,onCompositionEnd:C}=e,E=P(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Z,direction:N}=o.useContext(s.E_),O=o.useRef(!1),S=Z("input-search",r),z=Z("input",l),{compactSize:j}=(0,g.ri)(S,N),k=(0,m.Z)(e=>{var t;return null!==(t=null!=i?i:j)&&void 0!==t?t:e}),B=o.useRef(null),F=e=>{var t;document.activeElement===(null===(t=B.current)||void 0===t?void 0:t.input)&&e.preventDefault()},T=e=>{var t,n;x&&x(null===(n=null===(t=B.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e,{source:"input"})},I="boolean"==typeof f?o.createElement(R.Z,null):null,M=`${S}-button`,H=f||{},V=H.type&&!0===H.type.__ANT_BUTTON;n=V||"button"===H.type?(0,A.Tm)(H,Object.assign({onMouseDown:F,onClick:e=>{var t,n;null===(n=null===(t=null==H?void 0:H.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),T(e)},key:"enterButton"},V?{className:M,size:k}:{})):o.createElement($.ZP,{className:M,type:f?"primary":void 0,size:k,disabled:b,key:"enterButton",onMouseDown:F,onClick:T,loading:v,icon:I},f),p&&(n=[n,(0,A.Tm)(p,{key:"addonAfter"})]);let D=a()(S,{[`${S}-rtl`]:"rtl"===N,[`${S}-${k}`]:!!k,[`${S}-with-button`]:!!f},u);return o.createElement(h,Object.assign({ref:(0,d.sQ)(B,t),onPressEnter:e=>{O.current||v||T(e)}},E,{size:k,onCompositionStart:e=>{O.current=!0,null==w||w(e)},onCompositionEnd:e=>{O.current=!1,null==C||C(e)},prefixCls:z,addonAfter:n,suffix:c,onChange:e=>{e&&e.target&&"click"===e.type&&x&&x(e.target.value,e,{source:"clear"}),y&&y(e)},className:D,disabled:b}))});var B=n(1413),F=n(4942),T=n(71002),I=n(97685),M=n(45987),H=n(74902),V=n(87887),D=n(21770),L=n(9220),_=n(8410),W=n(75164),Q=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],J={},K=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],X=o.forwardRef(function(e,t){var n=e.prefixCls,l=(e.onPressEnter,e.defaultValue),s=e.value,u=e.autoSize,i=e.onResize,c=e.className,f=e.style,d=e.disabled,p=e.onChange,v=(e.onInternalAutoSize,(0,M.Z)(e,K)),m=(0,D.Z)(l,{value:s,postState:function(e){return null!=e?e:""}}),g=(0,I.Z)(m,2),b=g[0],x=g[1],h=o.useRef();o.useImperativeHandle(t,function(){return{textArea:h.current}});var w=o.useMemo(function(){return u&&"object"===(0,T.Z)(u)?[u.minRows,u.maxRows]:[]},[u]),C=(0,I.Z)(w,2),E=C[0],Z=C[1],N=!!u,O=function(){try{if(document.activeElement===h.current){var e=h.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;h.current.setSelectionRange(t,n),h.current.scrollTop=r}}catch(e){}},S=o.useState(2),z=(0,I.Z)(S,2),j=z[0],R=z[1],A=o.useState(),$=(0,I.Z)(A,2),P=$[0],k=$[1],H=function(){R(0)};(0,_.Z)(function(){N&&H()},[s,E,Z,N]),(0,_.Z)(function(){if(0===j)R(1);else if(1===j){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&J[n])return J[n];var r=window.getComputedStyle(e),l=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s={sizingStyle:Q.map(function(e){return"".concat(e,":").concat(r.getPropertyValue(e))}).join(";"),paddingSize:a,borderSize:o,boxSizing:l};return t&&n&&(J[n]=s),s}(e,n),s=o.paddingSize,u=o.borderSize,i=o.boxSizing,c=o.sizingStyle;r.setAttribute("style","".concat(c,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),r.value=e.value||e.placeholder||"";var f=void 0,d=void 0,p=r.scrollHeight;if("border-box"===i?p+=u:"content-box"===i&&(p-=s),null!==l||null!==a){r.value=" ";var v=r.scrollHeight-s;null!==l&&(f=v*l,"border-box"===i&&(f=f+s+u),p=Math.max(f,p)),null!==a&&(d=v*a,"border-box"===i&&(d=d+s+u),t=p>d?"":"hidden",p=Math.min(d,p))}var m={height:p,overflowY:t,resize:"none"};return f&&(m.minHeight=f),d&&(m.maxHeight=d),m}(h.current,!1,E,Z);R(2),k(e)}else O()},[j]);var V=o.useRef(),X=function(){W.Z.cancel(V.current)};o.useEffect(function(){return X},[]);var q=N?P:null,U=(0,B.Z)((0,B.Z)({},f),q);return(0===j||1===j)&&(U.overflowY="hidden",U.overflowX="hidden"),o.createElement(L.Z,{onResize:function(e){2===j&&(null==i||i(e),u&&(X(),V.current=(0,W.Z)(function(){H()})))},disabled:!(u||i)},o.createElement("textarea",(0,y.Z)({},v,{ref:h,style:U,className:a()(n,c,(0,F.Z)({},"".concat(n,"-disabled"),d)),disabled:d,value:b,onChange:function(e){x(e.target.value),null==p||p(e)}})))}),q=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function U(e,t){return(0,H.Z)(e||"").slice(0,t).join("")}function Y(e,t,n,r){var l=n;return e?l=U(n,r):(0,H.Z)(t||"").lengthr&&(l=t),l}var G=o.forwardRef(function(e,t){var n,r,l=e.defaultValue,s=e.value,u=e.onFocus,i=e.onBlur,c=e.onChange,d=e.allowClear,p=e.maxLength,v=e.onCompositionStart,m=e.onCompositionEnd,g=e.suffix,b=e.prefixCls,x=void 0===b?"rc-textarea":b,h=e.classes,w=e.showCount,C=e.className,E=e.style,Z=e.disabled,N=e.hidden,O=e.classNames,S=e.styles,z=e.onResize,j=(0,M.Z)(e,q),R=(0,D.Z)(l,{value:s,defaultValue:l}),A=(0,I.Z)(R,2),$=A[0],P=A[1],k=(0,o.useRef)(null),L=o.useState(!1),_=(0,I.Z)(L,2),W=_[0],Q=_[1],J=o.useState(!1),K=(0,I.Z)(J,2),G=K[0],ee=K[1],et=o.useRef(),en=o.useRef(0),er=o.useState(null),el=(0,I.Z)(er,2),ea=el[0],eo=el[1],es=function(){var e;null===(e=k.current)||void 0===e||e.textArea.focus()};(0,o.useImperativeHandle)(t,function(){return{resizableTextArea:k.current,focus:es,blur:function(){var e;null===(e=k.current)||void 0===e||e.textArea.blur()}}}),(0,o.useEffect)(function(){Q(function(e){return!Z&&e})},[Z]);var eu=Number(p)>0,ei=(0,V.D7)($);!G&&eu&&null==s&&(ei=U(ei,p));var ec=g;if(w){var ef=(0,H.Z)(ei).length;r="object"===(0,T.Z)(w)?w.formatter({value:ei,count:ef,maxLength:p}):"".concat(ef).concat(eu?" / ".concat(p):""),ec=o.createElement(o.Fragment,null,ec,o.createElement("span",{className:a()("".concat(x,"-data-count"),null==O?void 0:O.count),style:null==S?void 0:S.count},r))}var ed=!j.autoSize&&!w&&!d;return o.createElement(f.Q,{value:ei,allowClear:d,handleReset:function(e){var t;P(""),es(),(0,V.rJ)(null===(t=k.current)||void 0===t?void 0:t.textArea,e,c)},suffix:ec,prefixCls:x,classes:{affixWrapper:a()(null==h?void 0:h.affixWrapper,(n={},(0,F.Z)(n,"".concat(x,"-show-count"),w),(0,F.Z)(n,"".concat(x,"-textarea-allow-clear"),d),n))},disabled:Z,focused:W,className:C,style:(0,B.Z)((0,B.Z)({},E),ea&&!ed?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof r?r:void 0}},hidden:N,inputElement:o.createElement(X,(0,y.Z)({},j,{onKeyDown:function(e){var t=j.onPressEnter,n=j.onKeyDown;"Enter"===e.key&&t&&t(e),null==n||n(e)},onChange:function(e){var t=e.target.value;!G&&eu&&(t=Y(e.target.selectionStart>=p+1||e.target.selectionStart===t.length||!e.target.selectionStart,$,t,p)),P(t),(0,V.rJ)(e.currentTarget,e,c,t)},onFocus:function(e){Q(!0),null==u||u(e)},onBlur:function(e){Q(!1),null==i||i(e)},onCompositionStart:function(e){ee(!0),et.current=$,en.current=e.currentTarget.selectionStart,null==v||v(e)},onCompositionEnd:function(e){ee(!1);var t,n=e.currentTarget.value;eu&&(n=Y(en.current>=p+1||en.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,n,p)),n!==$&&(P(n),(0,V.rJ)(e.currentTarget,e,c,n)),null==m||m(e)},className:null==O?void 0:O.textarea,style:(0,B.Z)((0,B.Z)({},null==S?void 0:S.textarea),{},{resize:null==E?void 0:E.resize}),disabled:Z,prefixCls:x,onResize:function(e){var t;null==z||z(e),null!==(t=k.current)&&void 0!==t&&t.textArea.style.height&&eo(!0)},ref:k}))})}),ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let et=(0,o.forwardRef)((e,t)=>{let n;let{prefixCls:r,bordered:l=!0,size:f,disabled:d,status:g,allowClear:b,showCount:x,classNames:h,rootClassName:y,className:w}=e,C=ee(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:E,direction:Z}=o.useContext(s.E_),N=(0,m.Z)(f),O=o.useContext(v.Z),{status:S,hasFeedback:z,feedbackIcon:j}=o.useContext(u.aM),R=(0,p.F)(S,g),A=o.useRef(null);o.useImperativeHandle(t,()=>{var e;return{resizableTextArea:null===(e=A.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;!function(e,t){if(!e)return;e.focus(t);let{cursor:n}=t||{};if(n){let t=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}(null===(n=null===(t=A.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=A.current)||void 0===e?void 0:e.blur()}}});let $=E("input",r);"object"==typeof b&&(null==b?void 0:b.clearIcon)?n=b:b&&(n={clearIcon:o.createElement(c.Z,null)});let[P,k]=(0,i.ZP)($);return P(o.createElement(G,Object.assign({},C,{disabled:null!=d?d:O,allowClear:n,className:a()(w,y),classes:{affixWrapper:a()(`${$}-textarea-affix-wrapper`,{[`${$}-affix-wrapper-rtl`]:"rtl"===Z,[`${$}-affix-wrapper-borderless`]:!l,[`${$}-affix-wrapper-sm`]:"small"===N,[`${$}-affix-wrapper-lg`]:"large"===N,[`${$}-textarea-show-count`]:x},(0,p.Z)(`${$}-affix-wrapper`,R),k)},classNames:Object.assign(Object.assign({},h),{textarea:a()({[`${$}-borderless`]:!l,[`${$}-sm`]:"small"===N,[`${$}-lg`]:"large"===N},(0,p.Z)($,R),k,null==h?void 0:h.textarea)}),prefixCls:$,suffix:z&&o.createElement("span",{className:`${$}-textarea-suffix`},j),showCount:x,ref:A})))});h.Group=e=>{let{getPrefixCls:t,direction:n}=(0,o.useContext)(s.E_),{prefixCls:r,className:l}=e,c=t("input-group",r),f=t("input"),[d,p]=(0,i.ZP)(f),v=a()(c,{[`${c}-lg`]:"large"===e.size,[`${c}-sm`]:"small"===e.size,[`${c}-compact`]:e.compact,[`${c}-rtl`]:"rtl"===n},p,l),m=(0,o.useContext)(u.aM),g=(0,o.useMemo)(()=>Object.assign(Object.assign({},m),{isFormItemInput:!1}),[m]);return d(o.createElement("span",{className:v,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},o.createElement(u.aM.Provider,{value:g},e.children)))},h.Search=k,h.TextArea=et,h.Password=j;var en=h},67656:function(e,t,n){n.d(t,{Q:function(){return f},Z:function(){return x}});var r=n(87462),l=n(1413),a=n(4942),o=n(71002),s=n(94184),u=n.n(s),i=n(67294),c=n(87887),f=function(e){var t=e.inputElement,n=e.prefixCls,s=e.prefix,f=e.suffix,d=e.addonBefore,p=e.addonAfter,v=e.className,m=e.style,g=e.disabled,b=e.readOnly,x=e.focused,h=e.triggerFocus,y=e.allowClear,w=e.value,C=e.handleReset,E=e.hidden,Z=e.classes,N=e.classNames,O=e.dataAttrs,S=e.styles,z=e.components,j=(null==z?void 0:z.affixWrapper)||"span",R=(null==z?void 0:z.groupWrapper)||"span",A=(null==z?void 0:z.wrapper)||"span",$=(null==z?void 0:z.groupAddon)||"span",P=(0,i.useRef)(null),k=(0,i.cloneElement)(t,{value:w,hidden:E,className:u()(null===(B=t.props)||void 0===B?void 0:B.className,!(0,c.X3)(e)&&!(0,c.He)(e)&&v)||null,style:(0,l.Z)((0,l.Z)({},null===(F=t.props)||void 0===F?void 0:F.style),(0,c.X3)(e)||(0,c.He)(e)?{}:m)});if((0,c.X3)(e)){var B,F,T,I="".concat(n,"-affix-wrapper"),M=u()(I,(T={},(0,a.Z)(T,"".concat(I,"-disabled"),g),(0,a.Z)(T,"".concat(I,"-focused"),x),(0,a.Z)(T,"".concat(I,"-readonly"),b),(0,a.Z)(T,"".concat(I,"-input-with-clear-btn"),f&&y&&w),T),!(0,c.He)(e)&&v,null==Z?void 0:Z.affixWrapper,null==N?void 0:N.affixWrapper),H=(f||y)&&i.createElement("span",{className:u()("".concat(n,"-suffix"),null==N?void 0:N.suffix),style:null==S?void 0:S.suffix},function(){if(!y)return null;var e,t=!g&&!b&&w,r="".concat(n,"-clear-icon"),l="object"===(0,o.Z)(y)&&null!=y&&y.clearIcon?y.clearIcon:"✖";return i.createElement("span",{onClick:C,onMouseDown:function(e){return e.preventDefault()},className:u()(r,(e={},(0,a.Z)(e,"".concat(r,"-hidden"),!t),(0,a.Z)(e,"".concat(r,"-has-suffix"),!!f),e)),role:"button",tabIndex:-1},l)}(),f);k=i.createElement(j,(0,r.Z)({className:M,style:(0,l.Z)((0,l.Z)({},(0,c.He)(e)?void 0:m),null==S?void 0:S.affixWrapper),hidden:!(0,c.He)(e)&&E,onClick:function(e){var t;null!==(t=P.current)&&void 0!==t&&t.contains(e.target)&&(null==h||h())}},null==O?void 0:O.affixWrapper,{ref:P}),s&&i.createElement("span",{className:u()("".concat(n,"-prefix"),null==N?void 0:N.prefix),style:null==S?void 0:S.prefix},s),(0,i.cloneElement)(t,{value:w,hidden:null}),H)}if((0,c.He)(e)){var V="".concat(n,"-group"),D="".concat(V,"-addon"),L=u()("".concat(n,"-wrapper"),V,null==Z?void 0:Z.wrapper),_=u()("".concat(n,"-group-wrapper"),v,null==Z?void 0:Z.group);return i.createElement(R,{className:_,style:m,hidden:E},i.createElement(A,{className:L},d&&i.createElement($,{className:D},d),(0,i.cloneElement)(k,{hidden:null}),p&&i.createElement($,{className:D},p)))}return k},d=n(74902),p=n(97685),v=n(45987),m=n(21770),g=n(98423),b=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],x=(0,i.forwardRef)(function(e,t){var n,s=e.autoComplete,x=e.onChange,h=e.onFocus,y=e.onBlur,w=e.onPressEnter,C=e.onKeyDown,E=e.prefixCls,Z=void 0===E?"rc-input":E,N=e.disabled,O=e.htmlSize,S=e.className,z=e.maxLength,j=e.suffix,R=e.showCount,A=e.type,$=e.classes,P=e.classNames,k=e.styles,B=(0,v.Z)(e,b),F=(0,m.Z)(e.defaultValue,{value:e.value}),T=(0,p.Z)(F,2),I=T[0],M=T[1],H=(0,i.useState)(!1),V=(0,p.Z)(H,2),D=V[0],L=V[1],_=(0,i.useRef)(null),W=function(e){_.current&&(0,c.nH)(_.current,e)};return(0,i.useImperativeHandle)(t,function(){return{focus:W,blur:function(){var e;null===(e=_.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=_.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=_.current)||void 0===e||e.select()},input:_.current}}),(0,i.useEffect)(function(){L(function(e){return(!e||!N)&&e})},[N]),i.createElement(f,(0,r.Z)({},B,{prefixCls:Z,className:S,inputElement:(n=(0,g.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]),i.createElement("input",(0,r.Z)({autoComplete:s},n,{onChange:function(t){void 0===e.value&&M(t.target.value),_.current&&(0,c.rJ)(_.current,t,x)},onFocus:function(e){L(!0),null==h||h(e)},onBlur:function(e){L(!1),null==y||y(e)},onKeyDown:function(e){w&&"Enter"===e.key&&w(e),null==C||C(e)},className:u()(Z,(0,a.Z)({},"".concat(Z,"-disabled"),N),null==P?void 0:P.input),style:null==k?void 0:k.input,ref:_,size:O,type:void 0===A?"text":A}))),handleReset:function(e){M(""),W(),_.current&&(0,c.rJ)(_.current,e,x)},value:(0,c.D7)(I),focused:D,triggerFocus:W,suffix:function(){var e=Number(z)>0;if(j||R){var t=(0,c.D7)(I),n=(0,d.Z)(t).length,r="object"===(0,o.Z)(R)?R.formatter({value:t,count:n,maxLength:z}):"".concat(n).concat(e?" / ".concat(z):"");return i.createElement(i.Fragment,null,!!R&&i.createElement("span",{className:u()("".concat(Z,"-show-count-suffix"),(0,a.Z)({},"".concat(Z,"-show-count-has-suffix"),!!j),null==P?void 0:P.count),style:(0,l.Z)({},null==k?void 0:k.count)},r),j)}return null}(),disabled:N,classes:$,classNames:P,styles:k}))})},87887:function(e,t,n){function r(e){return!!(e.addonBefore||e.addonAfter)}function l(e){return!!(e.prefix||e.suffix||e.allowClear)}function a(e,t,n,r){if(n){var l=t;if("click"===t.type){var a=e.cloneNode(!0);l=Object.create(t,{target:{value:a},currentTarget:{value:a}}),a.value="",n(l);return}if(void 0!==r){l=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(l);return}n(l)}}function o(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}function s(e){return null==e?"":String(e)}n.d(t,{D7:function(){return s},He:function(){return r},X3:function(){return l},nH:function(){return o},rJ:function(){return a}})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/542-f4cda9df864aa7ed.js b/pilot/server/static/_next/static/chunks/542-f4cda9df864aa7ed.js deleted file mode 100644 index 22afc584f..000000000 --- a/pilot/server/static/_next/static/chunks/542-f4cda9df864aa7ed.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[542],{68795:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=r(42135),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},9708:function(e,t,r){r.d(t,{F:function(){return a},Z:function(){return i}});var n=r(94184),o=r.n(n);function i(e,t,r){return o()({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:r})}let a=(e,t)=>t||e},32983:function(e,t,r){r.d(t,{Z:function(){return b}});var n=r(94184),o=r.n(n),i=r(67294),a=r(53124),l=r(10110),s=r(10274),c=r(25976),d=r(67968),u=r(45503);let f=e=>{let{componentCls:t,margin:r,marginXS:n,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:n,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:n,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:r},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:n,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}};var p=(0,d.Z)("Empty",e=>{let{componentCls:t,controlHeightLG:r}=e,n=(0,u.TS)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:2.5*r,emptyImgHeightMD:r,emptyImgHeightSM:.875*r});return[f(n)]}),h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let g=i.createElement(()=>{let[,e]=(0,c.Z)(),t=new s.C(e.colorBgBase),r=t.toHsl().l<.5?{opacity:.65}:{};return i.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(24 31.67)"},i.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),i.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),i.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),i.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),i.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),i.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),i.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},i.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),i.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),m=i.createElement(()=>{let[,e]=(0,c.Z)(),{colorFill:t,colorFillTertiary:r,colorFillQuaternary:n,colorBgContainer:o}=e,{borderColor:a,shadowColor:l,contentColor:d}=(0,i.useMemo)(()=>({borderColor:new s.C(t).onBackground(o).toHexShortString(),shadowColor:new s.C(r).onBackground(o).toHexShortString(),contentColor:new s.C(n).onBackground(o).toHexShortString()}),[t,r,n,o]);return i.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},i.createElement("ellipse",{fill:l,cx:"32",cy:"33",rx:"32",ry:"7"}),i.createElement("g",{fillRule:"nonzero",stroke:a},i.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),i.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:d}))))},null),v=e=>{var{className:t,rootClassName:r,prefixCls:n,image:s=g,description:c,children:d,imageStyle:u,style:f}=e,v=h(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);let{getPrefixCls:b,direction:$,empty:E}=i.useContext(a.E_),S=b("empty",n),[y,x]=p(S),[R]=(0,l.Z)("Empty"),w=void 0!==c?c:null==R?void 0:R.description,M="string"==typeof w?w:"empty",H=null;return H="string"==typeof s?i.createElement("img",{alt:M,src:s}):s,y(i.createElement("div",Object.assign({className:o()(x,S,null==E?void 0:E.className,{[`${S}-normal`]:s===m,[`${S}-rtl`]:"rtl"===$},t,r),style:Object.assign(Object.assign({},null==E?void 0:E.style),f)},v),i.createElement("div",{className:`${S}-image`,style:u},H),w&&i.createElement("div",{className:`${S}-description`},w),d&&i.createElement("div",{className:`${S}-footer`},d)))};v.PRESENTED_IMAGE_DEFAULT=g,v.PRESENTED_IMAGE_SIMPLE=m;var b=v},47673:function(e,t,r){r.d(t,{M1:function(){return c},Xy:function(){return d},bi:function(){return p},e5:function(){return S},ik:function(){return h},nz:function(){return l},pU:function(){return s},s7:function(){return g},x0:function(){return f}});var n=r(14747),o=r(80110),i=r(45503),a=r(67968);let l=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),s=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),c=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),d=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},s((0,i.TS)(e,{inputBorderHoverColor:e.colorBorder})))}),u=e=>{let{inputPaddingVerticalLG:t,fontSizeLG:r,lineHeightLG:n,borderRadiusLG:o,inputPaddingHorizontalLG:i}=e;return{padding:`${t}px ${i}px`,fontSize:r,lineHeight:n,borderRadius:o}},f=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),p=(e,t)=>{let{componentCls:r,colorError:n,colorWarning:o,colorErrorOutline:a,colorWarningOutline:l,colorErrorBorderHover:s,colorWarningBorderHover:d}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:n,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},c((0,i.TS)(e,{inputBorderActiveColor:n,inputBorderHoverColor:n,controlOutline:a}))),[`${r}-prefix, ${r}-suffix`]:{color:n}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:d},"&:focus, &-focused":Object.assign({},c((0,i.TS)(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:l}))),[`${r}-prefix, ${r}-suffix`]:{color:o}}}},h=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},l(e.colorTextPlaceholder)),{"&:hover":Object.assign({},s(e)),"&:focus, &-focused":Object.assign({},c(e)),"&-disabled, &[disabled]":Object.assign({},d(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},u(e)),"&-sm":Object.assign({},f(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),g=e=>{let{componentCls:t,antCls:r}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},u(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},f(e)),[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${r}-select-single:not(${r}-select-customize-input)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${r}-select-selector`]:{color:e.colorPrimary}}},[`${r}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${r}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,n.dF)()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` - & > ${t}-affix-wrapper, - & > ${t}-number-affix-wrapper, - & > ${r}-picker-range - `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${r}-select > ${r}-select-selector, - & > ${r}-select-auto-complete ${t}, - & > ${r}-cascader-picker ${t}, - & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${r}-select-focused`]:{zIndex:1},[`& > ${r}-select > ${r}-select-arrow`]:{zIndex:1},[`& > *:first-child, - & > ${r}-select:first-child > ${r}-select-selector, - & > ${r}-select-auto-complete:first-child ${t}, - & > ${r}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, - & > ${r}-select:last-child > ${r}-select-selector, - & > ${r}-cascader-picker:last-child ${t}, - & > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},m=e=>{let{componentCls:t,controlHeightSM:r,lineWidth:o}=e,i=(r-2*o-16)/2;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.Wf)(e)),h(e)),p(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},v=e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}}}},b=e=>{let{componentCls:t,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},s(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),v(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),p(e,`${t}-affix-wrapper`))}},$=e=>{let{componentCls:t,colorError:r,colorWarning:o,borderRadiusLG:i,borderRadiusSM:a}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},(0,n.Wf)(e)),g(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:i}},"&-sm":{[`${t}-group-addon`]:{borderRadius:a}},"&-status-error":{[`${t}-group-addon`]:{color:r,borderColor:r}},"&-status-warning":{[`${t}-group-addon`]:{color:o,borderColor:o}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},d(e))},[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},E=e=>{let{componentCls:t,antCls:r}=e,n=`${t}-search`;return{[n]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${n}-button:not(${r}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${n}-button:not(${r}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${n}-button`]:{height:e.controlHeightLG},[`&-small ${n}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, - > ${t}, - ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function S(e){return(0,i.TS)(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}let y=e=>{let{componentCls:t,paddingLG:r}=e,n=`${t}-textarea`;return{[n]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:r}},[`&-affix-wrapper${n}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:r}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};t.ZP=(0,a.Z)("Input",e=>{let t=S(e);return[m(t),y(t),b(t),$(t),E(t),(0,o.c)(t)]})},67771:function(e,t,r){r.d(t,{Qt:function(){return l},Uw:function(){return a},fJ:function(){return i},ly:function(){return s},oN:function(){return h}});var n=r(77794),o=r(93590);let i=new n.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new n.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),l=new n.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),s=new n.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new n.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),d=new n.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),u=new n.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),f=new n.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:l,outKeyframes:s},"slide-left":{inKeyframes:c,outKeyframes:d},"slide-right":{inKeyframes:u,outKeyframes:f}},h=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.R)(n,i,a,e.motionDurationMid),{[` - ${n}-enter, - ${n}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},39983:function(e,t,r){r.d(t,{Z:function(){return Z}});var n=r(87462),o=r(1413),i=r(97685),a=r(45987),l=r(67294),s=r(94184),c=r.n(s),d=r(9220),u=r(8410),f=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0,h=l.forwardRef(function(e,t){var r,i=e.prefixCls,s=e.invalidate,u=e.item,h=e.renderItem,g=e.responsive,m=e.responsiveDisabled,v=e.registerSize,b=e.itemKey,$=e.className,E=e.style,S=e.children,y=e.display,x=e.order,R=e.component,w=void 0===R?"div":R,M=(0,a.Z)(e,f),H=g&&!y;l.useEffect(function(){return function(){v(b,null)}},[]);var I=h&&u!==p?h(u):S;s||(r={opacity:H?0:1,height:H?0:p,overflowY:H?"hidden":p,order:g?x:p,pointerEvents:H?"none":p,position:H?"absolute":p});var Z={};H&&(Z["aria-hidden"]=!0);var C=l.createElement(w,(0,n.Z)({className:c()(!s&&i,$),style:(0,o.Z)((0,o.Z)({},r),E)},Z,M,{ref:t}),I);return g&&(C=l.createElement(d.Z,{onResize:function(e){v(b,e.offsetWidth)},disabled:m},C)),C});h.displayName="Item";var g=r(66680),m=r(73935),v=r(75164);function b(e,t){var r=l.useState(t),n=(0,i.Z)(r,2),o=n[0],a=n[1];return[o,(0,g.Z)(function(t){e(function(){a(t)})})]}var $=l.createContext(null),E=["component"],S=["className"],y=["className"],x=l.forwardRef(function(e,t){var r=l.useContext($);if(!r){var o=e.component,i=void 0===o?"div":o,s=(0,a.Z)(e,E);return l.createElement(i,(0,n.Z)({},s,{ref:t}))}var d=r.className,u=(0,a.Z)(r,S),f=e.className,p=(0,a.Z)(e,y);return l.createElement($.Provider,{value:null},l.createElement(h,(0,n.Z)({ref:t,className:c()(d,f)},u,p)))});x.displayName="RawItem";var R=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],w="responsive",M="invalidate";function H(e){return"+ ".concat(e.length," ...")}var I=l.forwardRef(function(e,t){var r,s,f=e.prefixCls,p=void 0===f?"rc-overflow":f,g=e.data,E=void 0===g?[]:g,S=e.renderItem,y=e.renderRawItem,x=e.itemKey,I=e.itemWidth,Z=void 0===I?10:I,C=e.ssr,O=e.style,z=e.className,T=e.maxCount,k=e.renderRest,L=e.renderRawRest,P=e.suffix,N=e.component,D=void 0===N?"div":N,j=e.itemComponent,W=e.onVisibleChange,B=(0,a.Z)(e,R),A="full"===C,V=(r=l.useRef(null),function(e){r.current||(r.current=[],function(e){if("undefined"==typeof MessageChannel)(0,v.Z)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}(function(){(0,m.unstable_batchedUpdates)(function(){r.current.forEach(function(e){e()}),r.current=null})})),r.current.push(e)}),Y=b(V,null),X=(0,i.Z)(Y,2),F=X[0],_=X[1],K=F||0,G=b(V,new Map),U=(0,i.Z)(G,2),Q=U[0],J=U[1],q=b(V,0),ee=(0,i.Z)(q,2),et=ee[0],er=ee[1],en=b(V,0),eo=(0,i.Z)(en,2),ei=eo[0],ea=eo[1],el=b(V,0),es=(0,i.Z)(el,2),ec=es[0],ed=es[1],eu=(0,l.useState)(null),ef=(0,i.Z)(eu,2),ep=ef[0],eh=ef[1],eg=(0,l.useState)(null),em=(0,i.Z)(eg,2),ev=em[0],eb=em[1],e$=l.useMemo(function(){return null===ev&&A?Number.MAX_SAFE_INTEGER:ev||0},[ev,F]),eE=(0,l.useState)(!1),eS=(0,i.Z)(eE,2),ey=eS[0],ex=eS[1],eR="".concat(p,"-item"),ew=Math.max(et,ei),eM=T===w,eH=E.length&&eM,eI=T===M,eZ=eH||"number"==typeof T&&E.length>T,eC=(0,l.useMemo)(function(){var e=E;return eH?e=null===F&&A?E:E.slice(0,Math.min(E.length,K/Z)):"number"==typeof T&&(e=E.slice(0,T)),e},[E,Z,F,T,eH]),eO=(0,l.useMemo)(function(){return eH?E.slice(e$+1):E.slice(eC.length)},[E,eC,eH,e$]),ez=(0,l.useCallback)(function(e,t){var r;return"function"==typeof x?x(e):null!==(r=x&&(null==e?void 0:e[x]))&&void 0!==r?r:t},[x]),eT=(0,l.useCallback)(S||function(e){return e},[S]);function ek(e,t,r){(ev!==e||void 0!==t&&t!==ep)&&(eb(e),r||(ex(eK){ek(n-1,e-o-ec+ei);break}}P&&eP(0)+ec>K&&eh(null)}},[K,Q,ei,ec,ez,eC]);var eN=ey&&!!eO.length,eD={};null!==ep&&eH&&(eD={position:"absolute",left:ep,top:0});var ej={prefixCls:eR,responsive:eH,component:j,invalidate:eI},eW=y?function(e,t){var r=ez(e,t);return l.createElement($.Provider,{key:r,value:(0,o.Z)((0,o.Z)({},ej),{},{order:t,item:e,itemKey:r,registerSize:eL,display:t<=e$})},y(e,t))}:function(e,t){var r=ez(e,t);return l.createElement(h,(0,n.Z)({},ej,{order:t,key:r,item:e,renderItem:eT,itemKey:r,registerSize:eL,display:t<=e$}))},eB={order:eN?e$:Number.MAX_SAFE_INTEGER,className:"".concat(eR,"-rest"),registerSize:function(e,t){ea(t),er(ei)},display:eN};if(L)L&&(s=l.createElement($.Provider,{value:(0,o.Z)((0,o.Z)({},ej),eB)},L(eO)));else{var eA=k||H;s=l.createElement(h,(0,n.Z)({},ej,eB),"function"==typeof eA?eA(eO):eA)}var eV=l.createElement(D,(0,n.Z)({className:c()(!eI&&p,z),style:O,ref:t},B),eC.map(eW),eZ?s:null,P&&l.createElement(h,(0,n.Z)({},ej,{responsive:eM,responsiveDisabled:!eH,order:e$,className:"".concat(eR,"-suffix"),registerSize:function(e,t){ed(t)},display:!0,style:eD}),P));return eM&&(eV=l.createElement(d.Z,{onResize:function(e,t){_(t.clientWidth)},disabled:!eH},eV)),eV});I.displayName="Overflow",I.Item=x,I.RESPONSIVE=w,I.INVALIDATE=M;var Z=I},73453:function(e,t,r){r.d(t,{Z:function(){return z}});var n=r(87462),o=r(1413),i=r(4942),a=r(97685),l=r(45987),s=r(67294),c=r(94184),d=r.n(c),u=r(9220),f=s.forwardRef(function(e,t){var r=e.height,a=e.offset,l=e.children,c=e.prefixCls,f=e.onInnerResize,p=e.innerProps,h={},g={display:"flex",flexDirection:"column"};return void 0!==a&&(h={height:r,position:"relative",overflow:"hidden"},g=(0,o.Z)((0,o.Z)({},g),{},{transform:"translateY(".concat(a,"px)"),position:"absolute",left:0,right:0,top:0})),s.createElement("div",{style:h},s.createElement(u.Z,{onResize:function(e){e.offsetHeight&&f&&f()}},s.createElement("div",(0,n.Z)({style:g,className:d()((0,i.Z)({},"".concat(c,"-holder-inner"),c)),ref:t},p),l)))});f.displayName="Filler";var p=r(15671),h=r(43144),g=r(32531),m=r(73568),v=r(75164);function b(e){return"touches"in e?e.touches[0].pageY:e.pageY}var $=function(e){(0,g.Z)(r,e);var t=(0,m.Z)(r);function r(){var e;(0,p.Z)(this,r);for(var n=arguments.length,o=Array(n),i=0;ir},e}return(0,h.Z)(r,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(e){e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){var e,t;this.removeEvents(),null===(e=this.scrollbarRef.current)||void 0===e||e.removeEventListener("touchstart",this.onScrollbarTouchStart),null===(t=this.thumbRef.current)||void 0===t||t.removeEventListener("touchstart",this.onMouseDown),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var e=this.state,t=e.dragging,r=e.visible,n=this.props,a=n.prefixCls,l=n.direction,c=this.getSpinHeight(),u=this.getTop(),f=this.showScroll(),p=f&&r;return s.createElement("div",{ref:this.scrollbarRef,className:d()("".concat(a,"-scrollbar"),(0,i.Z)({},"".concat(a,"-scrollbar-show"),f)),style:(0,o.Z)((0,o.Z)({width:8,top:0,bottom:0},"rtl"===l?{left:0}:{right:0}),{},{position:"absolute",display:p?null:"none"}),onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},s.createElement("div",{ref:this.thumbRef,className:d()("".concat(a,"-scrollbar-thumb"),(0,i.Z)({},"".concat(a,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:c,top:u,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),r}(s.Component);function E(e){var t=e.children,r=e.setRef,n=s.useCallback(function(e){r(e)},[]);return s.cloneElement(t,{ref:n})}var S=r(34203),y=function(){function e(){(0,p.Z)(this,e),this.maps=void 0,this.maps=Object.create(null)}return(0,h.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),x=r(71002),R=("undefined"==typeof navigator?"undefined":(0,x.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),w=function(e,t){var r=(0,s.useRef)(!1),n=(0,s.useRef)(null),o=(0,s.useRef)({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e<0&&o.current.top||e>0&&o.current.bottom;return t&&i?(clearTimeout(n.current),r.current=!1):(!i||r.current)&&(clearTimeout(n.current),r.current=!0,n.current=setTimeout(function(){r.current=!1},50)),!r.current&&i}},M=r(8410),H=14/15,I=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","component","onScroll","onVisibleChange","innerProps"],Z=[],C={overflowY:"auto",overflowAnchor:"none"},O=s.forwardRef(function(e,t){var r,c,u,p,h,g,m,b,O,z,T,k,L,P,N,D,j,W,B,A,V,Y,X,F,_,K,G=e.prefixCls,U=void 0===G?"rc-virtual-list":G,Q=e.className,J=e.height,q=e.itemHeight,ee=e.fullHeight,et=e.style,er=e.data,en=e.children,eo=e.itemKey,ei=e.virtual,ea=e.direction,el=e.component,es=void 0===el?"div":el,ec=e.onScroll,ed=e.onVisibleChange,eu=e.innerProps,ef=(0,l.Z)(e,I),ep=!!(!1!==ei&&J&&q),eh=ep&&er&&q*er.length>J,eg=(0,s.useState)(0),em=(0,a.Z)(eg,2),ev=em[0],eb=em[1],e$=(0,s.useState)(!1),eE=(0,a.Z)(e$,2),eS=eE[0],ey=eE[1],ex=d()(U,(0,i.Z)({},"".concat(U,"-rtl"),"rtl"===ea),Q),eR=er||Z,ew=(0,s.useRef)(),eM=(0,s.useRef)(),eH=(0,s.useRef)(),eI=s.useCallback(function(e){return"function"==typeof eo?eo(e):null==e?void 0:e[eo]},[eo]);function eZ(e){eb(function(t){var r,n=(r="function"==typeof e?e(t):e,Number.isNaN(eF.current)||(r=Math.min(r,eF.current)),r=Math.max(r,0));return ew.current.scrollTop=n,n})}var eC=(0,s.useRef)({start:0,end:eR.length}),eO=(0,s.useRef)(),ez=(c=s.useState(eR),p=(u=(0,a.Z)(c,2))[0],h=u[1],g=s.useState(null),b=(m=(0,a.Z)(g,2))[0],O=m[1],s.useEffect(function(){var e=function(e,t,r){var n,o,i=e.length,a=t.length;if(0===i&&0===a)return null;i=ev&&void 0===t&&(t=a,r=o),c>ev+J&&void 0===n&&(n=a),o=c}return void 0===t&&(t=0,r=0,n=Math.ceil(J/q)),void 0===n&&(n=eR.length-1),{scrollHeight:o,start:t,end:n=Math.min(n+1,eR.length),offset:r}},[eh,ep,ev,eR,ej,J]),eB=eW.scrollHeight,eA=eW.start,eV=eW.end,eY=eW.offset;eC.current.start=eA,eC.current.end=eV;var eX=eB-J,eF=(0,s.useRef)(eX);eF.current=eX;var e_=ev<=0,eK=ev>=eX,eG=w(e_,eK),eU=(z=function(e){eZ(function(t){return t+e})},T=(0,s.useRef)(0),k=(0,s.useRef)(null),L=(0,s.useRef)(null),P=(0,s.useRef)(!1),N=w(e_,eK),[function(e){if(ep){v.Z.cancel(k.current);var t=e.deltaY;T.current+=t,L.current=t,N(t)||(R||e.preventDefault(),k.current=(0,v.Z)(function(){var e=P.current?10:1;z(T.current*e),T.current=0}))}},function(e){ep&&(P.current=e.detail===L.current)}]),eQ=(0,a.Z)(eU,2),eJ=eQ[0],eq=eQ[1];D=function(e,t){return!eG(e,t)&&(eJ({preventDefault:function(){},deltaY:e}),!0)},W=(0,s.useRef)(!1),B=(0,s.useRef)(0),A=(0,s.useRef)(null),V=(0,s.useRef)(null),Y=function(e){if(W.current){var t=Math.ceil(e.touches[0].pageY),r=B.current-t;B.current=t,D(r)&&e.preventDefault(),clearInterval(V.current),V.current=setInterval(function(){(!D(r*=H,!0)||.1>=Math.abs(r))&&clearInterval(V.current)},16)}},X=function(){W.current=!1,j()},F=function(e){j(),1!==e.touches.length||W.current||(W.current=!0,B.current=Math.ceil(e.touches[0].pageY),A.current=e.target,A.current.addEventListener("touchmove",Y),A.current.addEventListener("touchend",X))},j=function(){A.current&&(A.current.removeEventListener("touchmove",Y),A.current.removeEventListener("touchend",X))},(0,M.Z)(function(){return ep&&ew.current.addEventListener("touchstart",F),function(){var e;null===(e=ew.current)||void 0===e||e.removeEventListener("touchstart",F),j(),clearInterval(V.current)}},[ep]),(0,M.Z)(function(){function e(e){ep&&e.preventDefault()}return ew.current.addEventListener("wheel",eJ),ew.current.addEventListener("DOMMouseScroll",eq),ew.current.addEventListener("MozMousePixelScroll",e),function(){ew.current&&(ew.current.removeEventListener("wheel",eJ),ew.current.removeEventListener("DOMMouseScroll",eq),ew.current.removeEventListener("MozMousePixelScroll",e))}},[ep]);var e0=(_=function(){var e;null===(e=eH.current)||void 0===e||e.delayHidden()},K=s.useRef(),function(e){if(null==e){_();return}if(v.Z.cancel(K.current),"number"==typeof e)eZ(e);else if(e&&"object"===(0,x.Z)(e)){var t,r=e.align;t="index"in e?e.index:eR.findIndex(function(t){return eI(t)===e.key});var n=e.offset,o=void 0===n?0:n;!function e(n,i){if(!(n<0)&&ew.current){var a=ew.current.clientHeight,l=!1,s=i;if(a){for(var c=0,d=0,u=0,f=Math.min(eR.length,t),p=0;p<=f;p+=1){var h=eI(eR[p]);d=c;var g=eD.get(h);c=u=d+(void 0===g?q:g),p===t&&void 0===g&&(l=!0)}var m=null;switch(i||r){case"top":m=d-o;break;case"bottom":m=u-a+o;break;default:var b=ew.current.scrollTop;db+a&&(s="bottom")}null!==m&&m!==ew.current.scrollTop&&eZ(m)}K.current=(0,v.Z)(function(){l&&eN(),e(n-1,s)},2)}}(3)}});s.useImperativeHandle(t,function(){return{scrollTo:e0}}),(0,M.Z)(function(){ed&&ed(eR.slice(eA,eV+1),eR)},[eA,eV,eR]);var e1=eR.slice(eA,eV+1).map(function(e,t){var r=en(e,eA+t,{}),n=eI(e);return s.createElement(E,{key:n,setRef:function(t){return eP(e,t)}},r)}),e2=null;return J&&(e2=(0,o.Z)((0,i.Z)({},void 0===ee||ee?"height":"maxHeight",J),C),ep&&(e2.overflowY="hidden",eS&&(e2.pointerEvents="none"))),s.createElement("div",(0,n.Z)({style:(0,o.Z)((0,o.Z)({},et),{},{position:"relative"}),className:ex},ef),s.createElement(es,{className:"".concat(U,"-holder"),style:e2,ref:ew,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==ev&&eZ(t),null==ec||ec(e)}},s.createElement(f,{prefixCls:U,height:eB,offset:eY,onInnerResize:eN,ref:eM,innerProps:eu},e1)),ep&&s.createElement($,{ref:eH,prefixCls:U,scrollTop:ev,height:J,scrollHeight:eB,count:eR.length,direction:ea,onScroll:function(e){eZ(e)},onStartMove:function(){ey(!0)},onStopMove:function(){ey(!1)}}))});O.displayName="List";var z=O}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/556-26ffce13383f774a.js b/pilot/server/static/_next/static/chunks/556-26ffce13383f774a.js new file mode 100644 index 000000000..4593d0759 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/556-26ffce13383f774a.js @@ -0,0 +1,16 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[556],{99611:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},a=r(42135),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},76043:function(e,t,r){var n=r(67294);let o=n.createContext(void 0);t.Z=o},58859:function(e,t,r){r.d(t,{V:function(){return o}});var n=r(87462);let o=({theme:e,ownerState:t},r,o)=>{let i;let a={};if(t.sx){!function t(r){if("function"==typeof r){let n=r(e);t(n)}else Array.isArray(r)?r.forEach(e=>{"boolean"!=typeof e&&t(e)}):"object"==typeof r&&(a=(0,n.Z)({},a,r))}(t.sx);let o=a[r];if("string"==typeof o||"number"==typeof o){if("borderRadius"===r){var l;if("number"==typeof o)return`${o}px`;i=(null==(l=e.vars)?void 0:l.radius[o])||o}else i=o}"function"==typeof o&&(i=o(e))}return i||o}},57838:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(67294);function o(){let[,e]=n.useReducer(e=>e+1,0);return e}},33507:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},66803:function(e,t,r){r.d(t,{default:function(){return ts}});var n=r(67294),o=r(74902),i=r(94184),a=r.n(i),l=r(87462),c=r(15671),s=r(43144),u=r(32531),d=r(73568),p=r(4942),f=r(45987),m=r(74165),g=r(71002),h=r(15861),v=r(64217);function b(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function $(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var r=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var n=e.data[t];if(Array.isArray(n)){n.forEach(function(e){r.append("".concat(t,"[]"),e)});return}r.append(t,n)}),e.file instanceof Blob?r.append(e.filename,e.file,e.file.name):r.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300){var r;return e.onError(((r=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"))).status=t.status,r.method=e.method,r.url=e.action,r),b(t))}return e.onSuccess(b(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var n=e.headers||{};return null!==n["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(n).forEach(function(e){null!==n[e]&&t.setRequestHeader(e,n[e])}),t.send(r),{abort:function(){t.abort()}}}var y=+new Date,w=0;function k(){return"rc-upload-".concat(y,"-").concat(++w)}var E=r(80334),x=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return r.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var r=n.toLowerCase(),a=t.toLowerCase(),l=[a];return(".jpg"===a||".jpeg"===a)&&(l=[".jpg",".jpeg"]),l.some(function(e){return r.endsWith(e)})}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&((0,E.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0},C=function(e,t,r){var n=function e(n,o){if(n.path=o||"",n.isFile)n.file(function(e){r(e)&&(n.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=n.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))});else if(n.isDirectory){var i,a,l;i=function(t){t.forEach(function(t){e(t,"".concat(o).concat(n.name,"/"))})},a=n.createReader(),l=[],function e(){a.readEntries(function(t){var r=Array.prototype.slice.apply(t);l=l.concat(r),r.length?e():i(l)})}()}};e.forEach(function(e){n(e.webkitGetAsEntry())})},S=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],O=function(e){(0,u.Z)(r,e);var t=(0,d.Z)(r);function r(){(0,c.Z)(this,r);for(var e,n,i=arguments.length,a=Array(i),l=0;l{let{uid:r}=t;return r===e.uid});return -1===n?r.push(e):r[n]=e,r}function K(e,t){let r=void 0!==e.uid?"uid":"name";return t.filter(t=>t[r]===e[r])[0]}let Q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),r=t[t.length-1],n=r.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},Y=e=>0===e.indexOf("image/"),ee=e=>{if(e.type&&!e.thumbUrl)return Y(e.type);let t=e.thumbUrl||e.url||"",r=Q(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(r))||!/^data:/.test(t)&&!r};function et(e){return new Promise(t=>{if(!e.type||!Y(e.type)){t("");return}let r=document.createElement("canvas");r.width=200,r.height=200,r.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",document.body.appendChild(r);let n=r.getContext("2d"),o=new Image;if(o.onload=()=>{let{width:e,height:i}=o,a=200,l=200,c=0,s=0;e>i?s=-((l=i*(200/e))-a)/2:c=-((a=e*(200/i))-l)/2,n.drawImage(o,c,s,a,l);let u=r.toDataURL();document.body.removeChild(r),window.URL.revokeObjectURL(o.src),t(u)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){let t=new FileReader;t.onload=()=>{t.result&&(o.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){let r=new FileReader;r.onload=()=>{r.result&&t(r.result)},r.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)})}var er={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},en=n.forwardRef(function(e,t){return n.createElement(P.Z,(0,l.Z)({},e,{ref:t,icon:er}))}),eo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ei=n.forwardRef(function(e,t){return n.createElement(P.Z,(0,l.Z)({},e,{ref:t,icon:eo}))}),ea=r(99611),el=r(89739),ec=r(63606),es=r(4340),eu=r(97937),ed=r(98423),ep=r(1413),ef={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},em=function(){var e=(0,n.useRef)([]),t=(0,n.useRef)(null);return(0,n.useEffect)(function(){var r=Date.now(),n=!1;e.current.forEach(function(e){if(e){n=!0;var o=e.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(o.transitionDuration="0s, 0s")}}),n&&(t.current=Date.now())}),e.current},eg=r(97685),eh=r(98924),ev=0,eb=(0,eh.Z)(),e$=function(e){var t=n.useState(),r=(0,eg.Z)(t,2),o=r[0],i=r[1];return n.useEffect(function(){var e;i("rc_progress_".concat((eb?(e=ev,ev+=1):e="TEST_OR_SSR",e)))},[]),e||o},ey=function(e){var t=e.bg,r=e.children;return n.createElement("div",{style:{width:"100%",height:"100%",background:t}},r)};function ew(e,t){return Object.keys(e).map(function(r){var n=parseFloat(r);return"".concat(e[r]," ").concat("".concat(Math.floor(n*t),"%"))})}var ek=n.forwardRef(function(e,t){var r=e.prefixCls,o=e.color,i=e.gradientId,a=e.radius,l=e.style,c=e.ptg,s=e.strokeLinecap,u=e.strokeWidth,d=e.size,p=e.gapDegree,f=o&&"object"===(0,g.Z)(o),m=d/2,h=n.createElement("circle",{className:"".concat(r,"-circle-path"),r:a,cx:m,cy:m,stroke:f?"#FFF":void 0,strokeLinecap:s,strokeWidth:u,opacity:0===c?0:1,style:l,ref:t});if(!f)return h;var v="".concat(i,"-conic"),b=p?"".concat(180+p/2,"deg"):"0deg",$=ew(o,(360-p)/360),y=ew(o,1),w="conic-gradient(from ".concat(b,", ").concat($.join(", "),")"),k="linear-gradient(to ".concat(p?"bottom":"top",", ").concat(y.join(", "),")");return n.createElement(n.Fragment,null,n.createElement("mask",{id:v},h),n.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(v,")")},n.createElement(ey,{bg:k},n.createElement(ey,{bg:w}))))}),eE=function(e,t,r,n,o,i,a,l,c,s){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=(100-n)/100*t;return"round"===c&&100!==n&&(d+=s/2)>=t&&(d=t-.01),{stroke:"string"==typeof l?l:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:d+u,transform:"rotate(".concat(o+r/100*360*((360-i)/360)+(0===i?0:({bottom:0,top:180,left:90,right:-90})[a]),"deg)"),transformOrigin:"".concat(50,"px ").concat(50,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},ex=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function eC(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var eS=function(e){var t,r,o,i,c=(0,ep.Z)((0,ep.Z)({},ef),e),s=c.id,u=c.prefixCls,d=c.steps,p=c.strokeWidth,m=c.trailWidth,h=c.gapDegree,v=void 0===h?0:h,b=c.gapPosition,$=c.trailColor,y=c.strokeLinecap,w=c.style,k=c.className,E=c.strokeColor,x=c.percent,C=(0,f.Z)(c,ex),S=e$(s),O="".concat(S,"-gradient"),j=50-p/2,D=2*Math.PI*j,Z=v>0?90+v/2:-90,I=D*((360-v)/360),R="object"===(0,g.Z)(d)?d:{count:d,space:2},N=R.count,z=R.space,M=eC(x),F=eC(E),P=F.find(function(e){return e&&"object"===(0,g.Z)(e)}),A=P&&"object"===(0,g.Z)(P)?"butt":y,L=eE(D,I,0,100,Z,v,b,$,A,p),T=em();return n.createElement("svg",(0,l.Z)({className:a()("".concat(u,"-circle"),k),viewBox:"0 0 ".concat(100," ").concat(100),style:w,id:s,role:"presentation"},C),!N&&n.createElement("circle",{className:"".concat(u,"-circle-trail"),r:j,cx:50,cy:50,stroke:$,strokeLinecap:A,strokeWidth:m||p,style:L}),N?(t=Math.round(N*(M[0]/100)),r=100/N,o=0,Array(N).fill(null).map(function(e,i){var a=i<=t-1?F[0]:$,l=a&&"object"===(0,g.Z)(a)?"url(#".concat(O,")"):void 0,c=eE(D,I,o,r,Z,v,b,a,"butt",p,z);return o+=(I-c.strokeDashoffset+z)*100/I,n.createElement("circle",{key:i,className:"".concat(u,"-circle-path"),r:j,cx:50,cy:50,stroke:l,strokeWidth:p,opacity:1,style:c,ref:function(e){T[i]=e}})})):(i=0,M.map(function(e,t){var r=F[t]||F[F.length-1],o=eE(D,I,i,e,Z,v,b,r,A,p);return i+=e,n.createElement(ek,{key:t,color:r,ptg:e,radius:j,prefixCls:u,gradientId:O,style:o,strokeLinecap:A,strokeWidth:p,gapDegree:v,ref:function(e){T[t]=e},size:100})}).reverse()))},eO=r(39778),ej=r(16397);function eD(e){return!e||e<0?0:e>100?100:e}function eZ(e){let{success:t,successPercent:r}=e,n=r;return t&&"progress"in t&&(n=t.progress),t&&"percent"in t&&(n=t.percent),n}let eI=e=>{let{percent:t,success:r,successPercent:n}=e,o=eD(eZ({success:r,successPercent:n}));return[o,eD(eD(t)-o)]},eR=e=>{let{success:t={},strokeColor:r}=e,{strokeColor:n}=t;return[n||ej.ez.green,r||null]},eN=(e,t,r)=>{var n,o,i,a;let l=-1,c=-1;if("step"===t){let t=r.steps,n=r.strokeWidth;"string"==typeof e||void 0===e?(l="small"===e?2:14,c=null!=n?n:8):"number"==typeof e?[l,c]=[e,e]:[l=14,c=8]=e,l*=t}else if("line"===t){let t=null==r?void 0:r.strokeWidth;"string"==typeof e||void 0===e?c=t||("small"===e?6:8):"number"==typeof e?[l,c]=[e,e]:[l=-1,c=8]=e}else("circle"===t||"dashboard"===t)&&("string"==typeof e||void 0===e?[l,c]="small"===e?[60,60]:[120,120]:"number"==typeof e?[l,c]=[e,e]:(l=null!==(o=null!==(n=e[0])&&void 0!==n?n:e[1])&&void 0!==o?o:120,c=null!==(a=null!==(i=e[0])&&void 0!==i?i:e[1])&&void 0!==a?a:120));return[l,c]},ez=e=>3/e*100;var eM=e=>{let{prefixCls:t,trailColor:r=null,strokeLinecap:o="round",gapPosition:i,gapDegree:l,width:c=120,type:s,children:u,success:d,size:p=c}=e,[f,m]=eN(p,"circle"),{strokeWidth:g}=e;void 0===g&&(g=Math.max(ez(f),6));let h=n.useMemo(()=>l||0===l?l:"dashboard"===s?75:void 0,[l,s]),v=i||"dashboard"===s&&"bottom"||void 0,b="[object Object]"===Object.prototype.toString.call(e.strokeColor),$=eR({success:d,strokeColor:e.strokeColor}),y=a()(`${t}-inner`,{[`${t}-circle-gradient`]:b}),w=n.createElement(eS,{percent:eI(e),strokeWidth:g,trailWidth:g,strokeColor:$,strokeLinecap:o,trailColor:r,prefixCls:t,gapDegree:h,gapPosition:v});return n.createElement("div",{className:y,style:{width:f,height:m,fontSize:.15*f+6}},f<=20?n.createElement(eO.Z,{title:u},n.createElement("span",null,w)):n.createElement(n.Fragment,null,w,u))},eF=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let eP=e=>{let t=[];return Object.keys(e).forEach(r=>{let n=parseFloat(r.replace(/%/g,""));isNaN(n)||t.push({key:n,value:e[r]})}),(t=t.sort((e,t)=>e.key-t.key)).map(e=>{let{key:t,value:r}=e;return`${r} ${t}%`}).join(", ")},eA=(e,t)=>{let{from:r=ej.ez.blue,to:n=ej.ez.blue,direction:o="rtl"===t?"to left":"to right"}=e,i=eF(e,["from","to","direction"]);if(0!==Object.keys(i).length){let e=eP(i);return{backgroundImage:`linear-gradient(${o}, ${e})`}}return{backgroundImage:`linear-gradient(${o}, ${r}, ${n})`}};var eL=e=>{let{prefixCls:t,direction:r,percent:o,size:i,strokeWidth:a,strokeColor:l,strokeLinecap:c="round",children:s,trailColor:u=null,success:d}=e,p=l&&"string"!=typeof l?eA(l,r):{backgroundColor:l},f="square"===c||"butt"===c?0:void 0,m=null!=i?i:[-1,a||("small"===i?6:8)],[g,h]=eN(m,"line",{strokeWidth:a}),v=Object.assign({width:`${eD(o)}%`,height:h,borderRadius:f},p),b=eZ(e),$={width:`${eD(b)}%`,height:h,borderRadius:f,backgroundColor:null==d?void 0:d.strokeColor};return n.createElement(n.Fragment,null,n.createElement("div",{className:`${t}-outer`,style:{width:g<0?"100%":g,height:h}},n.createElement("div",{className:`${t}-inner`,style:{backgroundColor:u||void 0,borderRadius:f}},n.createElement("div",{className:`${t}-bg`,style:v}),void 0!==b?n.createElement("div",{className:`${t}-success-bg`,style:$}):null)),s)},eT=e=>{let{size:t,steps:r,percent:o=0,strokeWidth:i=8,strokeColor:l,trailColor:c=null,prefixCls:s,children:u}=e,d=Math.round(r*(o/100)),p=null!=t?t:["small"===t?2:14,i],[f,m]=eN(p,"step",{steps:r,strokeWidth:i}),g=f/r,h=Array(r);for(let e=0;e{let t=e?"100%":"-100%";return new eX.E4(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},eB=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,eH.Wf)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:eW(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:eW(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},eV=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},eq=e=>{let{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},eG=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}};var eJ=(0,e_.Z)("Progress",e=>{let t=e.marginXXS/2,r=(0,eU.TS)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[eB(r),eV(r),eq(r),eG(r)]},e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),eK=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let eQ=["normal","exception","active","success"],eY=n.forwardRef((e,t)=>{let r;let{prefixCls:o,className:i,rootClassName:l,steps:c,strokeColor:s,percent:u=0,size:d="default",showInfo:p=!0,type:f="line",status:m,format:g,style:h}=e,v=eK(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),b=n.useMemo(()=>{var t,r;let n=eZ(e);return parseInt(void 0!==n?null===(t=null!=n?n:0)||void 0===t?void 0:t.toString():null===(r=null!=u?u:0)||void 0===r?void 0:r.toString(),10)},[u,e.success,e.successPercent]),$=n.useMemo(()=>!eQ.includes(m)&&b>=100?"success":m||"normal",[m,b]),{getPrefixCls:y,direction:w,progress:k}=n.useContext(R.E_),E=y("progress",o),[x,C]=eJ(E),S=n.useMemo(()=>{let t;if(!p)return null;let r=eZ(e),o=g||(e=>`${e}%`),i="line"===f;return g||"exception"!==$&&"success"!==$?t=o(eD(u),eD(r)):"exception"===$?t=i?n.createElement(es.Z,null):n.createElement(eu.Z,null):"success"===$&&(t=i?n.createElement(el.Z,null):n.createElement(ec.Z,null)),n.createElement("span",{className:`${E}-text`,title:"string"==typeof t?t:void 0},t)},[p,u,b,$,f,E,g]),O=Array.isArray(s)?s[0]:s,j="string"==typeof s||Array.isArray(s)?s:void 0;"line"===f?r=c?n.createElement(eT,Object.assign({},e,{strokeColor:j,prefixCls:E,steps:c}),S):n.createElement(eL,Object.assign({},e,{strokeColor:O,prefixCls:E,direction:w}),S):("circle"===f||"dashboard"===f)&&(r=n.createElement(eM,Object.assign({},e,{strokeColor:O,prefixCls:E,progressStatus:$}),S));let D=a()(E,`${E}-status-${$}`,`${E}-${"dashboard"===f&&"circle"||c&&"steps"||f}`,{[`${E}-inline-circle`]:"circle"===f&&eN(d,"circle")[0]<=20,[`${E}-show-info`]:p,[`${E}-${d}`]:"string"==typeof d,[`${E}-rtl`]:"rtl"===w},null==k?void 0:k.className,i,l,C);return x(n.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==k?void 0:k.style),h),className:D,role:"progressbar","aria-valuenow":b},(0,ed.Z)(v,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),r))}),e0=n.forwardRef((e,t)=>{var r,o;let{prefixCls:i,className:l,style:c,locale:s,listType:u,file:d,items:p,progress:f,iconRender:m,actionIconRender:g,itemRender:h,isImgUrl:v,showPreviewIcon:b,showRemoveIcon:$,showDownloadIcon:y,previewIcon:w,removeIcon:k,downloadIcon:E,onPreview:x,onDownload:C,onClose:S}=e,{status:O}=d,[j,D]=n.useState(O);n.useEffect(()=>{"removed"!==O&&D(O)},[O]);let[Z,I]=n.useState(!1);n.useEffect(()=>{let e=setTimeout(()=>{I(!0)},300);return()=>{clearTimeout(e)}},[]);let N=m(d),z=n.createElement("div",{className:`${i}-icon`},N);if("picture"===u||"picture-card"===u||"picture-circle"===u){if("uploading"!==j&&(d.thumbUrl||d.url)){let e=(null==v?void 0:v(d))?n.createElement("img",{src:d.thumbUrl||d.url,alt:d.name,className:`${i}-list-item-image`,crossOrigin:d.crossOrigin}):N,t=a()(`${i}-list-item-thumbnail`,{[`${i}-list-item-file`]:v&&!v(d)});z=n.createElement("a",{className:t,onClick:e=>x(d,e),href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer"},e)}else{let e=a()(`${i}-list-item-thumbnail`,{[`${i}-list-item-file`]:"uploading"!==j});z=n.createElement("div",{className:e},N)}}let M=a()(`${i}-list-item`,`${i}-list-item-${j}`),F="string"==typeof d.linkProps?JSON.parse(d.linkProps):d.linkProps,P=$?g(("function"==typeof k?k(d):k)||n.createElement(en,null),()=>S(d),i,s.removeFile):null,A=y&&"done"===j?g(("function"==typeof E?E(d):E)||n.createElement(ei,null),()=>C(d),i,s.downloadFile):null,L="picture-card"!==u&&"picture-circle"!==u&&n.createElement("span",{key:"download-delete",className:a()(`${i}-list-item-actions`,{picture:"picture"===u})},A,P),T=a()(`${i}-list-item-name`),X=d.url?[n.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:T,title:d.name},F,{href:d.url,onClick:e=>x(d,e)}),d.name),L]:[n.createElement("span",{key:"view",className:T,onClick:e=>x(d,e),title:d.name},d.name),L],H=b?n.createElement("a",{href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:d.url||d.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:e=>x(d,e),title:s.previewFile},"function"==typeof w?w(d):w||n.createElement(ea.Z,null)):null,_=("picture-card"===u||"picture-circle"===u)&&"uploading"!==j&&n.createElement("span",{className:`${i}-list-item-actions`},H,"done"===j&&A,P),{getPrefixCls:W}=n.useContext(R.E_),B=W(),V=n.createElement("div",{className:M},z,X,_,Z&&n.createElement(U.ZP,{motionName:`${B}-fade`,visible:"uploading"===j,motionDeadline:2e3},e=>{let{className:t}=e,r="percent"in d?n.createElement(eY,Object.assign({},f,{type:"line",percent:d.percent,"aria-label":d["aria-label"],"aria-labelledby":d["aria-labelledby"]})):null;return n.createElement("div",{className:a()(`${i}-list-item-progress`,t)},r)})),q=d.response&&"string"==typeof d.response?d.response:(null===(r=d.error)||void 0===r?void 0:r.statusText)||(null===(o=d.error)||void 0===o?void 0:o.message)||s.uploadError,G="error"===j?n.createElement(eO.Z,{title:q,getPopupContainer:e=>e.parentNode},V):V;return n.createElement("div",{className:a()(`${i}-list-item-container`,l),style:c,ref:t},h?h(G,d,p,{download:C.bind(null,d),preview:x.bind(null,d),remove:S.bind(null,d)}):G)}),e1=n.forwardRef((e,t)=>{let{listType:r="text",previewFile:i=et,onPreview:l,onDownload:c,onRemove:s,locale:u,iconRender:d,isImageUrl:p=ee,prefixCls:f,items:m=[],showPreviewIcon:g=!0,showRemoveIcon:h=!0,showDownloadIcon:v=!1,removeIcon:b,previewIcon:$,downloadIcon:y,progress:w={size:[-1,2],showInfo:!1},appendAction:k,appendActionVisible:E=!0,itemRender:x,disabled:C}=e,S=(0,W.Z)(),[O,j]=n.useState(!1);n.useEffect(()=>{("picture"===r||"picture-card"===r||"picture-circle"===r)&&(m||[]).forEach(e=>{"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",i&&i(e.originFileObj).then(t=>{e.thumbUrl=t||"",S()}))})},[r,m,i]),n.useEffect(()=>{j(!0)},[]);let D=(e,t)=>{if(l)return null==t||t.preventDefault(),l(e)},Z=e=>{"function"==typeof c?c(e):e.url&&window.open(e.url)},I=e=>{null==s||s(e)},N=e=>{if(d)return d(e,r);let t="uploading"===e.status,o=p&&p(e)?n.createElement(_,null):n.createElement(A,null),i=t?n.createElement(L.Z,null):n.createElement(X,null);return"picture"===r?i=t?n.createElement(L.Z,null):o:("picture-card"===r||"picture-circle"===r)&&(i=t?u.uploading:o),i},z=(e,t,r,o)=>{let i={type:"text",size:"small",title:o,onClick:r=>{t(),(0,V.l$)(e)&&e.props.onClick&&e.props.onClick(r)},className:`${r}-list-item-action`,disabled:C};if((0,V.l$)(e)){let t=(0,V.Tm)(e,Object.assign(Object.assign({},e.props),{onClick:()=>{}}));return n.createElement(q.ZP,Object.assign({},i,{icon:t}))}return n.createElement(q.ZP,Object.assign({},i),n.createElement("span",null,e))};n.useImperativeHandle(t,()=>({handlePreview:D,handleDownload:Z}));let{getPrefixCls:M}=n.useContext(R.E_),F=M("upload",f),P=M(),T=a()(`${F}-list`,`${F}-list-${r}`),H=(0,o.Z)(m.map(e=>({key:e.uid,file:e}))),G="picture-card"===r||"picture-circle"===r?"animate-inline":"animate",J={motionDeadline:2e3,motionName:`${F}-${G}`,keys:H,motionAppear:O},K=n.useMemo(()=>{let e=Object.assign({},(0,B.Z)(P));return delete e.onAppearEnd,delete e.onEnterEnd,delete e.onLeaveEnd,e},[P]);return"picture-card"!==r&&"picture-circle"!==r&&(J=Object.assign(Object.assign({},K),J)),n.createElement("div",{className:T},n.createElement(U.V4,Object.assign({},J,{component:!1}),e=>{let{key:t,file:o,className:i,style:a}=e;return n.createElement(e0,{key:t,locale:u,prefixCls:F,className:i,style:a,file:o,items:m,progress:w,listType:r,isImgUrl:p,showPreviewIcon:g,showRemoveIcon:h,showDownloadIcon:v,removeIcon:b,previewIcon:$,downloadIcon:y,iconRender:N,actionIconRender:z,itemRender:x,onPreview:D,onDownload:Z,onClose:I})}),k&&n.createElement(U.ZP,Object.assign({},J,{visible:E,forceRender:!0}),e=>{let{className:t,style:r}=e;return(0,V.Tm)(k,e=>({className:a()(e.className,t),style:Object.assign(Object.assign(Object.assign({},r),{pointerEvents:t?"none":void 0}),e.style)}))}))});var e2=r(33507),e3=e=>{let{componentCls:t,iconCls:r}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${e.padding}px 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[r]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{cursor:"not-allowed",[`p${t}-drag-icon ${r}, + p${t}-text, + p${t}-hint + `]:{color:e.colorTextDisabled}}}}}},e6=e=>{let{componentCls:t,antCls:r,iconCls:n,fontSize:o,lineHeight:i}=e,a=`${t}-list-item`,l=`${a}-actions`,c=`${a}-action`,s=Math.round(o*i);return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},(0,eH.dF)()),{lineHeight:e.lineHeight,[a]:{position:"relative",height:e.lineHeight*o,marginTop:e.marginXS,fontSize:o,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${a}-name`]:Object.assign(Object.assign({},eH.vS),{padding:`0 ${e.paddingXS}px`,lineHeight:i,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[l]:{[c]:{opacity:0},[`${c}${r}-btn-sm`]:{height:s,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${c}:focus-visible, + &.picture ${c} + `]:{opacity:1},[n]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[`&:hover ${n}`]:{color:e.colorText}},[`${t}-icon ${n}`]:{color:e.colorTextDescription,fontSize:o},[`${a}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:o+e.paddingXS,fontSize:o,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${a}:hover ${c}`]:{opacity:1,color:e.colorText},[`${a}-error`]:{color:e.colorError,[`${a}-name, ${t}-icon ${n}`]:{color:e.colorError},[l]:{[`${n}, ${n}:hover`]:{color:e.colorError},[c]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},e8=r(16932);let e4=new eX.E4("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),e7=new eX.E4("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var e5=e=>{let{componentCls:t}=e,r=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${r}-appear, ${r}-enter, ${r}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${r}-appear, ${r}-enter`]:{animationName:e4},[`${r}-leave`]:{animationName:e7}}},{[`${t}-wrapper`]:(0,e8.J$)(e)},e4,e7]},e9=r(10274);let te=e=>{let{componentCls:t,iconCls:r,uploadThumbnailSize:n,uploadProgressOffset:o}=e,i=`${t}-list`,a=`${i}-item`;return{[`${t}-wrapper`]:{[` + ${i}${i}-picture, + ${i}${i}-picture-card, + ${i}${i}-picture-circle + `]:{[a]:{position:"relative",height:n+2*e.lineWidth+2*e.paddingXS,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${a}-thumbnail`]:Object.assign(Object.assign({},eH.vS),{width:n,height:n,lineHeight:`${n+e.paddingSM}px`,textAlign:"center",flex:"none",[r]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${a}-progress`]:{bottom:o,width:`calc(100% - ${2*e.paddingSM}px)`,marginTop:0,paddingInlineStart:n+e.paddingXS}},[`${a}-error`]:{borderColor:e.colorError,[`${a}-thumbnail ${r}`]:{[`svg path[fill='${ej.iN[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${ej.iN.primary}']`]:{fill:e.colorError}}},[`${a}-uploading`]:{borderStyle:"dashed",[`${a}-name`]:{marginBottom:o}}},[`${i}${i}-picture-circle ${a}`]:{[`&, &::before, ${a}-thumbnail`]:{borderRadius:"50%"}}}}},tt=e=>{let{componentCls:t,iconCls:r,fontSizeLG:n,colorTextLightSolid:o}=e,i=`${t}-list`,a=`${i}-item`,l=e.uploadPicCardSize;return{[` + ${t}-wrapper${t}-picture-card-wrapper, + ${t}-wrapper${t}-picture-circle-wrapper + `]:Object.assign(Object.assign({},(0,eH.dF)()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:l,height:l,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${i}${i}-picture-card, ${i}${i}-picture-circle`]:{[`${i}-item-container`]:{display:"inline-block",width:l,height:l,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[a]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${2*e.paddingXS}px)`,height:`calc(100% - ${2*e.paddingXS}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${a}:hover`]:{[`&::before, ${a}-actions`]:{opacity:1}},[`${a}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${r}-eye, ${r}-download, ${r}-delete`]:{zIndex:10,width:n,margin:`0 ${e.marginXXS}px`,fontSize:n,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${a}-actions, ${a}-actions:hover`]:{[`${r}-eye, ${r}-download, ${r}-delete`]:{color:new e9.C(o).setAlpha(.65).toRgbString(),"&:hover":{color:o}}},[`${a}-thumbnail, ${a}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${a}-name`]:{display:"none",textAlign:"center"},[`${a}-file + ${a}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${2*e.paddingXS}px)`},[`${a}-uploading`]:{[`&${a}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${r}-eye, ${r}-download, ${r}-delete`]:{display:"none"}},[`${a}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${2*e.paddingXS}px)`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}};var tr=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}};let tn=e=>{let{componentCls:t,colorTextDisabled:r}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,eH.Wf)(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:r,cursor:"not-allowed"}})}};var to=(0,e_.Z)("Upload",e=>{let{fontSizeHeading3:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightLG:i}=e,a=(0,eU.TS)(e,{uploadThumbnailSize:2*t,uploadProgressOffset:Math.round(r*n)/2+o,uploadPicCardSize:2.55*i});return[tn(a),e3(a),te(a),tt(a),e6(a),e5(a),tr(a),(0,e2.Z)(a)]},e=>({actionsColor:e.colorTextDescription}));let ti=`__LIST_IGNORE_${Date.now()}__`,ta=n.forwardRef((e,t)=>{var r;let{fileList:i,defaultFileList:l,onRemove:c,showUploadList:s=!0,listType:u="text",onPreview:d,onDownload:p,onChange:f,onDrop:m,previewFile:g,disabled:h,locale:v,iconRender:b,isImageUrl:$,progress:y,prefixCls:w,className:k,type:E="select",children:x,style:C,itemRender:S,maxCount:O,data:j={},multiple:F=!1,action:P="",accept:A="",supportServerRender:L=!0,rootClassName:T}=e,X=n.useContext(N.Z),H=null!=h?h:X,[_,U]=(0,Z.Z)(l||[],{value:i,postState:e=>null!=e?e:[]}),[W,B]=n.useState("drop"),V=n.useRef(null);n.useMemo(()=>{let e=Date.now();(i||[]).forEach((t,r)=>{t.uid||Object.isFrozen(t)||(t.uid=`__AUTO__${e}_${r}__`)})},[i]);let q=(e,t,r)=>{let n=(0,o.Z)(t),i=!1;1===O?n=n.slice(-1):O&&(i=n.length>O,n=n.slice(0,O)),(0,I.flushSync)(()=>{U(n)});let a={file:e,fileList:n};r&&(a.event=r),(!i||n.some(t=>t.uid===e.uid))&&(0,I.flushSync)(()=>{null==f||f(a)})},Q=e=>{let t=e.filter(e=>!e.file[ti]);if(!t.length)return;let r=t.map(e=>G(e.file)),n=(0,o.Z)(_);r.forEach(e=>{n=J(e,n)}),r.forEach((e,r)=>{let o=e;if(t[r].parsedFile)e.status="uploading";else{let t;let{originFileObj:r}=e;try{t=new File([r],r.name,{type:r.type})}catch(e){(t=new Blob([r],{type:r.type})).name=r.name,t.lastModifiedDate=new Date,t.lastModified=new Date().getTime()}t.uid=e.uid,o=t}q(o,n)})},Y=(e,t,r)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}if(!K(t,_))return;let n=G(t);n.status="done",n.percent=100,n.response=e,n.xhr=r;let o=J(n,_);q(n,o)},ee=(e,t)=>{if(!K(t,_))return;let r=G(t);r.status="uploading",r.percent=e.percent;let n=J(r,_);q(r,n,e)},et=(e,t,r)=>{if(!K(r,_))return;let n=G(r);n.error=e,n.response=t,n.status="error";let o=J(n,_);q(n,o)},er=e=>{let t;Promise.resolve("function"==typeof c?c(e):c).then(r=>{var n;if(!1===r)return;let o=function(e,t){let r=void 0!==e.uid?"uid":"name",n=t.filter(t=>t[r]!==e[r]);return n.length===t.length?null:n}(e,_);o&&(t=Object.assign(Object.assign({},e),{status:"removed"}),null==_||_.forEach(e=>{let r=void 0!==t.uid?"uid":"name";e[r]!==t[r]||Object.isFrozen(e)||(e.status="removed")}),null===(n=V.current)||void 0===n||n.abort(t),q(t,o))})},en=e=>{B(e.type),"drop"===e.type&&(null==m||m(e))};n.useImperativeHandle(t,()=>({onBatchStart:Q,onSuccess:Y,onProgress:ee,onError:et,fileList:_,upload:V.current}));let{getPrefixCls:eo,direction:ei,upload:ea}=n.useContext(R.E_),el=eo("upload",w),ec=Object.assign(Object.assign({onBatchStart:Q,onError:et,onProgress:ee,onSuccess:Y},e),{data:j,multiple:F,action:P,accept:A,supportServerRender:L,prefixCls:el,disabled:H,beforeUpload:(t,r)=>{var n,o,i,a;return n=void 0,o=void 0,i=void 0,a=function*(){let{beforeUpload:n,transformFile:o}=e,i=t;if(n){let e=yield n(t,r);if(!1===e)return!1;if(delete t[ti],e===ti)return Object.defineProperty(t,ti,{value:!0,configurable:!0}),!1;"object"==typeof e&&e&&(i=e)}return o&&(i=yield o(i)),i},new(i||(i=Promise))(function(e,t){function r(e){try{c(a.next(e))}catch(e){t(e)}}function l(e){try{c(a.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(r,l)}c((a=a.apply(n,o||[])).next())})},onChange:void 0});delete ec.className,delete ec.style,(!x||H)&&delete ec.id;let[es,eu]=to(el),[ed]=(0,z.Z)("Upload",M.Z.Upload),{showRemoveIcon:ep,showPreviewIcon:ef,showDownloadIcon:em,removeIcon:eg,previewIcon:eh,downloadIcon:ev}="boolean"==typeof s?{}:s,eb=(e,t)=>s?n.createElement(e1,{prefixCls:el,listType:u,items:_,previewFile:g,onPreview:d,onDownload:p,onRemove:er,showRemoveIcon:!H&&ep,showPreviewIcon:ef,showDownloadIcon:em,removeIcon:eg,previewIcon:eh,downloadIcon:ev,iconRender:b,locale:Object.assign(Object.assign({},ed),v),isImageUrl:$,progress:y,appendAction:e,appendActionVisible:t,itemRender:S,disabled:H}):e,e$=a()(`${el}-wrapper`,k,T,eu,null==ea?void 0:ea.className,{[`${el}-rtl`]:"rtl"===ei,[`${el}-picture-card-wrapper`]:"picture-card"===u,[`${el}-picture-circle-wrapper`]:"picture-circle"===u}),ey=Object.assign(Object.assign({},null==ea?void 0:ea.style),C);if("drag"===E){let e=a()(eu,el,`${el}-drag`,{[`${el}-drag-uploading`]:_.some(e=>"uploading"===e.status),[`${el}-drag-hover`]:"dragover"===W,[`${el}-disabled`]:H,[`${el}-rtl`]:"rtl"===ei});return es(n.createElement("span",{className:e$},n.createElement("div",{className:e,style:ey,onDrop:en,onDragOver:en,onDragLeave:en},n.createElement(D,Object.assign({},ec,{ref:V,className:`${el}-btn`}),n.createElement("div",{className:`${el}-drag-container`},x))),eb()))}let ew=a()(el,`${el}-select`,{[`${el}-disabled`]:H}),ek=(r=x?void 0:{display:"none"},n.createElement("div",{className:ew,style:r},n.createElement(D,Object.assign({},ec,{ref:V}))));return es("picture-card"===u||"picture-circle"===u?n.createElement("span",{className:e$},eb(ek,!!x)):n.createElement("span",{className:e$},ek,eb()))});var tl=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let tc=n.forwardRef((e,t)=>{var{style:r,height:o}=e,i=tl(e,["style","height"]);return n.createElement(ta,Object.assign({ref:t},i,{type:"drag",style:Object.assign(Object.assign({},r),{height:o})}))});ta.Dragger=tc,ta.LIST_IGNORE=ti;var ts=ta}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/566-31b5bf29f3e84615.js b/pilot/server/static/_next/static/chunks/566-31b5bf29f3e84615.js new file mode 100644 index 000000000..62f8df356 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/566-31b5bf29f3e84615.js @@ -0,0 +1,8 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[566],{63606:function(e,t,n){n.d(t,{Z:function(){return s}});var o=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},a=n(42135),s=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i}))})},40228:function(e,t,n){n.d(t,{Z:function(){return V}});var o=n(1413),r=n(97685),i=n(45987),a=n(54535),s=n(94184),l=n.n(s),c=n(9220),u=n(34203),f=n(27571),p=n(66680),d=n(7028),h=n(8410),m=n(31131),v=n(67294),g=n(73935),b=v.createContext(null);function y(e){return e?Array.isArray(e)?e:[e]:[]}var w=n(5110);function x(e,t,n,o){return t||(n?{motionName:"".concat(e,"-").concat(n)}:o?{motionName:o}:null)}function E(e){return e.ownerDocument.defaultView}function _(e){for(var t=[],n=null==e?void 0:e.parentElement,o=["hidden","scroll","clip","auto"];n;){var r=E(n).getComputedStyle(n);[r.overflowX,r.overflowY,r.overflow].some(function(e){return o.includes(e)})&&t.push(n),n=n.parentElement}return t}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function k(e){return O(parseFloat(e),0)}function C(e,t){var n=(0,o.Z)({},e);return(t||[]).forEach(function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=E(e).getComputedStyle(e),o=t.overflow,r=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,l=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,f=e.clientHeight,p=e.offsetWidth,d=e.clientWidth,h=k(i),m=k(a),v=k(s),g=k(l),b=O(Math.round(c.width/p*1e3)/1e3),y=O(Math.round(c.height/u*1e3)/1e3),w=h*y,x=v*b,_=0,C=0;if("clip"===o){var $=k(r);_=$*b,C=$*y}var M=c.x+x-_,Z=c.y+w-C,R=M+c.width+2*_-x-g*b-(p-d-v-g)*b,P=Z+c.height+2*C-w-m*y-(u-f-h-m)*y;n.left=Math.max(n.left,M),n.top=Math.max(n.top,Z),n.right=Math.min(n.right,R),n.bottom=Math.min(n.bottom,P)}}),n}function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),o=n.match(/^(.*)\%$/);return o?e*(parseFloat(o[1])/100):parseFloat(n)}function M(e,t){var n=(0,r.Z)(t||[],2),o=n[0],i=n[1];return[$(e.width,o),$(e.height,i)]}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function R(e,t){var n,o=t[0],r=t[1];return n="t"===o?e.y:"b"===o?e.y+e.height:e.y+e.height/2,{x:"l"===r?e.x:"r"===r?e.x+e.width:e.x+e.width/2,y:n}}function P(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(e,o){return o===t?n[e]||"c":e}).join("")}var j=n(74902);n(56790);var A=n(75164),N=n(87462),S=n(82225),T=n(42550);function L(e){var t=e.prefixCls,n=e.align,o=e.arrow,r=e.arrowPos,i=o||{},a=i.className,s=i.content,c=r.x,u=r.y,f=v.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(!1!==n.autoArrow){var d=n.points[0],h=n.points[1],m=d[0],g=d[1],b=h[0],y=h[1];m!==b&&["t","b"].includes(m)?"t"===m?p.top=0:p.bottom=0:p.top=void 0===u?0:u,g!==y&&["l","r"].includes(g)?"l"===g?p.left=0:p.right=0:p.left=void 0===c?0:c}return v.createElement("div",{ref:f,className:l()("".concat(t,"-arrow"),a),style:p},s)}function D(e){var t=e.prefixCls,n=e.open,o=e.zIndex,r=e.mask,i=e.motion;return r?v.createElement(S.ZP,(0,N.Z)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(e){var n=e.className;return v.createElement("div",{style:{zIndex:o},className:l()("".concat(t,"-mask"),n)})}):null}var z=v.memo(function(e){return e.children},function(e,t){return t.cache}),B=v.forwardRef(function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,s=e.style,u=e.target,f=e.onVisibleChanged,p=e.open,d=e.keepDom,m=e.onClick,g=e.mask,b=e.arrow,y=e.arrowPos,w=e.align,x=e.motion,E=e.maskMotion,_=e.forceRender,O=e.getPopupContainer,k=e.autoDestroy,C=e.portal,$=e.zIndex,M=e.onMouseEnter,Z=e.onMouseLeave,R=e.onPointerEnter,P=e.ready,j=e.offsetX,A=e.offsetY,B=e.offsetR,I=e.offsetB,H=e.onAlign,V=e.onPrepare,W=e.stretch,Y=e.targetWidth,X=e.targetHeight,F="function"==typeof n?n():n,q=(null==O?void 0:O.length)>0,G=v.useState(!O||!q),U=(0,r.Z)(G,2),J=U[0],Q=U[1];if((0,h.Z)(function(){!J&&q&&u&&Q(!0)},[J,q,u]),!J)return null;var K="auto",ee={left:"-1000vw",top:"-1000vh",right:K,bottom:K};if(P||!p){var et=w.points,en=w._experimental,eo=null==en?void 0:en.dynamicInset,er=eo&&"r"===et[0][1],ei=eo&&"b"===et[0][0];er?(ee.right=B,ee.left=K):(ee.left=j,ee.right=K),ei?(ee.bottom=I,ee.top=K):(ee.top=A,ee.bottom=K)}var ea={};return W&&(W.includes("height")&&X?ea.height=X:W.includes("minHeight")&&X&&(ea.minHeight=X),W.includes("width")&&Y?ea.width=Y:W.includes("minWidth")&&Y&&(ea.minWidth=Y)),p||(ea.pointerEvents="none"),v.createElement(C,{open:_||p||d,getContainer:O&&function(){return O(u)},autoDestroy:k},v.createElement(D,{prefixCls:a,open:p,zIndex:$,mask:g,motion:E}),v.createElement(c.Z,{onResize:H,disabled:!p},function(e){return v.createElement(S.ZP,(0,N.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:_,leavedClassName:"".concat(a,"-hidden")},x,{onAppearPrepare:V,onEnterPrepare:V,visible:p,onVisibleChanged:function(e){var t;null==x||null===(t=x.onVisibleChanged)||void 0===t||t.call(x,e),f(e)}}),function(n,r){var c=n.className,u=n.style,f=l()(a,c,i);return v.createElement("div",{ref:(0,T.sQ)(e,t,r),className:f,style:(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({"--arrow-x":"".concat(y.x||0,"px"),"--arrow-y":"".concat(y.y||0,"px")},ee),ea),u),{},{boxSizing:"border-box",zIndex:$},s),onMouseEnter:M,onMouseLeave:Z,onPointerEnter:R,onClick:m},b&&v.createElement(L,{prefixCls:a,arrow:b,arrowPos:y,align:w}),v.createElement(z,{cache:!p},F))})}))}),I=v.forwardRef(function(e,t){var n=e.children,o=e.getTriggerDOMNode,r=(0,T.Yr)(n),i=v.useCallback(function(e){(0,T.mH)(t,o?o(e):e)},[o]),a=(0,T.x1)(i,n.ref);return r?v.cloneElement(n,{ref:a}):n}),H=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"],V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return v.forwardRef(function(t,n){var a,s,k,$,N,S,T,L,D,z,V,W,Y,X,F,q,G,U=t.prefixCls,J=void 0===U?"rc-trigger-popup":U,Q=t.children,K=t.action,ee=t.showAction,et=t.hideAction,en=t.popupVisible,eo=t.defaultPopupVisible,er=t.onPopupVisibleChange,ei=t.afterPopupVisibleChange,ea=t.mouseEnterDelay,es=t.mouseLeaveDelay,el=void 0===es?.1:es,ec=t.focusDelay,eu=t.blurDelay,ef=t.mask,ep=t.maskClosable,ed=t.getPopupContainer,eh=t.forceRender,em=t.autoDestroy,ev=t.destroyPopupOnHide,eg=t.popup,eb=t.popupClassName,ey=t.popupStyle,ew=t.popupPlacement,ex=t.builtinPlacements,eE=void 0===ex?{}:ex,e_=t.popupAlign,eO=t.zIndex,ek=t.stretch,eC=t.getPopupClassNameFromAlign,e$=t.alignPoint,eM=t.onPopupClick,eZ=t.onPopupAlign,eR=t.arrow,eP=t.popupMotion,ej=t.maskMotion,eA=t.popupTransitionName,eN=t.popupAnimation,eS=t.maskTransitionName,eT=t.maskAnimation,eL=t.className,eD=t.getTriggerDOMNode,ez=(0,i.Z)(t,H),eB=v.useState(!1),eI=(0,r.Z)(eB,2),eH=eI[0],eV=eI[1];(0,h.Z)(function(){eV((0,m.Z)())},[]);var eW=v.useRef({}),eY=v.useContext(b),eX=v.useMemo(function(){return{registerSubPopup:function(e,t){eW.current[e]=t,null==eY||eY.registerSubPopup(e,t)}}},[eY]),eF=(0,d.Z)(),eq=v.useState(null),eG=(0,r.Z)(eq,2),eU=eG[0],eJ=eG[1],eQ=(0,p.Z)(function(e){(0,u.S)(e)&&eU!==e&&eJ(e),null==eY||eY.registerSubPopup(eF,e)}),eK=v.useState(null),e0=(0,r.Z)(eK,2),e1=e0[0],e2=e0[1],e4=(0,p.Z)(function(e){(0,u.S)(e)&&e1!==e&&e2(e)}),e5=v.Children.only(Q),e7=(null==e5?void 0:e5.props)||{},e3={},e6=(0,p.Z)(function(e){var t,n;return(null==e1?void 0:e1.contains(e))||(null===(t=(0,f.A)(e1))||void 0===t?void 0:t.host)===e||e===e1||(null==eU?void 0:eU.contains(e))||(null===(n=(0,f.A)(eU))||void 0===n?void 0:n.host)===e||e===eU||Object.values(eW.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t})}),e8=x(J,eP,eN,eA),e9=x(J,ej,eT,eS),te=v.useState(eo||!1),tt=(0,r.Z)(te,2),tn=tt[0],to=tt[1],tr=null!=en?en:tn,ti=(0,p.Z)(function(e){void 0===en&&to(e)});(0,h.Z)(function(){to(en||!1)},[en]);var ta=v.useRef(tr);ta.current=tr;var ts=(0,p.Z)(function(e){(0,g.flushSync)(function(){tr!==e&&(ti(e),null==er||er(e))})}),tl=v.useRef(),tc=function(){clearTimeout(tl.current)},tu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;tc(),0===t?ts(e):tl.current=setTimeout(function(){ts(e)},1e3*t)};v.useEffect(function(){return tc},[]);var tf=v.useState(!1),tp=(0,r.Z)(tf,2),td=tp[0],th=tp[1];(0,h.Z)(function(e){(!e||tr)&&th(!0)},[tr]);var tm=v.useState(null),tv=(0,r.Z)(tm,2),tg=tv[0],tb=tv[1],ty=v.useState([0,0]),tw=(0,r.Z)(ty,2),tx=tw[0],tE=tw[1],t_=function(e){tE([e.clientX,e.clientY])},tO=(a=e$?tx:e1,s=v.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:eE[ew]||{}}),$=(k=(0,r.Z)(s,2))[0],N=k[1],S=v.useRef(0),T=v.useMemo(function(){return eU?_(eU):[]},[eU]),L=v.useRef({}),tr||(L.current={}),D=(0,p.Z)(function(){if(eU&&a&&tr){var e,t,n,i,s,l,c,f=eU.ownerDocument,p=E(eU).getComputedStyle(eU),d=p.width,h=p.height,m=p.position,v=eU.style.left,g=eU.style.top,b=eU.style.right,y=eU.style.bottom,x=(0,o.Z)((0,o.Z)({},eE[ew]),e_),_=f.createElement("div");if(null===(e=eU.parentElement)||void 0===e||e.appendChild(_),_.style.left="".concat(eU.offsetLeft,"px"),_.style.top="".concat(eU.offsetTop,"px"),_.style.position=m,_.style.height="".concat(eU.offsetHeight,"px"),_.style.width="".concat(eU.offsetWidth,"px"),eU.style.left="0",eU.style.top="0",eU.style.right="auto",eU.style.bottom="auto",Array.isArray(a))n={x:a[0],y:a[1],width:0,height:0};else{var k=a.getBoundingClientRect();n={x:k.x,y:k.y,width:k.width,height:k.height}}var $=eU.getBoundingClientRect(),j=f.documentElement,A=j.clientWidth,S=j.clientHeight,D=j.scrollWidth,z=j.scrollHeight,B=j.scrollTop,I=j.scrollLeft,H=$.height,V=$.width,W=n.height,Y=n.width,X=x.htmlRegion,F="visible",q="visibleFirst";"scroll"!==X&&X!==q&&(X=F);var G=X===q,U=C({left:-I,top:-B,right:D-I,bottom:z-B},T),J=C({left:0,top:0,right:A,bottom:S},T),Q=X===F?J:U,K=G?J:Q;eU.style.left="auto",eU.style.top="auto",eU.style.right="0",eU.style.bottom="0";var ee=eU.getBoundingClientRect();eU.style.left=v,eU.style.top=g,eU.style.right=b,eU.style.bottom=y,null===(t=eU.parentElement)||void 0===t||t.removeChild(_);var et=O(Math.round(V/parseFloat(d)*1e3)/1e3),en=O(Math.round(H/parseFloat(h)*1e3)/1e3);if(!(0===et||0===en||(0,u.S)(a)&&!(0,w.Z)(a))){var eo=x.offset,er=x.targetOffset,ei=M($,eo),ea=(0,r.Z)(ei,2),es=ea[0],el=ea[1],ec=M(n,er),eu=(0,r.Z)(ec,2),ef=eu[0],ep=eu[1];n.x-=ef,n.y-=ep;var ed=x.points||[],eh=(0,r.Z)(ed,2),em=eh[0],ev=Z(eh[1]),eg=Z(em),eb=R(n,ev),ey=R($,eg),ex=(0,o.Z)({},x),eO=eb.x-ey.x+es,ek=eb.y-ey.y+el,eC=te(eO,ek),e$=te(eO,ek,J),eM=R(n,["t","l"]),eR=R($,["t","l"]),eP=R(n,["b","r"]),ej=R($,["b","r"]),eA=x.overflow||{},eN=eA.adjustX,eS=eA.adjustY,eT=eA.shiftX,eL=eA.shiftY,eD=function(e){return"boolean"==typeof e?e:e>=0};tt();var ez=eD(eS),eB=eg[0]===ev[0];if(ez&&"t"===eg[0]&&(s>K.bottom||L.current.bt)){var eI=ek;eB?eI-=H-W:eI=eM.y-ej.y-el;var eH=te(eO,eI),eV=te(eO,eI,J);eH>eC||eH===eC&&(!G||eV>=e$)?(L.current.bt=!0,ek=eI,el=-el,ex.points=[P(eg,0),P(ev,0)]):L.current.bt=!1}if(ez&&"b"===eg[0]&&(ieC||eY===eC&&(!G||eX>=e$)?(L.current.tb=!0,ek=eW,el=-el,ex.points=[P(eg,0),P(ev,0)]):L.current.tb=!1}var eF=eD(eN),eq=eg[1]===ev[1];if(eF&&"l"===eg[1]&&(c>K.right||L.current.rl)){var eG=eO;eq?eG-=V-Y:eG=eM.x-ej.x-es;var eJ=te(eG,ek),eQ=te(eG,ek,J);eJ>eC||eJ===eC&&(!G||eQ>=e$)?(L.current.rl=!0,eO=eG,es=-es,ex.points=[P(eg,1),P(ev,1)]):L.current.rl=!1}if(eF&&"r"===eg[1]&&(leC||e0===eC&&(!G||e1>=e$)?(L.current.lr=!0,eO=eK,es=-es,ex.points=[P(eg,1),P(ev,1)]):L.current.lr=!1}tt();var e2=!0===eT?0:eT;"number"==typeof e2&&(lJ.right&&(eO-=c-J.right-es,n.x>J.right-e2&&(eO+=n.x-J.right+e2)));var e4=!0===eL?0:eL;"number"==typeof e4&&(iJ.bottom&&(ek-=s-J.bottom-el,n.y>J.bottom-e4&&(ek+=n.y-J.bottom+e4)));var e5=$.x+eO,e7=$.y+ek,e3=n.x,e6=n.y;null==eZ||eZ(eU,ex);var e8=ee.right-$.x-(eO+$.width),e9=ee.bottom-$.y-(ek+$.height);N({ready:!0,offsetX:eO/et,offsetY:ek/en,offsetR:e8/et,offsetB:e9/en,arrowX:((Math.max(e5,e3)+Math.min(e5+V,e3+Y))/2-e5)/et,arrowY:((Math.max(e7,e6)+Math.min(e7+H,e6+W))/2-e7)/en,scaleX:et,scaleY:en,align:ex})}function te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Q,o=$.x+e,r=$.y+t,i=Math.max(o,n.left),a=Math.max(r,n.top);return Math.max(0,(Math.min(o+V,n.right)-i)*(Math.min(r+H,n.bottom)-a))}function tt(){s=(i=$.y+ek)+H,c=(l=$.x+eO)+V}}}),z=function(){N(function(e){return(0,o.Z)((0,o.Z)({},e),{},{ready:!1})})},(0,h.Z)(z,[ew]),(0,h.Z)(function(){tr||z()},[tr]),[$.ready,$.offsetX,$.offsetY,$.offsetR,$.offsetB,$.arrowX,$.arrowY,$.scaleX,$.scaleY,$.align,function(){S.current+=1;var e=S.current;Promise.resolve().then(function(){S.current===e&&D()})}]),tk=(0,r.Z)(tO,11),tC=tk[0],t$=tk[1],tM=tk[2],tZ=tk[3],tR=tk[4],tP=tk[5],tj=tk[6],tA=tk[7],tN=tk[8],tS=tk[9],tT=tk[10],tL=(V=void 0===K?"hover":K,v.useMemo(function(){var e=y(null!=ee?ee:V),t=y(null!=et?et:V),n=new Set(e),o=new Set(t);return eH&&(n.has("hover")&&(n.delete("hover"),n.add("click")),o.has("hover")&&(o.delete("hover"),o.add("click"))),[n,o]},[eH,V,ee,et])),tD=(0,r.Z)(tL,2),tz=tD[0],tB=tD[1],tI=tz.has("click"),tH=tB.has("click")||tB.has("contextMenu"),tV=(0,p.Z)(function(){td||tT()});W=function(){ta.current&&e$&&tH&&tu(!1)},(0,h.Z)(function(){if(tr&&e1&&eU){var e=_(e1),t=_(eU),n=E(eU),o=new Set([n].concat((0,j.Z)(e),(0,j.Z)(t)));function r(){tV(),W()}return o.forEach(function(e){e.addEventListener("scroll",r,{passive:!0})}),n.addEventListener("resize",r,{passive:!0}),tV(),function(){o.forEach(function(e){e.removeEventListener("scroll",r),n.removeEventListener("resize",r)})}}},[tr,e1,eU]),(0,h.Z)(function(){tV()},[tx,ew]),(0,h.Z)(function(){tr&&!(null!=eE&&eE[ew])&&tV()},[JSON.stringify(e_)]);var tW=v.useMemo(function(){var e=function(e,t,n,o){for(var r=n.points,i=Object.keys(e),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}(null===(s=e[l])||void 0===s?void 0:s.points,r,o))return"".concat(t,"-placement-").concat(l)}return""}(eE,J,tS,e$);return l()(e,null==eC?void 0:eC(tS))},[tS,eC,eE,J,e$]);v.useImperativeHandle(n,function(){return{forceAlign:tV}});var tY=v.useState(0),tX=(0,r.Z)(tY,2),tF=tX[0],tq=tX[1],tG=v.useState(0),tU=(0,r.Z)(tG,2),tJ=tU[0],tQ=tU[1],tK=function(){if(ek&&e1){var e=e1.getBoundingClientRect();tq(e.width),tQ(e.height)}};function t0(e,t,n,o){e3[e]=function(r){var i;null==o||o(r),tu(t,n);for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l1?n-1:0),r=1;r1?n-1:0),r=1;r`${e}-inverse`);function a(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t?[].concat((0,o.Z)(i),(0,o.Z)(r.i)).includes(e):r.i.includes(e)}},2453:function(e,t,n){n.d(t,{ZP:function(){return I}});var o=n(74902),r=n(67294),i=n(38135),a=n(46735),s=n(89739),l=n(4340),c=n(21640),u=n(78860),f=n(50888),p=n(94184),d=n.n(p),h=n(86621),m=n(53124),v=n(76325),g=n(14747),b=n(67968),y=n(45503);let w=e=>{let{componentCls:t,iconCls:n,boxShadow:o,colorText:r,colorSuccess:i,colorError:a,colorWarning:s,colorInfo:l,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:f,marginXS:p,paddingXS:d,borderRadiusLG:h,zIndexPopup:m,contentPadding:b,contentBg:y}=e,w=`${t}-notice`,x=new v.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:d,transform:"translateY(0)",opacity:1}}),E=new v.E4("MessageMoveOut",{"0%":{maxHeight:e.height,padding:d,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),_={padding:d,textAlign:"center",[`${t}-custom-content > ${n}`]:{verticalAlign:"text-bottom",marginInlineEnd:p,fontSize:c},[`${w}-content`]:{display:"inline-block",padding:b,background:y,borderRadius:h,boxShadow:o,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, + ${t}-loading > ${n}`]:{color:l}};return[{[t]:Object.assign(Object.assign({},(0,g.Wf)(e)),{color:r,position:"fixed",top:p,width:"100%",pointerEvents:"none",zIndex:m,[`${t}-move-up`]:{animationFillMode:"forwards"},[` + ${t}-move-up-appear, + ${t}-move-up-enter + `]:{animationName:x,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[` + ${t}-move-up-appear${t}-move-up-appear-active, + ${t}-move-up-enter${t}-move-up-enter-active + `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:E,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[w]:Object.assign({},_)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},_),{padding:0,textAlign:"start"})}]};var x=(0,b.Z)("Message",e=>{let t=(0,y.TS)(e,{height:150});return[w(t)]},e=>({zIndexPopup:e.zIndexPopupBase+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})),E=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let _={info:r.createElement(u.Z,null),success:r.createElement(s.Z,null),error:r.createElement(l.Z,null),warning:r.createElement(c.Z,null),loading:r.createElement(f.Z,null)},O=e=>{let{prefixCls:t,type:n,icon:o,children:i}=e;return r.createElement("div",{className:d()(`${t}-custom-content`,`${t}-${n}`)},o||_[n],r.createElement("span",null,i))};var k=n(97937);function C(e){let t;let n=new Promise(n=>{t=e(()=>{n(!0)})}),o=()=>{null==t||t()};return o.then=(e,t)=>n.then(e,t),o.promise=n,o}var $=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let M=e=>{let{children:t,prefixCls:n}=e,[,o]=x(n);return r.createElement(h.JB,{classNames:{list:o,notice:o}},t)},Z=(e,t)=>{let{prefixCls:n,key:o}=t;return r.createElement(M,{prefixCls:n,key:o},e)},R=r.forwardRef((e,t)=>{let{top:n,prefixCls:o,getContainer:i,maxCount:a,duration:s=3,rtl:l,transitionName:c,onAllRemoved:u}=e,{getPrefixCls:f,getPopupContainer:p,message:v}=r.useContext(m.E_),g=o||f("message"),b=r.createElement("span",{className:`${g}-close-x`},r.createElement(k.Z,{className:`${g}-close-icon`})),[y,w]=(0,h.lm)({prefixCls:g,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>d()({[`${g}-rtl`]:l}),motion:()=>({motionName:null!=c?c:`${g}-move-up`}),closable:!1,closeIcon:b,duration:s,getContainer:()=>(null==i?void 0:i())||(null==p?void 0:p())||document.body,maxCount:a,onAllRemoved:u,renderNotifications:Z});return r.useImperativeHandle(t,()=>Object.assign(Object.assign({},y),{prefixCls:g,message:v})),w}),P=0;function j(e){let t=r.useRef(null),n=r.useMemo(()=>{let e=e=>{var n;null===(n=t.current)||void 0===n||n.close(e)},n=n=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:o,prefixCls:i,message:a}=t.current,s=`${i}-notice`,{content:l,icon:c,type:u,key:f,className:p,style:h,onClose:m}=n,v=$(n,["content","icon","type","key","className","style","onClose"]),g=f;return null==g&&(P+=1,g=`antd-message-${P}`),C(t=>(o(Object.assign(Object.assign({},v),{key:g,content:r.createElement(O,{prefixCls:i,type:u,icon:c},l),placement:"top",className:d()(u&&`${s}-${u}`,p,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),h),onClose:()=>{null==m||m(),t()}})),()=>{e(g)}))},o={open:n,destroy:n=>{var o;void 0!==n?e(n):null===(o=t.current)||void 0===o||o.destroy()}};return["info","success","warning","error","loading"].forEach(e=>{o[e]=(t,o,r)=>{let i,a,s;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof o?s=o:(a=o,s=r);let l=Object.assign(Object.assign({onClose:s,duration:a},i),{type:e});return n(l)}}),o},[]);return[n,r.createElement(R,Object.assign({key:"message-holder"},e,{ref:t}))]}let A=null,N=e=>e(),S=[],T={};function L(){let{prefixCls:e,getContainer:t,duration:n,rtl:o,maxCount:r,top:i}=T,s=null!=e?e:(0,a.w6)().getPrefixCls("message"),l=(null==t?void 0:t())||document.body;return{prefixCls:s,getContainer:()=>l,duration:n,rtl:o,maxCount:r,top:i}}let D=r.forwardRef((e,t)=>{let[n,o]=r.useState(L),[i,s]=j(n),l=(0,a.w6)(),c=l.getRootPrefixCls(),u=l.getIconPrefixCls(),f=l.getTheme(),p=()=>{o(L)};return r.useEffect(p,[]),r.useImperativeHandle(t,()=>{let e=Object.assign({},i);return Object.keys(e).forEach(t=>{e[t]=function(){return p(),i[t].apply(i,arguments)}}),{instance:e,sync:p}}),r.createElement(a.ZP,{prefixCls:c,iconPrefixCls:u,theme:f},s)});function z(){if(!A){let e=document.createDocumentFragment(),t={fragment:e};A=t,N(()=>{(0,i.s)(r.createElement(D,{ref:e=>{let{instance:n,sync:o}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=o,z())})}}),e)});return}A.instance&&(S.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":N(()=>{let t=A.instance.open(Object.assign(Object.assign({},T),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":N(()=>{null==A||A.instance.destroy(e.key)});break;default:N(()=>{var n;let r=(n=A.instance)[t].apply(n,(0,o.Z)(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)})}}),S=[])}let B={open:function(e){let t=C(t=>{let n;let o={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return S.push(o),()=>{n?N(()=>{n()}):o.skipped=!0}});return z(),t},destroy:function(e){S.push({type:"destroy",key:e}),z()},config:function(e){T=Object.assign(Object.assign({},T),e),N(()=>{var e;null===(e=null==A?void 0:A.sync)||void 0===e||e.call(A)})},useMessage:function(e){return j(e)},_InternalPanelDoNotUseOrYouWillBeFired:e=>{let{prefixCls:t,className:n,type:o,icon:i,content:a}=e,s=E(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:l}=r.useContext(m.E_),c=t||l("message"),[,u]=x(c);return r.createElement(h.qX,Object.assign({},s,{prefixCls:c,className:d()(n,u,`${c}-notice-pure-panel`),eventKey:"pure",duration:null,content:r.createElement(O,{prefixCls:c,type:o,icon:i},a)}))}};["success","info","warning","error","loading"].forEach(e=>{B[e]=function(){for(var t=arguments.length,n=Array(t),o=0;o{let o;let r={type:e,args:t,resolve:n,setCloseFn:e=>{o=e}};return S.push(r),()=>{o?N(()=>{o()}):r.skipped=!0}});return z(),n}(e,n)}});var I=B},77786:function(e,t,n){n.d(t,{qN:function(){return r},ZP:function(){return a},fS:function(){return i}});let o=(e,t,n,o,r)=>{let i=e/2,a=1*n/Math.sqrt(2),s=i-n*(1-1/Math.sqrt(2)),l=i-t*(1/Math.sqrt(2)),c=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),u=i*Math.sqrt(2)+n*(Math.sqrt(2)-2),f=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:o,clipPath:{_multi_value_:!0,value:[`polygon(${f}px 100%, 50% ${f}px, ${2*i-f}px 100%, ${f}px 100%)`,`path('M 0 ${i} A ${n} ${n} 0 0 0 ${a} ${s} L ${l} ${c} A ${t} ${t} 0 0 1 ${2*i-l} ${c} L ${2*i-a} ${s} A ${n} ${n} 0 0 0 ${2*i-0} ${i} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:u,height:u,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}},r=8;function i(e){let{contentRadius:t,limitVerticalRadius:n}=e,o=t>12?t+2:12;return{dropdownArrowOffset:o,dropdownArrowOffsetVertical:n?r:o}}function a(e,t){var n,r,a,s,l,c,u,f;let{componentCls:p,sizePopupArrow:d,borderRadiusXS:h,borderRadiusOuter:m,boxShadowPopoverArrow:v}=e,{colorBg:g,contentRadius:b=e.borderRadiusLG,limitVerticalRadius:y,arrowDistance:w=0,arrowPlacement:x={left:!0,right:!0,top:!0,bottom:!0}}=t,{dropdownArrowOffsetVertical:E,dropdownArrowOffset:_}=i({contentRadius:b,limitVerticalRadius:y});return{[p]:Object.assign(Object.assign(Object.assign(Object.assign({[`${p}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},o(d,h,m,g,v)),{"&:before":{background:g}})]},(n=!!x.top,r={[`&-placement-top ${p}-arrow,&-placement-topLeft ${p}-arrow,&-placement-topRight ${p}-arrow`]:{bottom:w,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${p}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${p}-arrow`]:{left:{_skip_check_:!0,value:_}},[`&-placement-topRight ${p}-arrow`]:{right:{_skip_check_:!0,value:_}}},n?r:{})),(a=!!x.bottom,s={[`&-placement-bottom ${p}-arrow,&-placement-bottomLeft ${p}-arrow,&-placement-bottomRight ${p}-arrow`]:{top:w,transform:"translateY(-100%)"},[`&-placement-bottom ${p}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${p}-arrow`]:{left:{_skip_check_:!0,value:_}},[`&-placement-bottomRight ${p}-arrow`]:{right:{_skip_check_:!0,value:_}}},a?s:{})),(l=!!x.left,c={[`&-placement-left ${p}-arrow,&-placement-leftTop ${p}-arrow,&-placement-leftBottom ${p}-arrow`]:{right:{_skip_check_:!0,value:w},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${p}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${p}-arrow`]:{top:E},[`&-placement-leftBottom ${p}-arrow`]:{bottom:E}},l?c:{})),(u=!!x.right,f={[`&-placement-right ${p}-arrow,&-placement-rightTop ${p}-arrow,&-placement-rightBottom ${p}-arrow`]:{left:{_skip_check_:!0,value:w},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${p}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${p}-arrow`]:{top:E},[`&-placement-rightBottom ${p}-arrow`]:{bottom:E}},u?f:{}))}}},8796:function(e,t,n){n.d(t,{i:function(){return o}});let o=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},98719:function(e,t,n){n.d(t,{Z:function(){return r}});var o=n(8796);function r(e,t){return o.i.reduce((n,o)=>{let r=e[`${o}1`],i=e[`${o}3`],a=e[`${o}6`],s=e[`${o}7`];return Object.assign(Object.assign({},n),t(o,{lightColor:r,lightBorderColor:i,darkColor:a,textColor:s}))},{})}},39778:function(e,t,n){n.d(t,{Z:function(){return Z}});var o=n(67294),r=n(94184),i=n.n(r),a=n(92419),s=n(21770),l=n(33603),c=n(77786);let u={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},f={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},p=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);var d=n(96159),h=n(53124),m=n(4173),v=n(46605),g=n(14747),b=n(50438),y=n(98719),w=n(45503),x=n(67968);let E=e=>{let{componentCls:t,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:r,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:u,paddingXS:f,tooltipRadiusOuter:p}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,g.Wf)(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${t}-inner`]:{minWidth:s,minHeight:s,padding:`${u/2}px ${f}px`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:i,boxShadow:l,boxSizing:"border-box"},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{[`${t}-inner`]:{borderRadius:Math.min(i,c.qN)}},[`${t}-content`]:{position:"relative"}}),(0,y.Z)(e,(e,n)=>{let{darkColor:o}=n;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:o},[`${t}-arrow`]:{"--antd-arrow-background-color":o}}}})),{"&-rtl":{direction:"rtl"}})},(0,c.ZP)((0,w.TS)(e,{borderRadiusOuter:p}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:i,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]};var _=(e,t)=>{let n=(0,x.Z)("Tooltip",e=>{if(!1===t)return[];let{borderRadius:n,colorTextLightSolid:o,colorBgDefault:r,borderRadiusOuter:i}=e,a=(0,w.TS)(e,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:n,tooltipBg:r,tooltipRadiusOuter:i>4?4:i});return[E(a),(0,b._y)(e,"zoom-big-fast")]},e=>{let{zIndexPopupBase:t,colorBgSpotlight:n}=e;return{zIndexPopup:t+70,colorBgDefault:n}},{resetStyle:!1});return n(e)},O=n(98787);function k(e,t){let n=(0,O.o2)(t),o=i()({[`${e}-${t}`]:t&&n}),r={},a={};return t&&!n&&(r.background=t,a["--antd-arrow-background-color"]=t),{className:o,overlayStyle:r,arrowStyle:a}}var C=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let $=(e,t)=>{let n={},o=Object.assign({},e);return t.forEach(t=>{e&&t in e&&(n[t]=e[t],delete o[t])}),{picked:n,omitted:o}},M=o.forwardRef((e,t)=>{var n,r;let{prefixCls:g,openClassName:b,getTooltipContainer:y,overlayClassName:w,color:x,overlayInnerStyle:E,children:O,afterOpenChange:M,afterVisibleChange:Z,destroyTooltipOnHide:R,arrow:P=!0,title:j,overlay:A,builtinPlacements:N,arrowPointAtCenter:S=!1,autoAdjustOverflow:T=!0}=e,L=!!P,[,D]=(0,v.Z)(),{getPopupContainer:z,getPrefixCls:B,direction:I}=o.useContext(h.E_),H=o.useRef(null),V=()=>{var e;null===(e=H.current)||void 0===e||e.forceAlign()};o.useImperativeHandle(t,()=>({forceAlign:V,forcePopupAlign:()=>{V()}}));let[W,Y]=(0,s.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),X=!j&&!A&&0!==j,F=o.useMemo(()=>{var e,t;let n=S;return"object"==typeof P&&(n=null!==(t=null!==(e=P.pointAtCenter)&&void 0!==e?e:P.arrowPointAtCenter)&&void 0!==t?t:S),N||function(e){let{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:o,offset:r,borderRadius:i,visibleFirst:a}=e,s=t/2,l={};return Object.keys(u).forEach(e=>{let d=o&&f[e]||u[e],h=Object.assign(Object.assign({},d),{offset:[0,0]});switch(l[e]=h,p.has(e)&&(h.autoArrow=!1),e){case"top":case"topLeft":case"topRight":h.offset[1]=-s-r;break;case"bottom":case"bottomLeft":case"bottomRight":h.offset[1]=s+r;break;case"left":case"leftTop":case"leftBottom":h.offset[0]=-s-r;break;case"right":case"rightTop":case"rightBottom":h.offset[0]=s+r}let m=(0,c.fS)({contentRadius:i,limitVerticalRadius:!0});if(o)switch(e){case"topLeft":case"bottomLeft":h.offset[0]=-m.dropdownArrowOffset-s;break;case"topRight":case"bottomRight":h.offset[0]=m.dropdownArrowOffset+s;break;case"leftTop":case"rightTop":h.offset[1]=-m.dropdownArrowOffset-s;break;case"leftBottom":case"rightBottom":h.offset[1]=m.dropdownArrowOffset+s}h.overflow=function(e,t,n,o){if(!1===o)return{adjustX:!1,adjustY:!1};let r=o&&"object"==typeof o?o:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.dropdownArrowOffset+n;break;case"left":case"right":i.shiftY=2*t.dropdownArrowOffsetVertical+n}let a=Object.assign(Object.assign({},i),r);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,m,t,n),a&&(h.htmlRegion="visibleFirst")}),l}({arrowPointAtCenter:n,autoAdjustOverflow:T,arrowWidth:L?D.sizePopupArrow:0,borderRadius:D.borderRadius,offset:D.marginXXS,visibleFirst:!0})},[S,P,N,D]),q=o.useMemo(()=>0===j?j:A||j||"",[A,j]),G=o.createElement(m.BR,null,"function"==typeof q?q():q),{getPopupContainer:U,placement:J="top",mouseEnterDelay:Q=.1,mouseLeaveDelay:K=.1,overlayStyle:ee,rootClassName:et}=e,en=C(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),eo=B("tooltip",g),er=B(),ei=e["data-popover-inject"],ea=W;"open"in e||"visible"in e||!X||(ea=!1);let es=function(e,t){let n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){let{picked:n,omitted:r}=$(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),a=Object.assign(Object.assign({display:"inline-block"},n),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),s=Object.assign(Object.assign({},r),{pointerEvents:"none"}),l=(0,d.Tm)(e,{style:s,className:null});return o.createElement("span",{style:a,className:i()(e.props.className,`${t}-disabled-compatible-wrapper`)},l)}return e}((0,d.l$)(O)&&!(0,d.M2)(O)?O:o.createElement("span",null,O),eo),el=es.props,ec=el.className&&"string"!=typeof el.className?el.className:i()(el.className,b||`${eo}-open`),[eu,ef]=_(eo,!ei),ep=k(eo,x),ed=ep.arrowStyle,eh=Object.assign(Object.assign({},E),ep.overlayStyle),em=i()(w,{[`${eo}-rtl`]:"rtl"===I},ep.className,et,ef);return eu(o.createElement(a.Z,Object.assign({},en,{showArrow:L,placement:J,mouseEnterDelay:Q,mouseLeaveDelay:K,prefixCls:eo,overlayClassName:em,overlayStyle:Object.assign(Object.assign({},ed),ee),getTooltipContainer:U||y||z,ref:H,builtinPlacements:F,overlay:G,visible:ea,onVisibleChange:t=>{var n,o;Y(!X&&t),X||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(o=e.onVisibleChange)||void 0===o||o.call(e,t))},afterVisibleChange:null!=M?M:Z,overlayInnerStyle:eh,arrowContent:o.createElement("span",{className:`${eo}-arrow-content`}),motion:{motionName:(0,l.m)(er,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!R}),ea?(0,d.Tm)(es,{className:ec}):es))});M._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,className:n,placement:r="top",title:s,color:l,overlayInnerStyle:c}=e,{getPrefixCls:u}=o.useContext(h.E_),f=u("tooltip",t),[p,d]=_(f,!0),m=k(f,l),v=m.arrowStyle,g=Object.assign(Object.assign({},c),m.overlayStyle),b=i()(d,f,`${f}-pure`,`${f}-placement-${r}`,n,m.className);return p(o.createElement("div",{className:b,style:v},o.createElement("div",{className:`${f}-arrow`}),o.createElement(a.G,Object.assign({},e,{className:d,prefixCls:f,overlayInnerStyle:g}),s)))};var Z=M},9220:function(e,t,n){n.d(t,{Z:function(){return z}});var o=n(87462),r=n(67294),i=n(50344);n(80334);var a=n(1413),s=n(42550),l=n(34203),c=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,o){return e[0]===t&&(n=o,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n0},e.prototype.connect_=function(){u&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),h?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){u&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;d.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),v=function(e,t){for(var n=0,o=Object.keys(t);n0},e}(),C="undefined"!=typeof WeakMap?new WeakMap:new c,$=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=m.getInstance(),o=new k(t,n,this);C.set(this,o)};["observe","unobserve","disconnect"].forEach(function(e){$.prototype[e]=function(){var t;return(t=C.get(this))[e].apply(t,arguments)}});var M=void 0!==f.ResizeObserver?f.ResizeObserver:$,Z=new Map,R=new M(function(e){e.forEach(function(e){var t,n=e.target;null===(t=Z.get(n))||void 0===t||t.forEach(function(e){return e(n)})})}),P=n(15671),j=n(43144),A=n(32531),N=n(73568),S=function(e){(0,A.Z)(n,e);var t=(0,N.Z)(n);function n(){return(0,P.Z)(this,n),t.apply(this,arguments)}return(0,j.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(r.Component),T=r.createContext(null),L=r.forwardRef(function(e,t){var n=e.children,o=e.disabled,i=r.useRef(null),c=r.useRef(null),u=r.useContext(T),f="function"==typeof n,p=f?n(i):n,d=r.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),h=!f&&r.isValidElement(p)&&(0,s.Yr)(p),m=h?p.ref:null,v=r.useMemo(function(){return(0,s.sQ)(m,i)},[m,i]),g=function(){return(0,l.Z)(i.current)||(0,l.Z)(c.current)};r.useImperativeHandle(t,function(){return g()});var b=r.useRef(e);b.current=e;var y=r.useCallback(function(e){var t=b.current,n=t.onResize,o=t.data,r=e.getBoundingClientRect(),i=r.width,s=r.height,l=e.offsetWidth,c=e.offsetHeight,f=Math.floor(i),p=Math.floor(s);if(d.current.width!==f||d.current.height!==p||d.current.offsetWidth!==l||d.current.offsetHeight!==c){var h={width:f,height:p,offsetWidth:l,offsetHeight:c};d.current=h;var m=l===Math.round(i)?i:l,v=c===Math.round(s)?s:c,g=(0,a.Z)((0,a.Z)({},h),{},{offsetWidth:m,offsetHeight:v});null==u||u(g,e,o),n&&Promise.resolve().then(function(){n(g,e)})}},[]);return r.useEffect(function(){var e=g();return e&&!o&&(Z.has(e)||(Z.set(e,new Set),R.observe(e)),Z.get(e).add(y)),function(){Z.has(e)&&(Z.get(e).delete(y),Z.get(e).size||(R.unobserve(e),Z.delete(e)))}},[i.current,o]),r.createElement(S,{ref:c},h?r.cloneElement(p,{ref:v}):p)}),D=r.forwardRef(function(e,t){var n=e.children;return("function"==typeof n?[n]:(0,i.Z)(n)).map(function(n,i){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return r.createElement(L,(0,o.Z)({},e,{key:a,ref:0===i?t:void 0}),n)})});D.Collection=function(e){var t=e.children,n=e.onBatchResize,o=r.useRef(0),i=r.useRef([]),a=r.useContext(T),s=r.useCallback(function(e,t,r){o.current+=1;var s=o.current;i.current.push({size:e,element:t,data:r}),Promise.resolve().then(function(){s===o.current&&(null==n||n(i.current),i.current=[])}),null==a||a(e,t,r)},[n,a]);return r.createElement(T.Provider,{value:s},t)};var z=D},92419:function(e,t,n){n.d(t,{G:function(){return h},Z:function(){return v}});var o=n(87462),r=n(1413),i=n(45987),a=n(40228),s=n(67294),l={shiftX:64,adjustY:1},c={adjustX:1,shiftY:!0},u=[0,0],f={left:{points:["cr","cl"],overflow:c,offset:[-4,0],targetOffset:u},right:{points:["cl","cr"],overflow:c,offset:[4,0],targetOffset:u},top:{points:["bc","tc"],overflow:l,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:l,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:l,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:c,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:l,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:c,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:l,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:c,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:l,offset:[0,4],targetOffset:u},leftBottom:{points:["br","bl"],overflow:c,offset:[-4,0],targetOffset:u}},p=n(94184),d=n.n(p);function h(e){var t=e.children,n=e.prefixCls,o=e.id,r=e.overlayInnerStyle,i=e.className,a=e.style;return s.createElement("div",{className:d()("".concat(n,"-content"),i),style:a},s.createElement("div",{className:"".concat(n,"-inner"),id:o,role:"tooltip",style:r},"function"==typeof t?t():t))}var m=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],v=(0,s.forwardRef)(function(e,t){var n=e.overlayClassName,l=e.trigger,c=e.mouseEnterDelay,u=e.mouseLeaveDelay,p=e.overlayStyle,d=e.prefixCls,v=void 0===d?"rc-tooltip":d,g=e.children,b=e.onVisibleChange,y=e.afterVisibleChange,w=e.transitionName,x=e.animation,E=e.motion,_=e.placement,O=e.align,k=e.destroyTooltipOnHide,C=e.defaultVisible,$=e.getTooltipContainer,M=e.overlayInnerStyle,Z=(e.arrowContent,e.overlay),R=e.id,P=e.showArrow,j=(0,i.Z)(e,m),A=(0,s.useRef)(null);(0,s.useImperativeHandle)(t,function(){return A.current});var N=(0,r.Z)({},j);return"visible"in e&&(N.popupVisible=e.visible),s.createElement(a.Z,(0,o.Z)({popupClassName:n,prefixCls:v,popup:function(){return s.createElement(h,{key:"content",prefixCls:v,id:R,overlayInnerStyle:M},Z)},action:void 0===l?["hover"]:l,builtinPlacements:f,popupPlacement:void 0===_?"right":_,ref:A,popupAlign:void 0===O?{}:O,getPopupContainer:$,onPopupVisibleChange:b,afterPopupVisibleChange:y,popupTransitionName:w,popupAnimation:x,popupMotion:E,defaultPopupVisible:C,autoDestroy:void 0!==k&&k,mouseLeaveDelay:void 0===u?.1:u,popupStyle:p,mouseEnterDelay:void 0===c?0:c,arrow:void 0===P||P},N),g)})},31131:function(e,t){t.Z=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/566-cb742dc279bbfe42.js b/pilot/server/static/_next/static/chunks/566-cb742dc279bbfe42.js deleted file mode 100644 index d8a7a8039..000000000 --- a/pilot/server/static/_next/static/chunks/566-cb742dc279bbfe42.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[566],{59566:function(e,t,n){n.d(t,{default:function(){return en}});var r,l=n(94184),a=n.n(l),o=n(67294),u=n(53124),s=n(65223),i=n(47673),c=n(4340),f=n(67656),d=n(42550),p=n(9708),v=n(98866),m=n(98675),g=n(4173);function b(e,t){let n=(0,o.useRef)([]),r=()=>{n.current.push(setTimeout(()=>{var t,n,r,l;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(l=e.current)||void 0===l||l.input.removeAttribute("value"))}))};return(0,o.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let h=(0,o.forwardRef)((e,t)=>{var n;let r;let{prefixCls:l,bordered:h=!0,status:y,size:w,disabled:C,onBlur:E,onFocus:Z,suffix:N,allowClear:O,addonAfter:S,addonBefore:z,className:j,style:R,styles:A,rootClassName:$,onChange:P,classNames:k}=e,B=x(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:F,direction:T,input:I}=o.useContext(u.E_),M=F("input",l),H=(0,o.useRef)(null),[V,D]=(0,i.ZP)(M),{compactSize:L,compactItemClassnames:_}=(0,g.ri)(M,T),W=(0,m.Z)(e=>{var t;return null!==(t=null!=w?w:L)&&void 0!==t?t:e}),Q=o.useContext(v.Z),J=null!=C?C:Q,{status:K,hasFeedback:X,feedbackIcon:q}=(0,o.useContext)(s.aM),U=(0,p.F)(K,y),Y=!!(e.prefix||e.suffix||e.allowClear)||!!X,G=(0,o.useRef)(Y);(0,o.useEffect)(()=>{Y&&G.current,G.current=Y},[Y]);let ee=b(H,!0),et=(X||N)&&o.createElement(o.Fragment,null,N,X&&q);return"object"==typeof O&&(null==O?void 0:O.clearIcon)?r=O:O&&(r={clearIcon:o.createElement(c.Z,null)}),V(o.createElement(f.Z,Object.assign({ref:(0,d.sQ)(t,H),prefixCls:M,autoComplete:null==I?void 0:I.autoComplete},B,{disabled:J,onBlur:e=>{ee(),null==E||E(e)},onFocus:e=>{ee(),null==Z||Z(e)},style:Object.assign(Object.assign({},null==I?void 0:I.style),R),styles:Object.assign(Object.assign({},null==I?void 0:I.styles),A),suffix:et,allowClear:r,className:a()(j,$,_,null==I?void 0:I.className),onChange:e=>{ee(),null==P||P(e)},addonAfter:S&&o.createElement(g.BR,null,o.createElement(s.Ux,{override:!0,status:!0},S)),addonBefore:z&&o.createElement(g.BR,null,o.createElement(s.Ux,{override:!0,status:!0},z)),classNames:Object.assign(Object.assign(Object.assign({},k),null==I?void 0:I.classNames),{input:a()({[`${M}-sm`]:"small"===W,[`${M}-lg`]:"large"===W,[`${M}-rtl`]:"rtl"===T,[`${M}-borderless`]:!h},!Y&&(0,p.Z)(M,U),null==k?void 0:k.input,null===(n=null==I?void 0:I.classNames)||void 0===n?void 0:n.input,D)}),classes:{affixWrapper:a()({[`${M}-affix-wrapper-sm`]:"small"===W,[`${M}-affix-wrapper-lg`]:"large"===W,[`${M}-affix-wrapper-rtl`]:"rtl"===T,[`${M}-affix-wrapper-borderless`]:!h},(0,p.Z)(`${M}-affix-wrapper`,U,X),D),wrapper:a()({[`${M}-group-rtl`]:"rtl"===T},D),group:a()({[`${M}-group-wrapper-sm`]:"small"===W,[`${M}-group-wrapper-lg`]:"large"===W,[`${M}-group-wrapper-rtl`]:"rtl"===T,[`${M}-group-wrapper-disabled`]:J},(0,p.Z)(`${M}-group-wrapper`,U,X),D)}})))});var y=n(87462),w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},C=n(42135),E=o.forwardRef(function(e,t){return o.createElement(C.Z,(0,y.Z)({},e,{ref:t,icon:w}))}),Z=n(99611),N=n(98423),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let S=e=>e?o.createElement(Z.Z,null):o.createElement(E,null),z={click:"onClick",hover:"onMouseOver"},j=o.forwardRef((e,t)=>{let{visibilityToggle:n=!0}=e,r="object"==typeof n&&void 0!==n.visible,[l,s]=(0,o.useState)(()=>!!r&&n.visible),i=(0,o.useRef)(null);o.useEffect(()=>{r&&s(n.visible)},[r,n]);let c=b(i),f=()=>{let{disabled:t}=e;t||(l&&c(),s(e=>{var t;let r=!e;return"object"==typeof n&&(null===(t=n.onVisibleChange)||void 0===t||t.call(n,r)),r}))},{className:p,prefixCls:v,inputPrefixCls:m,size:g}=e,x=O(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:y}=o.useContext(u.E_),w=y("input",m),C=y("input-password",v),E=n&&(t=>{let{action:n="click",iconRender:r=S}=e,a=z[n]||"",u=r(l),s={[a]:f,className:`${t}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return o.cloneElement(o.isValidElement(u)?u:o.createElement("span",null,u),s)})(C),Z=a()(C,p,{[`${C}-${g}`]:!!g}),j=Object.assign(Object.assign({},(0,N.Z)(x,["suffix","iconRender","visibilityToggle"])),{type:l?"text":"password",className:Z,prefixCls:w,suffix:E});return g&&(j.size=g),o.createElement(h,Object.assign({ref:(0,d.sQ)(t,i)},j))});var R=n(68795),A=n(96159),$=n(71577),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let k=o.forwardRef((e,t)=>{let n;let{prefixCls:r,inputPrefixCls:l,className:s,size:i,suffix:c,enterButton:f=!1,addonAfter:p,loading:v,disabled:b,onSearch:x,onChange:y,onCompositionStart:w,onCompositionEnd:C}=e,E=P(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Z,direction:N}=o.useContext(u.E_),O=o.useRef(!1),S=Z("input-search",r),z=Z("input",l),{compactSize:j}=(0,g.ri)(S,N),k=(0,m.Z)(e=>{var t;return null!==(t=null!=i?i:j)&&void 0!==t?t:e}),B=o.useRef(null),F=e=>{var t;document.activeElement===(null===(t=B.current)||void 0===t?void 0:t.input)&&e.preventDefault()},T=e=>{var t,n;x&&x(null===(n=null===(t=B.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},I="boolean"==typeof f?o.createElement(R.Z,null):null,M=`${S}-button`,H=f||{},V=H.type&&!0===H.type.__ANT_BUTTON;n=V||"button"===H.type?(0,A.Tm)(H,Object.assign({onMouseDown:F,onClick:e=>{var t,n;null===(n=null===(t=null==H?void 0:H.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),T(e)},key:"enterButton"},V?{className:M,size:k}:{})):o.createElement($.ZP,{className:M,type:f?"primary":void 0,size:k,disabled:b,key:"enterButton",onMouseDown:F,onClick:T,loading:v,icon:I},f),p&&(n=[n,(0,A.Tm)(p,{key:"addonAfter"})]);let D=a()(S,{[`${S}-rtl`]:"rtl"===N,[`${S}-${k}`]:!!k,[`${S}-with-button`]:!!f},s);return o.createElement(h,Object.assign({ref:(0,d.sQ)(B,t),onPressEnter:e=>{O.current||v||T(e)}},E,{size:k,onCompositionStart:e=>{O.current=!0,null==w||w(e)},onCompositionEnd:e=>{O.current=!1,null==C||C(e)},prefixCls:z,addonAfter:n,suffix:c,onChange:e=>{e&&e.target&&"click"===e.type&&x&&x(e.target.value,e),y&&y(e)},className:D,disabled:b}))});var B=n(1413),F=n(4942),T=n(71002),I=n(97685),M=n(45987),H=n(74902),V=n(87887),D=n(21770),L=n(9220),_=n(8410),W=n(75164),Q=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],J={},K=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],X=o.forwardRef(function(e,t){var n=e.prefixCls,l=(e.onPressEnter,e.defaultValue),u=e.value,s=e.autoSize,i=e.onResize,c=e.className,f=e.style,d=e.disabled,p=e.onChange,v=(e.onInternalAutoSize,(0,M.Z)(e,K)),m=(0,D.Z)(l,{value:u,postState:function(e){return null!=e?e:""}}),g=(0,I.Z)(m,2),b=g[0],x=g[1],h=o.useRef();o.useImperativeHandle(t,function(){return{textArea:h.current}});var w=o.useMemo(function(){return s&&"object"===(0,T.Z)(s)?[s.minRows,s.maxRows]:[]},[s]),C=(0,I.Z)(w,2),E=C[0],Z=C[1],N=!!s,O=function(){try{if(document.activeElement===h.current){var e=h.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;h.current.setSelectionRange(t,n),h.current.scrollTop=r}}catch(e){}},S=o.useState(2),z=(0,I.Z)(S,2),j=z[0],R=z[1],A=o.useState(),$=(0,I.Z)(A,2),P=$[0],k=$[1],H=function(){R(0)};(0,_.Z)(function(){N&&H()},[u,E,Z,N]),(0,_.Z)(function(){if(0===j)R(1);else if(1===j){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&J[n])return J[n];var r=window.getComputedStyle(e),l=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),u={sizingStyle:Q.map(function(e){return"".concat(e,":").concat(r.getPropertyValue(e))}).join(";"),paddingSize:a,borderSize:o,boxSizing:l};return t&&n&&(J[n]=u),u}(e,n),u=o.paddingSize,s=o.borderSize,i=o.boxSizing,c=o.sizingStyle;r.setAttribute("style","".concat(c,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),r.value=e.value||e.placeholder||"";var f=void 0,d=void 0,p=r.scrollHeight;if("border-box"===i?p+=s:"content-box"===i&&(p-=u),null!==l||null!==a){r.value=" ";var v=r.scrollHeight-u;null!==l&&(f=v*l,"border-box"===i&&(f=f+u+s),p=Math.max(f,p)),null!==a&&(d=v*a,"border-box"===i&&(d=d+u+s),t=p>d?"":"hidden",p=Math.min(d,p))}var m={height:p,overflowY:t,resize:"none"};return f&&(m.minHeight=f),d&&(m.maxHeight=d),m}(h.current,!1,E,Z);R(2),k(e)}else O()},[j]);var V=o.useRef(),X=function(){W.Z.cancel(V.current)};o.useEffect(function(){return X},[]);var q=N?P:null,U=(0,B.Z)((0,B.Z)({},f),q);return(0===j||1===j)&&(U.overflowY="hidden",U.overflowX="hidden"),o.createElement(L.Z,{onResize:function(e){2===j&&(null==i||i(e),s&&(X(),V.current=(0,W.Z)(function(){H()})))},disabled:!(s||i)},o.createElement("textarea",(0,y.Z)({},v,{ref:h,style:U,className:a()(n,c,(0,F.Z)({},"".concat(n,"-disabled"),d)),disabled:d,value:b,onChange:function(e){x(e.target.value),null==p||p(e)}})))}),q=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function U(e,t){return(0,H.Z)(e||"").slice(0,t).join("")}function Y(e,t,n,r){var l=n;return e?l=U(n,r):(0,H.Z)(t||"").lengthr&&(l=t),l}var G=o.forwardRef(function(e,t){var n,r,l=e.defaultValue,u=e.value,s=e.onFocus,i=e.onBlur,c=e.onChange,d=e.allowClear,p=e.maxLength,v=e.onCompositionStart,m=e.onCompositionEnd,g=e.suffix,b=e.prefixCls,x=void 0===b?"rc-textarea":b,h=e.classes,w=e.showCount,C=e.className,E=e.style,Z=e.disabled,N=e.hidden,O=e.classNames,S=e.styles,z=e.onResize,j=(0,M.Z)(e,q),R=(0,D.Z)(l,{value:u,defaultValue:l}),A=(0,I.Z)(R,2),$=A[0],P=A[1],k=(0,o.useRef)(null),L=o.useState(!1),_=(0,I.Z)(L,2),W=_[0],Q=_[1],J=o.useState(!1),K=(0,I.Z)(J,2),G=K[0],ee=K[1],et=o.useRef(),en=o.useRef(0),er=o.useState(null),el=(0,I.Z)(er,2),ea=el[0],eo=el[1],eu=function(){var e;null===(e=k.current)||void 0===e||e.textArea.focus()};(0,o.useImperativeHandle)(t,function(){return{resizableTextArea:k.current,focus:eu,blur:function(){var e;null===(e=k.current)||void 0===e||e.textArea.blur()}}}),(0,o.useEffect)(function(){Q(function(e){return!Z&&e})},[Z]);var es=Number(p)>0,ei=(0,V.D7)($);!G&&es&&null==u&&(ei=U(ei,p));var ec=g;if(w){var ef=(0,H.Z)(ei).length;r="object"===(0,T.Z)(w)?w.formatter({value:ei,count:ef,maxLength:p}):"".concat(ef).concat(es?" / ".concat(p):""),ec=o.createElement(o.Fragment,null,ec,o.createElement("span",{className:a()("".concat(x,"-data-count"),null==O?void 0:O.count),style:null==S?void 0:S.count},r))}var ed=!j.autoSize&&!w&&!d;return o.createElement(f.Q,{value:ei,allowClear:d,handleReset:function(e){var t;P(""),eu(),(0,V.rJ)(null===(t=k.current)||void 0===t?void 0:t.textArea,e,c)},suffix:ec,prefixCls:x,classes:{affixWrapper:a()(null==h?void 0:h.affixWrapper,(n={},(0,F.Z)(n,"".concat(x,"-show-count"),w),(0,F.Z)(n,"".concat(x,"-textarea-allow-clear"),d),n))},disabled:Z,focused:W,className:C,style:(0,B.Z)((0,B.Z)({},E),ea&&!ed?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof r?r:void 0}},hidden:N,inputElement:o.createElement(X,(0,y.Z)({},j,{onKeyDown:function(e){var t=j.onPressEnter,n=j.onKeyDown;"Enter"===e.key&&t&&t(e),null==n||n(e)},onChange:function(e){var t=e.target.value;!G&&es&&(t=Y(e.target.selectionStart>=p+1||e.target.selectionStart===t.length||!e.target.selectionStart,$,t,p)),P(t),(0,V.rJ)(e.currentTarget,e,c,t)},onFocus:function(e){Q(!0),null==s||s(e)},onBlur:function(e){Q(!1),null==i||i(e)},onCompositionStart:function(e){ee(!0),et.current=$,en.current=e.currentTarget.selectionStart,null==v||v(e)},onCompositionEnd:function(e){ee(!1);var t,n=e.currentTarget.value;es&&(n=Y(en.current>=p+1||en.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,n,p)),n!==$&&(P(n),(0,V.rJ)(e.currentTarget,e,c,n)),null==m||m(e)},className:null==O?void 0:O.textarea,style:(0,B.Z)((0,B.Z)({},null==S?void 0:S.textarea),{},{resize:null==E?void 0:E.resize}),disabled:Z,prefixCls:x,onResize:function(e){var t;null==z||z(e),null!==(t=k.current)&&void 0!==t&&t.textArea.style.height&&eo(!0)},ref:k}))})}),ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let et=(0,o.forwardRef)((e,t)=>{let n;let{prefixCls:r,bordered:l=!0,size:f,disabled:d,status:g,allowClear:b,showCount:x,classNames:h}=e,y=ee(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]),{getPrefixCls:w,direction:C}=o.useContext(u.E_),E=(0,m.Z)(f),Z=o.useContext(v.Z),{status:N,hasFeedback:O,feedbackIcon:S}=o.useContext(s.aM),z=(0,p.F)(N,g),j=o.useRef(null);o.useImperativeHandle(t,()=>{var e;return{resizableTextArea:null===(e=j.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;!function(e,t){if(!e)return;e.focus(t);let{cursor:n}=t||{};if(n){let t=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}(null===(n=null===(t=j.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=j.current)||void 0===e?void 0:e.blur()}}});let R=w("input",r);"object"==typeof b&&(null==b?void 0:b.clearIcon)?n=b:b&&(n={clearIcon:o.createElement(c.Z,null)});let[A,$]=(0,i.ZP)(R);return A(o.createElement(G,Object.assign({},y,{disabled:null!=d?d:Z,allowClear:n,classes:{affixWrapper:a()(`${R}-textarea-affix-wrapper`,{[`${R}-affix-wrapper-rtl`]:"rtl"===C,[`${R}-affix-wrapper-borderless`]:!l,[`${R}-affix-wrapper-sm`]:"small"===E,[`${R}-affix-wrapper-lg`]:"large"===E,[`${R}-textarea-show-count`]:x},(0,p.Z)(`${R}-affix-wrapper`,z),$)},classNames:Object.assign(Object.assign({},h),{textarea:a()({[`${R}-borderless`]:!l,[`${R}-sm`]:"small"===E,[`${R}-lg`]:"large"===E},(0,p.Z)(R,z),$,null==h?void 0:h.textarea)}),prefixCls:R,suffix:O&&o.createElement("span",{className:`${R}-textarea-suffix`},S),showCount:x,ref:j})))});h.Group=e=>{let{getPrefixCls:t,direction:n}=(0,o.useContext)(u.E_),{prefixCls:r,className:l}=e,c=t("input-group",r),f=t("input"),[d,p]=(0,i.ZP)(f),v=a()(c,{[`${c}-lg`]:"large"===e.size,[`${c}-sm`]:"small"===e.size,[`${c}-compact`]:e.compact,[`${c}-rtl`]:"rtl"===n},p,l),m=(0,o.useContext)(s.aM),g=(0,o.useMemo)(()=>Object.assign(Object.assign({},m),{isFormItemInput:!1}),[m]);return d(o.createElement("span",{className:v,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},o.createElement(s.aM.Provider,{value:g},e.children)))},h.Search=k,h.TextArea=et,h.Password=j;var en=h},67656:function(e,t,n){n.d(t,{Q:function(){return f},Z:function(){return x}});var r=n(87462),l=n(1413),a=n(4942),o=n(71002),u=n(94184),s=n.n(u),i=n(67294),c=n(87887),f=function(e){var t=e.inputElement,n=e.prefixCls,u=e.prefix,f=e.suffix,d=e.addonBefore,p=e.addonAfter,v=e.className,m=e.style,g=e.disabled,b=e.readOnly,x=e.focused,h=e.triggerFocus,y=e.allowClear,w=e.value,C=e.handleReset,E=e.hidden,Z=e.classes,N=e.classNames,O=e.dataAttrs,S=e.styles,z=e.components,j=(null==z?void 0:z.affixWrapper)||"span",R=(null==z?void 0:z.groupWrapper)||"span",A=(null==z?void 0:z.wrapper)||"span",$=(null==z?void 0:z.groupAddon)||"span",P=(0,i.useRef)(null),k=(0,i.cloneElement)(t,{value:w,hidden:E,className:s()(null===(B=t.props)||void 0===B?void 0:B.className,!(0,c.X3)(e)&&!(0,c.He)(e)&&v)||null,style:(0,l.Z)((0,l.Z)({},null===(F=t.props)||void 0===F?void 0:F.style),(0,c.X3)(e)||(0,c.He)(e)?{}:m)});if((0,c.X3)(e)){var B,F,T,I="".concat(n,"-affix-wrapper"),M=s()(I,(T={},(0,a.Z)(T,"".concat(I,"-disabled"),g),(0,a.Z)(T,"".concat(I,"-focused"),x),(0,a.Z)(T,"".concat(I,"-readonly"),b),(0,a.Z)(T,"".concat(I,"-input-with-clear-btn"),f&&y&&w),T),!(0,c.He)(e)&&v,null==Z?void 0:Z.affixWrapper,null==N?void 0:N.affixWrapper),H=(f||y)&&i.createElement("span",{className:s()("".concat(n,"-suffix"),null==N?void 0:N.suffix),style:null==S?void 0:S.suffix},function(){if(!y)return null;var e,t=!g&&!b&&w,r="".concat(n,"-clear-icon"),l="object"===(0,o.Z)(y)&&null!=y&&y.clearIcon?y.clearIcon:"✖";return i.createElement("span",{onClick:C,onMouseDown:function(e){return e.preventDefault()},className:s()(r,(e={},(0,a.Z)(e,"".concat(r,"-hidden"),!t),(0,a.Z)(e,"".concat(r,"-has-suffix"),!!f),e)),role:"button",tabIndex:-1},l)}(),f);k=i.createElement(j,(0,r.Z)({className:M,style:(0,l.Z)((0,l.Z)({},(0,c.He)(e)?void 0:m),null==S?void 0:S.affixWrapper),hidden:!(0,c.He)(e)&&E,onClick:function(e){var t;null!==(t=P.current)&&void 0!==t&&t.contains(e.target)&&(null==h||h())}},null==O?void 0:O.affixWrapper,{ref:P}),u&&i.createElement("span",{className:s()("".concat(n,"-prefix"),null==N?void 0:N.prefix),style:null==S?void 0:S.prefix},u),(0,i.cloneElement)(t,{value:w,hidden:null}),H)}if((0,c.He)(e)){var V="".concat(n,"-group"),D="".concat(V,"-addon"),L=s()("".concat(n,"-wrapper"),V,null==Z?void 0:Z.wrapper),_=s()("".concat(n,"-group-wrapper"),v,null==Z?void 0:Z.group);return i.createElement(R,{className:_,style:m,hidden:E},i.createElement(A,{className:L},d&&i.createElement($,{className:D},d),(0,i.cloneElement)(k,{hidden:null}),p&&i.createElement($,{className:D},p)))}return k},d=n(74902),p=n(97685),v=n(45987),m=n(21770),g=n(98423),b=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],x=(0,i.forwardRef)(function(e,t){var n,u=e.autoComplete,x=e.onChange,h=e.onFocus,y=e.onBlur,w=e.onPressEnter,C=e.onKeyDown,E=e.prefixCls,Z=void 0===E?"rc-input":E,N=e.disabled,O=e.htmlSize,S=e.className,z=e.maxLength,j=e.suffix,R=e.showCount,A=e.type,$=e.classes,P=e.classNames,k=e.styles,B=(0,v.Z)(e,b),F=(0,m.Z)(e.defaultValue,{value:e.value}),T=(0,p.Z)(F,2),I=T[0],M=T[1],H=(0,i.useState)(!1),V=(0,p.Z)(H,2),D=V[0],L=V[1],_=(0,i.useRef)(null),W=function(e){_.current&&(0,c.nH)(_.current,e)};return(0,i.useImperativeHandle)(t,function(){return{focus:W,blur:function(){var e;null===(e=_.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=_.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=_.current)||void 0===e||e.select()},input:_.current}}),(0,i.useEffect)(function(){L(function(e){return(!e||!N)&&e})},[N]),i.createElement(f,(0,r.Z)({},B,{prefixCls:Z,className:S,inputElement:(n=(0,g.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]),i.createElement("input",(0,r.Z)({autoComplete:u},n,{onChange:function(t){void 0===e.value&&M(t.target.value),_.current&&(0,c.rJ)(_.current,t,x)},onFocus:function(e){L(!0),null==h||h(e)},onBlur:function(e){L(!1),null==y||y(e)},onKeyDown:function(e){w&&"Enter"===e.key&&w(e),null==C||C(e)},className:s()(Z,(0,a.Z)({},"".concat(Z,"-disabled"),N),null==P?void 0:P.input),style:null==k?void 0:k.input,ref:_,size:O,type:void 0===A?"text":A}))),handleReset:function(e){M(""),W(),_.current&&(0,c.rJ)(_.current,e,x)},value:(0,c.D7)(I),focused:D,triggerFocus:W,suffix:function(){var e=Number(z)>0;if(j||R){var t=(0,c.D7)(I),n=(0,d.Z)(t).length,r="object"===(0,o.Z)(R)?R.formatter({value:t,count:n,maxLength:z}):"".concat(n).concat(e?" / ".concat(z):"");return i.createElement(i.Fragment,null,!!R&&i.createElement("span",{className:s()("".concat(Z,"-show-count-suffix"),(0,a.Z)({},"".concat(Z,"-show-count-has-suffix"),!!j),null==P?void 0:P.count),style:(0,l.Z)({},null==k?void 0:k.count)},r),j)}return null}(),disabled:N,classes:$,classNames:P,styles:k}))})},87887:function(e,t,n){function r(e){return!!(e.addonBefore||e.addonAfter)}function l(e){return!!(e.prefix||e.suffix||e.allowClear)}function a(e,t,n,r){if(n){var l=t;if("click"===t.type){var a=e.cloneNode(!0);l=Object.create(t,{target:{value:a},currentTarget:{value:a}}),a.value="",n(l);return}if(void 0!==r){l=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(l);return}n(l)}}function o(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}function u(e){return null==e?"":String(e)}n.d(t,{D7:function(){return u},He:function(){return r},X3:function(){return l},nH:function(){return o},rJ:function(){return a}})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/582.2bbf0cd0c5a600fb.js b/pilot/server/static/_next/static/chunks/582.2bbf0cd0c5a600fb.js new file mode 100644 index 000000000..538ed3a3e --- /dev/null +++ b/pilot/server/static/_next/static/chunks/582.2bbf0cd0c5a600fb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[582],{92795:function(l,e,n){n.r(e);var a=n(85893),t=n(67294),i=n(577),d=n(61685),o=n(2549),s=n(40911),r=n(47556),u=n(14986),v=n(30322),c=n(48665),h=n(27015),m=n(59566),f=n(32983),x=n(63520),p=n(41625),b=n(99513),y=n(30119),j=n(39332),g=n(79716),_=n(39156);let{Search:w}=m.default;function k(l){var e,n,i;let{editorValue:o,chartData:s,tableData:r,handleChange:u}=l,v=t.useMemo(()=>s?(0,a.jsx)("div",{className:"flex-1 overflow-auto p-3",style:{flexShrink:0,overflow:"hidden"},children:(0,a.jsx)(_.Z,{chartsData:[s]})}):(0,a.jsx)("div",{}),[s]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-1 flex overflow-hidden",children:[(0,a.jsx)("div",{className:"flex-1",style:{flexShrink:0,overflow:"auto"},children:(0,a.jsx)(b.Z,{value:(null==o?void 0:o.sql)||"",language:"mysql",onChange:u,thoughts:(null==o?void 0:o.thoughts)||""})}),v]}),(0,a.jsx)("div",{className:"h-96 border-[var(--joy-palette-divider)] border-t border-solid overflow-auto",children:(null==r?void 0:null===(e=r.values)||void 0===e?void 0:e.length)>0?(0,a.jsxs)(d.Z,{"aria-label":"basic table",stickyHeader:!0,children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:null==r?void 0:null===(n=r.columns)||void 0===n?void 0:n.map((l,e)=>(0,a.jsx)("th",{children:l},l+e))})}),(0,a.jsx)("tbody",{children:null==r?void 0:null===(i=r.values)||void 0===i?void 0:i.map((l,e)=>{var n;return(0,a.jsx)("tr",{children:null===(n=Object.keys(l))||void 0===n?void 0:n.map(e=>(0,a.jsx)("td",{children:l[e]},e))},e)})})]}):(0,a.jsx)("div",{className:"h-full flex justify-center items-center",children:(0,a.jsx)(f.Z,{})})})]})}e.default=function(){var l,e,n,d,m;let[f,b]=t.useState([]),[_,N]=t.useState(""),[Z,S]=t.useState(),[q,P]=t.useState(!0),[E,C]=t.useState(),[R,A]=t.useState(),[D,O]=t.useState(),[T,z]=t.useState(),[B,M]=t.useState(),F=(0,j.useSearchParams)(),K=null==F?void 0:F.get("id"),L=null==F?void 0:F.get("scene"),{data:U,loading:V}=(0,i.Z)(async()=>await (0,y.Tk)("/v1/editor/sql/rounds",{con_uid:K}),{onSuccess:l=>{var e,n;let a=null==l?void 0:null===(e=l.data)||void 0===e?void 0:e[(null==l?void 0:null===(n=l.data)||void 0===n?void 0:n.length)-1];a&&S(null==a?void 0:a.round)}}),{run:Y,loading:$}=(0,i.Z)(async()=>{var l,e;let n=null===(l=null==U?void 0:null===(e=U.data)||void 0===e?void 0:e.find(l=>l.round===Z))||void 0===l?void 0:l.db_name;return await (0,y.PR)("/api/v1/editor/sql/run",{db_name:n,sql:null==D?void 0:D.sql})},{manual:!0,onSuccess:l=>{var e,n;z({columns:null==l?void 0:null===(e=l.data)||void 0===e?void 0:e.colunms,values:null==l?void 0:null===(n=l.data)||void 0===n?void 0:n.values})}}),{run:H,loading:I}=(0,i.Z)(async()=>{var l,e;let n=null===(l=null==U?void 0:null===(e=U.data)||void 0===e?void 0:e.find(l=>l.round===Z))||void 0===l?void 0:l.db_name,a={db_name:n,sql:null==D?void 0:D.sql};return"chat_dashboard"===L&&(a.chart_type=null==D?void 0:D.showcase),await (0,y.PR)("/api/v1/editor/chart/run",a)},{manual:!0,ready:!!(null==D?void 0:D.sql),onSuccess:l=>{if(null==l?void 0:l.success){var e,n,a,t,i,d,o;z({columns:(null==l?void 0:null===(e=l.data)||void 0===e?void 0:null===(n=e.sql_data)||void 0===n?void 0:n.colunms)||[],values:(null==l?void 0:null===(a=l.data)||void 0===a?void 0:null===(t=a.sql_data)||void 0===t?void 0:t.values)||[]}),(null==l?void 0:null===(i=l.data)||void 0===i?void 0:i.chart_values)?C({chart_type:null==l?void 0:null===(d=l.data)||void 0===d?void 0:d.chart_type,values:null==l?void 0:null===(o=l.data)||void 0===o?void 0:o.chart_values,title:null==D?void 0:D.title,description:null==D?void 0:D.thoughts}):C(void 0)}}}),{run:J,loading:G}=(0,i.Z)(async()=>{var l,e,n,a,t;let i=null===(l=null==U?void 0:null===(e=U.data)||void 0===e?void 0:e.find(l=>l.round===Z))||void 0===l?void 0:l.db_name;return await (0,y.PR)("/api/v1/sql/editor/submit",{conv_uid:K,db_name:i,conv_round:Z,old_sql:null==R?void 0:R.sql,old_speak:null==R?void 0:R.thoughts,new_sql:null==D?void 0:D.sql,new_speak:(null===(n=null==D?void 0:null===(a=D.thoughts)||void 0===a?void 0:a.match(/^\n--(.*)\n\n$/))||void 0===n?void 0:null===(t=n[1])||void 0===t?void 0:t.trim())||(null==D?void 0:D.thoughts)})},{manual:!0,onSuccess:l=>{(null==l?void 0:l.success)&&Y()}}),{run:Q,loading:W}=(0,i.Z)(async()=>{var l,e,n,a,t,i;let d=null===(l=null==U?void 0:null===(e=U.data)||void 0===e?void 0:e.find(l=>l.round===Z))||void 0===l?void 0:l.db_name;return await (0,y.PR)("/api/v1/chart/editor/submit",{conv_uid:K,chart_title:null==D?void 0:D.title,db_name:d,old_sql:null==R?void 0:null===(n=R[B])||void 0===n?void 0:n.sql,new_chart_type:null==D?void 0:D.showcase,new_sql:null==D?void 0:D.sql,new_comment:(null===(a=null==D?void 0:null===(t=D.thoughts)||void 0===t?void 0:t.match(/^\n--(.*)\n\n$/))||void 0===a?void 0:null===(i=a[1])||void 0===i?void 0:i.trim())||(null==D?void 0:D.thoughts),gmt_create:new Date().getTime()})},{manual:!0,onSuccess:l=>{(null==l?void 0:l.success)&&H()}}),{data:X}=(0,i.Z)(async()=>{var l,e;let n=null===(l=null==U?void 0:null===(e=U.data)||void 0===e?void 0:e.find(l=>l.round===Z))||void 0===l?void 0:l.db_name;return await (0,y.Tk)("/v1/editor/db/tables",{db_name:n,page_index:1,page_size:200})},{ready:!!(null===(l=null==U?void 0:null===(e=U.data)||void 0===e?void 0:e.find(l=>l.round===Z))||void 0===l?void 0:l.db_name),refreshDeps:[null===(n=null==U?void 0:null===(d=U.data)||void 0===d?void 0:d.find(l=>l.round===Z))||void 0===n?void 0:n.db_name]}),{run:ll}=(0,i.Z)(async l=>await (0,y.Tk)("/v1/editor/sql",{con_uid:K,round:l}),{manual:!0,onSuccess:l=>{let e;try{if(Array.isArray(null==l?void 0:l.data))e=null==l?void 0:l.data,M("0");else if("string"==typeof(null==l?void 0:l.data)){let n=JSON.parse(null==l?void 0:l.data);e=n}else e=null==l?void 0:l.data}catch(l){console.log(l)}finally{A(e),Array.isArray(e)?O(null==e?void 0:e[Number(B||0)]):O(e)}}}),le=t.useMemo(()=>{let l=(e,n)=>e.map(e=>{let t=e.title,i=t.indexOf(_),d=t.substring(0,i),r=t.slice(i+_.length),u=i>-1?(0,a.jsx)(o.Z,{title:((null==e?void 0:e.comment)||(null==e?void 0:e.title))+((null==e?void 0:e.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,a.jsxs)("span",{children:[d,(0,a.jsx)("span",{className:"text-[#1677ff]",children:_}),r,(null==e?void 0:e.type)&&(0,a.jsx)(s.ZP,{gutterBottom:!0,level:"body3",className:"pl-0.5",style:{display:"inline"},children:"[".concat(null==e?void 0:e.type,"]")})]})}):(0,a.jsx)(o.Z,{title:((null==e?void 0:e.comment)||(null==e?void 0:e.title))+((null==e?void 0:e.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,a.jsxs)("span",{children:[t,(null==e?void 0:e.type)&&(0,a.jsx)(s.ZP,{gutterBottom:!0,level:"body3",className:"pl-0.5",style:{display:"inline"},children:"[".concat(null==e?void 0:e.type,"]")})]})});if(e.children){let a=n?String(n)+"_"+e.key:e.key;return{title:t,showTitle:u,key:a,children:l(e.children,a)}}return{title:t,showTitle:u,key:e.key}});return(null==X?void 0:X.data)?(b([null==X?void 0:X.data.key]),l([null==X?void 0:X.data])):[]},[_,X]),ln=t.useMemo(()=>{let l=[],e=(n,a)=>{if(n&&!((null==n?void 0:n.length)<=0))for(let t=0;t{let n;for(let a=0;ae.key===l)?n=t.key:la(l,t.children)&&(n=la(l,t.children)))}return n};function lt(l){let e;if(!l)return{sql:"",thoughts:""};let n=l&&l.match(/(--.*)\n([\s\S]*)/),a="";return n&&n.length>=3&&(a=n[1],e=n[2]),{sql:e,thoughts:a}}return t.useEffect(()=>{Z&&ll(Z)},[ll,Z]),t.useEffect(()=>{R&&"chat_dashboard"===L&&B&&H()},[B,L,R,H]),t.useEffect(()=>{R&&"chat_dashboard"!==L&&Y()},[L,R,Y]),(0,a.jsxs)("div",{className:"flex flex-col w-full h-full",children:[(0,a.jsx)(g.Z,{}),(0,a.jsx)("div",{className:"bg-[#f8f8f8] border-[var(--joy-palette-divider)] border-b border-solid flex items-center px-3 justify-between",children:(0,a.jsxs)("div",{className:"absolute right-4 top-6",children:[(0,a.jsx)(r.Z,{className:"bg-[#1677ff] text-[#fff] hover:bg-[#1c558e] px-4 cursor-pointer",loading:$||I,size:"sm",onClick:async()=>{"chat_dashboard"===L?H():Y()},children:"Run"}),(0,a.jsx)(r.Z,{variant:"outlined",size:"sm",className:"ml-3 px-4 cursor-pointer",loading:G||W,onClick:async()=>{"chat_dashboard"===L?await Q():await J()},children:"Save"})]})}),(0,a.jsxs)("div",{className:"flex flex-1 overflow-auto",children:[(0,a.jsxs)("div",{className:"text h-full border-[var(--joy-palette-divider)] border-r border-solid p-3 max-h-full overflow-auto",style:{width:"300px"},children:[(0,a.jsxs)("div",{className:"flex items-center py-3",children:[(0,a.jsx)(u.Z,{className:"h-4 min-w-[240px]",size:"sm",value:Z,onChange:(l,e)=>{S(e)},children:null==U?void 0:null===(m=U.data)||void 0===m?void 0:m.map(l=>(0,a.jsx)(v.Z,{value:null==l?void 0:l.round,children:null==l?void 0:l.round_name},null==l?void 0:l.round))}),(0,a.jsx)(h.Z,{className:"ml-2"})]}),(0,a.jsx)(w,{style:{marginBottom:8},placeholder:"Search",onChange:l=>{let{value:e}=l.target;if(null==X?void 0:X.data){if(e){let l=ln.map(l=>l.title.indexOf(e)>-1?la(l.key,le):null).filter((l,e,n)=>l&&n.indexOf(l)===e);b(l)}else b([]);N(e),P(!0)}}}),le&&le.length>0&&(0,a.jsx)(x.Z,{onExpand:l=>{b(l),P(!1)},expandedKeys:f,autoExpandParent:q,treeData:le,fieldNames:{title:"showTitle"}})]}),(0,a.jsx)("div",{className:"flex flex-col flex-1 max-w-full overflow-hidden",children:Array.isArray(R)?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(c.Z,{className:"h-full",sx:{".ant-tabs-content, .ant-tabs-tabpane-active":{height:"100%"},"& .ant-tabs-card.ant-tabs-top >.ant-tabs-nav .ant-tabs-tab, & .ant-tabs-card.ant-tabs-top >div>.ant-tabs-nav .ant-tabs-tab":{borderRadius:"0"}},children:(0,a.jsx)(p.Z,{className:"h-full dark:text-white px-2",activeKey:B,onChange:l=>{M(l),O(null==R?void 0:R[Number(l)])},items:null==R?void 0:R.map((l,e)=>({key:e+"",label:null==l?void 0:l.title,children:(0,a.jsx)("div",{className:"flex flex-col h-full",children:(0,a.jsx)(k,{editorValue:l,handleChange:l=>{let{sql:e,thoughts:n}=lt(l);O(l=>Object.assign({},l,{sql:e,thoughts:n}))},tableData:T,chartData:E})})}))})})}):(0,a.jsx)(k,{editorValue:R,handleChange:l=>{let{sql:e,thoughts:n}=lt(l);O(l=>Object.assign({},l,{sql:e,thoughts:n}))},tableData:T,chartData:void 0})})]})]})}},30119:function(l,e,n){n.d(e,{Tk:function(){return s},PR:function(){return r},Ej:function(){return u}});var a=n(2453),t=n(6154),i=n(83454);let d=t.Z.create({baseURL:i.env.API_BASE_URL});d.defaults.timeout=1e4,d.interceptors.response.use(l=>l.data,l=>Promise.reject(l)),n(96486);let o={"content-type":"application/json"},s=(l,e)=>{if(e){let n=Object.keys(e).filter(l=>void 0!==e[l]&&""!==e[l]).map(l=>"".concat(l,"=").concat(e[l])).join("&");n&&(l+="?".concat(n))}return d.get("/api"+l,{headers:o}).then(l=>l).catch(l=>{a.ZP.error(l),Promise.reject(l)})},r=(l,e)=>d.post(l,e,{headers:o}).then(l=>l).catch(l=>{a.ZP.error(l),Promise.reject(l)}),u=(l,e)=>d.post(l,e).then(l=>l).catch(l=>{a.ZP.error(l),Promise.reject(l)})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/582.92c95e34ff8f1f66.js b/pilot/server/static/_next/static/chunks/582.92c95e34ff8f1f66.js deleted file mode 100644 index 761a542cf..000000000 --- a/pilot/server/static/_next/static/chunks/582.92c95e34ff8f1f66.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[582,804],{92795:function(l,e,n){n.r(e);var a=n(85893),t=n(67294),i=n(577),d=n(61685),o=n(2549),s=n(40911),u=n(47556),r=n(14986),v=n(30322),c=n(48665),h=n(27015),m=n(59566),f=n(32983),x=n(63520),p=n(65908),b=n(99513),y=n(30119),j=n(39332),g=n(97231),_=n(79716);let{Search:w}=m.default;function k(l){var e,n,i;let{editorValue:o,chartData:s,tableData:u,handleChange:r}=l,v=t.useMemo(()=>s?(0,a.jsx)("div",{className:"flex-1 overflow-auto p-3",style:{flexShrink:0,overflow:"hidden"},children:(0,a.jsx)(g.default,{...s})}):(0,a.jsx)("div",{}),[s]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(_.Z,{}),(0,a.jsxs)("div",{className:"flex-1 flex overflow-hidden",children:[(0,a.jsx)("div",{className:"flex-1",style:{flexShrink:0,overflow:"auto"},children:(0,a.jsx)(b.Z,{value:(null==o?void 0:o.sql)||"",language:"mysql",onChange:r,thoughts:(null==o?void 0:o.thoughts)||""})}),v]}),(0,a.jsx)("div",{className:"h-96 border-[var(--joy-palette-divider)] border-t border-solid overflow-auto",children:(null==u?void 0:null===(e=u.values)||void 0===e?void 0:e.length)>0?(0,a.jsxs)(d.Z,{"aria-label":"basic table",stickyHeader:!0,children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:null==u?void 0:null===(n=u.columns)||void 0===n?void 0:n.map((l,e)=>(0,a.jsx)("th",{children:l},l+e))})}),(0,a.jsx)("tbody",{children:null==u?void 0:null===(i=u.values)||void 0===i?void 0:i.map((l,e)=>{var n;return(0,a.jsx)("tr",{children:null===(n=Object.keys(l))||void 0===n?void 0:n.map(e=>(0,a.jsx)("td",{children:l[e]},e))},e)})})]}):(0,a.jsx)("div",{className:"h-full flex justify-center items-center",children:(0,a.jsx)(f.Z,{})})})]})}e.default=function(){var l,e,n,d,m;let[f,b]=t.useState([]),[g,_]=t.useState(""),[N,Z]=t.useState(),[S,q]=t.useState(!0),[P,E]=t.useState(),[C,R]=t.useState(),[A,O]=t.useState(),[D,T]=t.useState(),[z,B]=t.useState(),M=(0,j.useSearchParams)(),F=null==M?void 0:M.get("id"),K=null==M?void 0:M.get("scene"),{data:L,loading:U}=(0,i.Z)(async()=>await (0,y.Tk)("/v1/editor/sql/rounds",{con_uid:F}),{onSuccess:l=>{var e,n;let a=null==l?void 0:null===(e=l.data)||void 0===e?void 0:e[(null==l?void 0:null===(n=l.data)||void 0===n?void 0:n.length)-1];a&&Z(null==a?void 0:a.round)}}),{run:V,loading:Y}=(0,i.Z)(async()=>{var l,e;let n=null===(l=null==L?void 0:null===(e=L.data)||void 0===e?void 0:e.find(l=>l.round===N))||void 0===l?void 0:l.db_name;return await (0,y.PR)("/api/v1/editor/sql/run",{db_name:n,sql:null==A?void 0:A.sql})},{manual:!0,onSuccess:l=>{var e,n;T({columns:null==l?void 0:null===(e=l.data)||void 0===e?void 0:e.colunms,values:null==l?void 0:null===(n=l.data)||void 0===n?void 0:n.values})}}),{run:$,loading:H}=(0,i.Z)(async()=>{var l,e;let n=null===(l=null==L?void 0:null===(e=L.data)||void 0===e?void 0:e.find(l=>l.round===N))||void 0===l?void 0:l.db_name,a={db_name:n,sql:null==A?void 0:A.sql};return"chat_dashboard"===K&&(a.chart_type=null==A?void 0:A.showcase),await (0,y.PR)("/api/v1/editor/chart/run",a)},{manual:!0,ready:!!(null==A?void 0:A.sql),onSuccess:l=>{if(null==l?void 0:l.success){var e,n,a,t,i,d,o;T({columns:(null==l?void 0:null===(e=l.data)||void 0===e?void 0:null===(n=e.sql_data)||void 0===n?void 0:n.colunms)||[],values:(null==l?void 0:null===(a=l.data)||void 0===a?void 0:null===(t=a.sql_data)||void 0===t?void 0:t.values)||[]}),(null==l?void 0:null===(i=l.data)||void 0===i?void 0:i.chart_values)?E({type:null==l?void 0:null===(d=l.data)||void 0===d?void 0:d.chart_type,values:null==l?void 0:null===(o=l.data)||void 0===o?void 0:o.chart_values,title:null==A?void 0:A.title,description:null==A?void 0:A.thoughts}):E(void 0)}}}),{run:I,loading:J}=(0,i.Z)(async()=>{var l,e,n,a,t;let i=null===(l=null==L?void 0:null===(e=L.data)||void 0===e?void 0:e.find(l=>l.round===N))||void 0===l?void 0:l.db_name;return await (0,y.PR)("/api/v1/sql/editor/submit",{conv_uid:F,db_name:i,conv_round:N,old_sql:null==C?void 0:C.sql,old_speak:null==C?void 0:C.thoughts,new_sql:null==A?void 0:A.sql,new_speak:(null===(n=null==A?void 0:null===(a=A.thoughts)||void 0===a?void 0:a.match(/^\n--(.*)\n\n$/))||void 0===n?void 0:null===(t=n[1])||void 0===t?void 0:t.trim())||(null==A?void 0:A.thoughts)})},{manual:!0,onSuccess:l=>{(null==l?void 0:l.success)&&V()}}),{run:G,loading:Q}=(0,i.Z)(async()=>{var l,e,n,a,t,i;let d=null===(l=null==L?void 0:null===(e=L.data)||void 0===e?void 0:e.find(l=>l.round===N))||void 0===l?void 0:l.db_name;return await (0,y.PR)("/api/v1/chart/editor/submit",{conv_uid:F,chart_title:null==A?void 0:A.title,db_name:d,old_sql:null==C?void 0:null===(n=C[z])||void 0===n?void 0:n.sql,new_chart_type:null==A?void 0:A.showcase,new_sql:null==A?void 0:A.sql,new_comment:(null===(a=null==A?void 0:null===(t=A.thoughts)||void 0===t?void 0:t.match(/^\n--(.*)\n\n$/))||void 0===a?void 0:null===(i=a[1])||void 0===i?void 0:i.trim())||(null==A?void 0:A.thoughts),gmt_create:new Date().getTime()})},{manual:!0,onSuccess:l=>{(null==l?void 0:l.success)&&$()}}),{data:W}=(0,i.Z)(async()=>{var l,e;let n=null===(l=null==L?void 0:null===(e=L.data)||void 0===e?void 0:e.find(l=>l.round===N))||void 0===l?void 0:l.db_name;return await (0,y.Tk)("/v1/editor/db/tables",{db_name:n,page_index:1,page_size:200})},{ready:!!(null===(l=null==L?void 0:null===(e=L.data)||void 0===e?void 0:e.find(l=>l.round===N))||void 0===l?void 0:l.db_name),refreshDeps:[null===(n=null==L?void 0:null===(d=L.data)||void 0===d?void 0:d.find(l=>l.round===N))||void 0===n?void 0:n.db_name]}),{run:X}=(0,i.Z)(async l=>await (0,y.Tk)("/v1/editor/sql",{con_uid:F,round:l}),{manual:!0,onSuccess:l=>{let e;try{if(Array.isArray(null==l?void 0:l.data))e=null==l?void 0:l.data,B("0");else if("string"==typeof(null==l?void 0:l.data)){let n=JSON.parse(null==l?void 0:l.data);e=n}else e=null==l?void 0:l.data}catch(l){console.log(l)}finally{R(e),Array.isArray(e)?O(null==e?void 0:e[Number(z||0)]):O(e)}}}),ll=t.useMemo(()=>{let l=(e,n)=>e.map(e=>{let t=e.title,i=t.indexOf(g),d=t.substring(0,i),u=t.slice(i+g.length),r=i>-1?(0,a.jsx)(o.Z,{title:((null==e?void 0:e.comment)||(null==e?void 0:e.title))+((null==e?void 0:e.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,a.jsxs)("span",{children:[d,(0,a.jsx)("span",{className:"text-[#1677ff]",children:g}),u,(null==e?void 0:e.type)&&(0,a.jsx)(s.ZP,{gutterBottom:!0,level:"body3",className:"pl-0.5",style:{display:"inline"},children:"[".concat(null==e?void 0:e.type,"]")})]})}):(0,a.jsx)(o.Z,{title:((null==e?void 0:e.comment)||(null==e?void 0:e.title))+((null==e?void 0:e.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,a.jsxs)("span",{children:[t,(null==e?void 0:e.type)&&(0,a.jsx)(s.ZP,{gutterBottom:!0,level:"body3",className:"pl-0.5",style:{display:"inline"},children:"[".concat(null==e?void 0:e.type,"]")})]})});if(e.children){let a=n?String(n)+"_"+e.key:e.key;return{title:t,showTitle:r,key:a,children:l(e.children,a)}}return{title:t,showTitle:r,key:e.key}});return(null==W?void 0:W.data)?(b([null==W?void 0:W.data.key]),l([null==W?void 0:W.data])):[]},[g,W]),le=t.useMemo(()=>{let l=[],e=(n,a)=>{if(n&&!((null==n?void 0:n.length)<=0))for(let t=0;t{let n;for(let a=0;ae.key===l)?n=t.key:ln(l,t.children)&&(n=ln(l,t.children)))}return n};function la(l){let e;if(!l)return{sql:"",thoughts:""};let n=l&&l.match(/(--.*)\n([\s\S]*)/),a="";return n&&n.length>=3&&(a=n[1],e=n[2]),{sql:e,thoughts:a}}return t.useEffect(()=>{N&&X(N)},[X,N]),t.useEffect(()=>{C&&"chat_dashboard"===K&&z&&$()},[z,K,C,$]),t.useEffect(()=>{C&&"chat_dashboard"!==K&&V()},[K,C,V]),(0,a.jsxs)("div",{className:"flex flex-col w-full h-full",children:[(0,a.jsx)("div",{className:"bg-[#f8f8f8] border-[var(--joy-palette-divider)] border-b border-solid flex items-center px-3 justify-between",children:(0,a.jsxs)("div",{className:"absolute right-4 top-6",children:[(0,a.jsx)(u.Z,{className:"bg-[#1677ff] text-[#fff] hover:bg-[#1c558e] px-4 cursor-pointer",loading:Y||H,size:"sm",onClick:async()=>{"chat_dashboard"===K?$():V()},children:"Run"}),(0,a.jsx)(u.Z,{variant:"outlined",size:"sm",className:"ml-3 px-4 cursor-pointer",loading:J||Q,onClick:async()=>{"chat_dashboard"===K?await G():await I()},children:"Save"})]})}),(0,a.jsxs)("div",{className:"flex flex-1 overflow-auto",children:[(0,a.jsxs)("div",{className:"text h-full border-[var(--joy-palette-divider)] border-r border-solid p-3 max-h-full overflow-auto",style:{width:"300px"},children:[(0,a.jsxs)("div",{className:"flex items-center py-3",children:[(0,a.jsx)(r.Z,{className:"h-4 min-w-[240px]",size:"sm",value:N,onChange:(l,e)=>{Z(e)},children:null==L?void 0:null===(m=L.data)||void 0===m?void 0:m.map(l=>(0,a.jsx)(v.Z,{value:null==l?void 0:l.round,children:null==l?void 0:l.round_name},null==l?void 0:l.round))}),(0,a.jsx)(h.Z,{className:"ml-2"})]}),(0,a.jsx)(w,{style:{marginBottom:8},placeholder:"Search",onChange:l=>{let{value:e}=l.target;if(null==W?void 0:W.data){if(e){let l=le.map(l=>l.title.indexOf(e)>-1?ln(l.key,ll):null).filter((l,e,n)=>l&&n.indexOf(l)===e);b(l)}else b([]);_(e),q(!0)}}}),ll&&ll.length>0&&(0,a.jsx)(x.Z,{onExpand:l=>{b(l),q(!1)},expandedKeys:f,autoExpandParent:S,treeData:ll,fieldNames:{title:"showTitle"}})]}),(0,a.jsx)("div",{className:"flex flex-col flex-1 max-w-full overflow-hidden",children:Array.isArray(C)?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(c.Z,{className:"h-full",sx:{".ant-tabs-content, .ant-tabs-tabpane-active":{height:"100%"},"& .ant-tabs-card.ant-tabs-top >.ant-tabs-nav .ant-tabs-tab, & .ant-tabs-card.ant-tabs-top >div>.ant-tabs-nav .ant-tabs-tab":{borderRadius:"0"}},children:(0,a.jsx)(p.Z,{className:"h-full dark:text-white px-2",activeKey:z,onChange:l=>{B(l),O(null==C?void 0:C[Number(l)])},items:null==C?void 0:C.map((l,e)=>({key:e+"",label:null==l?void 0:l.title,children:(0,a.jsx)("div",{className:"flex flex-col h-full",children:(0,a.jsx)(k,{editorValue:l,handleChange:l=>{let{sql:e,thoughts:n}=la(l);O(l=>Object.assign({},l,{sql:e,thoughts:n}))},tableData:D,chartData:P})})}))})})}):(0,a.jsx)(k,{editorValue:C,handleChange:l=>{let{sql:e,thoughts:n}=la(l);O(l=>Object.assign({},l,{sql:e,thoughts:n}))},tableData:D,chartData:void 0})})]})]})}},30119:function(l,e,n){n.d(e,{Tk:function(){return s},PR:function(){return u},Ej:function(){return r}});var a=n(27790),t=n(6154),i=n(83454);let d=t.Z.create({baseURL:i.env.API_BASE_URL});d.defaults.timeout=1e4,d.interceptors.response.use(l=>l.data,l=>Promise.reject(l)),n(96486);let o={"content-type":"application/json"},s=(l,e)=>{if(e){let n=Object.keys(e).filter(l=>void 0!==e[l]&&""!==e[l]).map(l=>"".concat(l,"=").concat(e[l])).join("&");n&&(l+="?".concat(n))}return d.get("/api"+l,{headers:o}).then(l=>l).catch(l=>{a.ZP.error(l),Promise.reject(l)})},u=(l,e)=>d.post(l,e,{headers:o}).then(l=>l).catch(l=>{a.ZP.error(l),Promise.reject(l)}),r=(l,e)=>d.post(l,e).then(l=>l).catch(l=>{a.ZP.error(l),Promise.reject(l)})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/625-63aa85328eed0b3e.js b/pilot/server/static/_next/static/chunks/625-63aa85328eed0b3e.js new file mode 100644 index 000000000..52637baab --- /dev/null +++ b/pilot/server/static/_next/static/chunks/625-63aa85328eed0b3e.js @@ -0,0 +1,3 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[625],{24969:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},i=n(42135),l=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},41625:function(e,t,n){n.d(t,{Z:function(){return tz}});var o=n(97937),r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},l=n(42135),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:i}))}),u=n(24969),s=n(94184),d=n.n(s),f=n(4942),p=n(1413),v=n(97685),m=n(71002),b=n(45987),h=n(31131),g=n(21770),y=n(82225),$=(0,a.createContext)(null),k=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.className,r=e.style,i=e.id,l=e.active,c=e.tabKey,u=e.children;return a.createElement("div",{id:i&&"".concat(i,"-panel-").concat(c),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(c),"aria-hidden":!l,style:r,className:d()(n,l&&"".concat(n,"-active"),o),ref:t},u)}),x=["key","forceRender","style","className"];function Z(e){var t=e.id,n=e.activeKey,o=e.animated,i=e.tabPosition,l=e.destroyInactiveTabPane,c=a.useContext($),u=c.prefixCls,s=c.tabs,v=o.tabPane,m="".concat(u,"-tabpane");return a.createElement("div",{className:d()("".concat(u,"-content-holder"))},a.createElement("div",{className:d()("".concat(u,"-content"),"".concat(u,"-content-").concat(i),(0,f.Z)({},"".concat(u,"-content-animated"),v))},s.map(function(e){var i=e.key,c=e.forceRender,u=e.style,s=e.className,f=(0,b.Z)(e,x),h=i===n;return a.createElement(y.ZP,(0,r.Z)({key:i,visible:h,forceRender:c,removeOnLeave:!!l,leavedClassName:"".concat(m,"-hidden")},o.tabPaneMotion),function(e,n){var o=e.style,l=e.className;return a.createElement(k,(0,r.Z)({},f,{prefixCls:m,id:t,tabKey:i,animated:v,active:h,style:(0,p.Z)((0,p.Z)({},u),o),className:d()(s,l),ref:n}))})})))}var C=n(74902),w=n(9220),E=n(66680),S=n(42550),_={width:0,height:0,left:0,top:0};function R(e,t){var n=a.useRef(e),o=a.useState({}),r=(0,v.Z)(o,2)[1];return[n.current,function(e){var o="function"==typeof e?e(n.current):e;o!==n.current&&t(o,n.current),n.current=o,r({})}]}var P=n(8410);function N(e){var t=(0,a.useState)(0),n=(0,v.Z)(t,2),o=n[0],r=n[1],i=(0,a.useRef)(0),l=(0,a.useRef)();return l.current=e,(0,P.o)(function(){var e;null===(e=l.current)||void 0===e||e.call(l)},[o]),function(){i.current===o&&(i.current+=1,r(i.current))}}var I={width:0,height:0,left:0,top:0,right:0};function M(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e})):t=e,JSON.stringify(t)}function T(e){return String(e).replace(/"/g,"TABS_DQ")}function L(e,t,n,o){return!!n&&!o&&!1!==e&&(void 0!==e||!1!==t&&null!==t)}var O=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.editable,r=e.locale,i=e.style;return o&&!1!==o.showAdd?a.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null}),D=a.forwardRef(function(e,t){var n,o=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var l={};return"object"!==(0,m.Z)(i)||a.isValidElement(i)?l.right=i:l=i,"right"===o&&(n=l.right),"left"===o&&(n=l.left),n?a.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},n):null}),K=n(40228),z=n(15105),A=n(75164),B=z.Z.ESC,j=z.Z.TAB,W=(0,a.forwardRef)(function(e,t){var n=e.overlay,o=e.arrow,r=e.prefixCls,i=(0,a.useMemo)(function(){return"function"==typeof n?n():n},[n]),l=(0,S.sQ)(t,null==i?void 0:i.ref);return a.createElement(a.Fragment,null,o&&a.createElement("div",{className:"".concat(r,"-arrow")}),a.cloneElement(i,{ref:(0,S.Yr)(i)?l:void 0}))}),G={adjustX:1,adjustY:1},H=[0,0],X={topLeft:{points:["bl","tl"],overflow:G,offset:[0,-4],targetOffset:H},top:{points:["bc","tc"],overflow:G,offset:[0,-4],targetOffset:H},topRight:{points:["br","tr"],overflow:G,offset:[0,-4],targetOffset:H},bottomLeft:{points:["tl","bl"],overflow:G,offset:[0,4],targetOffset:H},bottom:{points:["tc","bc"],overflow:G,offset:[0,4],targetOffset:H},bottomRight:{points:["tr","br"],overflow:G,offset:[0,4],targetOffset:H}},V=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"],F=a.forwardRef(function(e,t){var n,o,i,l,c,u,s,p,m,h,g,y,$,k,x=e.arrow,Z=void 0!==x&&x,C=e.prefixCls,w=void 0===C?"rc-dropdown":C,E=e.transitionName,_=e.animation,R=e.align,P=e.placement,N=e.placements,I=e.getPopupContainer,M=e.showAction,T=e.hideAction,L=e.overlayClassName,O=e.overlayStyle,D=e.visible,z=e.trigger,G=void 0===z?["hover"]:z,H=e.autoFocus,F=e.overlay,q=e.children,Y=e.onVisibleChange,Q=(0,b.Z)(e,V),U=a.useState(),J=(0,v.Z)(U,2),ee=J[0],et=J[1],en="visible"in e?D:ee,eo=a.useRef(null),er=a.useRef(null),ea=a.useRef(null);a.useImperativeHandle(t,function(){return eo.current});var ei=function(e){et(e),null==Y||Y(e)};o=(n={visible:en,triggerRef:ea,onVisibleChange:ei,autoFocus:H,overlayRef:er}).visible,i=n.triggerRef,l=n.onVisibleChange,c=n.autoFocus,u=n.overlayRef,s=a.useRef(!1),p=function(){if(o){var e,t;null===(e=i.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e),null==l||l(!1)}},m=function(){var e;return null!==(e=u.current)&&void 0!==e&&!!e.focus&&(u.current.focus(),s.current=!0,!0)},h=function(e){switch(e.keyCode){case B:p();break;case j:var t=!1;s.current||(t=m()),t?e.preventDefault():p()}},a.useEffect(function(){return o?(window.addEventListener("keydown",h),c&&(0,A.Z)(m,3),function(){window.removeEventListener("keydown",h),s.current=!1}):function(){s.current=!1}},[o]);var el=function(){return a.createElement(W,{ref:er,overlay:F,prefixCls:w,arrow:Z})},ec=a.cloneElement(q,{className:d()(null===(k=q.props)||void 0===k?void 0:k.className,en&&(void 0!==(g=e.openClassName)?g:"".concat(w,"-open"))),ref:(0,S.Yr)(q)?(0,S.sQ)(ea,q.ref):void 0}),eu=T;return eu||-1===G.indexOf("contextMenu")||(eu=["click"]),a.createElement(K.Z,(0,r.Z)({builtinPlacements:void 0===N?X:N},Q,{prefixCls:w,ref:eo,popupClassName:d()(L,(0,f.Z)({},"".concat(w,"-show-arrow"),Z)),popupStyle:O,action:G,showAction:M,hideAction:eu,popupPlacement:void 0===P?"bottomLeft":P,popupAlign:R,popupTransitionName:E,popupAnimation:_,popupVisible:en,stretch:(y=e.minOverlayWidthMatchTrigger,$=e.alignPoint,"minOverlayWidthMatchTrigger"in e?y:!$)?"minWidth":"",popup:"function"==typeof F?el:el(),onPopupVisibleChange:ei,onPopupClick:function(t){var n=e.onOverlayClick;et(!1),n&&n(t)},getPopupContainer:I}),ec)}),q=n(39983),Y=n(80334),Q=n(73935),U=n(91881),J=a.createContext(null);function ee(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function et(e){return ee(a.useContext(J),e)}var en=n(56982),eo=["children","locked"],er=a.createContext(null);function ea(e){var t=e.children,n=e.locked,o=(0,b.Z)(e,eo),r=a.useContext(er),i=(0,en.Z)(function(){var e;return e=(0,p.Z)({},r),Object.keys(o).forEach(function(t){var n=o[t];void 0!==n&&(e[t]=n)}),e},[r,o],function(e,t){return!n&&(e[0]!==t[0]||!(0,U.Z)(e[1],t[1],!0))});return a.createElement(er.Provider,{value:i},t)}var ei=a.createContext(null);function el(){return a.useContext(ei)}var ec=a.createContext([]);function eu(e){var t=a.useContext(ec);return a.useMemo(function(){return void 0!==e?[].concat((0,C.Z)(t),[e]):t},[t,e])}var es=a.createContext(null),ed=a.createContext({}),ef=n(5110);function ep(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,ef.Z)(e)){var n=e.nodeName.toLowerCase(),o=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),r=e.getAttribute("tabindex"),a=Number(r),i=null;return r&&!Number.isNaN(a)?i=a:o&&null===i&&(i=0),o&&e.disabled&&(i=null),null!==i&&(i>=0||t&&i<0)}return!1}var ev=z.Z.LEFT,em=z.Z.RIGHT,eb=z.Z.UP,eh=z.Z.DOWN,eg=z.Z.ENTER,ey=z.Z.ESC,e$=z.Z.HOME,ek=z.Z.END,ex=[eb,eh,ev,em];function eZ(e,t){return(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,C.Z)(e.querySelectorAll("*")).filter(function(e){return ep(e,t)});return ep(e,t)&&n.unshift(e),n})(e,!0).filter(function(e){return t.has(e)})}function eC(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var r=eZ(e,t),a=r.length,i=r.findIndex(function(e){return n===e});return o<0?-1===i?i=a-1:i-=1:o>0&&(i+=1),r[i=(i+a)%a]}var ew="__RC_UTIL_PATH_SPLIT__",eE=function(e){return e.join(ew)},eS="rc-menu-more";function e_(e){var t=a.useRef(e);t.current=e;var n=a.useCallback(function(){for(var e,n=arguments.length,o=Array(n),r=0;r1&&(Z.motionAppear=!1);var C=Z.onVisibleChanged;return(Z.onVisibleChanged=function(e){return b.current||e||k(!0),null==C?void 0:C(e)},$)?null:a.createElement(ea,{mode:l,locked:!b.current},a.createElement(y.ZP,(0,r.Z)({visible:x},Z,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(u,"-hidden")}),function(e){var n=e.className,o=e.style;return a.createElement(eF,{id:t,className:n,style:o},i)}))}var e4=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],e8=["active"],e5=function(e){var t,n=e.style,o=e.className,i=e.title,l=e.eventKey,c=(e.warnKey,e.disabled),u=e.internalPopupClose,s=e.children,m=e.itemIcon,h=e.expandIcon,g=e.popupClassName,y=e.popupOffset,$=e.popupStyle,k=e.onClick,x=e.onMouseEnter,Z=e.onMouseLeave,C=e.onTitleClick,w=e.onTitleMouseEnter,E=e.onTitleMouseLeave,S=(0,b.Z)(e,e4),_=et(l),R=a.useContext(er),P=R.prefixCls,N=R.mode,I=R.openKeys,M=R.disabled,T=R.overflowDisabled,L=R.activeKey,O=R.selectedKeys,D=R.itemIcon,K=R.expandIcon,z=R.onItemClick,A=R.onOpenChange,B=R.onActive,j=a.useContext(ed)._internalRenderSubMenuItem,W=a.useContext(es).isSubPathKey,G=eu(),H="".concat(P,"-submenu"),X=M||c,V=a.useRef(),F=a.useRef(),Y=null!=h?h:K,Q=I.includes(l),U=!T&&Q,J=W(O,l),ee=eO(l,X,w,E),en=ee.active,eo=(0,b.Z)(ee,e8),ei=a.useState(!1),el=(0,v.Z)(ei,2),ec=el[0],ef=el[1],ep=function(e){X||ef(e)},ev=a.useMemo(function(){return en||"inline"!==N&&(ec||W([L],l))},[N,en,L,ec,l,W]),em=eD(G.length),eb=e_(function(e){null==k||k(eA(e)),z(e)}),eh=_&&"".concat(_,"-popup"),eg=a.createElement("div",(0,r.Z)({role:"menuitem",style:em,className:"".concat(H,"-title"),tabIndex:X?null:-1,ref:V,title:"string"==typeof i?i:null,"data-menu-id":T&&_?null:_,"aria-expanded":U,"aria-haspopup":!0,"aria-controls":eh,"aria-disabled":X,onClick:function(e){X||(null==C||C({key:l,domEvent:e}),"inline"===N&&A(l,!Q))},onFocus:function(){B(l)}},eo),i,a.createElement(eK,{icon:"horizontal"!==N?Y:void 0,props:(0,p.Z)((0,p.Z)({},e),{},{isOpen:U,isSubMenu:!0})},a.createElement("i",{className:"".concat(H,"-arrow")}))),ey=a.useRef(N);if("inline"!==N&&G.length>1?ey.current="vertical":ey.current=N,!T){var e$=ey.current;eg=a.createElement(e2,{mode:e$,prefixCls:H,visible:!u&&U&&"inline"!==N,popupClassName:g,popupOffset:y,popupStyle:$,popup:a.createElement(ea,{mode:"horizontal"===e$?"vertical":e$},a.createElement(eF,{id:eh,ref:F},s)),disabled:X,onVisibleChange:function(e){"inline"!==N&&A(l,e)}},eg)}var ek=a.createElement(q.Z.Item,(0,r.Z)({role:"none"},S,{component:"li",style:n,className:d()(H,"".concat(H,"-").concat(N),o,(t={},(0,f.Z)(t,"".concat(H,"-open"),U),(0,f.Z)(t,"".concat(H,"-active"),ev),(0,f.Z)(t,"".concat(H,"-selected"),J),(0,f.Z)(t,"".concat(H,"-disabled"),X),t)),onMouseEnter:function(e){ep(!0),null==x||x({key:l,domEvent:e})},onMouseLeave:function(e){ep(!1),null==Z||Z({key:l,domEvent:e})}}),eg,!T&&a.createElement(e6,{id:eh,open:U,keyPath:G},s));return j&&(ek=j(ek,e,{selected:J,active:ev,open:U,disabled:X})),a.createElement(ea,{onItemClick:eb,mode:"horizontal"===N?"vertical":N,itemIcon:null!=m?m:D,expandIcon:Y},ek)};function e9(e){var t,n=e.eventKey,o=e.children,r=eu(n),i=eY(o,r),l=el();return a.useEffect(function(){if(l)return l.registerPath(n,r),function(){l.unregisterPath(n,r)}},[r]),t=l?i:a.createElement(e5,e,i),a.createElement(ec.Provider,{value:r},t)}var e7=["className","title","eventKey","children"],e3=["children"],te=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,b.Z)(e,e7),l=a.useContext(er).prefixCls,c="".concat(l,"-item-group");return a.createElement("li",(0,r.Z)({role:"presentation"},i,{onClick:function(e){return e.stopPropagation()},className:d()(c,t)}),a.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof n?n:void 0},n),a.createElement("ul",{role:"group",className:"".concat(c,"-list")},o))};function tt(e){var t=e.children,n=(0,b.Z)(e,e3),o=eY(t,eu(n.eventKey));return el()?o:a.createElement(te,(0,eL.Z)(n,["warnKey"]),o)}function tn(e){var t=e.className,n=e.style,o=a.useContext(er).prefixCls;return el()?null:a.createElement("li",{role:"separator",className:d()("".concat(o,"-item-divider"),t),style:n})}var to=["label","children","key","type"],tr=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],ta=[],ti=a.forwardRef(function(e,t){var n,o,i,l,c,u,s,h,y,$,k,x,Z,w,E,S,_,R,P,N,I,M,T,L,O,D,K,z=e.prefixCls,B=void 0===z?"rc-menu":z,j=e.rootClassName,W=e.style,G=e.className,H=e.tabIndex,X=e.items,V=e.children,F=e.direction,Y=e.id,et=e.mode,en=void 0===et?"vertical":et,eo=e.inlineCollapsed,er=e.disabled,el=e.disabledOverflow,ec=e.subMenuOpenDelay,eu=e.subMenuCloseDelay,ef=e.forceSubMenuRender,ep=e.defaultOpenKeys,eN=e.openKeys,eI=e.activeKey,eM=e.defaultActiveFirst,eT=e.selectable,eL=void 0===eT||eT,eO=e.multiple,eD=void 0!==eO&&eO,eK=e.defaultSelectedKeys,ez=e.selectedKeys,eB=e.onSelect,ej=e.onDeselect,eW=e.inlineIndent,eG=e.motion,eH=e.defaultMotions,eV=e.triggerSubMenuAction,eF=e.builtinPlacements,eq=e.itemIcon,eQ=e.expandIcon,eU=e.overflowedIndicator,eJ=void 0===eU?"...":eU,e0=e.overflowedIndicatorPopupClassName,e1=e.getPopupContainer,e2=e.onClick,e6=e.onOpenChange,e4=e.onKeyDown,e8=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),e5=e._internalRenderSubMenuItem,e7=(0,b.Z)(e,tr),e3=a.useMemo(function(){var e;return e=V,X&&(e=function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,m.Z)(t)){var o=t.label,i=t.children,l=t.key,c=t.type,u=(0,b.Z)(t,to),s=null!=l?l:"tmp-".concat(n);return i||"group"===c?"group"===c?a.createElement(tt,(0,r.Z)({key:s},u,{title:o}),e(i)):a.createElement(e9,(0,r.Z)({key:s},u,{title:o}),e(i)):"divider"===c?a.createElement(tn,(0,r.Z)({key:s},u)):a.createElement(eX,(0,r.Z)({key:s},u),o)}return null}).filter(function(e){return e})}(X)),eY(e,ta)},[V,X]),te=a.useState(!1),ti=(0,v.Z)(te,2),tl=ti[0],tc=ti[1],tu=a.useRef(),ts=(n=(0,g.Z)(Y,{value:Y}),i=(o=(0,v.Z)(n,2))[0],l=o[1],a.useEffect(function(){eP+=1;var e="".concat(eR,"-").concat(eP);l("rc-menu-uuid-".concat(e))},[]),i),td="rtl"===F,tf=(0,g.Z)(ep,{value:eN,postState:function(e){return e||ta}}),tp=(0,v.Z)(tf,2),tv=tp[0],tm=tp[1],tb=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(){tm(e),null==e6||e6(e)}t?(0,Q.flushSync)(n):n()},th=a.useState(tv),tg=(0,v.Z)(th,2),ty=tg[0],t$=tg[1],tk=a.useRef(!1),tx=a.useMemo(function(){return("inline"===en||"vertical"===en)&&eo?["vertical",eo]:[en,!1]},[en,eo]),tZ=(0,v.Z)(tx,2),tC=tZ[0],tw=tZ[1],tE="inline"===tC,tS=a.useState(tC),t_=(0,v.Z)(tS,2),tR=t_[0],tP=t_[1],tN=a.useState(tw),tI=(0,v.Z)(tN,2),tM=tI[0],tT=tI[1];a.useEffect(function(){tP(tC),tT(tw),tk.current&&(tE?tm(ty):tb(ta))},[tC,tw]);var tL=a.useState(0),tO=(0,v.Z)(tL,2),tD=tO[0],tK=tO[1],tz=tD>=e3.length-1||"horizontal"!==tR||el;a.useEffect(function(){tE&&t$(tv)},[tv]),a.useEffect(function(){return tk.current=!0,function(){tk.current=!1}},[]);var tA=(c=a.useState({}),u=(0,v.Z)(c,2)[1],s=(0,a.useRef)(new Map),h=(0,a.useRef)(new Map),y=a.useState([]),k=($=(0,v.Z)(y,2))[0],x=$[1],Z=(0,a.useRef)(0),w=(0,a.useRef)(!1),E=function(){w.current||u({})},S=(0,a.useCallback)(function(e,t){var n=eE(t);h.current.set(n,e),s.current.set(e,n),Z.current+=1;var o=Z.current;Promise.resolve().then(function(){o===Z.current&&E()})},[]),_=(0,a.useCallback)(function(e,t){var n=eE(t);h.current.delete(n),s.current.delete(e)},[]),R=(0,a.useCallback)(function(e){x(e)},[]),P=(0,a.useCallback)(function(e,t){var n=(s.current.get(e)||"").split(ew);return t&&k.includes(n[0])&&n.unshift(eS),n},[k]),N=(0,a.useCallback)(function(e,t){return e.some(function(e){return P(e,!0).includes(t)})},[P]),I=(0,a.useCallback)(function(e){var t="".concat(s.current.get(e)).concat(ew),n=new Set;return(0,C.Z)(h.current.keys()).forEach(function(e){e.startsWith(t)&&n.add(h.current.get(e))}),n},[]),a.useEffect(function(){return function(){w.current=!0}},[]),{registerPath:S,unregisterPath:_,refreshOverflowKeys:R,isSubPathKey:N,getKeyPath:P,getKeys:function(){var e=(0,C.Z)(s.current.keys());return k.length&&e.push(eS),e},getSubPathKeys:I}),tB=tA.registerPath,tj=tA.unregisterPath,tW=tA.refreshOverflowKeys,tG=tA.isSubPathKey,tH=tA.getKeyPath,tX=tA.getKeys,tV=tA.getSubPathKeys,tF=a.useMemo(function(){return{registerPath:tB,unregisterPath:tj}},[tB,tj]),tq=a.useMemo(function(){return{isSubPathKey:tG}},[tG]);a.useEffect(function(){tW(tz?ta:e3.slice(tD+1).map(function(e){return e.key}))},[tD,tz]);var tY=(0,g.Z)(eI||eM&&(null===(D=e3[0])||void 0===D?void 0:D.key),{value:eI}),tQ=(0,v.Z)(tY,2),tU=tQ[0],tJ=tQ[1],t0=e_(function(e){tJ(e)}),t1=e_(function(){tJ(void 0)});(0,a.useImperativeHandle)(t,function(){return{list:tu.current,focus:function(e){var t,n,o,r,a=null!=tU?tU:null===(t=e3.find(function(e){return!e.props.disabled}))||void 0===t?void 0:t.key;a&&(null===(n=tu.current)||void 0===n||null===(o=n.querySelector("li[data-menu-id='".concat(ee(ts,a),"']")))||void 0===o||null===(r=o.focus)||void 0===r||r.call(o,e))}}});var t2=(0,g.Z)(eK||[],{value:ez,postState:function(e){return Array.isArray(e)?e:null==e?ta:[e]}}),t6=(0,v.Z)(t2,2),t4=t6[0],t8=t6[1],t5=function(e){if(eL){var t,n=e.key,o=t4.includes(n);t8(t=eD?o?t4.filter(function(e){return e!==n}):[].concat((0,C.Z)(t4),[n]):[n]);var r=(0,p.Z)((0,p.Z)({},e),{},{selectedKeys:t});o?null==ej||ej(r):null==eB||eB(r)}!eD&&tv.length&&"inline"!==tR&&tb(ta)},t9=e_(function(e){null==e2||e2(eA(e)),t5(e)}),t7=e_(function(e,t){var n=tv.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==tR){var o=tV(e);n=n.filter(function(e){return!o.has(e)})}(0,U.Z)(tv,n,!0)||tb(n,!0)}),t3=(M=function(e,t){var n=null!=t?t:!tv.includes(e);t7(e,n)},T=a.useRef(),(L=a.useRef()).current=tU,O=function(){A.Z.cancel(T.current)},a.useEffect(function(){return function(){O()}},[]),function(e){var t=e.which;if([].concat(ex,[eg,ey,e$,ek]).includes(t)){var n=function(){return l=new Set,c=new Map,u=new Map,tX().forEach(function(e){var t=document.querySelector("[data-menu-id='".concat(ee(ts,e),"']"));t&&(l.add(t),u.set(t,e),c.set(e,t))}),l};n();var o=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(c.get(tU),l),r=u.get(o),a=function(e,t,n,o){var r,a,i,l,c="prev",u="next",s="children",d="parent";if("inline"===e&&o===eg)return{inlineTrigger:!0};var p=(r={},(0,f.Z)(r,eb,c),(0,f.Z)(r,eh,u),r),v=(a={},(0,f.Z)(a,ev,n?u:c),(0,f.Z)(a,em,n?c:u),(0,f.Z)(a,eh,s),(0,f.Z)(a,eg,s),a),m=(i={},(0,f.Z)(i,eb,c),(0,f.Z)(i,eh,u),(0,f.Z)(i,eg,s),(0,f.Z)(i,ey,d),(0,f.Z)(i,ev,n?s:d),(0,f.Z)(i,em,n?d:s),i);switch(null===(l=({inline:p,horizontal:v,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(t?"":"Sub")])||void 0===l?void 0:l[o]){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case s:return{offset:1,sibling:!1};default:return null}}(tR,1===tH(r,!0).length,td,t);if(!a&&t!==e$&&t!==ek)return;(ex.includes(t)||[e$,ek].includes(t))&&e.preventDefault();var i=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var o=u.get(e);tJ(o),O(),T.current=(0,A.Z)(function(){L.current===o&&t.focus()})}};if([e$,ek].includes(t)||a.sibling||!o){var l,c,u,s,d=eZ(s=o&&"inline"!==tR?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(o):tu.current,l);i(t===e$?d[0]:t===ek?d[d.length-1]:eC(s,l,o,a.offset))}else if(a.inlineTrigger)M(r);else if(a.offset>0)M(r,!0),O(),T.current=(0,A.Z)(function(){n();var e=o.getAttribute("aria-controls");i(eC(document.getElementById(e),l))},5);else if(a.offset<0){var p=tH(r,!0),v=p[p.length-2],m=c.get(v);M(v,!1),i(m)}}null==e4||e4(e)});a.useEffect(function(){tc(!0)},[]);var ne=a.useMemo(function(){return{_internalRenderMenuItem:e8,_internalRenderSubMenuItem:e5}},[e8,e5]),nt="horizontal"!==tR||el?e3:e3.map(function(e,t){return a.createElement(ea,{key:e.key,overflowDisabled:t>tD},e)}),nn=a.createElement(q.Z,(0,r.Z)({id:Y,ref:tu,prefixCls:"".concat(B,"-overflow"),component:"ul",itemComponent:eX,className:d()(B,"".concat(B,"-root"),"".concat(B,"-").concat(tR),G,(K={},(0,f.Z)(K,"".concat(B,"-inline-collapsed"),tM),(0,f.Z)(K,"".concat(B,"-rtl"),td),K),j),dir:F,style:W,role:"menu",tabIndex:void 0===H?0:H,data:nt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?e3.slice(-t):null;return a.createElement(e9,{eventKey:eS,title:eJ,disabled:tz,internalPopupClose:0===t,popupClassName:e0},n)},maxCount:"horizontal"!==tR||el?q.Z.INVALIDATE:q.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){tK(e)},onKeyDown:t3},e7));return a.createElement(ed.Provider,{value:ne},a.createElement(J.Provider,{value:ts},a.createElement(ea,{prefixCls:B,rootClassName:j,mode:tR,openKeys:tv,rtl:td,disabled:er,motion:tl?eG:null,defaultMotions:tl?eH:null,activeKey:tU,onActive:t0,onInactive:t1,selectedKeys:t4,inlineIndent:void 0===eW?24:eW,subMenuOpenDelay:void 0===ec?.1:ec,subMenuCloseDelay:void 0===eu?.1:eu,forceSubMenuRender:ef,builtinPlacements:eF,triggerSubMenuAction:void 0===eV?"hover":eV,getPopupContainer:e1,itemIcon:eq,expandIcon:eQ,onItemClick:t9,onOpenChange:t7},a.createElement(es.Provider,{value:tq},nn),a.createElement("div",{style:{display:"none"},"aria-hidden":!0},a.createElement(ei.Provider,{value:tF},e3)))))});ti.Item=eX,ti.SubMenu=e9,ti.ItemGroup=tt,ti.Divider=tn;var tl=a.memo(a.forwardRef(function(e,t){var n=e.prefixCls,o=e.id,r=e.tabs,i=e.locale,l=e.mobile,c=e.moreIcon,u=void 0===c?"More":c,s=e.moreTransitionName,p=e.style,m=e.className,b=e.editable,h=e.tabBarGutter,g=e.rtl,y=e.removeAriaLabel,$=e.onTabClick,k=e.getPopupContainer,x=e.popupClassName,Z=(0,a.useState)(!1),C=(0,v.Z)(Z,2),w=C[0],E=C[1],S=(0,a.useState)(null),_=(0,v.Z)(S,2),R=_[0],P=_[1],N="".concat(o,"-more-popup"),I="".concat(n,"-dropdown"),M=null!==R?"".concat(N,"-").concat(R):null,T=null==i?void 0:i.dropdownAriaLabel,D=a.createElement(ti,{onClick:function(e){$(e.key,e.domEvent),E(!1)},prefixCls:"".concat(I,"-menu"),id:N,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[R],"aria-label":void 0!==T?T:"expanded dropdown"},r.map(function(e){var t=e.closable,n=e.disabled,r=e.closeIcon,i=e.key,l=e.label,c=L(t,r,b,n);return a.createElement(eX,{key:i,id:"".concat(N,"-").concat(i),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(i),disabled:n},a.createElement("span",null,l),c&&a.createElement("button",{type:"button","aria-label":y||"remove",tabIndex:0,className:"".concat(I,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),b.onEdit("remove",{key:i,event:e})}},r||b.removeIcon||"\xd7"))}));function K(e){for(var t=r.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===R})||0,o=t.length,a=0;at?"left":"right"})}),eT=(0,v.Z)(eM,2),eL=eT[0],eO=eT[1],eD=R(0,function(e,t){!eI&&eZ&&eZ({direction:e>t?"top":"bottom"})}),eK=(0,v.Z)(eD,2),ez=eK[0],eA=eK[1],eB=(0,a.useState)([0,0]),ej=(0,v.Z)(eB,2),eW=ej[0],eG=ej[1],eH=(0,a.useState)([0,0]),eX=(0,v.Z)(eH,2),eV=eX[0],eF=eX[1],eq=(0,a.useState)([0,0]),eY=(0,v.Z)(eq,2),eQ=eY[0],eU=eY[1],eJ=(0,a.useState)([0,0]),e0=(0,v.Z)(eJ,2),e1=e0[0],e2=e0[1],e6=(n=new Map,o=(0,a.useRef)([]),i=(0,a.useState)({}),l=(0,v.Z)(i,2)[1],c=(0,a.useRef)("function"==typeof n?n():n),u=N(function(){var e=c.current;o.current.forEach(function(t){e=t(e)}),o.current=[],c.current=e,l({})}),[c.current,function(e){o.current.push(e),u()}]),e4=(0,v.Z)(e6,2),e8=e4[0],e5=e4[1],e9=(s=eV[0],(0,a.useMemo)(function(){for(var e=new Map,t=e8.get(null===(r=eu[0])||void 0===r?void 0:r.key)||_,n=t.left+t.width,o=0;oti?ti:e}eI&&em?(ta=0,ti=Math.max(0,e3-to)):(ta=Math.min(0,to-e3),ti=0);var tp=(0,a.useRef)(),tv=(0,a.useState)(),tm=(0,v.Z)(tv,2),tb=tm[0],th=tm[1];function tg(){th(Date.now())}function ty(){window.clearTimeout(tp.current)}m=function(e,t){function n(e,t){e(function(e){return tf(e+t)})}return!!tn&&(eI?n(eO,e):n(eA,t),ty(),tg(),!0)},b=(0,a.useState)(),g=(h=(0,v.Z)(b,2))[0],y=h[1],k=(0,a.useState)(0),Z=(x=(0,v.Z)(k,2))[0],P=x[1],L=(0,a.useState)(0),z=(K=(0,v.Z)(L,2))[0],A=K[1],B=(0,a.useState)(),W=(j=(0,v.Z)(B,2))[0],G=j[1],H=(0,a.useRef)(),X=(0,a.useRef)(),(V=(0,a.useRef)(null)).current={onTouchStart:function(e){var t=e.touches[0];y({x:t.screenX,y:t.screenY}),window.clearInterval(H.current)},onTouchMove:function(e){if(g){e.preventDefault();var t=e.touches[0],n=t.screenX,o=t.screenY;y({x:n,y:o});var r=n-g.x,a=o-g.y;m(r,a);var i=Date.now();P(i),A(i-Z),G({x:r,y:a})}},onTouchEnd:function(){if(g&&(y(null),G(null),W)){var e=W.x/z,t=W.y/z;if(!(.1>Math.max(Math.abs(e),Math.abs(t)))){var n=e,o=t;H.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(o)){window.clearInterval(H.current);return}m(20*(n*=.9046104802746175),20*(o*=.9046104802746175))},20)}}},onWheel:function(e){var t=e.deltaX,n=e.deltaY,o=0,r=Math.abs(t),a=Math.abs(n);r===a?o="x"===X.current?t:n:r>a?(o=t,X.current="x"):(o=n,X.current="y"),m(-o,-o)&&e.preventDefault()}},a.useEffect(function(){function e(e){V.current.onTouchMove(e)}function t(e){V.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!1}),e_.current.addEventListener("touchstart",function(e){V.current.onTouchStart(e)},{passive:!1}),e_.current.addEventListener("wheel",function(e){V.current.onWheel(e)}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),(0,a.useEffect)(function(){return ty(),tb&&(tp.current=window.setTimeout(function(){th(0)},100)),ty},[tb]);var t$=(F=eI?eL:ez,J=(q=(0,p.Z)((0,p.Z)({},e),{},{tabs:eu})).tabs,ee=q.tabPosition,et=q.rtl,["top","bottom"].includes(ee)?(Y="width",Q=et?"right":"left",U=Math.abs(F)):(Y="height",Q="top",U=-F),(0,a.useMemo)(function(){if(!J.length)return[0,0];for(var e=J.length,t=e,n=0;nU+to){t=n-1;break}}for(var r=0,a=e-1;a>=0;a-=1)if((e9.get(J[a].key)||I)[Q]=t?[0,0]:[r,t]},[e9,to,e3,te,tt,U,ee,J.map(function(e){return e.key}).join("_"),et])),tk=(0,v.Z)(t$,2),tx=tk[0],tZ=tk[1],tC=(0,E.Z)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ev,t=e9.get(e)||{width:0,height:0,left:0,right:0,top:0};if(eI){var n=eL;em?t.righteL+to&&(n=t.right+t.width-to):t.left<-eL?n=-t.left:t.left+t.width>-eL+to&&(n=-(t.left+t.width-to)),eA(0),eO(tf(n))}else{var o=ez;t.top<-ez?o=-t.top:t.top+t.height>-ez+to&&(o=-(t.top+t.height-to)),eO(0),eA(tf(o))}}),tw={};"top"===ey||"bottom"===ey?tw[em?"marginRight":"marginLeft"]=e$:tw.marginTop=e$;var tE=eu.map(function(e,t){var n=e.key;return a.createElement(tc,{id:ef,prefixCls:ec,key:n,tab:e,style:0===t?void 0:tw,closable:e.closable,editable:eh,active:n===ev,renderWrapper:ek,removeAriaLabel:null==eg?void 0:eg.removeAriaLabel,onClick:function(e){ex(n,e)},onFocus:function(){tC(n),tg(),e_.current&&(em||(e_.current.scrollLeft=0),e_.current.scrollTop=0)}})}),tS=function(){return e5(function(){var e=new Map;return eu.forEach(function(t){var n,o=t.key,r=null===(n=eR.current)||void 0===n?void 0:n.querySelector('[data-node-key="'.concat(T(o),'"]'));r&&e.set(o,{width:r.offsetWidth,height:r.offsetHeight,left:r.offsetLeft,top:r.offsetTop})}),e})};(0,a.useEffect)(function(){tS()},[eu.map(function(e){return e.key}).join("_")]);var t_=N(function(){var e=ts(ew),t=ts(eE),n=ts(eS);eG([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var o=ts(eN);eU(o),e2(ts(eP));var r=ts(eR);eF([r[0]-o[0],r[1]-o[1]]),tS()}),tR=eu.slice(0,tx),tP=eu.slice(tZ+1),tN=[].concat((0,C.Z)(tR),(0,C.Z)(tP)),tI=e9.get(ev),tM=tu({activeTabOffset:tI,horizontal:eI,rtl:em,indicatorSize:eC}).style;(0,a.useEffect)(function(){tC()},[ev,ta,ti,M(tI),M(e9),eI]),(0,a.useEffect)(function(){t_()},[em]);var tT=!!tN.length,tL="".concat(ec,"-nav-wrap");return eI?em?(er=eL>0,eo=eL!==ti):(eo=eL<0,er=eL!==ta):(ea=ez<0,ei=ez!==ta),a.createElement(w.Z,{onResize:t_},a.createElement("div",{ref:(0,S.x1)(t,ew),role:"tablist",className:d()("".concat(ec,"-nav"),es),style:ed,onKeyDown:function(){tg()}},a.createElement(D,{ref:eE,position:"left",extra:eb,prefixCls:ec}),a.createElement(w.Z,{onResize:t_},a.createElement("div",{className:d()(tL,(en={},(0,f.Z)(en,"".concat(tL,"-ping-left"),eo),(0,f.Z)(en,"".concat(tL,"-ping-right"),er),(0,f.Z)(en,"".concat(tL,"-ping-top"),ea),(0,f.Z)(en,"".concat(tL,"-ping-bottom"),ei),en)),ref:e_},a.createElement(w.Z,{onResize:t_},a.createElement("div",{ref:eR,className:"".concat(ec,"-nav-list"),style:{transform:"translate(".concat(eL,"px, ").concat(ez,"px)"),transition:tb?"none":void 0}},tE,a.createElement(O,{ref:eN,prefixCls:ec,locale:eg,editable:eh,style:(0,p.Z)((0,p.Z)({},0===tE.length?void 0:tw),{},{visibility:tT?"hidden":null})}),a.createElement("div",{className:d()("".concat(ec,"-ink-bar"),(0,f.Z)({},"".concat(ec,"-ink-bar-animated"),ep.inkBar)),style:tM}))))),a.createElement(tl,(0,r.Z)({},e,{removeAriaLabel:null==eg?void 0:eg.removeAriaLabel,ref:eP,prefixCls:ec,tabs:tN,className:!tT&&tr,tabMoving:!!tb})),a.createElement(D,{ref:eS,position:"right",extra:eb,prefixCls:ec})))}),tp=["renderTabBar"],tv=["label","key"];function tm(e){var t=e.renderTabBar,n=(0,b.Z)(e,tp),o=a.useContext($).tabs;return t?t((0,p.Z)((0,p.Z)({},n),{},{panes:o.map(function(e){var t=e.label,n=e.key,o=(0,b.Z)(e,tv);return a.createElement(k,(0,r.Z)({tab:t,key:n,tabKey:n},o))})}),tf):a.createElement(tf,n)}var tb=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],th=0,tg=a.forwardRef(function(e,t){var n,o=e.id,i=e.prefixCls,l=void 0===i?"rc-tabs":i,c=e.className,u=e.items,s=e.direction,y=e.activeKey,k=e.defaultActiveKey,x=e.editable,C=e.animated,w=e.tabPosition,E=void 0===w?"top":w,S=e.tabBarGutter,_=e.tabBarStyle,R=e.tabBarExtraContent,P=e.locale,N=e.moreIcon,I=e.moreTransitionName,M=e.destroyInactiveTabPane,T=e.renderTabBar,L=e.onChange,O=e.onTabClick,D=e.onTabScroll,K=e.getPopupContainer,z=e.popupClassName,A=e.indicatorSize,B=(0,b.Z)(e,tb),j=a.useMemo(function(){return(u||[]).filter(function(e){return e&&"object"===(0,m.Z)(e)&&"key"in e})},[u]),W="rtl"===s,G=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,p.Z)({inkBar:!0},"object"===(0,m.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(C),H=(0,a.useState)(!1),X=(0,v.Z)(H,2),V=X[0],F=X[1];(0,a.useEffect)(function(){F((0,h.Z)())},[]);var q=(0,g.Z)(function(){var e;return null===(e=j[0])||void 0===e?void 0:e.key},{value:y,defaultValue:k}),Y=(0,v.Z)(q,2),Q=Y[0],U=Y[1],J=(0,a.useState)(function(){return j.findIndex(function(e){return e.key===Q})}),ee=(0,v.Z)(J,2),et=ee[0],en=ee[1];(0,a.useEffect)(function(){var e,t=j.findIndex(function(e){return e.key===Q});-1===t&&(t=Math.max(0,Math.min(et,j.length-1)),U(null===(e=j[t])||void 0===e?void 0:e.key)),en(t)},[j.map(function(e){return e.key}).join("_"),Q,et]);var eo=(0,g.Z)(null,{value:o}),er=(0,v.Z)(eo,2),ea=er[0],ei=er[1];(0,a.useEffect)(function(){o||(ei("rc-tabs-".concat(th)),th+=1)},[]);var el={id:ea,activeKey:Q,animated:G,tabPosition:E,rtl:W,mobile:V},ec=(0,p.Z)((0,p.Z)({},el),{},{editable:x,locale:P,moreIcon:N,moreTransitionName:I,tabBarGutter:S,onTabClick:function(e,t){null==O||O(e,t);var n=e!==Q;U(e),n&&(null==L||L(e))},onTabScroll:D,extra:R,style:_,panes:null,getPopupContainer:K,popupClassName:z,indicatorSize:A});return a.createElement($.Provider,{value:{tabs:j,prefixCls:l}},a.createElement("div",(0,r.Z)({ref:t,id:o,className:d()(l,"".concat(l,"-").concat(E),(n={},(0,f.Z)(n,"".concat(l,"-mobile"),V),(0,f.Z)(n,"".concat(l,"-editable"),x),(0,f.Z)(n,"".concat(l,"-rtl"),W),n),c)},B),a.createElement(tm,(0,r.Z)({},ec,{renderTabBar:T})),a.createElement(Z,(0,r.Z)({destroyInactiveTabPane:M},el,{animated:G}))))}),ty=n(53124),t$=n(98675),tk=n(33603);let tx={motionAppear:!1,motionEnter:!0,motionLeave:!0};var tZ=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},tC=n(14747),tw=n(67968),tE=n(45503),tS=n(67771),t_=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,tS.oN)(e,"slide-up"),(0,tS.oN)(e,"slide-down")]]};let tR=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:o,cardGutter:r,colorBorderSecondary:a,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:o,border:`${e.lineWidth}px ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${r}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${r}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},tP=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:o}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,tC.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${o}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},tC.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},tN=e=>{let{componentCls:t,margin:n,colorBorderSecondary:o,horizontalMargin:r,verticalItemPadding:a,verticalItemMargin:i}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${o}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:1.25*e.controlHeight,[`${t}-tab`]:{padding:a,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},tI=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:o,horizontalItemPaddingSM:r,horizontalItemPaddingLG:a}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o}}}}}},tM=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:o,iconCls:r,tabsHorizontalItemMargin:a,horizontalItemPadding:i,itemSelectedColor:l,itemColor:c}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,tC.Qy)(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:o},[`&${u}-active ${u}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${r}`]:{margin:0},[r]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:a}}}},tT=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:o,cardGutter:r}=e,a=`${t}-rtl`;return{[a]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[o]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[o]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:r},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},tL=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:o,cardGutter:r,itemHoverColor:a,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,tC.Wf)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:o,marginLeft:{_skip_check_:!0,value:r},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${l}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:i}},(0,tC.Qy)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),tM(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var tO=(0,tw.Z)("Tabs",e=>{let t=(0,tE.TS)(e,{tabsCardPadding:e.cardPadding||`${(e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${e.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${e.horizontalItemGutter}px`});return[tI(t),tT(t),tN(t),tP(t),tR(t),tL(t),t_(t)]},e=>{let t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:"",cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),tD=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let tK=e=>{let t;let{type:n,className:r,rootClassName:i,size:l,onEdit:s,hideAdd:f,centered:p,addIcon:v,popupClassName:m,children:b,items:h,animated:g,style:y,indicatorSize:$}=e,k=tD(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:x,moreIcon:Z=a.createElement(c,null)}=k,{direction:C,tabs:w,getPrefixCls:E,getPopupContainer:S}=a.useContext(ty.E_),_=E("tabs",x),[R,P]=tO(_);"editable-card"===n&&(t={onEdit:(e,t)=>{let{key:n,event:o}=t;null==s||s("add"===e?o:n,e)},removeIcon:a.createElement(o.Z,null),addIcon:v||a.createElement(u.Z,null),showAdd:!0!==f});let N=E(),I=function(e,t){if(e)return e;let n=(0,eq.Z)(t).map(e=>{if(a.isValidElement(e)){let{key:t,props:n}=e,o=n||{},{tab:r}=o,a=tZ(o,["tab"]),i=Object.assign(Object.assign({key:String(t)},a),{label:r});return i}return null});return n.filter(e=>e)}(h,b),M=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},tx),{motionName:(0,tk.m)(e,"switch")})),t}(_,g),T=(0,t$.Z)(l),L=Object.assign(Object.assign({},null==w?void 0:w.style),y);return R(a.createElement(tg,Object.assign({direction:C,getPopupContainer:S,moreTransitionName:`${N}-slide-up`},k,{items:I,className:d()({[`${_}-${T}`]:T,[`${_}-card`]:["card","editable-card"].includes(n),[`${_}-editable-card`]:"editable-card"===n,[`${_}-centered`]:p},null==w?void 0:w.className,r,i,P),popupClassName:d()(m,P),style:L,editable:t,moreIcon:Z,prefixCls:_,animated:M,indicatorSize:null!=$?$:null==w?void 0:w.indicatorSize})))};tK.TabPane=()=>null;var tz=tK}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/66-791bb03098dc9265.js b/pilot/server/static/_next/static/chunks/66-791bb03098dc9265.js new file mode 100644 index 000000000..0d1f8ffab --- /dev/null +++ b/pilot/server/static/_next/static/chunks/66-791bb03098dc9265.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[66],{26558:function(e,t,l){l.d(t,{Z:function(){return n}});var r=l(67294);let n=r.createContext(null)},22644:function(e,t,l){l.d(t,{F:function(){return r}});let r={blur:"list:blur",focus:"list:focus",itemClick:"list:itemClick",itemHover:"list:itemHover",itemsChange:"list:itemsChange",keyDown:"list:keyDown",resetHighlight:"list:resetHighlight",textNavigation:"list:textNavigation"}},12247:function(e,t,l){l.d(t,{Y:function(){return o},s:function(){return n}});var r=l(67294);let n=r.createContext(null);function o(){let[e,t]=r.useState(new Map),l=r.useRef(new Set),n=r.useCallback(function(e){l.current.delete(e),t(t=>{let l=new Map(t);return l.delete(e),l})},[]),o=r.useCallback(function(e,r){let o;return o="function"==typeof e?e(l.current):e,l.current.add(o),t(e=>{let t=new Map(e);return t.set(o,r),t}),{id:o,deregister:()=>n(o)}},[n]),i=r.useMemo(()=>(function(e){let t=Array.from(e.keys()).map(t=>{let l=e.get(t);return{key:t,subitem:l}});return t.sort((e,t)=>{let l=e.subitem.ref.current,r=t.subitem.ref.current;return null===l||null===r||l===r?0:l.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}),new Map(t.map(e=>[e.key,e.subitem]))})(e),[e]),a=r.useCallback(function(e){return Array.from(i.keys()).indexOf(e)},[i]),u=r.useMemo(()=>({getItemIndex:a,registerItem:o,totalSubitemCount:e.size}),[a,o,e.size]);return{contextValue:u,subitems:i}}n.displayName="CompoundComponentContext"},30322:function(e,t,l){l.d(t,{Z:function(){return w}});var r=l(87462),n=l(63366),o=l(67294),i=l(94780),a=l(92996),u=l(33703),c=l(73546),s=l(22644),d=l(26558),f=l(12247),v=l(30220),h=l(16079),g=l(74312),p=l(20407),m=l(78653),b=l(26821);function S(e){return(0,b.d6)("MuiOption",e)}let x=(0,b.sI)("MuiOption",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","highlighted","variantPlain","variantSoft","variantOutlined","variantSolid"]);var C=l(40780),Z=l(85893);let k=["component","children","disabled","value","label","variant","color","slots","slotProps"],y=e=>{let{disabled:t,highlighted:l,selected:r}=e;return(0,i.Z)({root:["root",t&&"disabled",l&&"highlighted",r&&"selected"]},S,{})},I=(0,g.Z)(h.r,{name:"JoyOption",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var l;let r=null==(l=e.variants[`${t.variant}Hover`])?void 0:l[t.color];return{[`&.${x.highlighted}`]:{backgroundColor:null==r?void 0:r.backgroundColor}}}),z=o.forwardRef(function(e,t){var l;let i=(0,p.Z)({props:e,name:"JoyOption"}),{component:h="li",children:g,disabled:b=!1,value:S,label:x,variant:z="plain",color:w="neutral",slots:R={},slotProps:V={}}=i,D=(0,n.Z)(i,k),M=o.useContext(C.Z),P=o.useRef(null),O=(0,u.Z)(P,t),H=null!=x?x:"string"==typeof g?g:null==(l=P.current)?void 0:l.innerText,{getRootProps:E,selected:F,highlighted:N,index:T}=function(e){let{value:t,label:l,disabled:n,rootRef:i,id:v}=e,{getRootProps:h,rootRef:g,highlighted:p,selected:m}=function(e){let t;let{handlePointerOverEvents:l=!1,item:n,rootRef:i}=e,a=o.useRef(null),f=(0,u.Z)(a,i),v=o.useContext(d.Z);if(!v)throw Error("useListItem must be used within a ListProvider");let{dispatch:h,getItemState:g,registerHighlightChangeHandler:p,registerSelectionChangeHandler:m}=v,{highlighted:b,selected:S,focusable:x}=g(n),C=function(){let[,e]=o.useState({});return o.useCallback(()=>{e({})},[])}();(0,c.Z)(()=>p(function(e){e!==n||b?e!==n&&b&&C():C()})),(0,c.Z)(()=>m(function(e){S?e.includes(n)||C():e.includes(n)&&C()}),[m,C,S,n]);let Z=o.useCallback(e=>t=>{var l;null==(l=e.onClick)||l.call(e,t),t.defaultPrevented||h({type:s.F.itemClick,item:n,event:t})},[h,n]),k=o.useCallback(e=>t=>{var l;null==(l=e.onMouseOver)||l.call(e,t),t.defaultPrevented||h({type:s.F.itemHover,item:n,event:t})},[h,n]);return x&&(t=b?0:-1),{getRootProps:(e={})=>(0,r.Z)({},e,{onClick:Z(e),onPointerOver:l?k(e):void 0,ref:f,tabIndex:t}),highlighted:b,rootRef:f,selected:S}}({item:t}),b=(0,a.Z)(v),S=o.useRef(null),x=o.useMemo(()=>({disabled:n,label:l,value:t,ref:S,id:b}),[n,l,t,b]),{index:C}=function(e,t){let l=o.useContext(f.s);if(null===l)throw Error("useCompoundItem must be used within a useCompoundParent");let{registerItem:r}=l,[n,i]=o.useState("function"==typeof e?void 0:e);return(0,c.Z)(()=>{let{id:l,deregister:n}=r(e,t);return i(l),n},[r,t,e]),{id:n,index:void 0!==n?l.getItemIndex(n):-1,totalItemCount:l.totalSubitemCount}}(t,x),Z=(0,u.Z)(i,S,g);return{getRootProps:(e={})=>(0,r.Z)({},e,h(e),{id:b,ref:Z,role:"option","aria-selected":m}),highlighted:p,index:C,selected:m,rootRef:Z}}({disabled:b,label:H,value:S,rootRef:O}),{getColor:j}=(0,m.VT)(z),B=j(e.color,F?"primary":w),L=(0,r.Z)({},i,{disabled:b,selected:F,highlighted:N,index:T,component:h,variant:z,color:B,row:M}),$=y(L),A=(0,r.Z)({},D,{component:h,slots:R,slotProps:V}),[W,J]=(0,v.Z)("root",{ref:t,getSlotProps:E,elementType:I,externalForwardedProps:A,className:$.root,ownerState:L});return(0,Z.jsx)(W,(0,r.Z)({},J,{children:g}))});var w=z},14986:function(e,t,l){l.d(t,{Z:function(){return eS}});var r,n=l(63366),o=l(87462),i=l(67294),a=l(86010),u=l(14142),c=l(33703),s=l(60769),d=l(92996),f=l(73546),v=l(70758);let h={buttonClick:"buttonClick"};var g=l(22644);function p(e,t,l){var r;let n,o;let{items:i,isItemDisabled:a,disableListWrap:u,disabledItemsFocusable:c,itemComparer:s,focusManagement:d}=l,f=i.length-1,v=null==e?-1:i.findIndex(t=>s(t,e)),h=!u;switch(t){case"reset":if(-1==("DOM"===d?0:-1))return null;n=0,o="next",h=!1;break;case"start":n=0,o="next",h=!1;break;case"end":n=f,o="previous",h=!1;break;default:{let e=v+t;e<0?!h&&-1!==v||Math.abs(t)>1?(n=0,o="next"):(n=f,o="previous"):e>f?!h||Math.abs(t)>1?(n=f,o="previous"):(n=0,o="next"):(n=e,o=t>=0?"next":"previous")}}let g=function(e,t,l,r,n,o){if(0===l.length||!r&&l.every((e,t)=>n(e,t)))return -1;let i=e;for(;;){if(!o&&"next"===t&&i===l.length||!o&&"previous"===t&&-1===i)return -1;let e=!r&&n(l[i],i);if(!e)return i;i+="next"===t?1:-1,o&&(i=(i+l.length)%l.length)}}(n,o,i,c,a,h);return -1!==g||null===e||a(e,v)?null!=(r=i[g])?r:null:e}function m(e,t,l){let{itemComparer:r,isItemDisabled:n,selectionMode:i,items:a}=l,{selectedValues:u}=t,c=a.findIndex(t=>r(e,t));if(n(e,c))return t;let s="none"===i?[]:"single"===i?r(u[0],e)?u:[e]:u.some(t=>r(t,e))?u.filter(t=>!r(t,e)):[...u,e];return(0,o.Z)({},t,{selectedValues:s,highlightedValue:e})}function b(e,t){let{type:l,context:r}=t;switch(l){case g.F.keyDown:return function(e,t,l){let r=t.highlightedValue,{orientation:n,pageSize:i}=l;switch(e){case"Home":return(0,o.Z)({},t,{highlightedValue:p(r,"start",l)});case"End":return(0,o.Z)({},t,{highlightedValue:p(r,"end",l)});case"PageUp":return(0,o.Z)({},t,{highlightedValue:p(r,-i,l)});case"PageDown":return(0,o.Z)({},t,{highlightedValue:p(r,i,l)});case"ArrowUp":if("vertical"!==n)break;return(0,o.Z)({},t,{highlightedValue:p(r,-1,l)});case"ArrowDown":if("vertical"!==n)break;return(0,o.Z)({},t,{highlightedValue:p(r,1,l)});case"ArrowLeft":if("vertical"===n)break;return(0,o.Z)({},t,{highlightedValue:p(r,"horizontal-ltr"===n?-1:1,l)});case"ArrowRight":if("vertical"===n)break;return(0,o.Z)({},t,{highlightedValue:p(r,"horizontal-ltr"===n?1:-1,l)});case"Enter":case" ":if(null===t.highlightedValue)break;return m(t.highlightedValue,t,l)}return t}(t.key,e,r);case g.F.itemClick:return m(t.item,e,r);case g.F.blur:return"DOM"===r.focusManagement?e:(0,o.Z)({},e,{highlightedValue:null});case g.F.textNavigation:return function(e,t,l){let{items:r,isItemDisabled:n,disabledItemsFocusable:i,getItemAsString:a}=l,u=t.length>1,c=u?e.highlightedValue:p(e.highlightedValue,1,l);for(let s=0;sa(e,l.highlightedValue)))?i:null:"DOM"===u&&0===t.length&&(c=p(null,"reset",r));let s=null!=(n=l.selectedValues)?n:[],d=s.filter(t=>e.some(e=>a(e,t)));return(0,o.Z)({},l,{highlightedValue:c,selectedValues:d})}(t.items,t.previousItems,e,r);case g.F.resetHighlight:return(0,o.Z)({},e,{highlightedValue:p(null,"reset",r)});default:return e}}let S="select:change-selection",x="select:change-highlight";function C(e,t){return e===t}let Z={},k=()=>{};function y(e,t){let l=(0,o.Z)({},e);return Object.keys(t).forEach(e=>{void 0!==t[e]&&(l[e]=t[e])}),l}function I(e,t,l=(e,t)=>e===t){return e.length===t.length&&e.every((e,r)=>l(e,t[r]))}function z(e,t){let l=i.useRef(e);return i.useEffect(()=>{l.current=e},null!=t?t:[e]),l}let w={},R=()=>{},V=(e,t)=>e===t,D=()=>!1,M=e=>"string"==typeof e?e:String(e),P=()=>({highlightedValue:null,selectedValues:[]});var O=function(e){let{controlledProps:t=w,disabledItemsFocusable:l=!1,disableListWrap:r=!1,focusManagement:n="activeDescendant",getInitialState:a=P,getItemDomElement:u,getItemId:s,isItemDisabled:d=D,rootRef:f,onStateChange:v=R,items:h,itemComparer:p=V,getItemAsString:m=M,onChange:O,onHighlightChange:H,onItemsChange:E,orientation:F="vertical",pageSize:N=5,reducerActionContext:T=w,selectionMode:j="single",stateReducer:B}=e,L=i.useRef(null),$=(0,c.Z)(f,L),A=i.useCallback((e,t,l)=>{if(null==H||H(e,t,l),"DOM"===n&&null!=t&&(l===g.F.itemClick||l===g.F.keyDown||l===g.F.textNavigation)){var r;null==u||null==(r=u(t))||r.focus()}},[u,H,n]),W=i.useMemo(()=>({highlightedValue:p,selectedValues:(e,t)=>I(e,t,p)}),[p]),J=i.useCallback((e,t,l,r,n)=>{switch(null==v||v(e,t,l,r,n),t){case"highlightedValue":A(e,l,r);break;case"selectedValues":null==O||O(e,l,r)}},[A,O,v]),_=i.useMemo(()=>({disabledItemsFocusable:l,disableListWrap:r,focusManagement:n,isItemDisabled:d,itemComparer:p,items:h,getItemAsString:m,onHighlightChange:A,orientation:F,pageSize:N,selectionMode:j,stateComparers:W}),[l,r,n,d,p,h,m,A,F,N,j,W]),U=a(),X=i.useMemo(()=>(0,o.Z)({},T,_),[T,_]),[q,K]=function(e){let t=i.useRef(null),{reducer:l,initialState:r,controlledProps:n=Z,stateComparers:a=Z,onStateChange:u=k,actionContext:c}=e,s=i.useCallback((e,r)=>{t.current=r;let o=y(e,n),i=l(o,r);return i},[n,l]),[d,f]=i.useReducer(s,r),v=i.useCallback(e=>{f((0,o.Z)({},e,{context:c}))},[c]);return!function(e){let{nextState:t,initialState:l,stateComparers:r,onStateChange:n,controlledProps:o,lastActionRef:a}=e,u=i.useRef(l);i.useEffect(()=>{if(null===a.current)return;let e=y(u.current,o);Object.keys(t).forEach(l=>{var o,i,u;let c=null!=(o=r[l])?o:C,s=t[l],d=e[l];(null!=d||null==s)&&(null==d||null!=s)&&(null==d||null==s||c(s,d))||null==n||n(null!=(i=a.current.event)?i:null,l,s,null!=(u=a.current.type)?u:"",t)}),u.current=t,a.current=null},[u,t,a,n,r,o])}({nextState:d,initialState:r,stateComparers:null!=a?a:Z,onStateChange:null!=u?u:k,controlledProps:n,lastActionRef:t}),[y(d,n),v]}({reducer:null!=B?B:b,actionContext:X,initialState:U,controlledProps:t,stateComparers:W,onStateChange:J}),{highlightedValue:Y,selectedValues:G}=q,Q=function(e){let t=i.useRef({searchString:"",lastTime:null});return i.useCallback(l=>{if(1===l.key.length&&" "!==l.key){let r=t.current,n=l.key.toLowerCase(),o=performance.now();r.searchString.length>0&&r.lastTime&&o-r.lastTime>500?r.searchString=n:(1!==r.searchString.length||n!==r.searchString)&&(r.searchString+=n),r.lastTime=o,e(r.searchString,l)}},[e])}((e,t)=>K({type:g.F.textNavigation,event:t,searchString:e})),ee=z(G),et=z(Y),el=i.useRef([]);i.useEffect(()=>{I(el.current,h,p)||(K({type:g.F.itemsChange,event:null,items:h,previousItems:el.current}),el.current=h,null==E||E(h))},[h,p,K,E]);let{notifySelectionChanged:er,notifyHighlightChanged:en,registerHighlightChangeHandler:eo,registerSelectionChangeHandler:ei}=function(){let e=function(){let e=i.useRef();return e.current||(e.current=function(){let e=new Map;return{subscribe:function(t,l){let r=e.get(t);return r?r.add(l):(r=new Set([l]),e.set(t,r)),()=>{r.delete(l),0===r.size&&e.delete(t)}},publish:function(t,...l){let r=e.get(t);r&&r.forEach(e=>e(...l))}}}()),e.current}(),t=i.useCallback(t=>{e.publish(S,t)},[e]),l=i.useCallback(t=>{e.publish(x,t)},[e]),r=i.useCallback(t=>e.subscribe(S,t),[e]),n=i.useCallback(t=>e.subscribe(x,t),[e]);return{notifySelectionChanged:t,notifyHighlightChanged:l,registerSelectionChangeHandler:r,registerHighlightChangeHandler:n}}();i.useEffect(()=>{er(G)},[G,er]),i.useEffect(()=>{en(Y)},[Y,en]);let ea=e=>t=>{var l;if(null==(l=e.onKeyDown)||l.call(e,t),t.defaultMuiPrevented)return;let r=["Home","End","PageUp","PageDown"];"vertical"===F?r.push("ArrowUp","ArrowDown"):r.push("ArrowLeft","ArrowRight"),"activeDescendant"===n&&r.push(" ","Enter"),r.includes(t.key)&&t.preventDefault(),K({type:g.F.keyDown,key:t.key,event:t}),Q(t)},eu=e=>t=>{var l,r;null==(l=e.onBlur)||l.call(e,t),t.defaultMuiPrevented||null!=(r=L.current)&&r.contains(t.relatedTarget)||K({type:g.F.blur,event:t})},ec=i.useCallback(e=>{var t;let l=h.findIndex(t=>p(t,e)),r=(null!=(t=ee.current)?t:[]).some(t=>null!=t&&p(e,t)),o=d(e,l),i=null!=et.current&&p(e,et.current),a="DOM"===n;return{disabled:o,focusable:a,highlighted:i,index:l,selected:r}},[h,d,p,ee,et,n]),es=i.useMemo(()=>({dispatch:K,getItemState:ec,registerHighlightChangeHandler:eo,registerSelectionChangeHandler:ei}),[K,ec,eo,ei]);return i.useDebugValue({state:q}),{contextValue:es,dispatch:K,getRootProps:(e={})=>(0,o.Z)({},e,{"aria-activedescendant":"activeDescendant"===n&&null!=Y?s(Y):void 0,onBlur:eu(e),onKeyDown:ea(e),tabIndex:"DOM"===n?-1:0,ref:$}),rootRef:$,state:q}},H=e=>{let{label:t,value:l}=e;return"string"==typeof t?t:"string"==typeof l?l:String(e)},E=l(12247);function F(e,t){var l,r,n;let{open:i}=e,{context:{selectionMode:a}}=t;if(t.type===h.buttonClick){let r=null!=(l=e.selectedValues[0])?l:p(null,"start",t.context);return(0,o.Z)({},e,{open:!i,highlightedValue:i?null:r})}let u=b(e,t);switch(t.type){case g.F.keyDown:if(e.open){if("Escape"===t.event.key||"single"===a&&("Enter"===t.event.key||" "===t.event.key))return(0,o.Z)({},u,{open:!1})}else{if("Enter"===t.event.key||" "===t.event.key||"ArrowDown"===t.event.key)return(0,o.Z)({},e,{open:!0,highlightedValue:null!=(r=e.selectedValues[0])?r:p(null,"start",t.context)});if("ArrowUp"===t.event.key)return(0,o.Z)({},e,{open:!0,highlightedValue:null!=(n=e.selectedValues[0])?n:p(null,"end",t.context)})}break;case g.F.itemClick:if("single"===a)return(0,o.Z)({},u,{open:!1});break;case g.F.blur:return(0,o.Z)({},u,{open:!1})}return u}function N(e,t){return l=>{let r=(0,o.Z)({},l,e(l)),n=(0,o.Z)({},r,t(r));return n}}function T(e){e.preventDefault()}var j=function(e){let t;let{areOptionsEqual:l,buttonRef:r,defaultOpen:n=!1,defaultValue:a,disabled:u=!1,listboxId:s,listboxRef:g,multiple:p=!1,onChange:m,onHighlightChange:b,onOpenChange:S,open:x,options:C,getOptionAsString:Z=H,value:k}=e,y=i.useRef(null),I=(0,c.Z)(r,y),z=i.useRef(null),w=(0,d.Z)(s);void 0===k&&void 0===a?t=[]:void 0!==a&&(t=p?a:null==a?[]:[a]);let R=i.useMemo(()=>{if(void 0!==k)return p?k:null==k?[]:[k]},[k,p]),{subitems:V,contextValue:D}=(0,E.Y)(),M=i.useMemo(()=>null!=C?new Map(C.map((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:i.createRef(),id:`${w}_${t}`}])):V,[C,V,w]),P=(0,c.Z)(g,z),{getRootProps:j,active:B,focusVisible:L,rootRef:$}=(0,v.Z)({disabled:u,rootRef:I}),A=i.useMemo(()=>Array.from(M.keys()),[M]),W=i.useCallback(e=>{if(void 0!==l){let t=A.find(t=>l(t,e));return M.get(t)}return M.get(e)},[M,l,A]),J=i.useCallback(e=>{var t;let l=W(e);return null!=(t=null==l?void 0:l.disabled)&&t},[W]),_=i.useCallback(e=>{let t=W(e);return t?Z(t):""},[W,Z]),U=i.useMemo(()=>({selectedValues:R,open:x}),[R,x]),X=i.useCallback(e=>{var t;return null==(t=M.get(e))?void 0:t.id},[M]),q=i.useCallback((e,t)=>{if(p)null==m||m(e,t);else{var l;null==m||m(e,null!=(l=t[0])?l:null)}},[p,m]),K=i.useCallback((e,t)=>{null==b||b(e,null!=t?t:null)},[b]),Y=i.useCallback((e,t,l)=>{if("open"===t&&(null==S||S(l),!1===l&&(null==e?void 0:e.type)!=="blur")){var r;null==(r=y.current)||r.focus()}},[S]),G={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=t)?e:[],open:n}},getItemId:X,controlledProps:U,itemComparer:l,isItemDisabled:J,rootRef:$,onChange:q,onHighlightChange:K,onStateChange:Y,reducerActionContext:i.useMemo(()=>({multiple:p}),[p]),items:A,getItemAsString:_,selectionMode:p?"multiple":"single",stateReducer:F},{dispatch:Q,getRootProps:ee,contextValue:et,state:{open:el,highlightedValue:er,selectedValues:en},rootRef:eo}=O(G),ei=e=>t=>{var l;if(null==e||null==(l=e.onClick)||l.call(e,t),!t.defaultMuiPrevented){let e={type:h.buttonClick,event:t};Q(e)}};(0,f.Z)(()=>{if(null!=er){var e;let t=null==(e=W(er))?void 0:e.ref;if(!z.current||!(null!=t&&t.current))return;let l=z.current.getBoundingClientRect(),r=t.current.getBoundingClientRect();r.topl.bottom&&(z.current.scrollTop+=r.bottom-l.bottom)}},[er,W]);let ea=i.useCallback(e=>W(e),[W]),eu=(e={})=>(0,o.Z)({},e,{onClick:ei(e),ref:eo,role:"combobox","aria-expanded":el,"aria-controls":w});i.useDebugValue({selectedOptions:en,highlightedOption:er,open:el});let ec=i.useMemo(()=>(0,o.Z)({},et,D),[et,D]);return{buttonActive:B,buttonFocusVisible:L,buttonRef:$,contextValue:ec,disabled:u,dispatch:Q,getButtonProps:(e={})=>{let t=N(j,ee),l=N(t,eu);return l(e)},getListboxProps:(e={})=>(0,o.Z)({},e,{id:w,role:"listbox","aria-multiselectable":p?"true":void 0,ref:P,onMouseDown:T}),getOptionMetadata:ea,listboxRef:eo,open:el,options:A,value:e.multiple?en:en.length>0?en[0]:null,highlightedOption:er}},B=l(26558),L=l(85893);function $(e){let{value:t,children:l}=e,{dispatch:r,getItemIndex:n,getItemState:o,registerHighlightChangeHandler:a,registerSelectionChangeHandler:u,registerItem:c,totalSubitemCount:s}=t,d=i.useMemo(()=>({dispatch:r,getItemState:o,getItemIndex:n,registerHighlightChangeHandler:a,registerSelectionChangeHandler:u}),[r,n,o,a,u]),f=i.useMemo(()=>({getItemIndex:n,registerItem:c,totalSubitemCount:s}),[c,n,s]);return(0,L.jsx)(E.s.Provider,{value:f,children:(0,L.jsx)(B.Z.Provider,{value:d,children:l})})}var A=l(94780),W=l(11772),J=l(51712),_=l(43614),U=l(74312),X=l(20407),q=l(30220),K=l(26821);function Y(e){return(0,K.d6)("MuiSvgIcon",e)}(0,K.sI)("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","fontSizeXl5","fontSizeXl6"]);let G=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","slots","slotProps"],Q=e=>{let{color:t,fontSize:l}=e,r={root:["root",t&&`color${(0,u.Z)(t)}`,l&&`fontSize${(0,u.Z)(l)}`]};return(0,A.Z)(r,Y,{})},ee=(0,U.Z)("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var l;return(0,o.Z)({},t.instanceFontSize&&"inherit"!==t.instanceFontSize&&{"--Icon-fontSize":e.vars.fontSize[t.instanceFontSize]},{userSelect:"none",margin:"var(--Icon-margin)",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},{color:"var(--Icon-color)"},"inherit"!==t.color&&"context"!==t.color&&e.vars.palette[t.color]&&{color:e.vars.palette[t.color].plainColor},"context"===t.color&&{color:null==(l=e.variants.plain)||null==(l=l[t.color])?void 0:l.color})}),et=i.forwardRef(function(e,t){let l=(0,X.Z)({props:e,name:"JoySvgIcon"}),{children:r,className:u,color:c="inherit",component:s="svg",fontSize:d="xl",htmlColor:f,inheritViewBox:v=!1,titleAccess:h,viewBox:g="0 0 24 24",slots:p={},slotProps:m={}}=l,b=(0,n.Z)(l,G),S=i.isValidElement(r)&&"svg"===r.type,x=(0,o.Z)({},l,{color:c,component:s,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:v,viewBox:g,hasSvgAsChild:S}),C=Q(x),Z=(0,o.Z)({},b,{component:s,slots:p,slotProps:m}),[k,y]=(0,q.Z)("root",{ref:t,className:(0,a.Z)(C.root,u),elementType:ee,externalForwardedProps:Z,ownerState:x,additionalProps:(0,o.Z)({color:f,focusable:!1},h&&{role:"img"},!h&&{"aria-hidden":!0},!v&&{viewBox:g},S&&r.props)});return(0,L.jsxs)(k,(0,o.Z)({},y,{children:[S?r.props.children:r,h?(0,L.jsx)("title",{children:h}):null]}))});var el=function(e,t){function l(l,r){return(0,L.jsx)(et,(0,o.Z)({"data-testid":`${t}Icon`,ref:r},l,{children:e}))}return l.muiName=et.muiName,i.memo(i.forwardRef(l))}((0,L.jsx)("path",{d:"m12 5.83 2.46 2.46c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L12.7 3.7a.9959.9959 0 0 0-1.41 0L8.12 6.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 5.83zm0 12.34-2.46-2.46a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l3.17 3.18c.39.39 1.02.39 1.41 0l3.17-3.17c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0L12 18.17z"}),"Unfold"),er=l(78653);function en(e){return(0,K.d6)("MuiSelect",e)}let eo=(0,K.sI)("MuiSelect",["root","button","indicator","startDecorator","endDecorator","popper","listbox","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","focusVisible","disabled","expanded"]);var ei=l(76043);let ea=["action","autoFocus","children","defaultValue","defaultListboxOpen","disabled","getSerializedValue","placeholder","listboxId","listboxOpen","onChange","onListboxOpenChange","onClose","renderValue","value","size","variant","color","startDecorator","endDecorator","indicator","aria-describedby","aria-label","aria-labelledby","id","name","slots","slotProps"];function eu(e){var t;return null!=(t=null==e?void 0:e.label)?t:""}function ec(e){return(null==e?void 0:e.value)==null?"":"string"==typeof e.value||"number"==typeof e.value?e.value:JSON.stringify(e.value)}let es=[{name:"offset",options:{offset:[0,4]}},{name:"equalWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`}}],ed=e=>{let{color:t,disabled:l,focusVisible:r,size:n,variant:o,open:i}=e,a={root:["root",l&&"disabled",r&&"focusVisible",i&&"expanded",o&&`variant${(0,u.Z)(o)}`,t&&`color${(0,u.Z)(t)}`,n&&`size${(0,u.Z)(n)}`],button:["button"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],indicator:["indicator",i&&"expanded"],listbox:["listbox",i&&"expanded",l&&"disabled"]};return(0,A.Z)(a,en,{})},ef=(0,U.Z)("div",{name:"JoySelect",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var l,r,n,i;let a=null==(l=e.variants[`${t.variant}`])?void 0:l[t.color];return[(0,o.Z)({"--Select-radius":e.vars.radius.sm,"--Select-gap":"0.5rem","--Select-placeholderOpacity":.5,"--Select-focusedThickness":e.vars.focus.thickness},"context"===t.color?{"--Select-focusedHighlight":e.vars.palette.focusVisible}:{"--Select-focusedHighlight":null==(r=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:r[500]},{"--Select-indicatorColor":null!=a&&a.backgroundColor?null==a?void 0:a.color:e.vars.palette.text.tertiary},"sm"===t.size&&{"--Select-minHeight":"2rem","--Select-paddingInline":"0.5rem","--Select-decoratorChildHeight":"min(1.5rem, var(--Select-minHeight))","--Icon-fontSize":"1.25rem"},"md"===t.size&&{"--Select-minHeight":"2.5rem","--Select-paddingInline":"0.75rem","--Select-decoratorChildHeight":"min(2rem, var(--Select-minHeight))","--Icon-fontSize":"1.5rem"},"lg"===t.size&&{"--Select-minHeight":"3rem","--Select-paddingInline":"1rem","--Select-decoratorChildHeight":"min(2.375rem, var(--Select-minHeight))","--Icon-fontSize":"1.75rem"},{"--Select-decoratorChildOffset":"min(calc(var(--Select-paddingInline) - (var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2), var(--Select-paddingInline))","--_Select-paddingBlock":"max((var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2, 0px)","--Select-decoratorChildRadius":"max(var(--Select-radius) - var(--variant-borderWidth, 0px) - var(--_Select-paddingBlock), min(var(--_Select-paddingBlock) + var(--variant-borderWidth, 0px), var(--Select-radius) / 2))","--Button-minHeight":"var(--Select-decoratorChildHeight)","--IconButton-size":"var(--Select-decoratorChildHeight)","--Button-radius":"var(--Select-decoratorChildRadius)","--IconButton-radius":"var(--Select-decoratorChildRadius)",boxSizing:"border-box",minWidth:0,minHeight:"var(--Select-minHeight)",position:"relative",display:"flex",alignItems:"center",borderRadius:"var(--Select-radius)",cursor:"pointer"},!(null!=a&&a.backgroundColor)&&{backgroundColor:e.vars.palette.background.surface},t.size&&{paddingBlock:({sm:2,md:3,lg:4})[t.size]},{paddingInline:"var(--Select-paddingInline)",fontFamily:e.vars.fontFamily.body,fontSize:e.vars.fontSize.md},"sm"===t.size&&{fontSize:e.vars.fontSize.sm},{"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)"},[`&.${eo.focusVisible}`]:{"--Select-indicatorColor":null==a?void 0:a.color,"&::before":{boxShadow:"inset 0 0 0 var(--Select-focusedThickness) var(--Select-focusedHighlight)"}},[`&.${eo.disabled}`]:{"--Select-indicatorColor":"inherit"}}),(0,o.Z)({},a,{"&:hover":null==(n=e.variants[`${t.variant}Hover`])?void 0:n[t.color],[`&.${eo.disabled}`]:null==(i=e.variants[`${t.variant}Disabled`])?void 0:i[t.color]})]}),ev=(0,U.Z)("button",{name:"JoySelect",slot:"Button",overridesResolver:(e,t)=>t.button})(({ownerState:e})=>(0,o.Z)({border:0,outline:0,background:"none",padding:0,fontSize:"inherit",color:"inherit",alignSelf:"stretch",display:"flex",alignItems:"center",flex:1,fontFamily:"inherit",cursor:"pointer",whiteSpace:"nowrap",overflow:"hidden"},(null===e.value||void 0===e.value)&&{opacity:"var(--Select-placeholderOpacity)"},{"&::before":{content:'""',display:"block",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))",right:"calc(-1 * var(--variant-borderWidth, 0px))",bottom:"calc(-1 * var(--variant-borderWidth, 0px))",borderRadius:"var(--Select-radius)"}})),eh=(0,U.Z)(W.C,{name:"JoySelect",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e,ownerState:t})=>{var l;let r="context"===t.color?void 0:null==(l=e.variants[t.variant])?void 0:l[t.color];return(0,o.Z)({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--List-radius":e.vars.radius.sm,"--ListItem-stickyBackground":(null==r?void 0:r.backgroundColor)||(null==r?void 0:r.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},J.M,{minWidth:"max-content",maxHeight:"44vh",overflow:"auto",outline:0,boxShadow:e.shadow.md,zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`},!(null!=r&&r.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup})}),eg=(0,U.Z)("span",{name:"JoySelect",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})(({theme:e,ownerState:t})=>(0,o.Z)({"--Button-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Select-paddingInline) / -4)",display:"inherit",alignItems:"center",marginInlineEnd:"var(--Select-gap)",color:e.vars.palette.text.tertiary},t.focusVisible&&{color:"var(--Select-focusedHighlight)"})),ep=(0,U.Z)("span",{name:"JoySelect",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})(({theme:e,ownerState:t})=>{var l;let r=null==(l=e.variants[t.variant])?void 0:l[t.color];return{"--Button-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Select-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",marginInlineStart:"var(--Select-gap)",color:null==r?void 0:r.color}}),em=(0,U.Z)("span",{name:"JoySelect",slot:"Indicator"})(({ownerState:e})=>(0,o.Z)({},"sm"===e.size&&{"--Icon-fontSize":"1.125rem"},"md"===e.size&&{"--Icon-fontSize":"1.25rem"},"lg"===e.size&&{"--Icon-fontSize":"1.5rem"},{color:"var(--Select-indicatorColor)",display:"inherit",alignItems:"center",marginInlineStart:"var(--Select-gap)",marginInlineEnd:"calc(var(--Select-paddingInline) / -4)",[`.${eo.endDecorator} + &`]:{marginInlineStart:"calc(var(--Select-gap) / 2)"}})),eb=i.forwardRef(function(e,t){var l,u,d,f,v,h,g;let p=(0,X.Z)({props:e,name:"JoySelect"}),{action:m,autoFocus:b,children:S,defaultValue:x,defaultListboxOpen:C=!1,disabled:Z,getSerializedValue:k=ec,placeholder:y,listboxId:I,listboxOpen:z,onChange:w,onListboxOpenChange:R,onClose:V,renderValue:D,value:M,size:P="md",variant:O="outlined",color:H="neutral",startDecorator:E,endDecorator:F,indicator:N=r||(r=(0,L.jsx)(el,{})),"aria-describedby":T,"aria-label":B,"aria-labelledby":A,id:W,name:U,slots:K={},slotProps:Y={}}=p,G=(0,n.Z)(p,ea),Q=i.useContext(ei.Z),ee=null!=(l=null!=(u=e.disabled)?u:null==Q?void 0:Q.disabled)?l:Z,et=null!=(d=null!=(f=e.size)?f:null==Q?void 0:Q.size)?d:P,{getColor:en}=(0,er.VT)(O),eb=en(e.color,null!=Q&&Q.error?"danger":null!=(v=null==Q?void 0:Q.color)?v:H),eS=null!=D?D:eu,[ex,eC]=i.useState(null),eZ=i.useRef(null),ek=i.useRef(null),ey=i.useRef(null),eI=(0,c.Z)(t,eZ);i.useImperativeHandle(m,()=>({focusVisible:()=>{var e;null==(e=ek.current)||e.focus()}}),[]),i.useEffect(()=>{eC(eZ.current)},[]),i.useEffect(()=>{b&&ek.current.focus()},[b]);let ez=i.useCallback(e=>{null==R||R(e),e||null==V||V()},[V,R]),{buttonActive:ew,buttonFocusVisible:eR,contextValue:eV,disabled:eD,getButtonProps:eM,getListboxProps:eP,getOptionMetadata:eO,open:eH,value:eE}=j({buttonRef:ek,defaultOpen:C,defaultValue:x,disabled:ee,listboxId:I,multiple:!1,onChange:w,onOpenChange:ez,open:z,value:M}),eF=(0,o.Z)({},p,{active:ew,defaultListboxOpen:C,disabled:eD,focusVisible:eR,open:eH,renderValue:eS,value:eE,size:et,variant:O,color:eb}),eN=ed(eF),eT=(0,o.Z)({},G,{slots:K,slotProps:Y}),ej=i.useMemo(()=>{var e;return null!=(e=eO(eE))?e:null},[eO,eE]),[eB,eL]=(0,q.Z)("root",{ref:eI,className:eN.root,elementType:ef,externalForwardedProps:eT,ownerState:eF}),[e$,eA]=(0,q.Z)("button",{additionalProps:{"aria-describedby":null!=T?T:null==Q?void 0:Q["aria-describedby"],"aria-label":B,"aria-labelledby":null!=A?A:null==Q?void 0:Q.labelId,id:null!=W?W:null==Q?void 0:Q.htmlFor,name:U},className:eN.button,elementType:ev,externalForwardedProps:eT,getSlotProps:eM,ownerState:eF}),[eW,eJ]=(0,q.Z)("listbox",{additionalProps:{ref:ey,anchorEl:ex,open:eH,placement:"bottom",keepMounted:!0},className:eN.listbox,elementType:eh,externalForwardedProps:eT,getSlotProps:eP,ownerState:(0,o.Z)({},eF,{nesting:!1,row:!1,wrap:!1}),getSlotOwnerState:e=>({size:e.size||et,variant:e.variant||"outlined",color:e.color||"neutral",disableColorInversion:!e.disablePortal})}),[e_,eU]=(0,q.Z)("startDecorator",{className:eN.startDecorator,elementType:eg,externalForwardedProps:eT,ownerState:eF}),[eX,eq]=(0,q.Z)("endDecorator",{className:eN.endDecorator,elementType:ep,externalForwardedProps:eT,ownerState:eF}),[eK,eY]=(0,q.Z)("indicator",{className:eN.indicator,elementType:em,externalForwardedProps:eT,ownerState:eF}),eG=i.useMemo(()=>(0,o.Z)({},eV,{color:eb}),[eb,eV]),eQ=i.useMemo(()=>[...es,...eJ.modifiers||[]],[eJ.modifiers]),e0=null;return ex&&(e0=(0,L.jsx)(eW,(0,o.Z)({},eJ,{className:(0,a.Z)(eJ.className,(null==(h=eJ.ownerState)?void 0:h.color)==="context"&&eo.colorContext),modifiers:eQ},!(null!=(g=p.slots)&&g.listbox)&&{as:s.Z,slots:{root:eJ.as||"ul"}},{children:(0,L.jsx)($,{value:eG,children:(0,L.jsx)(_.Z.Provider,{value:"select",children:(0,L.jsx)(J.Z,{nested:!0,children:S})})})})),eJ.disablePortal||(e0=(0,L.jsx)(er.ZP.Provider,{value:void 0,children:e0}))),(0,L.jsxs)(i.Fragment,{children:[(0,L.jsxs)(eB,(0,o.Z)({},eL,{children:[E&&(0,L.jsx)(e_,(0,o.Z)({},eU,{children:E})),(0,L.jsx)(e$,(0,o.Z)({},eA,{children:ej?eS(ej):y})),F&&(0,L.jsx)(eX,(0,o.Z)({},eq,{children:F})),N&&(0,L.jsx)(eK,(0,o.Z)({},eY,{children:N}))]})),e0,U&&(0,L.jsx)("input",{type:"hidden",name:U,value:k(ej)})]})});var eS=eb}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/660234b6.5cc5476179a39208.js b/pilot/server/static/_next/static/chunks/660234b6.5cc5476179a39208.js deleted file mode 100644 index 7f5b78a1c..000000000 --- a/pilot/server/static/_next/static/chunks/660234b6.5cc5476179a39208.js +++ /dev/null @@ -1,12 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[579],{63012:function(t,e,n){var r,i;window,t.exports=(r=n(95403),i=n(73935),function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e||4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,(function(e){return t[e]}).bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=646)}([function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Cache",{enumerable:!0,get:function(){return t4.default}}),Object.defineProperty(e,"assign",{enumerable:!0,get:function(){return tH.default}}),Object.defineProperty(e,"augment",{enumerable:!0,get:function(){return tj.default}}),Object.defineProperty(e,"clamp",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"clearAnimationFrame",{enumerable:!0,get:function(){return tI.default}}),Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return tF.default}}),Object.defineProperty(e,"contains",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return tL.default}}),Object.defineProperty(e,"deepMix",{enumerable:!0,get:function(){return tk.default}}),Object.defineProperty(e,"difference",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"each",{enumerable:!0,get:function(){return tR.default}}),Object.defineProperty(e,"endsWith",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"every",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"extend",{enumerable:!0,get:function(){return tN.default}}),Object.defineProperty(e,"filter",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"find",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"findIndex",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"firstValue",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"fixedBase",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"flatten",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"flattenDeep",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"forIn",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"get",{enumerable:!0,get:function(){return tX.default}}),Object.defineProperty(e,"getEllipsisText",{enumerable:!0,get:function(){return t5.default}}),Object.defineProperty(e,"getRange",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"getType",{enumerable:!0,get:function(){return tu.default}}),Object.defineProperty(e,"getWrapBehavior",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"group",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"groupBy",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"groupToMap",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"has",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"hasKey",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"hasValue",{enumerable:!0,get:function(){return tt.default}}),Object.defineProperty(e,"head",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"identity",{enumerable:!0,get:function(){return t1.default}}),Object.defineProperty(e,"includes",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"indexOf",{enumerable:!0,get:function(){return tB.default}}),Object.defineProperty(e,"isArguments",{enumerable:!0,get:function(){return tc.default}}),Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return tf.default}}),Object.defineProperty(e,"isArrayLike",{enumerable:!0,get:function(){return td.default}}),Object.defineProperty(e,"isBoolean",{enumerable:!0,get:function(){return tp.default}}),Object.defineProperty(e,"isDate",{enumerable:!0,get:function(){return th.default}}),Object.defineProperty(e,"isDecimal",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"isElement",{enumerable:!0,get:function(){return tC.default}}),Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return tG.default}}),Object.defineProperty(e,"isEqual",{enumerable:!0,get:function(){return tV.default}}),Object.defineProperty(e,"isEqualWith",{enumerable:!0,get:function(){return tz.default}}),Object.defineProperty(e,"isError",{enumerable:!0,get:function(){return tg.default}}),Object.defineProperty(e,"isEven",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"isFinite",{enumerable:!0,get:function(){return ty.default}}),Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return tv.default}}),Object.defineProperty(e,"isInteger",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"isMatch",{enumerable:!0,get:function(){return tn.default}}),Object.defineProperty(e,"isNegative",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return tm.default}}),Object.defineProperty(e,"isNull",{enumerable:!0,get:function(){return tb.default}}),Object.defineProperty(e,"isNumber",{enumerable:!0,get:function(){return tx.default}}),Object.defineProperty(e,"isNumberEqual",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return t_.default}}),Object.defineProperty(e,"isObjectLike",{enumerable:!0,get:function(){return tO.default}}),Object.defineProperty(e,"isOdd",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"isPlainObject",{enumerable:!0,get:function(){return tP.default}}),Object.defineProperty(e,"isPositive",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"isPrototype",{enumerable:!0,get:function(){return tM.default}}),Object.defineProperty(e,"isRegExp",{enumerable:!0,get:function(){return tA.default}}),Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return tS.default}}),Object.defineProperty(e,"isType",{enumerable:!0,get:function(){return tw.default}}),Object.defineProperty(e,"isUndefined",{enumerable:!0,get:function(){return tE.default}}),Object.defineProperty(e,"keys",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"last",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"lowerCase",{enumerable:!0,get:function(){return ti.default}}),Object.defineProperty(e,"lowerFirst",{enumerable:!0,get:function(){return ta.default}}),Object.defineProperty(e,"map",{enumerable:!0,get:function(){return tW.default}}),Object.defineProperty(e,"mapValues",{enumerable:!0,get:function(){return tY.default}}),Object.defineProperty(e,"max",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"maxBy",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"measureTextWidth",{enumerable:!0,get:function(){return t3.default}}),Object.defineProperty(e,"memoize",{enumerable:!0,get:function(){return tD.default}}),Object.defineProperty(e,"min",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"minBy",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(e,"mix",{enumerable:!0,get:function(){return tH.default}}),Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return t0.default}}),Object.defineProperty(e,"number2color",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return tZ.default}}),Object.defineProperty(e,"parseRadius",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return tq.default}}),Object.defineProperty(e,"pull",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"pullAt",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"reduce",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"remove",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"requestAnimationFrame",{enumerable:!0,get:function(){return tT.default}}),Object.defineProperty(e,"set",{enumerable:!0,get:function(){return tU.default}}),Object.defineProperty(e,"size",{enumerable:!0,get:function(){return t2.default}}),Object.defineProperty(e,"some",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"sortBy",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"startsWith",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"substitute",{enumerable:!0,get:function(){return to.default}}),Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return tK.default}}),Object.defineProperty(e,"toArray",{enumerable:!0,get:function(){return t$.default}}),Object.defineProperty(e,"toDegree",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"toInteger",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"toRadian",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"toString",{enumerable:!0,get:function(){return tQ.default}}),Object.defineProperty(e,"union",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"uniq",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"uniqueId",{enumerable:!0,get:function(){return tJ.default}}),Object.defineProperty(e,"upperCase",{enumerable:!0,get:function(){return ts.default}}),Object.defineProperty(e,"upperFirst",{enumerable:!0,get:function(){return tl.default}}),Object.defineProperty(e,"values",{enumerable:!0,get:function(){return tr.default}}),Object.defineProperty(e,"valuesOfKey",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"wrapBehavior",{enumerable:!0,get:function(){return I.default}});var i=r(n(238)),a=r(n(655)),o=r(n(656)),s=r(n(657)),l=r(n(658)),u=r(n(659)),c=r(n(660)),f=r(n(661)),d=r(n(662)),p=r(n(376)),h=r(n(377)),g=r(n(663)),v=r(n(664)),y=r(n(665)),m=r(n(378)),b=r(n(666)),x=r(n(667)),_=r(n(668)),O=r(n(669)),P=r(n(670)),M=r(n(371)),A=r(n(671)),S=r(n(672)),w=r(n(673)),E=r(n(380)),C=r(n(379)),T=r(n(674)),I=r(n(675)),j=r(n(676)),F=r(n(677)),L=r(n(678)),D=r(n(679)),k=r(n(680)),R=r(n(681)),N=r(n(682)),B=r(n(683)),G=r(n(684)),V=r(n(685)),z=r(n(686)),W=r(n(374)),Y=r(n(687)),H=r(n(375)),X=r(n(688)),U=r(n(689)),q=r(n(690)),Z=r(n(691)),K=r(n(692)),$=r(n(693)),Q=r(n(381)),J=r(n(694)),tt=r(n(695)),te=r(n(373)),tn=r(n(372)),tr=r(n(240)),ti=r(n(696)),ta=r(n(697)),to=r(n(698)),ts=r(n(699)),tl=r(n(700)),tu=r(n(382)),tc=r(n(701)),tf=r(n(36)),td=r(n(56)),tp=r(n(702)),th=r(n(703)),tg=r(n(704)),tv=r(n(57)),ty=r(n(705)),tm=r(n(95)),tb=r(n(706)),tx=r(n(86)),t_=r(n(169)),tO=r(n(239)),tP=r(n(138)),tM=r(n(383)),tA=r(n(707)),tS=r(n(85)),tw=r(n(68)),tE=r(n(708)),tC=r(n(709)),tT=r(n(710)),tI=r(n(711)),tj=r(n(712)),tF=r(n(713)),tL=r(n(714)),tD=r(n(384)),tk=r(n(715)),tR=r(n(107)),tN=r(n(716)),tB=r(n(717)),tG=r(n(718)),tV=r(n(385)),tz=r(n(719)),tW=r(n(720)),tY=r(n(721)),tH=r(n(241)),tX=r(n(722)),tU=r(n(723)),tq=r(n(724)),tZ=r(n(725)),tK=r(n(726)),t$=r(n(727)),tQ=r(n(108)),tJ=r(n(728)),t0=r(n(729)),t1=r(n(730)),t2=r(n(731)),t3=r(n(386)),t5=r(n(732)),t4=r(n(733))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.__assign=void 0,e.__asyncDelegator=function(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:c(t[r](e)),done:"return"===r}:i?i(e):e}:i}},e.__asyncGenerator=function(t,e,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(t){i[t]&&(r[t]=function(e){return new Promise(function(n,r){a.push([t,e,n,r])>1||s(t,e)})})}function s(t,e){try{var n;(n=i[t](e)).value instanceof c?Promise.resolve(n.value.v).then(l,u):f(a[0][2],n)}catch(t){f(a[0][3],t)}}function l(t){s("next",t)}function u(t){s("throw",t)}function f(t,e){t(e),a.shift(),a.length&&s(a[0][0],a[0][1])}},e.__asyncValues=function(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=l(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){(function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)})(r,i,(e=t[n](e)).done,e.value)})}}},e.__await=c,e.__awaiter=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{l(r.next(t))}catch(t){a(t)}}function s(t){try{l(r.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,s)}l((r=r.apply(t,e||[])).next())})},e.__classPrivateFieldGet=function(t,e,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)},e.__classPrivateFieldIn=function(t,e){if(null===e||"object"!==(0,i.default)(e)&&"function"!=typeof e)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)},e.__classPrivateFieldSet=function(t,e,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n},e.__createBinding=void 0,e.__decorate=function(t,e,n,r){var a,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if(("undefined"==typeof Reflect?"undefined":(0,i.default)(Reflect))==="object"&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(o<3?a(s):o>3?a(e,n,s):a(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},e.__exportStar=function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||s(e,t,n)},e.__extends=function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},e.__generator=function(t,e){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},e.__spread=function(){for(var t=[],e=0;e=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function c(t){return this instanceof c?(this.v=t,this):new c(t)}e.__createBinding=s;var f=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}},function(t,e,n){"use strict";t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=r},function(t,e,n){"use strict";var r=n(364),i=n(368),a=n(369),o=n(370),s=n(654),l=i.apply(o()),u=function(t,e){return l(Object,arguments)};r(u,{getPolyfill:o,implementation:a,shim:s}),t.exports=u},function(t,e,n){"use strict";function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={flow:!0,pick:!0,template:!0,log:!0,invariant:!0,LEVEL:!0,getContainerSize:!0,findViewById:!0,getViews:!0,getSiblingViews:!0,transformLabel:!0,getSplinePath:!0,deepAssign:!0,kebabCase:!0,renderStatistic:!0,renderGaugeStatistic:!0,measureTextWidth:!0,isBetween:!0,isRealNumber:!0};Object.defineProperty(e,"LEVEL",{enumerable:!0,get:function(){return s.LEVEL}}),Object.defineProperty(e,"deepAssign",{enumerable:!0,get:function(){return p.deepAssign}}),Object.defineProperty(e,"findViewById",{enumerable:!0,get:function(){return c.findViewById}}),Object.defineProperty(e,"flow",{enumerable:!0,get:function(){return i.flow}}),Object.defineProperty(e,"getContainerSize",{enumerable:!0,get:function(){return l.getContainerSize}}),Object.defineProperty(e,"getSiblingViews",{enumerable:!0,get:function(){return c.getSiblingViews}}),Object.defineProperty(e,"getSplinePath",{enumerable:!0,get:function(){return d.getSplinePath}}),Object.defineProperty(e,"getViews",{enumerable:!0,get:function(){return c.getViews}}),Object.defineProperty(e,"invariant",{enumerable:!0,get:function(){return s.invariant}}),Object.defineProperty(e,"isBetween",{enumerable:!0,get:function(){return y.isBetween}}),Object.defineProperty(e,"isRealNumber",{enumerable:!0,get:function(){return y.isRealNumber}}),Object.defineProperty(e,"kebabCase",{enumerable:!0,get:function(){return h.kebabCase}}),Object.defineProperty(e,"log",{enumerable:!0,get:function(){return s.log}}),Object.defineProperty(e,"measureTextWidth",{enumerable:!0,get:function(){return v.measureTextWidth}}),Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return a.pick}}),Object.defineProperty(e,"renderGaugeStatistic",{enumerable:!0,get:function(){return g.renderGaugeStatistic}}),Object.defineProperty(e,"renderStatistic",{enumerable:!0,get:function(){return g.renderStatistic}}),Object.defineProperty(e,"template",{enumerable:!0,get:function(){return o.template}}),Object.defineProperty(e,"transformLabel",{enumerable:!0,get:function(){return f.transformLabel}});var i=n(1160),a=n(538),o=n(1161),s=n(539),l=n(1162),u=n(1163);Object.keys(u).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(r,t))&&(t in e&&e[t]===u[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var c=n(540),f=n(1164),d=n(1165),p=n(541),h=n(1166),g=n(542),v=n(1167),y=n(302),m=n(197);Object.keys(m).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(r,t))&&(t in e&&e[t]===m[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return m[t]}}))});var b=n(121);Object.keys(b).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(r,t))&&(t in e&&e[t]===b[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return b[t]}}))})},function(t,e,n){"use strict";n.r(e),n.d(e,"VERSION",function(){return f});var r=n(235),i=n(619),a=n(25),o=n(66);n.d(e,"registerScale",function(){return o.registerScale}),n.d(e,"getScale",function(){return o.getScale}),n.d(e,"registerTickMethod",function(){return o.registerTickMethod});var s=n(187);n.d(e,"setGlobal",function(){return s.setGlobal}),n.d(e,"GLOBAL",function(){return s.GLOBAL}),n(1318),n(950);var l=n(459);for(var u in n.d(e,"createThemeByStyleSheet",function(){return l.c}),n.d(e,"antvLight",function(){return l.b}),n.d(e,"antvDark",function(){return l.a}),a)0>["default","registerScale","getScale","registerTickMethod","setGlobal","GLOBAL","VERSION","setDefaultErrorFallback","createThemeByStyleSheet","antvLight","antvDark"].indexOf(u)&&function(t){n.d(e,t,function(){return a[t]})}(u);var c=n(67);n.d(e,"setDefaultErrorFallback",function(){return c.c}),Object(a.registerEngine)("canvas",r),Object(a.registerEngine)("svg",i);var f="4.1.22",d=r.Canvas.prototype.getPointByClient;r.Canvas.prototype.getPointByClient=function(t,e){var n=d.call(this,t,e),r=this.get("el").getBoundingClientRect(),i=this.get("width"),a=this.get("height"),o=r.width,s=r.height;return{x:n.x/(o/i),y:n.y/(s/a)}}},function(t,e,n){"use strict";t.exports=function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";function r(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return{width:Object(D.isNumber)(e.width)?e.width:t.clientWidth,height:Object(D.isNumber)(e.height)?e.height:t.clientHeight}}var R=n(16),N=function t(e,n){if(Object(D.isObject)(e)&&Object(D.isObject)(n)){var r=Object.keys(e),i=Object.keys(n);if(r.length!==i.length)return!1;for(var a=!0,o=0;oe.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};Object(V.registerLocale)("en-US",z.EN_US_LOCALE),Object(V.registerLocale)("zh-CN",W.ZH_CN_LOCALE);var H=x.a.createElement("div",{style:{position:"absolute",top:"48%",left:"50%",color:"#aaa",textAlign:"center"}},"暂无数据"),X={padding:"8px 24px 10px 10px",fontFamily:"PingFang SC",fontSize:12,color:"grey",textAlign:"left",lineHeight:"16px"},U={padding:"10px 0 0 10px",fontFamily:"PingFang SC",fontSize:18,color:"black",textAlign:"left",lineHeight:"20px"},q=function(t){h()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=m()(r);if(e){var i=m()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return v()(this,t)});function r(){var t;return c()(this,r),t=n.apply(this,arguments),t._context={chart:null},t}return d()(r,[{key:"componentDidMount",value:function(){this.props.children&&this.g2Instance.chart&&this.g2Instance.chart.render(),Object(R.b)(this.g2Instance,{},this.props),this.g2Instance.data=this.props.data,this.preConfig=Object(j.a)(Object(I.a)(this.props,[].concat(l()(F.a),["container","PlotClass","onGetG2Instance","data"])))}},{key:"componentDidUpdate",value:function(t){this.props.children&&this.g2Instance.chart&&this.g2Instance.chart.render(),Object(R.b)(this.g2Instance,t,this.props)}},{key:"componentWillUnmount",value:function(){var t=this;this.g2Instance&&setTimeout(function(){t.g2Instance.destroy(),t.g2Instance=null,t._context.chart=null},0)}},{key:"getG2Instance",value:function(){return this.g2Instance}},{key:"getChartView",value:function(){return this.g2Instance.chart}},{key:"checkInstanceReady",value:function(){var t=Object(I.a)(this.props,[].concat(l()(F.a),["container","PlotClass","onGetG2Instance","data"]));this.g2Instance?this.shouldReCreate()?(this.g2Instance.destroy(),this.initInstance(),this.g2Instance.render()):this.diffConfig()?this.g2Instance.update(o()(o()({},t),{data:this.props.data})):this.diffData()&&this.g2Instance.changeData(this.props.data):(this.initInstance(),this.g2Instance.render()),this.preConfig=Object(j.a)(t),this.g2Instance.data=this.props.data}},{key:"initInstance",value:function(){var t=this.props,e=t.container,n=t.PlotClass,r=t.onGetG2Instance,i=(t.children,Y(t,["container","PlotClass","onGetG2Instance","children"]));this.g2Instance=new n(e,i),this._context.chart=this.g2Instance,M()(r)&&r(this.g2Instance)}},{key:"diffConfig",value:function(){return!N(this.preConfig||{},Object(I.a)(this.props,[].concat(l()(F.a),["container","PlotClass","onGetG2Instance","data"])))}},{key:"diffData",value:function(){var t=this.g2Instance.data,e=this.props.data;if(!Object(D.isArray)(t)||!Object(D.isArray)(e))return!t===e;if(t.length!==e.length)return!0;var n=!0;return t.forEach(function(t,r){Object(T.a)(t,e[r])||(n=!1)}),!n}},{key:"shouldReCreate",value:function(){return!!this.props.forceUpdate}},{key:"render",value:function(){this.checkInstanceReady();var t=this.getChartView();return x.a.createElement(w.a.Provider,{value:this._context},x.a.createElement(E.a.Provider,{value:t},x.a.createElement("div",{key:O()("plot-chart")},this.props.children)))}}]),r}(x.a.Component),Z=Object(A.a)(q);e.a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(t){return t},r=x.a.forwardRef(function(e,r){var a=e.title,s=e.description,l=e.autoFit,u=e.forceFit,c=e.errorContent,f=void 0===c?S.a:c,d=e.containerStyle,p=e.containerProps,h=e.placeholder,g=e.ErrorBoundaryProps,v=e.isMaterial,y=n(Y(e,["title","description","autoFit","forceFit","errorContent","containerStyle","containerProps","placeholder","ErrorBoundaryProps","isMaterial"])),m=Object(b.useRef)(),_=Object(b.useRef)(),O=Object(b.useRef)(),P=Object(b.useState)(0),M=i()(P,2),A=M[0],w=M[1],E=Object(b.useRef)(),T=Object(b.useCallback)(function(){if(m.current){var t=k(m.current,e),n=_.current?k(_.current):{width:0,height:0},r=O.current?k(O.current):{width:0,height:0},i=t.height-n.height-r.height;0===i&&(i=350),i<20&&(i=20),Math.abs(A-i)>1&&w(i)}},[m.current,_.current,A,O.current]),I=Object(b.useCallback)(Object(D.debounce)(T,500),[T]),j=x.a.isValidElement(f)?function(){return f}:f;if(h&&!y.data){var F=!0===h?H:h;return x.a.createElement(S.b,o()({FallbackComponent:j},g),x.a.createElement("div",{style:{width:e.width||"100%",height:e.height||400,textAlign:"center",position:"relative"}},F))}var N=Object(C.a)(a,!1),B=Object(C.a)(s,!1),V=o()(o()({},U),N.style),z=o()(o()(o()({},X),B.style),{top:V.height}),W=void 0!==u?u:void 0===l||l;return Object(D.isNil)(u)||G()(!1,"请使用autoFit替代forceFit"),Object(b.useEffect)(function(){return W?m.current?(T(),E.current=new L.ResizeObserver(I),E.current.observe(m.current)):w(0):m.current&&(T(),E.current&&E.current.unobserve(m.current)),function(){E.current&&m.current&&E.current.unobserve(m.current)}},[m.current,W]),x.a.createElement(S.b,o()({FallbackComponent:j},g),x.a.createElement("div",o()({ref:function(t){m.current=t,v&&(Object(D.isFunction)(r)?r(t):r&&(r.current=t))},className:"bizcharts-plot"},p,{style:{position:"relative",height:e.height||"100%",width:e.width||"100%"}}),N.visible&&x.a.createElement("div",o()({ref:_},Object(R.d)(y),{className:"bizcharts-plot-title",style:V}),N.text),B.visible&&x.a.createElement("div",o()({ref:O},Object(R.a)(y),{className:"bizcharts-plot-description",style:z}),B.text),!!A&&x.a.createElement(Z,o()({appendPadding:[10,5,10,10],autoFit:W,ref:v?void 0:r},y,{PlotClass:t,containerStyle:o()(o()({},d),{height:A})}))))});return r.displayName=e||t.name,r}},function(t,e,n){"use strict";var r=n(734);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(6).default,i=n(735);t.exports=function(t,e){if(e&&("object"===r(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return i(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ELEMENT_RANGE_HIGHLIGHT_EVENTS=e.BRUSH_FILTER_EVENTS=e.VIEW_LIFE_CIRCLE=void 0;var r=n(1),i=n(25),a=n(206),o=n(106);(0,i.registerTheme)("dark",(0,o.createThemeByStyleSheet)(a.antvDark));var s=(0,r.__importStar)(n(205)),l=(0,r.__importStar)(n(324)),u=n(25);(0,u.registerEngine)("canvas",s),(0,u.registerEngine)("svg",l);var c=n(25),f=(0,r.__importDefault)(n(325)),d=(0,r.__importDefault)(n(326)),p=(0,r.__importDefault)(n(327)),h=(0,r.__importDefault)(n(328)),g=(0,r.__importDefault)(n(329)),v=(0,r.__importDefault)(n(158)),y=(0,r.__importDefault)(n(330)),m=(0,r.__importDefault)(n(331)),b=(0,r.__importDefault)(n(332)),x=(0,r.__importDefault)(n(989));(0,c.registerGeometry)("Polygon",m.default),(0,c.registerGeometry)("Interval",h.default),(0,c.registerGeometry)("Schema",b.default),(0,c.registerGeometry)("Path",v.default),(0,c.registerGeometry)("Point",y.default),(0,c.registerGeometry)("Line",g.default),(0,c.registerGeometry)("Area",f.default),(0,c.registerGeometry)("Edge",d.default),(0,c.registerGeometry)("Heatmap",p.default),(0,c.registerGeometry)("Violin",x.default),n(991),n(992),n(993),n(994),n(995),n(996),n(465),n(466),n(467),n(468),n(469),n(281),n(470),n(471),n(472),n(473),n(474),n(475),n(997),n(998);var _=n(25),O=(0,r.__importDefault)(n(100)),P=(0,r.__importDefault)(n(163)),M=(0,r.__importDefault)(n(164)),A=(0,r.__importDefault)(n(214));(0,_.registerGeometryLabel)("base",O.default),(0,_.registerGeometryLabel)("interval",P.default),(0,_.registerGeometryLabel)("pie",M.default),(0,_.registerGeometryLabel)("polar",A.default);var S=n(25),w=n(333),E=n(999),C=n(1e3),T=n(334),I=n(335),j=n(225),F=n(1001),L=n(1003),D=n(1005),k=n(1006),R=n(1007),N=n(1008),B=n(1009);(0,S.registerGeometryLabelLayout)("overlap",j.overlap),(0,S.registerGeometryLabelLayout)("distribute",w.distribute),(0,S.registerGeometryLabelLayout)("fixed-overlap",j.fixedOverlap),(0,S.registerGeometryLabelLayout)("hide-overlap",F.hideOverlap),(0,S.registerGeometryLabelLayout)("limit-in-shape",I.limitInShape),(0,S.registerGeometryLabelLayout)("limit-in-canvas",T.limitInCanvas),(0,S.registerGeometryLabelLayout)("limit-in-plot",B.limitInPlot),(0,S.registerGeometryLabelLayout)("pie-outer",E.pieOuterLabelLayout),(0,S.registerGeometryLabelLayout)("adjust-color",L.adjustColor),(0,S.registerGeometryLabelLayout)("interval-adjust-position",D.intervalAdjustPosition),(0,S.registerGeometryLabelLayout)("interval-hide-overlap",k.intervalHideOverlap),(0,S.registerGeometryLabelLayout)("point-adjust-position",R.pointAdjustPosition),(0,S.registerGeometryLabelLayout)("pie-spider",C.pieSpiderLabelLayout),(0,S.registerGeometryLabelLayout)("path-adjust-position",N.pathAdjustPosition);var G=n(222),V=n(167),z=n(162),W=n(320),Y=n(223),H=n(321),X=n(322),U=n(224),q=n(25);(0,q.registerAnimation)("fade-in",G.fadeIn),(0,q.registerAnimation)("fade-out",G.fadeOut),(0,q.registerAnimation)("grow-in-x",V.growInX),(0,q.registerAnimation)("grow-in-xy",V.growInXY),(0,q.registerAnimation)("grow-in-y",V.growInY),(0,q.registerAnimation)("scale-in-x",Y.scaleInX),(0,q.registerAnimation)("scale-in-y",Y.scaleInY),(0,q.registerAnimation)("wave-in",X.waveIn),(0,q.registerAnimation)("zoom-in",U.zoomIn),(0,q.registerAnimation)("zoom-out",U.zoomOut),(0,q.registerAnimation)("position-update",W.positionUpdate),(0,q.registerAnimation)("sector-path-update",H.sectorPathUpdate),(0,q.registerAnimation)("path-in",z.pathIn);var Z=n(25),K=(0,r.__importDefault)(n(336)),$=(0,r.__importDefault)(n(337)),Q=(0,r.__importDefault)(n(338)),J=(0,r.__importDefault)(n(339)),tt=(0,r.__importDefault)(n(340)),te=(0,r.__importDefault)(n(341));(0,Z.registerFacet)("rect",tt.default),(0,Z.registerFacet)("mirror",J.default),(0,Z.registerFacet)("list",$.default),(0,Z.registerFacet)("matrix",Q.default),(0,Z.registerFacet)("circle",K.default),(0,Z.registerFacet)("tree",te.default);var tn=n(25),tr=(0,r.__importDefault)(n(319)),ti=(0,r.__importDefault)(n(342)),ta=(0,r.__importDefault)(n(343)),to=(0,r.__importDefault)(n(344)),ts=(0,r.__importDefault)(n(204)),tl=(0,r.__importDefault)(n(1013));(0,tn.registerComponentController)("axis",ti.default),(0,tn.registerComponentController)("legend",ta.default),(0,tn.registerComponentController)("tooltip",ts.default),(0,tn.registerComponentController)("annotation",tr.default),(0,tn.registerComponentController)("slider",to.default),(0,tn.registerComponentController)("scrollbar",tl.default);var tu=n(25),tc=(0,r.__importDefault)(n(345)),tf=(0,r.__importDefault)(n(346)),td=(0,r.__importDefault)(n(127)),tp=(0,r.__importDefault)(n(347)),th=(0,r.__importDefault)(n(348)),tg=(0,r.__importDefault)(n(349)),tv=(0,r.__importDefault)(n(350)),ty=(0,r.__importDefault)(n(351)),tm=(0,r.__importDefault)(n(159)),tb=(0,r.__importDefault)(n(352)),tx=(0,r.__importDefault)(n(353)),t_=(0,r.__importStar)(n(226));Object.defineProperty(e,"ELEMENT_RANGE_HIGHLIGHT_EVENTS",{enumerable:!0,get:function(){return t_.ELEMENT_RANGE_HIGHLIGHT_EVENTS}});var tO=(0,r.__importDefault)(n(354)),tP=(0,r.__importDefault)(n(355)),tM=(0,r.__importDefault)(n(356)),tA=(0,r.__importDefault)(n(357)),tS=(0,r.__importDefault)(n(358)),tw=(0,r.__importDefault)(n(227)),tE=(0,r.__importDefault)(n(359)),tC=(0,r.__importDefault)(n(360)),tT=(0,r.__importDefault)(n(1015)),tI=(0,r.__importDefault)(n(1016)),tj=(0,r.__importDefault)(n(1017)),tF=(0,r.__importDefault)(n(478)),tL=(0,r.__importDefault)(n(477)),tD=(0,r.__importDefault)(n(1018)),tk=(0,r.__importDefault)(n(361)),tR=(0,r.__importDefault)(n(362)),tN=(0,r.__importStar)(n(479));Object.defineProperty(e,"BRUSH_FILTER_EVENTS",{enumerable:!0,get:function(){return tN.BRUSH_FILTER_EVENTS}});var tB=(0,r.__importDefault)(n(1019)),tG=(0,r.__importDefault)(n(1020)),tV=(0,r.__importDefault)(n(1021)),tz=(0,r.__importDefault)(n(1022)),tW=(0,r.__importDefault)(n(1023)),tY=(0,r.__importDefault)(n(1024)),tH=(0,r.__importDefault)(n(1025)),tX=(0,r.__importDefault)(n(1026)),tU=(0,r.__importDefault)(n(1027));(0,tu.registerAction)("tooltip",td.default),(0,tu.registerAction)("sibling-tooltip",tf.default),(0,tu.registerAction)("ellipsis-text",tp.default),(0,tu.registerAction)("element-active",th.default),(0,tu.registerAction)("element-single-active",ty.default),(0,tu.registerAction)("element-range-active",tv.default),(0,tu.registerAction)("element-highlight",tm.default),(0,tu.registerAction)("element-highlight-by-x",tx.default),(0,tu.registerAction)("element-highlight-by-color",tb.default),(0,tu.registerAction)("element-single-highlight",tO.default),(0,tu.registerAction)("element-range-highlight",t_.default),(0,tu.registerAction)("element-sibling-highlight",t_.default,{effectSiblings:!0,effectByRecord:!0}),(0,tu.registerAction)("element-selected",tM.default),(0,tu.registerAction)("element-single-selected",tA.default),(0,tu.registerAction)("element-range-selected",tP.default),(0,tu.registerAction)("element-link-by-color",tg.default),(0,tu.registerAction)("active-region",tc.default),(0,tu.registerAction)("list-active",tS.default),(0,tu.registerAction)("list-selected",tE.default),(0,tu.registerAction)("list-highlight",tw.default),(0,tu.registerAction)("list-unchecked",tC.default),(0,tu.registerAction)("list-checked",tT.default),(0,tu.registerAction)("legend-item-highlight",tw.default,{componentNames:["legend"]}),(0,tu.registerAction)("axis-label-highlight",tw.default,{componentNames:["axis"]}),(0,tu.registerAction)("rect-mask",tL.default),(0,tu.registerAction)("x-rect-mask",tj.default,{dim:"x"}),(0,tu.registerAction)("y-rect-mask",tj.default,{dim:"y"}),(0,tu.registerAction)("circle-mask",tI.default),(0,tu.registerAction)("path-mask",tF.default),(0,tu.registerAction)("smooth-path-mask",tD.default),(0,tu.registerAction)("cursor",tk.default),(0,tu.registerAction)("data-filter",tR.default),(0,tu.registerAction)("brush",tN.default),(0,tu.registerAction)("brush-x",tN.default,{dims:["x"]}),(0,tu.registerAction)("brush-y",tN.default,{dims:["y"]}),(0,tu.registerAction)("sibling-filter",tB.default),(0,tu.registerAction)("sibling-x-filter",tB.default),(0,tu.registerAction)("sibling-y-filter",tB.default),(0,tu.registerAction)("element-filter",tG.default),(0,tu.registerAction)("element-sibling-filter",tV.default),(0,tu.registerAction)("element-sibling-filter-record",tV.default,{byRecord:!0}),(0,tu.registerAction)("view-drag",tW.default),(0,tu.registerAction)("view-move",tY.default),(0,tu.registerAction)("scale-translate",tH.default),(0,tu.registerAction)("scale-zoom",tX.default),(0,tu.registerAction)("reset-button",tz.default,{name:"reset-button",text:"reset"}),(0,tu.registerAction)("mousewheel-scroll",tU.default);var tq=n(25);function tZ(t){return t.isInPlot()}function tK(t){return t.gEvent.preventDefault(),t.gEvent.originalEvent.deltaY>0}(0,tq.registerInteraction)("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),(0,tq.registerInteraction)("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),(0,tq.registerInteraction)("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),(0,tq.registerInteraction)("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),(0,tq.registerInteraction)("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),(0,tq.registerInteraction)("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),(0,tq.registerInteraction)("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]}),(0,tq.registerInteraction)("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),(0,tq.registerInteraction)("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),(0,tq.registerInteraction)("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]}),(0,tq.registerInteraction)("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]}),(0,tq.registerInteraction)("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]}),(0,tq.registerInteraction)("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:tZ,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:tZ,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:tZ,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]}),(0,tq.registerInteraction)("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]}),(0,tq.registerInteraction)("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:tZ,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:tZ,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:tZ,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]}),(0,tq.registerInteraction)("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:tZ,action:"path-mask:start"},{trigger:"mousedown",isEnable:tZ,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]}),(0,tq.registerInteraction)("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]}),(0,tq.registerInteraction)("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","data-filter:filter"]}]}),(0,tq.registerInteraction)("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]}),(0,tq.registerInteraction)("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]}),(0,tq.registerInteraction)("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","element-filter:filter"]}]}),(0,tq.registerInteraction)("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]}),(0,tq.registerInteraction)("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(t){return tK(t.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(t){return!tK(t.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]}),(0,tq.registerInteraction)("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]}),(0,tq.registerInteraction)("plot-mousewheel-scroll",{start:[{trigger:"plot:mousewheel",action:"mousewheel-scroll:scroll"}]});var t$=n(21);Object.defineProperty(e,"VIEW_LIFE_CIRCLE",{enumerable:!0,get:function(){return t$.VIEW_LIFE_CIRCLE}}),(0,r.__exportStar)(n(25),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(1056);Object.defineProperty(e,"flow",{enumerable:!0,get:function(){return i.flow}});var a=n(499);Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return a.pick}});var o=n(1057);Object.defineProperty(e,"template",{enumerable:!0,get:function(){return o.template}});var s=n(500);Object.defineProperty(e,"log",{enumerable:!0,get:function(){return s.log}}),Object.defineProperty(e,"invariant",{enumerable:!0,get:function(){return s.invariant}}),Object.defineProperty(e,"LEVEL",{enumerable:!0,get:function(){return s.LEVEL}});var l=n(1058);Object.defineProperty(e,"getContainerSize",{enumerable:!0,get:function(){return l.getContainerSize}}),r.__exportStar(n(1059),e);var u=n(501);Object.defineProperty(e,"findViewById",{enumerable:!0,get:function(){return u.findViewById}}),Object.defineProperty(e,"getViews",{enumerable:!0,get:function(){return u.getViews}}),Object.defineProperty(e,"getSiblingViews",{enumerable:!0,get:function(){return u.getSiblingViews}});var c=n(1060);Object.defineProperty(e,"transformLabel",{enumerable:!0,get:function(){return c.transformLabel}});var f=n(1061);Object.defineProperty(e,"getSplinePath",{enumerable:!0,get:function(){return f.getSplinePath}});var d=n(502);Object.defineProperty(e,"deepAssign",{enumerable:!0,get:function(){return d.deepAssign}});var p=n(1062);Object.defineProperty(e,"kebabCase",{enumerable:!0,get:function(){return p.kebabCase}});var h=n(503);Object.defineProperty(e,"renderStatistic",{enumerable:!0,get:function(){return h.renderStatistic}}),Object.defineProperty(e,"renderGaugeStatistic",{enumerable:!0,get:function(){return h.renderGaugeStatistic}});var g=n(1063);Object.defineProperty(e,"measureTextWidth",{enumerable:!0,get:function(){return g.measureTextWidth}});var v=n(291);Object.defineProperty(e,"isBetween",{enumerable:!0,get:function(){return v.isBetween}}),Object.defineProperty(e,"isRealNumber",{enumerable:!0,get:function(){return v.isRealNumber}}),r.__exportStar(n(292),e),r.__exportStar(n(293),e)},function(t,e,n){"use strict";n.d(e,"f",function(){return c}),n.d(e,"e",function(){return d}),n.d(e,"c",function(){return p}),n.d(e,"b",function(){return h}),n.d(e,"d",function(){return g}),n.d(e,"a",function(){return v});var r=n(4),i=n.n(r),a=n(17),o=n.n(a),s=n(0),l=n(230),u=n(137),c=function(t,e){t.forEach(function(t){var n=t.sourceKey,r=t.targetKey,i=t.notice,a=Object(s.get)(e,n);a&&(o()(!1,i),Object(s.set)(e,r,a))})},f=function(t,e){var n=Object(s.get)(t,e);if(!1===n||null===n){t[e]=null;return}if(void 0!==n){if(!0===n){t[e]={};return}if(!Object(s.isObject)(n)){o()(!0,"".concat(e," 配置参数不正确"));return}d(n,"line",null),d(n,"grid",null),d(n,"label",null),d(n,"tickLine",null),d(n,"title",null);var r=Object(s.get)(n,"label");if(r&&Object(s.isObject)(r)){var a=r.suffix;a&&Object(s.set)(r,"formatter",function(t){return"".concat(t).concat(a)});var l=r.offsetX,u=r.offsetY,c=r.offset;!Object(s.isNil)(c)||Object(s.isNil)(l)&&Object(s.isNil)(u)||("xAxis"===e&&Object(s.set)(r,"offset",Object(s.isNil)(l)?u:l),"yAxis"===e&&Object(s.set)(r,"offset",Object(s.isNil)(u)?l:u))}t[e]=i()(i()({},n),{label:r})}},d=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Object(s.get)(t,"".concat(e,".visible"));return(!1===r||null===r)&&Object(s.set)(t,e,n),r},p=function(t){var e=i()({},t);if(d(e,"tooltip"),d(e,"legend")){d(e,"legend.title");var n=Object(s.get)(e,"legend.position");n&&Object(s.set)(e,"legend.position",{"top-center":"top","right-center":"right","left-center":"left","bottom-center":"bottom"}[n]||n)}var r=Object(s.get)(e,"legend.formatter");if(r){var a=Object(s.get)(e,"legend.itemName",{});Object(s.set)(e,"legend.itemName",i()(i()({},a),{formatter:r}))}var o=Object(s.get)(e,"legend.text");o&&Object(s.set)(e,"legend.itemName",o),d(e,"label"),f(e,"xAxis"),f(e,"yAxis");var u=Object(s.get)(e,"guideLine",[]),c=Object(s.get)(e,"data",[]),p=Object(s.get)(e,"yField","y");u.forEach(function(t){if(c.length>0){var n="median";switch(t.type){case"max":n=Object(s.maxBy)(c,function(t){return t[p]})[p];break;case"mean":n=Object(l.a)(c.map(function(t){return t[p]}))/c.length;break;default:n=Object(s.minBy)(c,function(t){return t[p]})[p]}var r=i()(i()({start:["min",n],end:["max",n],style:t.lineStyle,text:{content:n}},t),{type:"line"});Object(s.get)(e,"annotations")||Object(s.set)(e,"annotations",[]),e.annotations.push(r),Object(s.set)(e,"point",!1)}});var h=Object(s.get)(e,"interactions",[]).find(function(t){return"slider"===t.type});return h&&Object(s.isNil)(e.slider)&&(e.slider=h.cfg),e},h=function(t,e,n){var r=Object(u.a)(Object(s.get)(e,"events",[])),i=Object(u.a)(Object(s.get)(n,"events",[]));r.forEach(function(n){t.off(n[1],e.events[n[0]])}),i.forEach(function(e){t.on(e[1],n.events[e[0]])})},g=function(t){var e=Object(s.get)(t,"events",{}),n={};return["onTitleClick","onTitleDblClick","onTitleMouseleave","onTitleMousemove","onTitleMousedown","onTitleMouseup","onTitleMouseenter"].forEach(function(t){e[t]&&(n[t.replace("Title","")]=e[t])}),n},v=function(t){var e=Object(s.get)(t,"events",{}),n={};return["onDescriptionClick","onDescriptionDblClick","onDescriptionMouseleave","onDescriptionMousemove","onDescriptionMousedown","onDescriptionMouseup","onDescriptionMouseenter"].forEach(function(t){e[t]&&(n[t.replace("Description","")]=e[t])}),n}},function(t,e,n){"use strict";t.exports=function(){}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(50);e.default=function(t,e,n){for(var i=0,a=r.default(e)?e.split("."):e;t&&i=e||n.height>=e?n:null}function l(t){var e=t.geometries,n=[];return(0,r.each)(e,function(t){var e=t.elements;n=n.concat(e)}),t.views&&t.views.length&&(0,r.each)(t.views,function(t){n=n.concat(l(t))}),n}function u(t,e){var n=t.getModel().data;return(0,r.isArray)(n)?n[0][e]:n[e]}function c(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=e||r.height>=e?n.attr("path"):null;if(!i)return;return p(t.view,i)}var a=s(t,e);return a?f(t.view,a):null},e.getSiblingMaskElements=function(t,e,n){var r=s(t,n);if(!r)return null;var i=t.view,a=h(i,e,{x:r.x,y:r.y}),o=h(i,e,{x:r.maxX,y:r.maxY}),l={minX:a.x,minY:a.y,maxX:o.x,maxY:o.y};return f(e,l)},e.getElements=l,e.getElementsByField=function(t,e,n){return l(t).filter(function(t){return u(t,e)===n})},e.getElementsByState=function(t,e){var n=t.geometries,i=[];return(0,r.each)(n,function(t){var n=t.getElementsBy(function(t){return t.hasState(e)});i=i.concat(n)}),i},e.getElementValue=u,e.intersectRect=c,e.getIntersectElements=f,e.getElementsByPath=p,e.getComponents=function(t){return t.getComponents().map(function(t){return t.component})},e.distance=function(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)},e.getSpline=function(t,e){if(t.length<=2)return(0,i.getLinePath)(t,!1);var n=t[0],a=[];(0,r.each)(t,function(t){a.push(t.x),a.push(t.y)});var o=(0,i.catmullRom2bezier)(a,e,null);return o.unshift(["M",n.x,n.y]),o},e.isInBox=function(t,e){return t.x<=e.x&&t.maxX>=e.x&&t.y<=e.y&&t.maxY>e.y},e.getSilbings=function(t){var e=t.parent,n=null;return e&&(n=e.views.filter(function(e){return e!==t})),n},e.getSiblingPoint=h,e.isInRecords=function(t,e,n,i){var a=!1;return(0,r.each)(t,function(t){if(t[n]===e[n]&&t[i]===e[i])return a=!0,!1}),a},e.getScaleByField=function t(e,n){var i=e.getScaleByField(n);return!i&&e.views&&(0,r.each)(e.views,function(e){if(i=t(e,n))return!1}),i}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.ext=void 0,Object.defineProperty(e,"mat3",{enumerable:!0,get:function(){return i.mat3}}),Object.defineProperty(e,"vec2",{enumerable:!0,get:function(){return i.vec2}}),Object.defineProperty(e,"vec3",{enumerable:!0,get:function(){return i.vec3}});var i=n(170),a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(751));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}e.ext=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBackgroundRectStyle=e.getStyle=void 0;var r=n(1),i=n(0);e.getStyle=function(t,e,n,a){void 0===a&&(a="");var o=t.style,s=void 0===o?{}:o,l=t.defaultStyle,u=t.color,c=t.size,f=(0,r.__assign)((0,r.__assign)({},l),s);return u&&(e&&!s.stroke&&(f.stroke=u),n&&!s.fill&&(f.fill=u)),a&&(0,i.isNil)(s[a])&&!(0,i.isNil)(c)&&(f[a]=c),f},e.getBackgroundRectStyle=function(t){return(0,i.deepMix)({},{fill:"#CCD6EC",fillOpacity:.3},(0,i.get)(t,["background","style"]))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInPlot=e.annotation=e.scale=e.scrollbar=e.slider=e.state=e.theme=e.animation=e.interaction=e.tooltip=e.legend=void 0;var r=n(1),i=n(0),a=n(509),o=n(15);e.legend=function(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,a=n.seriesField;return!1===r?e.legend(!1):(i||a)&&e.legend(i||a,r),t},e.tooltip=function(t){var e=t.chart,n=t.options.tooltip;return void 0!==n&&e.tooltip(n),t},e.interaction=function(t){var e=t.chart,n=t.options.interactions;return i.each(n,function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg||{})}),t},e.animation=function(t){var e=t.chart,n=t.options.animation;return"boolean"==typeof n?e.animate(n):e.animate(!0),i.each(e.geometries,function(t){t.animate(n)}),t},e.theme=function(t){var e=t.chart,n=t.options.theme;return n&&e.theme(n),t},e.state=function(t){var e=t.chart,n=t.options.state;return n&&i.each(e.geometries,function(t){t.state(n)}),t},e.slider=function(t){var e=t.chart,n=t.options.slider;return e.option("slider",n),t},e.scrollbar=function(t){var e=t.chart,n=t.options.scrollbar;return e.option("scrollbar",n),t},e.scale=function(t,e){return function(n){var r=n.chart,s=n.options,l={};return i.each(t,function(t,e){l[e]=o.pick(t,a.AXIS_META_CONFIG_KEYS)}),l=o.deepAssign({},e,s.meta,l),r.scale(l),n}},e.annotation=function(t){return function(e){var n=e.chart,a=e.options,o=n.getController("annotation");return i.each(r.__spreadArrays(a.annotations||[],t||[]),function(t){o.annotation(t)}),e}},e.limitInPlot=function(t){var e=t.chart,n=t.options,r=n.yAxis,a=n.limitInPlot,s=a;return i.isObject(r)&&i.isNil(a)&&(s=!!Object.values(o.pick(r,["min","max","minLimit","maxLimit"])).some(function(t){return!i.isNil(t)})),e.limitInPlot=s,t};var s=n(153);Object.defineProperty(e,"pattern",{enumerable:!0,get:function(){return s.pattern}})},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(9),o=n.n(a),s=n(10),l=n.n(s),u=n(12),c=n.n(u),f=n(13),d=n.n(f),p=n(5),h=n.n(p),g=n(3),v=n.n(g),y=n(618),m=n.n(y),b=n(202),x=n(221),_=n.n(x),O=n(0),P=n(160);m.a.prototype.render=function(){if(this.get("isReactElement")){var t=this.getContainer(),e=this.get("content"),n=this.get("refreshDeps"),r=v.a.isValidElement(e)?e:e(t);void 0!==this.preRefreshDeps&&Object(O.isEqual)(this.preRefreshDeps,n)||(_.a.render(r,t),this.preRefreshDeps=n)}else{var i=this.getContainer(),a=this.get("html");Object(b.clearDom)(i);var o=Object(O.isFunction)(a)?a(i):a;Object(O.isElement)(o)?i.appendChild(o):Object(O.isString)(o)&&i.appendChild(Object(P.createDom)(o))}this.resetPosition()};var M=n(319),A=n.n(M),S=n(47);Object(n(8).registerComponentController)("annotation",A.a);var w=function(t){c()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=h()(r);if(e){var i=h()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return d()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.annotationType="line",t}return l()(r,[{key:"componentDidMount",value:function(){var t=this.getChartIns();this.id=O.uniqueId("annotation"),this.annotation=t.annotation(),"ReactElement"===this.annotationType?this.annotation.annotation(i()({type:"html",isReactElement:!0},this.props)):this.annotation.annotation(i()({type:this.annotationType},this.props)),this.annotation.option[this.annotation.option.length-1].__id=this.id}},{key:"componentDidUpdate",value:function(){var t=this,e=null;this.annotation.option.forEach(function(n,r){n.__id===t.id&&(e=r)}),"ReactElement"===this.annotationType?this.annotation.option[e]=i()(i()({type:"html",isReactElement:!0},this.props),{__id:this.id}):this.annotation.option[e]=i()(i()({type:this.annotationType},this.props),{__id:this.id})}},{key:"componentWillUnmount",value:function(){var t=this,e=null;this.annotation&&(this.annotation.option.forEach(function(n,r){n.__id===t.id&&(e=r)}),null!==e&&this.annotation.option.splice(e,1),this.annotation=null)}},{key:"getChartIns",value:function(){return this.context}},{key:"render",value:function(){return v.a.createElement(v.a.Fragment,null)}}]),r}(v.a.Component);w.contextType=S.a,e.a=w},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(68));e.default=function(t){return Array.isArray?Array.isArray(t):(0,i.default)(t,"Array")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null==t}},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Arc",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Cubic",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Quad",{enumerable:!0,get:function(){return a.default}}),e.Util=void 0;var a=r(n(792)),o=r(n(793)),s=r(n(794)),l=r(n(174)),u=r(n(796)),c=r(n(411)),f=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=d(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(87));function d(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(d=function(t){return t?n:e})(t)}e.Util=f},function(t,e,n){"use strict";var r=n(12),i=n.n(r),a=n(13),o=n.n(a),s=n(5),l=n.n(s),u=n(45),c=n.n(u),f=n(9),d=n.n(f),p=n(10),h=n.n(p),g=n(3),v=n.n(g),y=n(50),m=n.n(y),b=n(28),x=n.n(b),_=n(100),O=n.n(_);n(491);var P=n(47),M=n(8),A=n(55),S=n.n(A),w=n(23),E=n.n(w),C=n(82),T=function(t,e,n,r){var i,a;if(null===t){S()(n,function(t){var n=e[t];void 0!==n&&(E()(n)||(n=[n]),r(n,t))});return}S()(n,function(n){i=t[n],a=e[n],Object(C.a)(a,i)||(E()(a)||(a=[a]),r(a,n))})},I=n(17),j=n.n(I);n(290);var F=n(348),L=n.n(F),D=n(349),k=n.n(D),R=n(350),N=n.n(R),B=n(351),G=n.n(B),V=n(159),z=n.n(V),W=n(353),Y=n.n(W),H=n(352),X=n.n(H),U=n(354),q=n.n(U),Z=n(226),K=n.n(Z),$=n(356),Q=n.n($),J=n(357),tt=n.n(J),te=n(355),tn=n.n(te),tr=n(361),ti=n.n(tr);Object(M.registerAction)("cursor",ti.a),Object(M.registerAction)("element-active",L.a),Object(M.registerAction)("element-single-active",G.a),Object(M.registerAction)("element-range-active",N.a),Object(M.registerAction)("element-highlight",z.a),Object(M.registerAction)("element-highlight-by-x",Y.a),Object(M.registerAction)("element-highlight-by-color",X.a),Object(M.registerAction)("element-single-highlight",q.a),Object(M.registerAction)("element-range-highlight",K.a),Object(M.registerAction)("element-sibling-highlight",K.a,{effectSiblings:!0,effectByRecord:!0}),Object(M.registerAction)("element-selected",Q.a),Object(M.registerAction)("element-single-selected",tt.a),Object(M.registerAction)("element-range-selected",tn.a),Object(M.registerAction)("element-link-by-color",k.a),Object(M.registerInteraction)("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),Object(M.registerInteraction)("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),Object(M.registerInteraction)("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),Object(M.registerInteraction)("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),Object(M.registerInteraction)("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]});var ta=n(75);Object(M.registerGeometryLabel)("base",O.a);var to=["line","area"],ts=function(){function t(){d()(this,t),this.config={}}return h()(t,[{key:"setView",value:function(t){this.view=t,this.rootChart=t.rootChart||t}},{key:"createGeomInstance",value:function(t,e){this.geom=this.view[t](e);var n=e.sortable;this.geom.__beforeMapping=this.geom.beforeMapping,this.geom.beforeMapping=function(e){var r=this.getXScale();return!1!==n&&e&&e[0]&&to.includes(t)&&["time","timeCat"].includes(r.type)&&this.sort(e),this.__beforeMapping(e)},this.GemoBaseClassName=t}},{key:"update",value:function(t,e){var n=this;this.geom||(this.setView(e.context),this.createGeomInstance(e.GemoBaseClassName,t),this.interactionTypes=e.interactionTypes),T(this.config,t,["position","shape","color","label","style","tooltip","size","animate","state","customInfo"],function(t,e){var r;j()(!("label"===e&&!0===t[0]),"label 值类型错误,应为false | LabelOption | FieldString"),(r=n.geom)[e].apply(r,c()(t))}),T(this.config,t,["adjust"],function(t,e){m()(t[0])?n.geom[e](t[0]):n.geom[e](t)}),this.geom.state(t.state||{}),this.rootChart.on("processElemens",function(){x()(t.setElements)&&t.setElements(n.geom.elements)}),T(this.config,t,this.interactionTypes,function(t,e){t[0]?n.rootChart.interaction(e):n.rootChart.removeInteraction(e)}),this.config=Object(ta.a)(t)}},{key:"destroy",value:function(){this.geom&&(this.geom.destroy(),this.geom=null),this.config={}}}]),t}(),tl=function(t){i()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=l()(r);if(e){var i=l()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return o()(this,t)});function r(t){var e;return d()(this,r),(e=n.call(this,t)).interactionTypes=[],e.geomHelper=new ts,e}return h()(r,[{key:"componentWillUnmount",value:function(){this.geomHelper.destroy()}},{key:"render",value:function(){var t=this;return this.geomHelper.update(this.props,this),v.a.createElement(v.a.Fragment,null,v.a.Children.map(this.props.children,function(e){return v.a.isValidElement(e)?v.a.cloneElement(e,{parentInstance:t.geomHelper.geom}):v.a.createElement(v.a.Fragment,null)}))}}]),r}(v.a.Component);tl.contextType=P.a,e.a=tl},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(3),i=n.n(r),a=n(47);function o(){return i.a.useContext(a.a)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(432),s=n(90),l=n(42),u=r(n(254)),c="update_status",f=["visible","tip","delegateObject"],d=["container","group","shapesMap","isRegister","isUpdating","destroyed"],p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{container:null,shapesMap:{},group:null,capture:!0,isRegister:!1,isUpdating:!1,isInit:!0})},e.prototype.remove=function(){this.clear(),this.get("group").remove()},e.prototype.clear=function(){this.get("group").clear(),this.set("shapesMap",{}),this.clearOffScreenCache(),this.set("isInit",!0)},e.prototype.getChildComponentById=function(t){var e=this.getElementById(t);return e&&e.get("component")},e.prototype.getElementById=function(t){return this.get("shapesMap")[t]},e.prototype.getElementByLocalId=function(t){var e=this.getElementId(t);return this.getElementById(e)},e.prototype.getElementsByName=function(t){var e=[];return(0,a.each)(this.get("shapesMap"),function(n){n.get("name")===t&&e.push(n)}),e},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateInner=function(t){this.offScreenRender(),this.get("updateAutoRender")&&this.render()},e.prototype.render=function(){var t=this.get("offScreenGroup");t||(t=this.offScreenRender());var e=this.get("group");this.updateElements(t,e),this.deleteElements(),this.applyOffset(),this.get("eventInitted")||(this.initEvent(),this.set("eventInitted",!0)),this.set("isInit",!1)},e.prototype.show=function(){this.get("group").show(),this.set("visible",!0)},e.prototype.hide=function(){this.get("group").hide(),this.set("visible",!1)},e.prototype.setCapture=function(t){this.get("group").set("capture",t),this.set("capture",t)},e.prototype.destroy=function(){this.removeEvent(),this.remove(),t.prototype.destroy.call(this)},e.prototype.getBBox=function(){return this.get("group").getCanvasBBox()},e.prototype.getLayoutBBox=function(){var t=this.get("group"),e=this.getInnerLayoutBBox(),n=t.getTotalMatrix();return n&&(e=(0,s.applyMatrix2BBox)(n,e)),e},e.prototype.on=function(t,e,n){return this.get("group").on(t,e,n),this},e.prototype.off=function(t,e){var n=this.get("group");return n&&n.off(t,e),this},e.prototype.emit=function(t,e){this.get("group").emit(t,e)},e.prototype.init=function(){t.prototype.init.call(this),this.get("group")||this.initGroup(),this.offScreenRender()},e.prototype.getInnerLayoutBBox=function(){return this.get("offScreenBBox")||this.get("group").getBBox()},e.prototype.delegateEmit=function(t,e){var n=this.get("group");e.target=n,n.emit(t,e),(0,o.propagationDelegate)(n,t,e)},e.prototype.createOffScreenGroup=function(){return new(this.get("group").getGroupBase())({delegateObject:this.getDelegateObject()})},e.prototype.applyOffset=function(){var t=this.get("offsetX"),e=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t,y:e})},e.prototype.initGroup=function(){var t=this.get("container");this.set("group",t.addGroup({id:this.get("id"),name:this.get("name"),capture:this.get("capture"),visible:this.get("visible"),isComponent:!0,component:this,delegateObject:this.getDelegateObject()}))},e.prototype.offScreenRender=function(){this.clearOffScreenCache();var t=this.createOffScreenGroup();return this.renderInner(t),this.set("offScreenGroup",t),this.set("offScreenBBox",(0,l.getBBoxWithClip)(t)),t},e.prototype.addGroup=function(t,e){this.appendDelegateObject(t,e);var n=t.addGroup(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addShape=function(t,e){this.appendDelegateObject(t,e);var n=t.addShape(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addComponent=function(t,e){var n=e.id,r=e.component,a=(0,i.__rest)(e,["id","component"]),o=new r((0,i.__assign)((0,i.__assign)({},a),{id:n,container:t,updateAutoRender:this.get("updateAutoRender")}));return o.init(),o.render(),this.get("isRegister")&&this.registerElement(o.get("group")),o},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){this.get("group").off()},e.prototype.getElementId=function(t){return this.get("id")+"-"+this.get("name")+"-"+t},e.prototype.registerElement=function(t){var e=t.get("id");this.get("shapesMap")[e]=t},e.prototype.unregisterElement=function(t){var e=t.get("id");delete this.get("shapesMap")[e]},e.prototype.moveElementTo=function(t,e){var n=(0,s.getMatrixByTranslate)(e);t.attr("matrix",n)},e.prototype.addAnimation=function(t,e,n){var r=e.attr("opacity");(0,a.isNil)(r)&&(r=1),e.attr("opacity",0),e.animate({opacity:r},n)},e.prototype.removeAnimation=function(t,e,n){e.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,e,n,r){e.animate(n,r)},e.prototype.updateElements=function(t,e){var n,r=this,i=this.get("animate"),o=this.get("animateOption"),s=t.getChildren().slice(0);(0,a.each)(s,function(t){var s=t.get("id"),u=r.getElementById(s),p=t.get("name");if(u){if(t.get("isComponent")){var h=t.get("component"),g=u.get("component"),v=(0,a.pick)(h.cfg,(0,a.difference)((0,a.keys)(h.cfg),d));g.update(v),u.set(c,"update")}else{var y=r.getReplaceAttrs(u,t);i&&o.update?r.updateAnimation(p,u,y,o.update):u.attr(y),t.isGroup()&&r.updateElements(t,u),(0,a.each)(f,function(e){u.set(e,t.get(e))}),(0,l.updateClip)(u,t),n=u,u.set(c,"update")}}else{e.add(t);var m=e.getChildren();if(m.splice(m.length-1,1),n){var b=m.indexOf(n);m.splice(b+1,0,t)}else m.unshift(t);if(r.registerElement(t),t.set(c,"add"),t.get("isComponent")){var h=t.get("component");h.set("container",e)}else t.isGroup()&&r.registerNewGroup(t);if(n=t,i){var x=r.get("isInit")?o.appear:o.enter;x&&r.addAnimation(p,t,x)}}})},e.prototype.clearUpdateStatus=function(t){var e=t.getChildren();(0,a.each)(e,function(t){t.set(c,null)})},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t,e=this.get("name");return(t={})[e]=this,t.component=this,t},e.prototype.appendDelegateObject=function(t,e){var n=t.get("delegateObject");e.delegateObject||(e.delegateObject={}),(0,a.mix)(e.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,e){var n=t.attr(),r=e.attr();return(0,a.each)(n,function(t,e){void 0===r[e]&&(r[e]=void 0)}),r},e.prototype.registerNewGroup=function(t){var e=this,n=t.getChildren();(0,a.each)(n,function(t){e.registerElement(t),t.set(c,"add"),t.isGroup()&&e.registerNewGroup(t)})},e.prototype.deleteElements=function(){var t=this,e=this.get("shapesMap"),n=[];(0,a.each)(e,function(t,e){!t.get(c)||t.destroyed?n.push([e,t]):t.set(c,null)});var r=this.get("animate"),i=this.get("animateOption");(0,a.each)(n,function(n){var o=n[0],s=n[1];if(!s.destroyed){var l=s.get("name");if(r&&i.leave){var u=(0,a.mix)({callback:function(){t.removeElement(s)}},i.leave);t.removeAnimation(l,s,u)}else t.removeElement(s)}delete e[o]})},e.prototype.removeElement=function(t){if(t.get("isGroup")){var e=t.get("component");e&&e.destroy()}t.remove()},e}(u.default);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearDom=function(t){for(var e=t.childNodes,n=e.length,r=n-1;r>=0;r--)t.removeChild(e[r])},e.createBBox=i,e.distance=o,e.formatPadding=function(t){var e=0,n=0,i=0,a=0;return(0,r.isNumber)(t)?e=n=i=a=t:(0,r.isArray)(t)&&(e=t[0],i=(0,r.isNil)(t[1])?t[0]:t[1],a=(0,r.isNil)(t[2])?t[0]:t[2],n=(0,r.isNil)(t[3])?i:t[3]),[e,i,a,n]},e.getBBoxWithClip=function t(e){var n,a=e.getClip(),o=a&&a.getBBox();if(e.isGroup()){var l=1/0,u=-1/0,c=1/0,f=-1/0,d=e.getChildren();d.length>0?(0,r.each)(d,function(e){if(e.get("visible")){if(e.isGroup()&&0===e.get("children").length)return!0;var n=t(e),r=e.applyToMatrix([n.minX,n.minY,1]),i=e.applyToMatrix([n.minX,n.maxY,1]),a=e.applyToMatrix([n.maxX,n.minY,1]),o=e.applyToMatrix([n.maxX,n.maxY,1]),s=Math.min(r[0],i[0],a[0],o[0]),d=Math.max(r[0],i[0],a[0],o[0]),p=Math.min(r[1],i[1],a[1],o[1]),h=Math.max(r[1],i[1],a[1],o[1]);su&&(u=d),pf&&(f=h)}}):(l=0,u=0,c=0,f=0),n=i(l,c,u-l,f-c)}else n=e.getBBox();return o?s(n,o):n},e.getCirclePoint=function(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}},e.getTextPoint=function(t,e,n,r){var i=r/o(t,e),s=0;return"start"===n?s=0-i:"end"===n&&(s=1+i),{x:a(t.x,e.x,s),y:a(t.y,e.y,s)}},e.getValueByPercent=a,e.hasClass=function(t,e){return!!t.className.match(RegExp("(\\s|^)"+e+"(\\s|$)"))},e.intersectBBox=s,e.mergeBBox=function(t,e){var n=Math.min(t.minX,e.minX),r=Math.min(t.minY,e.minY);return i(n,r,Math.max(t.maxX,e.maxX)-n,Math.max(t.maxY,e.maxY)-r)},e.near=void 0,e.pointsToBBox=function(t){var e=t.map(function(t){return t.x}),n=t.map(function(t){return t.y}),r=Math.min.apply(Math,e),i=Math.min.apply(Math,n),a=Math.max.apply(Math,e),o=Math.max.apply(Math,n);return{x:r,y:i,minX:r,minY:i,maxX:a,maxY:o,width:a-r,height:o-i}},e.regionToBBox=function(t){var e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),a=Math.max(e.x,n.x),o=Math.max(e.y,n.y);return{x:r,y:i,minX:r,minY:i,maxX:a,maxY:o,width:a-r,height:o-i}},e.toPx=function(t){return t+"px"},e.updateClip=function(t,e){if(t.getClip()||e.getClip()){var n=e.getClip();if(!n){t.setClip(null);return}var r={type:n.get("type"),attrs:n.attr()};t.setClip(r)}},e.wait=void 0;var r=n(0);function i(t,e,n,r){var i=t+n,a=e+r;return{x:t,y:e,width:n,height:r,minX:t,minY:e,maxX:isNaN(i)?0:i,maxY:isNaN(a)?0:a}}function a(t,e,n){return(1-n)*t+e*n}function o(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function s(t,e){var n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY);return i(n,r,Math.min(t.maxX,e.maxX)-n,Math.min(t.maxY,e.maxY)-r)}e.wait=function(t){return new Promise(function(e){setTimeout(e,t)})},e.near=function(t,e,n){return void 0===n&&(n=Math.pow(Number.EPSILON,.5)),[t,e].includes(1/0)?Math.abs(t)===Math.abs(e):Math.abs(t-e)t.x?t.x:e,n=nt.y?t.y:i,a=a=t&&i<=t+n&&a>=e&&a<=e+r},e.intersectRect=function(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=t&&i<=t+n&&a>=e&&a<=e+r},e.intersectRect=function(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY0&&(e?"stroke"in n?this._setColor(t,"stroke",a):"strokeStyle"in n&&this._setColor(t,"stroke",o):this._setColor(t,"stroke",a||o),u&&f.setAttribute(l.SVG_ATTR_MAP.strokeOpacity,u),c&&f.setAttribute(l.SVG_ATTR_MAP.lineWidth,c))},e.prototype._setColor=function(t,e,n){var r=this.get("el");if(!n){r.setAttribute(l.SVG_ATTR_MAP[e],"none");return}if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var i=t.find("gradient",n);i||(i=t.addGradient(n)),r.setAttribute(l.SVG_ATTR_MAP[e],"url(#"+i+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var i=t.find("pattern",n);i||(i=t.addPattern(n)),r.setAttribute(l.SVG_ATTR_MAP[e],"url(#"+i+")")}else r.setAttribute(l.SVG_ATTR_MAP[e],n)},e.prototype.shadow=function(t,e){var n=this.attr(),r=e||n,i=r.shadowOffsetX,o=r.shadowOffsetY,s=r.shadowBlur,l=r.shadowColor;(i||o||s||l)&&a.setShadow(this,t)},e.prototype.transform=function(t){var e=this.attr();(t||e).matrix&&a.setTransform(this)},e.prototype.isInShape=function(t,e){return this.isPointInPath(t,e)},e.prototype.isPointInPath=function(t,e){var n=this.get("el"),r=this.get("canvas").get("el").getBoundingClientRect(),i=t+r.left,a=e+r.top,o=document.elementFromPoint(i,a);return!!(o&&o.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,e=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?e+n:0},e}(i.AbstractShape);e.default=d},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(26),s=n(149),l=n(74),u=n(274),c=n(54),f=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=p(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(190)),d=r(n(275));function p(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(p=function(t){return t?n:e})(t)}var h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="svg",e.canFill=!1,e.canStroke=!1,e}return(0,a.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,a.__assign)((0,a.__assign)({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.draw(r,e)}},e.prototype.getShapeBase=function(){return f},e.prototype.getGroupBase=function(){return d.default},e.prototype.onCanvasChange=function(t){(0,u.refreshElement)(this,t)},e.prototype.calculateBBox=function(){var t=this.get("el"),e=null;if(t)e=t.getBBox();else{var n=(0,o.getBBoxMethod)(this.get("type"));n&&(e=n(this))}if(e){var r=e.x,i=e.y,a=e.width,s=e.height,l=this.getHitLineWidth(),u=l/2,c=r-u,f=i-u;return{x:c,y:f,minX:c,minY:f,maxX:r+a+u,maxY:i+s+u,width:a+l,height:s+l}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},e.prototype.isFill=function(){var t=this.attr(),e=t.fill,n=t.fillStyle;return(e||n||this.isClipShape())&&this.canFill},e.prototype.isStroke=function(){var t=this.attr(),e=t.stroke,n=t.strokeStyle;return(e||n)&&this.canStroke},e.prototype.draw=function(t,e){var n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||(0,l.createDom)(this),(0,s.setClip)(this,t),this.createPath(t,e),this.shadow(t,e),this.strokeAndFill(t,e),this.transform(e))},e.prototype.createPath=function(t,e){},e.prototype.strokeAndFill=function(t,e){var n=e||this.attr(),r=n.fill,i=n.fillStyle,a=n.stroke,o=n.strokeStyle,s=n.fillOpacity,l=n.strokeOpacity,u=n.lineWidth,f=this.get("el");this.canFill&&(e?"fill"in n?this._setColor(t,"fill",r):"fillStyle"in n&&this._setColor(t,"fill",i):this._setColor(t,"fill",r||i),s&&f.setAttribute(c.SVG_ATTR_MAP.fillOpacity,s)),this.canStroke&&u>0&&(e?"stroke"in n?this._setColor(t,"stroke",a):"strokeStyle"in n&&this._setColor(t,"stroke",o):this._setColor(t,"stroke",a||o),l&&f.setAttribute(c.SVG_ATTR_MAP.strokeOpacity,l),u&&f.setAttribute(c.SVG_ATTR_MAP.lineWidth,u))},e.prototype._setColor=function(t,e,n){var r=this.get("el");if(!n){r.setAttribute(c.SVG_ATTR_MAP[e],"none");return}if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var i=t.find("gradient",n);i||(i=t.addGradient(n)),r.setAttribute(c.SVG_ATTR_MAP[e],"url(#"+i+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var i=t.find("pattern",n);i||(i=t.addPattern(n)),r.setAttribute(c.SVG_ATTR_MAP[e],"url(#"+i+")")}else r.setAttribute(c.SVG_ATTR_MAP[e],n)},e.prototype.shadow=function(t,e){var n=this.attr(),r=e||n,i=r.shadowOffsetX,a=r.shadowOffsetY,o=r.shadowBlur,l=r.shadowColor;(i||a||o||l)&&(0,s.setShadow)(this,t)},e.prototype.transform=function(t){var e=this.attr();(t||e).matrix&&(0,s.setTransform)(this)},e.prototype.isInShape=function(t,e){return this.isPointInPath(t,e)},e.prototype.isPointInPath=function(t,e){var n=this.get("el"),r=this.get("canvas").get("el").getBoundingClientRect(),i=t+r.left,a=e+r.top,o=document.elementFromPoint(i,a);return!!(o&&o.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,e=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?e+n:0},e}(o.AbstractShape);e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTooltipMapping=void 0;var r=n(0);e.getTooltipMapping=function(t,e){if(!1===t)return{fields:!1};var n=r.get(t,"fields"),i=r.get(t,"formatter");return i&&!n&&(n=e),{fields:n,formatter:i}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTooltipMapping=function(t,e){if(!1===t)return{fields:!1};var n=(0,r.get)(t,"fields"),i=(0,r.get)(t,"formatter");return i&&!n&&(n=e),{fields:n,formatter:i}};var r=n(0)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Category",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Identity",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"Linear",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Log",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Pow",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Quantile",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"Quantize",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Time",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"TimeCat",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"getScale",{enumerable:!0,get:function(){return p.getScale}}),Object.defineProperty(e,"getTickMethod",{enumerable:!0,get:function(){return g.getTickMethod}}),Object.defineProperty(e,"registerScale",{enumerable:!0,get:function(){return p.registerScale}}),Object.defineProperty(e,"registerTickMethod",{enumerable:!0,get:function(){return g.registerTickMethod}});var i=r(n(141)),a=r(n(426)),o=r(n(827)),s=r(n(427)),l=r(n(830)),u=r(n(831)),c=r(n(832)),f=r(n(428)),d=r(n(833)),p=n(834),h=r(n(835)),g=n(836);(0,p.registerScale)("cat",a.default),(0,p.registerScale)("category",a.default),(0,p.registerScale)("identity",h.default),(0,p.registerScale)("linear",s.default),(0,p.registerScale)("log",l.default),(0,p.registerScale)("pow",u.default),(0,p.registerScale)("time",c.default),(0,p.registerScale)("timeCat",o.default),(0,p.registerScale)("quantize",f.default),(0,p.registerScale)("quantile",d.default)},function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"c",function(){return l});var r=n(3),i=n.n(r),a=n(620),o=function(t){var e=t.error;return i.a.createElement("div",{className:"bizcharts-error",role:"alert"},i.a.createElement("p",null,"BizCharts something went wrong:"),i.a.createElement("pre",null,e.message))};function s(t){return o(t)}var l=function(t){o=t};e.b=a.ErrorBoundary},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={}.toString;e.default=function(t,e){return r.call(t)==="[object "+e+"]"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbar=e.Slider=e.HtmlTooltip=e.ContinuousLegend=e.CategoryLegend=e.CircleGrid=e.LineGrid=e.CircleAxis=e.LineAxis=e.Annotation=e.Crosshair=e.Component=e.GroupComponent=e.HtmlComponent=e.Scale=e.registerScale=e.getScale=e.Coordinate=e.registerCoordinate=e.getCoordinate=e.Color=e.Attribute=e.getAttribute=e.Adjust=e.getAdjust=e.registerAdjust=e.AbstractShape=e.AbstractGroup=e.Event=void 0;var r=n(26);Object.defineProperty(e,"Event",{enumerable:!0,get:function(){return r.Event}}),Object.defineProperty(e,"AbstractGroup",{enumerable:!0,get:function(){return r.AbstractGroup}}),Object.defineProperty(e,"AbstractShape",{enumerable:!0,get:function(){return r.AbstractShape}});var i=n(422);Object.defineProperty(e,"registerAdjust",{enumerable:!0,get:function(){return i.registerAdjust}}),Object.defineProperty(e,"getAdjust",{enumerable:!0,get:function(){return i.getAdjust}}),Object.defineProperty(e,"Adjust",{enumerable:!0,get:function(){return i.Adjust}});var a=n(251);Object.defineProperty(e,"getAttribute",{enumerable:!0,get:function(){return a.getAttribute}}),Object.defineProperty(e,"Attribute",{enumerable:!0,get:function(){return a.Attribute}});var o=n(251);Object.defineProperty(e,"Color",{enumerable:!0,get:function(){return o.Color}});var s=n(848);Object.defineProperty(e,"getCoordinate",{enumerable:!0,get:function(){return s.getCoordinate}}),Object.defineProperty(e,"registerCoordinate",{enumerable:!0,get:function(){return s.registerCoordinate}}),Object.defineProperty(e,"Coordinate",{enumerable:!0,get:function(){return s.Coordinate}});var l=n(66);Object.defineProperty(e,"getScale",{enumerable:!0,get:function(){return l.getScale}}),Object.defineProperty(e,"registerScale",{enumerable:!0,get:function(){return l.registerScale}}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return l.Scale}});var u=n(179);Object.defineProperty(e,"Annotation",{enumerable:!0,get:function(){return u.Annotation}}),Object.defineProperty(e,"Component",{enumerable:!0,get:function(){return u.Component}}),Object.defineProperty(e,"Crosshair",{enumerable:!0,get:function(){return u.Crosshair}}),Object.defineProperty(e,"GroupComponent",{enumerable:!0,get:function(){return u.GroupComponent}}),Object.defineProperty(e,"HtmlComponent",{enumerable:!0,get:function(){return u.HtmlComponent}}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return u.Slider}}),Object.defineProperty(e,"Scrollbar",{enumerable:!0,get:function(){return u.Scrollbar}});var c=u.Axis.Line,f=u.Axis.Circle;e.LineAxis=c,e.CircleAxis=f;var d=u.Grid.Line,p=u.Grid.Circle;e.LineGrid=d,e.CircleGrid=p;var h=u.Legend.Category,g=u.Legend.Continuous;e.CategoryLegend=h,e.ContinuousLegend=g;var v=u.Tooltip.Html;e.HtmlTooltip=v},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.uniq=e.omit=e.padEnd=e.isBetween=void 0;var i=n(0);e.isBetween=function(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i},e.padEnd=function(t,e,n){if((0,i.isString)(t))return t.padEnd(e,n);if((0,i.isArray)(t)){var r=t.length;if(r0&&(a.isNil(i)||1===i||(t.globalAlpha=i),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,e){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(i.AbstractShape);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.moveTo=e.sortDom=e.createDom=e.createSVGElement=void 0;var r=n(0),i=n(52);function a(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}e.createSVGElement=a,e.createDom=function(t){var e=i.SHAPE_TO_TAGS[t.type],n=t.getParent();if(!e)throw Error("the type "+t.type+" is not supported by svg");var r=a(e);if(t.get("id")&&(r.id=t.get("id")),t.set("el",r),t.set("attrs",{}),n){var o=n.get("el");o||(o=n.createDom(),n.set("el",o)),o.appendChild(r)}return r},e.sortDom=function(t,e){var n=t.get("el"),i=r.toArray(n.children).sort(e),a=document.createDocumentFragment();i.forEach(function(t){a.appendChild(t)}),n.appendChild(a)},e.moveTo=function(t,e){var n=t.parentNode,r=Array.from(n.childNodes).filter(function(t){return 1===t.nodeType&&"defs"!==t.nodeName.toLowerCase()}),i=r[e],a=r.indexOf(t);if(i){if(a>e)n.insertBefore(t,i);else if(a0&&((0,s.isNil)(i)||1===i||(t.globalAlpha=i),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,e){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(o.AbstractShape);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDom=function(t){var e=i.SHAPE_TO_TAGS[t.type],n=t.getParent();if(!e)throw Error("the type "+t.type+" is not supported by svg");var r=a(e);if(t.get("id")&&(r.id=t.get("id")),t.set("el",r),t.set("attrs",{}),n){var o=n.get("el");o||(o=n.createDom(),n.set("el",o)),o.appendChild(r)}return r},e.createSVGElement=a,e.moveTo=function(t,e){var n=t.parentNode,r=Array.from(n.childNodes).filter(function(t){return 1===t.nodeType&&"defs"!==t.nodeName.toLowerCase()}),i=r[e],a=r.indexOf(t);if(i){if(a>e)n.insertBefore(t,i);else if(a=this.minX&&t.maxX<=this.maxX&&t.minY>=this.minY&&t.maxY<=this.maxY},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.add=function(){for(var t=[],e=0;et.minX&&this.minYt.minY},t.prototype.size=function(){return this.width*this.height},t.prototype.isPointIn=function(t){return t.x>=this.minX&&t.x<=this.maxX&&t.y>=this.minY&&t.y<=this.maxY},t}();e.BBox=a,e.getRegionBBox=function(t,e){var n=e.start,r=e.end;return new a(t.x+t.width*n.x,t.y+t.height*n.y,t.width*Math.abs(r.x-n.x),t.height*Math.abs(r.y-n.y))},e.toPoints=function(t){return[[t.minX,t.minY],[t.maxX,t.minY],[t.maxX,t.maxY],[t.minX,t.maxY]]}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(3),i=n.n(r),a=n(76);function o(){return i.a.useContext(a.a).chart}},function(t,e,n){"use strict";var r=n(6),i=n.n(r),a=n(55),o=n.n(a),s=n(23),l=n.n(s),u=n(61),c=n.n(u);function f(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function d(t){return l()(t)?t.length:c()(t)?Object.keys(t).length:0}e.a=function(t,e){if(f(t,e))return!0;if("object"!==i()(t)||null===t||"object"!==i()(e)||null===e||l()(t)!==l()(e)||d(t)!==d(e))return!1;var n=!0;return o()(t,function(t,r){return!!f(t,e[r])||(n=!1)}),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Bar=void 0;var r=n(1),i=n(24),a=n(119),o=n(1120),s=n(1124),l=n(524),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bar",e}return r.__extends(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart,n=this.options,i=n.xField,s=n.yField,u=n.isPercent,c=r.__assign(r.__assign({},n),{xField:s,yField:i});o.meta({chart:e,options:c}),e.changeData(a.getDataWhetherPecentage(l.transformBarData(t),i,s,i,u))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Bar=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Column=void 0;var r=n(1),i=n(24),a=n(119),o=n(195),s=n(1127),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}return r.__extends(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.yField,r=e.xField,i=e.isPercent,s=this.chart,l=this.options;o.meta({chart:s,options:l}),this.chart.changeData(a.getDataWhetherPecentage(t,n,r,n,i))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Column=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(68));e.default=function(t){return(0,i.default)(t,"String")}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(68));e.default=function(t){return(0,i.default)(t,"Number")}},function(t,e,n){"use strict";function r(t){return Math.min.apply(null,t)}function i(t){return Math.max.apply(null,t)}Object.defineProperty(e,"__esModule",{value:!0}),e.distance=function(t,e,n,r){var i=t-n,a=e-r;return Math.sqrt(i*i+a*a)},e.getBBoxByArray=function(t,e){var n=r(t),a=r(e);return{x:n,y:a,width:i(t)-n,height:i(e)-a}},e.getBBoxRange=function(t,e,n,a){return{minX:r([t,n]),maxX:i([t,n]),minY:r([e,a]),maxY:i([e,a])}},e.isNumberEqual=function(t,e){return .001>Math.abs(t-e)},e.piMod=function(t){return(t+2*Math.PI)%(2*Math.PI)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"catmullRom2Bezier",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"fillPath",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"fillPathByDiff",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"formatPath",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"getArcParams",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"getLineIntersect",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"isPointInPolygon",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"isPolygonsIntersect",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"parsePathArray",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"parsePathString",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"path2Absolute",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"path2Curve",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"path2Segments",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"pathIntersection",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"reactPath",{enumerable:!0,get:function(){return h.default}});var i=r(n(414)),a=r(n(800)),o=r(n(803)),s=r(n(804)),l=r(n(805)),u=r(n(806)),c=r(n(811)),f=r(n(418)),d=r(n(416)),p=r(n(417)),h=r(n(415)),g=r(n(419)),v=r(n(812)),y=r(n(420)),m=r(n(813)),b=r(n(421))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.__assign=void 0,e.__asyncDelegator=function(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:u(t[r](e)),done:"return"===r}:i?i(e):e}:i}},e.__asyncGenerator=function(t,e,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(t){i[t]&&(r[t]=function(e){return new Promise(function(n,r){a.push([t,e,n,r])>1||s(t,e)})})}function s(t,e){try{var n;(n=i[t](e)).value instanceof u?Promise.resolve(n.value.v).then(l,c):f(a[0][2],n)}catch(t){f(a[0][3],t)}}function l(t){s("next",t)}function c(t){s("throw",t)}function f(t,e){t(e),a.shift(),a.length&&s(a[0][0],a[0][1])}},e.__asyncValues=function(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=s(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){(function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)})(r,i,(e=t[n](e)).done,e.value)})}}},e.__await=u,e.__awaiter=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{l(r.next(t))}catch(t){a(t)}}function s(t){try{l(r.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,s)}l((r=r.apply(t,e||[])).next())})},e.__classPrivateFieldGet=function(t,e){if(!e.has(t))throw TypeError("attempted to get private field on non-instance");return e.get(t)},e.__classPrivateFieldSet=function(t,e,n){if(!e.has(t))throw TypeError("attempted to set private field on non-instance");return e.set(t,n),n},e.__createBinding=function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]},e.__decorate=function(t,e,n,r){var a,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if(("undefined"==typeof Reflect?"undefined":(0,i.default)(Reflect))==="object"&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(o<3?a(s):o>3?a(e,n,s):a(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},e.__exportStar=function(t,e){for(var n in t)"default"===n||e.hasOwnProperty(n)||(e[n]=t[n])},e.__extends=function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},e.__generator=function(t,e){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},e.__spread=function(){for(var t=[],e=0;e=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function u(t){return this instanceof u?(this.v=t,this):new u(t)}e.__assign=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyMatrix2BBox=function(t,e){var n=s(t,[e.minX,e.minY]),r=s(t,[e.maxX,e.minY]),i=s(t,[e.minX,e.maxY]),a=s(t,[e.maxX,e.maxY]),o=Math.min(n[0],r[0],i[0],a[0]),l=Math.max(n[0],r[0],i[0],a[0]),u=Math.min(n[1],r[1],i[1],a[1]),c=Math.max(n[1],r[1],i[1],a[1]);return{x:o,y:u,minX:o,minY:u,maxX:l,maxY:c,width:l-o,height:c-u}},e.applyRotate=function(t,e,n,r){if(e){var i=a({x:n,y:r},e,t.getMatrix());t.setMatrix(i)}},e.applyTranslate=function(t,e,n){var r=o({x:e,y:n});t.attr("matrix",r)},e.getAngleByMatrix=function(t){var e=[0,0,0];return r.vec3.transformMat3(e,[1,0,0],t),Math.atan2(e[1],e[0])},e.getMatrixByAngle=a,e.getMatrixByTranslate=o;var r=n(32),i=[1,0,0,0,1,0,0,0,1];function a(t,e,n){return(void 0===n&&(n=i),e)?r.ext.transform(n,[["t",-t.x,-t.y],["r",e],["t",t.x,t.y]]):null}function o(t,e){return t.x||t.y?r.ext.transform(e||i,[["t",t.x,t.y]]):null}function s(t,e){var n=[0,0];return r.vec2.transformMat3(n,e,t),n}},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),a=n(422),o=n(251),s=n(0),l=n(97),u=(0,i.__importDefault)(n(263)),c=n(21),f=n(70),d=(0,i.__importDefault)(n(269)),p=n(271),h=n(27),g=n(945),v=n(449),y=n(946),m=n(450),b=n(48),x=function(t){function e(e){var n=t.call(this,e)||this;n.type="base",n.attributes={},n.elements=[],n.elementsMap={},n.animateOption=!0,n.attributeOption={},n.lastElementsMap={},n.generatePoints=!1,n.beforeMappingData=null,n.adjusts={},n.idFields=[],n.hasSorted=!1,n.isCoordinateChanged=!1;var r=e.container,i=e.labelsContainer,a=e.coordinate,o=e.data,s=e.sortable,l=e.visible,u=e.theme,c=e.scales,f=e.scaleDefs,d=e.intervalPadding,p=e.dodgePadding,h=e.maxColumnWidth,g=e.minColumnWidth,v=e.columnWidthRatio,y=e.roseWidthRatio,m=e.multiplePieWidthRatio,b=e.zIndexReversed;return n.container=r,n.labelsContainer=i,n.coordinate=a,n.data=o,n.sortable=void 0!==s&&s,n.visible=void 0===l||l,n.userTheme=u,n.scales=void 0===c?{}:c,n.scaleDefs=void 0===f?{}:f,n.intervalPadding=d,n.dodgePadding=p,n.maxColumnWidth=h,n.minColumnWidth=g,n.columnWidthRatio=v,n.roseWidthRatio=y,n.multiplePieWidthRatio=m,n.zIndexReversed=b,n}return(0,i.__extends)(e,t),e.prototype.position=function(t){var e=t;(0,s.isPlainObject)(t)||(e={fields:(0,y.parseFields)(t)});var n=(0,s.get)(e,"fields");return 1===n.length&&(n.unshift("1"),(0,s.set)(e,"fields",n)),(0,s.set)(this.attributeOption,"position",e),this},e.prototype.color=function(t,e){return this.createAttrOption("color",t,e),this},e.prototype.shape=function(t,e){return this.createAttrOption("shape",t,e),this},e.prototype.size=function(t,e){return this.createAttrOption("size",t,e),this},e.prototype.adjust=function(t){var e=t;return((0,s.isString)(t)||(0,s.isPlainObject)(t))&&(e=[t]),(0,s.each)(e,function(t,n){(0,s.isObject)(t)||(e[n]={type:t})}),this.adjustOption=e,this},e.prototype.style=function(t,e){if((0,s.isString)(t)){var n=(0,y.parseFields)(t);this.styleOption={fields:n,callback:e}}else{var n=t.fields,r=t.callback,i=t.cfg;n||r||i?this.styleOption=t:this.styleOption={cfg:t}}return this},e.prototype.tooltip=function(t,e){if((0,s.isString)(t)){var n=(0,y.parseFields)(t);this.tooltipOption={fields:n,callback:e}}else this.tooltipOption=t;return this},e.prototype.animate=function(t){return this.animateOption=t,this},e.prototype.label=function(t,e,n){if((0,s.isString)(t)){var r={},i=(0,y.parseFields)(t);r.fields=i,(0,s.isFunction)(e)?r.callback=e:(0,s.isPlainObject)(e)&&(r.cfg=e),n&&(r.cfg=n),this.labelOption=r}else this.labelOption=t;return this},e.prototype.state=function(t){return this.stateOption=t,this},e.prototype.customInfo=function(t){return this.customOption=t,this},e.prototype.init=function(t){void 0===t&&(t={}),this.setCfg(t),this.initAttributes(),this.processData(this.data),this.adjustScale()},e.prototype.update=function(t){void 0===t&&(t={});var e=t.data,n=t.isDataChanged,r=t.isCoordinateChanged,i=this.attributeOption,a=this.lastAttributeOption;(0,s.isEqual)(i,a)?e&&(n||!(0,s.isEqual)(e,this.data))?(this.setCfg(t),this.initAttributes(),this.processData(e)):this.setCfg(t):this.init(t),this.adjustScale(),this.isCoordinateChanged=r},e.prototype.paint=function(t){void 0===t&&(t=!1),this.animateOption&&(this.animateOption=(0,s.deepMix)({},(0,l.getDefaultAnimateCfg)(this.type,this.coordinate),this.animateOption)),this.defaultSize=void 0,this.elementsMap={},this.elements=[],this.getOffscreenGroup().clear();var e=this.beforeMappingData,n=this.beforeMapping(e);this.dataArray=Array(n.length);for(var r=0;r=0?e:n<=0?n:0},e.prototype.createAttrOption=function(t,e,n){if((0,s.isNil)(e)||(0,s.isObject)(e))(0,s.isObject)(e)&&(0,s.isEqual)(Object.keys(e),["values"])?(0,s.set)(this.attributeOption,t,{fields:e.values}):(0,s.set)(this.attributeOption,t,e);else{var r={};(0,s.isNumber)(e)?r.values=[e]:r.fields=(0,y.parseFields)(e),n&&((0,s.isFunction)(n)?r.callback=n:r.values=n),(0,s.set)(this.attributeOption,t,r)}},e.prototype.initAttributes=function(){var t=this,e=this.attributes,n=this.attributeOption,a=this.theme,s=this.shapeType;this.groupScales=[];var l={},u=function(r){if(n.hasOwnProperty(r)){var u=n[r];if(!u)return{value:void 0};var f=(0,i.__assign)({},u),d=f.callback,p=f.values,h=f.fields,g=(void 0===h?[]:h).map(function(e){var n=t.scales[e];return n.isCategory&&!l[e]&&c.GROUP_ATTRS.includes(r)&&(t.groupScales.push(n),l[e]=!0),n});f.scales=g,"position"!==r&&1===g.length&&"identity"===g[0].type?f.values=g[0].values:d||p||("size"===r?f.values=a.sizes:"shape"===r?f.values=a.shapes[s]||[]:"color"===r&&(g.length?f.values=g[0].values.length<=10?a.colors10:a.colors20:f.values=a.colors10));var v=(0,o.getAttribute)(r);e[r]=new v(f)}};for(var f in n){var d=u(f);if("object"===(0,r.default)(d))return d.value}},e.prototype.processData=function(t){this.hasSorted=!1;for(var e=this.getAttribute("position").scales.filter(function(t){return t.isCategory}),n=this.groupData(t),r=[],i=0,a=n.length;ia&&(a=c)}var f=this.scaleDefs,d={};it.max&&!(0,s.get)(f,[r,"max"])&&(d.max=a),t.change(d)},e.prototype.beforeMapping=function(t){if(this.sortable&&this.sort(t),this.generatePoints)for(var e=0,n=t.length;e1)for(var d=0;d0||1===n?s[a]=r*o:s[a]=-(r*o*1),s},t.prototype.getLabelPoint=function(t,e,n){var r=this.getCoordinate(),a=t.content.length;function o(e,n,r){void 0===r&&(r=!1);var a=e;return(0,i.isArray)(a)&&(a=1===t.content.length?r?u(a):a.length<=2?a[e.length-1]:u(a):a[n]),a}var l={content:t.content[n],x:0,y:0,start:{x:0,y:0},color:"#fff"},c=(0,i.isArray)(e.shape)?e.shape[0]:e.shape,f="funnel"===c||"pyramid"===c;if("polygon"===this.geometry.type){var d=(0,s.getPolygonCentroid)(e.x,e.y);l.x=d[0],l.y=d[1]}else"interval"!==this.geometry.type||f?(l.x=o(e.x,n),l.y=o(e.y,n)):(l.x=o(e.x,n,!0),l.y=o(e.y,n));if(f){var p=(0,i.get)(e,"nextPoints"),h=(0,i.get)(e,"points");if(p){var g=r.convert(h[1]),v=r.convert(p[1]);l.x=(g.x+v.x)/2,l.y=(g.y+v.y)/2}else if("pyramid"===c){var g=r.convert(h[1]),v=r.convert(h[2]);l.x=(g.x+v.x)/2,l.y=(g.y+v.y)/2}}t.position&&this.setLabelPosition(l,e,n,t.position);var y=this.getLabelOffsetPoint(t,n,a);return l.start={x:l.x,y:l.y},l.x+=y.x,l.y+=y.y,l.color=e.color,l},t.prototype.getLabelAlign=function(t,e,n){var r="center";if(this.getCoordinate().isTransposed){var i=t.offset;r=i<0?"right":0===i?"center":"left",n>1&&0===e&&("right"===r?r="left":"left"===r&&(r="right"))}return r},t.prototype.getLabelId=function(t){var e=this.geometry,n=e.type,r=e.getXScale(),i=e.getYScale(),o=t[a.FIELD_ORIGIN],s=e.getElementId(t);return"line"===n||"area"===n?s+=" "+o[r.field]:"path"===n&&(s+=" "+o[r.field]+"-"+o[i.field]),s},t.prototype.getLabelsRenderer=function(){var t=this.geometry,e=t.labelsContainer,n=t.labelOption,r=t.canvasRegion,a=t.animateOption,s=this.geometry.coordinate,u=this.labelsRenderer;return u||(u=new l.default({container:e,layout:(0,i.get)(n,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=u),u.region=r,u.animate=!!a&&(0,o.getDefaultAnimateCfg)("label",s),u},t.prototype.getLabelCfgs=function(t){var e=this,n=this.geometry,o=n.labelOption,s=n.scales,l=n.coordinate,u=o.fields,c=o.callback,f=o.cfg,d=u.map(function(t){return s[t]}),p=[];return(0,i.each)(t,function(t,n){var o,s=t[a.FIELD_ORIGIN],h=e.getLabelText(s,d);if(c){var g=u.map(function(t){return s[t]});if(o=c.apply(void 0,g),(0,i.isNil)(o)){p.push(null);return}}var v=(0,r.__assign)((0,r.__assign)({id:e.getLabelId(t),elementId:e.geometry.getElementId(t),data:s,mappingData:t,coordinate:l},f),o);(0,i.isFunction)(v.position)&&(v.position=v.position(s,t,n));var y=e.getLabelOffset(v.offset||0),m=e.getDefaultLabelCfg(y,v.position);(v=(0,i.deepMix)({},m,v)).offset=e.getLabelOffset(v.offset||0);var b=v.content;(0,i.isFunction)(b)?v.content=b(s,t,n):(0,i.isUndefined)(b)&&(v.content=h[0]),p.push(v)}),p},t.prototype.getLabelText=function(t,e){var n=[];return(0,i.each)(e,function(e){var r=t[e.field];r=(0,i.isArray)(r)?r.map(function(t){return e.getText(t)}):e.getText(r),(0,i.isNil)(r)||""===r?n.push(null):n.push(r)}),n},t.prototype.getOffsetVector=function(t){void 0===t&&(t=0);var e=this.getCoordinate(),n=0;return(0,i.isNumber)(t)&&(n=t),e.isTransposed?e.applyMatrix(n,0):e.applyMatrix(0,n)},t.prototype.getGeometryShapes=function(){var t=this.geometry,e={};return(0,i.each)(t.elementsMap,function(t,n){e[n]=t.shape}),(0,i.each)(t.getOffscreenGroup().getChildren(),function(n){e[t.getElementId(n.get("origin").mappingData)]=n}),e},t}();e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getConstraint=e.getShapeAttrs=void 0;var r=n(0),i=n(115),a=n(33),o=n(112);e.getShapeAttrs=function(t,e,n,s,l){for(var u=(0,a.getStyle)(t,e,!e,"lineWidth"),c=t.connectNulls,f=t.isInCircle,d=t.points,p=t.showSinglePoint,h=(0,i.getPathPoints)(d,c,p),g=[],v=0,y=h.length;v0&&(c[0][0]="L")),s=s.concat(c)}),s.push(["Z"])}return s}(m,f,n,s,l))}return u.path=g,u},e.getConstraint=function(t){var e=t.start,n=t.end;return[[e.x,n.y],[n.x,e.y]]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"each",{enumerable:!0,get:function(){return r.each}}),e.isAllowCapture=function(t){return t.cfg.visible&&t.cfg.capture},Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return r.isArray}}),e.isBrowser=void 0,Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return r.isFunction}}),Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return r.isNil}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return r.isObject}}),e.isParent=function(t,e){if(t.isCanvas())return!0;for(var n=e.getParent(),r=!1;n;){if(n===t){r=!0;break}n=n.getParent()}return r},Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return r.isString}}),Object.defineProperty(e,"mix",{enumerable:!0,get:function(){return r.mix}}),e.removeFromArray=function(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)},Object.defineProperty(e,"upperFirst",{enumerable:!0,get:function(){return r.upperFirst}});var r=n(0),i="undefined"!=typeof window&&void 0!==window.document;e.isBrowser=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=function(t,e){return(0,r.isString)(e)?e:t.invert(t.scale(e))},a=function(){function t(t){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(t)}return t.prototype.mapping=function(){for(var t=this,e=[],n=0;n180||n<-180?n-360*Math.round(n/360):n):(0,i.default)(isNaN(t)?e:t)};var i=r(n(402));function a(t,e){return function(n){return t+n*e}}function o(t,e){var n=e-t;return n?a(t,n):(0,i.default)(isNaN(t)?e:t)}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(0)),a=n(250);function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}var s=function(){function t(t){var e=t.xField,n=t.yField,r=t.adjustNames,i=t.dimValuesMap;this.adjustNames=void 0===r?["x","y"]:r,this.xField=e,this.yField=n,this.dimValuesMap=i}return t.prototype.isAdjust=function(t){return this.adjustNames.indexOf(t)>=0},t.prototype.getAdjustRange=function(t,e,n){var r,i,a=this.yField,o=n.indexOf(e),s=n.length;return!a&&this.isAdjust("y")?(r=0,i=1):s>1?(r=n[0===o?0:o-1],i=n[o===s-1?s-1:o+1],0!==o?r+=(e-r)/2:r-=(i-e)/2,o!==s-1?i-=(i-e)/2:i+=(e-n[s-2])/2):(r=0===e?0:e-.5,i=0===e?1:e+.5),{pre:r,next:i}},t.prototype.adjustData=function(t,e){var n=this,r=this.getDimValues(e);i.each(t,function(t,e){i.each(r,function(r,i){n.adjustDim(i,r,t,e)})})},t.prototype.groupData=function(t,e){return i.each(t,function(t){void 0===t[e]&&(t[e]=a.DEFAULT_Y)}),i.groupBy(t,e)},t.prototype.adjustDim=function(t,e,n,r){},t.prototype.getDimValues=function(t){var e=this.xField,n=this.yField,r=i.assign({},this.dimValuesMap),o=[];return e&&this.isAdjust("x")&&o.push(e),n&&this.isAdjust("y")&&o.push(n),o.forEach(function(e){r&&r[e]||(r[e]=i.valuesOfKey(t,e).sort(function(t,e){return t-e}))}),!n&&this.isAdjust("y")&&(r.y=[a.DEFAULT_Y,1]),r},t}();e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getMaxScale=e.getDefaultCategoryScaleRange=e.getName=e.syncScale=e.createScaleByField=void 0;var r=n(1),i=n(0),a=n(69),o=n(48),s=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;e.createScaleByField=function(t,e,n){var o,l,u=e||[];if((0,i.isNumber)(t)||(0,i.isNil)((0,i.firstValue)(u,t))&&(0,i.isEmpty)(n))return new((0,a.getScale)("identity"))({field:t.toString(),values:[t]});var c=(0,i.valuesOfKey)(u,t),f=(0,i.get)(n,"type",(o=c[0],l="linear",s.test(o)?l="timeCat":(0,i.isString)(o)&&(l="cat"),l));return new((0,a.getScale)(f))((0,r.__assign)({field:t,values:c},n))},e.syncScale=function(t,e){if("identity"!==t.type&&"identity"!==e.type){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);t.change(n)}},e.getName=function(t){return t.alias||t.field},e.getDefaultCategoryScaleRange=function(t,e,n){var r,a=t.values.length;if(1===a)r=[.5,1];else{var s=0;r=(0,o.isFullCircle)(e)?e.isTransposed?[(s=1/a*(0,i.get)(n,"widthRatio.multiplePie",1/1.3))/2,1-s/2]:[0,1-1/a]:[s=1/a/2,1-s]}return r},e.getMaxScale=function(t){var e=t.values.filter(function(t){return!(0,i.isNil)(t)&&!isNaN(t)});return Math.max.apply(Math,(0,r.__spreadArray)((0,r.__spreadArray)([],e,!1),[(0,i.isNil)(t.max)?-1/0:t.max],!1))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertPolarPath=e.convertNormalPath=e.getSplinePath=e.getLinePath=e.catmullRom2bezier=e.smoothBezier=void 0;var r=n(32),i=n(0),a=n(48);function o(t,e){for(var n=[t[0]],r=1,i=t.length;r=s[c]?1:0,p=f>Math.PI?1:0,h=n.convert(l),g=(0,a.getDistanceToCenter)(n,h);if(g>=.5){if(f===2*Math.PI){var v={x:(l.x+s.x)/2,y:(l.y+s.y)/2},y=n.convert(v);u.push(["A",g,g,0,p,d,y.x,y.y]),u.push(["A",g,g,0,p,d,h.x,h.y])}else u.push(["A",g,g,0,p,d,h.x,h.y])}return u}(r,l,t)):u.push(o(n,t));break;case"a":u.push(s(n,t));break;default:u.push(n)}}),n=u,(0,i.each)(n,function(t,e){if("a"===t[0].toLowerCase()){var r=n[e-1],i=n[e+1];i&&"a"===i[0].toLowerCase()?r&&"l"===r[0].toLowerCase()&&(r[0]="M"):r&&"a"===r[0].toLowerCase()&&i&&"l"===i[0].toLowerCase()&&(i[0]="M")}}),u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkShapeOverlap=e.getOverlapArea=e.getlLabelBackgroundInfo=e.findLabelTextShape=void 0;var r=n(0),i=n(114);function a(t,e,n){return void 0===n&&(n=0),Math.max(0,Math.min(t.x+t.width+n,e.x+e.width+n)-Math.max(t.x-n,e.x-n))*Math.max(0,Math.min(t.y+t.height+n,e.y+e.height+n)-Math.max(t.y-n,e.y-n))}e.findLabelTextShape=function(t){return t.find(function(t){return"text"===t.get("type")})},e.getlLabelBackgroundInfo=function(t,e,n){void 0===n&&(n=[0,0,0,0]);var a=t.getChildren()[0];if(a){var o=a.clone();(null==e?void 0:e.rotate)&&(0,i.rotate)(o,-e.rotate);var s=o.getCanvasBBox(),l=s.x,u=s.y,c=s.width,f=s.height;o.destroy();var d=n;return(0,r.isNil)(d)?d=[2,2,2,2]:(0,r.isNumber)(d)&&(d=[,,,,].fill(d)),{x:l-d[3],y:u-d[0],width:c+d[1]+d[3],height:f+d[0]+d[2],rotation:(null==e?void 0:e.rotate)||0}}},e.getOverlapArea=a,e.checkShapeOverlap=function(t,e){var n=t.getBBox();return(0,r.some)(e,function(t){return a(n,t.getBBox(),2)>0})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zoom=e.getIdentityMatrix=e.rotate=e.getRotateMatrix=e.translate=e.transform=void 0;var r=n(32).ext.transform;function i(t,e){var n=t.attr(),i=n.x,a=n.y;return r(t.getMatrix(),[["t",-i,-a],["r",e],["t",i,a]])}e.transform=r,e.translate=function(t,e,n){var i=r(t.getMatrix(),[["t",e,n]]);t.setMatrix(i)},e.getRotateMatrix=i,e.rotate=function(t,e){var n=i(t,e);t.setMatrix(n)},e.getIdentityMatrix=function(){return[1,0,0,0,1,0,0,0,1]},e.zoom=function(t,e){var n=t.getBBox(),i=(n.minX+n.maxX)/2,a=(n.minY+n.maxY)/2;t.applyToMatrix([i,a,1]);var o=r(t.getMatrix(),[["t",-i,-a],["s",e,e],["t",i,a]]);t.setMatrix(o)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSmoothViolinPath=e.getViolinPath=e.getPathPoints=void 0;var r=n(0),i=n(112);function a(t){return!t&&(null==t||isNaN(t))}function o(t){if((0,r.isArray)(t))return a(t[1].y);var e=t.y;return(0,r.isArray)(e)?a(e[0]):a(e)}e.getPathPoints=function(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!0),!t.length||1===t.length&&!n)return[];if(e){for(var r=[],i=0,a=t.length;i0&&(n=n.map(function(t,n){return e.forEach(function(r,i){t+=e[i][n]}),t})),n};var r=n(0);function i(t){if((0,r.isNumber)(t))return[t,t,t,t];if((0,r.isArray)(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pattern=function(t){var e=this;return function(n){var l,u=n.options,c=n.chart,f=u.pattern;return f?(0,s.deepAssign)({},n,{options:((l={})[t]=function(n){for(var l,d,p,h=[],g=1;g(0,i.get)(t.view.getOptions(),"tooltip.showDelay",16)){var o=this.location,s={x:e.x,y:e.y};o&&(0,i.isEqual)(o,s)||this.showTooltip(n,s),this.timeStamp=a,this.location=s}}},e.prototype.hide=function(){var t=this.context.view,e=t.getController("tooltip"),n=this.context.event,r=n.clientX,i=n.clientY;e.isCursorEntered({x:r,y:i})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,e){t.showTooltip(e)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}((0,r.__importDefault)(n(44)).default);e.default=a},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(325),h=n.n(p),g=n(39),v=n(8);n(278),Object(v.registerGeometry)("Area",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="area",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return v});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(329),h=n.n(p);n(281);var g=n(39);Object(n(8).registerGeometry)("Line",h.a);var v=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="line",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(330),h=n.n(p),g=n(39),v=n(8);n(470),n(471),n(472),Object(v.registerGeometry)("Point",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="point",t}return i()(r)}(g.a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLocale=e.registerLocale=void 0;var r=n(0),i=n(15),a=n(187),o={};e.registerLocale=function(t,e){o[t]=e},e.getLocale=function(t){return{get:function(e,n){return i.template(r.get(o[t],e)||r.get(o[a.GLOBAL.locale],e)||r.get(o["en-US"],e)||e,n)}}}},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(4),i=n.n(r),a=n(133),o=n.n(a),s=n(3),l=n.n(s),u=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ChartContainer",n=l.a.forwardRef(function(e,n){var r=Object(s.useRef)(),a=Object(s.useState)(!1),c=o()(a,2),f=c[0],d=c[1],p=e.className,h=e.containerStyle,g=u(e,["className","containerStyle"]);return Object(s.useEffect)(function(){d(!0)},[]),l.a.createElement("div",{ref:r,className:void 0===p?"bizcharts":p,style:i()({position:"relative",height:e.height||"100%",width:e.width||"100%"},h)},f?l.a.createElement(t,i()({ref:n,container:r.current},g)):l.a.createElement(l.a.Fragment,null))});return n.displayName=e||t.name,n}},function(t,e,n){"use strict";var r=n(1033),i=n(1034),a=n(481),o=n(1035);t.exports=function(t,e){return r(t)||i(t,e)||a(t,e)||o()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Area=void 0;var r=n(1),i=n(24),a=n(119),o=n(1125),s=n(1126),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}return r.__extends(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.isPercent,r=e.xField,i=e.yField,s=this.chart,l=this.options;o.meta({chart:s,options:l}),this.chart.changeData(a.getDataWhetherPecentage(t,i,r,i,n))},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Area=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Heatmap=void 0;var r=n(1),i=n(24),a=n(1132),o=n(1133);n(1134),n(1135);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}return r.__extends(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(i.Plot);e.Heatmap=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Rose=void 0;var r=n(1),i=n(24),a=n(1139),o=n(1140),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}return r.__extends(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Rose=s},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(77),i=n.n(r),a=new RegExp("^on(.*)(?=(".concat(["mousedown","mouseup","dblclick","mouseenter","mouseout","mouseover","mousemove","mouseleave","contextmenu","click","show","hide","change"].map(function(t){return t.replace(/^\S/,function(t){return t.toUpperCase()})}).join("|"),"))")),o=function(t){var e=[];return i()(t,function(t,n){var r=n.match(/^on(.*)/);if(r){var i=n.match(a);if(i){var o=i[1].replace(/([A-Z])/g,"-$1").toLowerCase();(o=o.replace("column","interval"))?e.push([n,"".concat(o.replace("-",""),":").concat(i[2].toLowerCase())]):e.push([n,i[2].toLowerCase()])}else e.push([n,r[1].toLowerCase()])}}),e}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(239)),a=r(n(68));e.default=function(t){if(!(0,i.default)(t)||!(0,a.default)(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r;try{r=window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.style[e]}catch(t){}finally{r=void 0===r?n:r}return r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=n(0),a=/rgba?\(([\s.,0-9]+)\)/,o=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,s=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,l=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,u=function(){var t=document.createElement("i");return t.title="Web Colour Picker",t.style.display="none",document.body.appendChild(t),t},c=function(t,e,n,r){return t[r]+(e[r]-t[r])*n};function f(t){return"#"+p(t[0])+p(t[1])+p(t[2])}var d=function(t){return[parseInt(t.substr(1,2),16),parseInt(t.substr(3,2),16),parseInt(t.substr(5,2),16)]},p=function(t){var e=Math.round(t).toString(16);return 1===e.length?"0"+e:e},h=function(t,e){var n=isNaN(Number(e))||e<0?0:e>1?1:Number(e),r=t.length-1,i=Math.floor(r*n),a=r*n-i,o=t[i],s=i===r?o:t[i+1];return f([c(o,s,a,0),c(o,s,a,1),c(o,s,a,2)])},g=function(t){if("#"===t[0]&&7===t.length)return t;r||(r=u()),r.style.color=t;var e=document.defaultView.getComputedStyle(r,"").getPropertyValue("color");return f(a.exec(e)[1].split(/\s*,\s*/).map(function(t){return Number(t)}))},v={rgb2arr:d,gradient:function(t){var e=(0,i.isString)(t)?t.split("-"):t,n=(0,i.map)(e,function(t){return d(-1===t.indexOf("#")?g(t):t)});return function(t){return h(n,t)}},toRGB:(0,i.memoize)(g),toCSSGradient:function(t){if(/^[r,R,L,l]{1}[\s]*\(/.test(t)){var e,n=void 0;if("l"===t[0]){var r=o.exec(t),a=+r[1]+90;n=r[2],e="linear-gradient("+a+"deg, "}else if("r"===t[0]){e="radial-gradient(";var r=s.exec(t);n=r[4]}var u=n.match(l);return(0,i.each)(u,function(t,n){var r=t.split(":");e+=r[1]+" "+100*r[0]+"%",n!==u.length-1&&(e+=", ")}),e+=")"}return t}};e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=n(425),a=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){(0,r.assign)(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return(0,r.map)(this.ticks,function(e,n){return(0,r.isObject)(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}})},t.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return(0,r.isNil)(i)||!(0,r.isFunction)(i.toString)?"":i.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){(0,r.assign)(this,this.__cfg__),this.setDomain(),(0,r.isEmpty)(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if((0,r.isString)(t)){var n=(0,i.getTickMethod)(t);if(!n)throw Error("There is no method to to calculate ticks!");e=n(this)}else(0,r.isFunction)(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return this.range[0]},t.prototype.rangeMax=function(){return this.range[1]},t.prototype.calcPercent=function(t,e,n){return(0,r.isNumber)(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ellipsisLabel=function(t,e,n,o){void 0===o&&(o="tail");var s,l=null!==(s=e.attr("text"))&&void 0!==s?s:"";if("tail"===o){var u=(0,r.pick)(e.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),c=(0,r.getEllipsisText)(l,n,u,"…");return l!==c?(e.attr("text",c),e.set("tip",l),!0):(e.set("tip",null),!1)}var f=a(t,e),d=(0,i.strLen)(l),p=!1;if(n=0?(0,i.ellipsisString)(l,h,o):"…")&&(e.attr("text",g),p=!0)}return p?e.set("tip",l):e.set("tip",null),p},e.getLabelLength=a,e.getMaxLabelWidth=function(t){if(t.length>400)return function(t){for(var e=t.map(function(t){var e=t.attr("text");return(0,r.isNil)(e)?"":""+e}),n=0,i=0,a=0;a=19968&&l<=40869?o+=2:o+=1}o>n&&(n=o,i=a)}return t[i].getBBox().width}(t);var e=0;return(0,r.each)(t,function(t){var n=t.getBBox().width;eO?_:O,E=_>O?1:_/O,C=_>O?O/_:1;e.translate(b,x),e.rotate(A),e.scale(E,C),e.arc(0,0,w,P,M,1-S),e.scale(1/E,1/C),e.rotate(-A),e.translate(-b,-x)}break;case"Z":e.closePath()}if("Z"===h)u=c;else{var T=p.length;u=[p[T-2],p[T-1]]}}}},e.refreshElement=function(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),!(t.cfg.parent&&t.cfg.parent.get("hasChanged"))&&(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))},e.getRefreshRegion=f,e.getMergedRegion=function(t){if(!t.length)return null;var e=[],n=[],i=[],a=[];return r.each(t,function(t){var r=f(t);r&&(e.push(r.minX),n.push(r.minY),i.push(r.maxX),a.push(r.maxY))}),{minX:r.min(e),minY:r.min(n),maxX:r.max(i),maxY:r.max(a)}},e.mergeView=function(t,e){return t&&e&&o.intersectRect(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setClip=e.setTransform=e.setShadow=void 0;var r=n(72);e.setShadow=function(t,e){var n=t.cfg.el,r=t.attr(),i={dx:r.shadowOffsetX,dy:r.shadowOffsetY,blur:r.shadowBlur,color:r.shadowColor};if(i.dx||i.dy||i.blur||i.color){var a=e.find("filter",i);a||(a=e.addShadow(i)),n.setAttribute("filter","url(#"+a+")")}else n.removeAttribute("filter")},e.setTransform=function(t){var e=t.attr().matrix;if(e){for(var n=t.cfg.el,r=[],i=0;i<9;i+=3)r.push(e[i]+","+e[i+1]);-1===(r=r.join(",")).indexOf("NaN")?n.setAttribute("transform","matrix("+r+")"):console.warn("invalid matrix:",e)}},e.setClip=function(t,e){var n=t.getClip(),i=t.get("el");if(n){if(n&&!i.hasAttribute("clip-path")){r.createDom(n),n.createPath(e);var a=e.addClip(n);i.setAttribute("clip-path","url(#"+a+")")}}else i.removeAttribute("clip-path")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerSymbols=void 0,e.MarkerSymbols={hexagon:function(t,e,n){var r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},bowtie:function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},cross:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},tick:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},plus:function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},hyphen:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},line:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Ellipse",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return h.default}});var i=r(n(73)),a=r(n(952)),o=r(n(953)),s=r(n(954)),l=r(n(955)),u=r(n(956)),c=r(n(957)),f=r(n(959)),d=r(n(960)),p=r(n(961)),h=r(n(964))},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.applyAttrsToContext=function(t,e){var n=e.attr();for(var r in n){var i=n[r],s=f[r]?f[r]:r;"matrix"===s&&i?t.transform(i[0],i[1],i[3],i[4],i[6],i[7]):"lineDash"===s&&t.setLineDash?(0,a.isArray)(i)&&t.setLineDash(i):("strokeStyle"===s||"fillStyle"===s?i=(0,o.parseStyle)(t,e,i):"globalAlpha"===s&&(i*=t.globalAlpha),t[s]=i)}},e.checkChildrenRefresh=d,e.checkRefresh=function(t,e,n){var r=t.get("refreshElements");(0,a.each)(r,function(e){if(e!==t)for(var n=e.cfg.parent;n&&n!==t&&!n.cfg.refresh;)n.cfg.refresh=!0,n=n.cfg.parent}),r[0]===t?p(e,n):d(e,n)},e.clearChanged=function t(e){for(var n=0;nO?_:O,E=_>O?1:_/O,C=_>O?O/_:1;e.translate(b,x),e.rotate(A),e.scale(E,C),e.arc(0,0,w,P,M,1-S),e.scale(1/E,1/C),e.rotate(-A),e.translate(-b,-x)}break;case"Z":e.closePath()}if("Z"===h)l=c;else{var T=p.length;l=[p[T-2],p[T-1]]}}}},e.getMergedRegion=function(t){if(!t.length)return null;var e=[],n=[],r=[],i=[];return(0,a.each)(t,function(t){var a=h(t);a&&(e.push(a.minX),n.push(a.minY),r.push(a.maxX),i.push(a.maxY))}),{minX:(0,a.min)(e),minY:(0,a.min)(n),maxX:(0,a.max)(r),maxY:(0,a.max)(i)}},e.getRefreshRegion=h,e.mergeView=function(t,e){return t&&e&&(0,l.intersectRect)(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null},e.refreshElement=function(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),!(t.cfg.parent&&t.cfg.parent.get("hasChanged"))&&(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))};var a=n(0),o=n(453),s=r(n(454)),l=n(53),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(188));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var f={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function d(t,e){for(var n=0;ne&&(n=n?e/(1+i/n):0,i=e-n),a+o>e&&(a=a?e/(1+o/a):0,o=e-a),[n||0,i||0,a||0,o||0]}e.getRectPoints=function(t){var e,n,i,a,o=t.x,s=t.y,l=t.y0,u=t.size;(0,r.isArray)(s)?(e=s[0],n=s[1]):(e=l,n=s),(0,r.isArray)(o)?(i=o[0],a=o[1]):(i=o-u/2,a=o+u/2);var c=[{x:i,y:e},{x:i,y:n}];return c.push({x:a,y:n},{x:a,y:e}),c},e.getRectPath=a,e.parseRadius=o,e.getBackgroundRectPath=function(t,e,n){var a=[];if(n.isRect){var s=n.isTransposed?{x:n.start.x,y:e[0].y}:{x:e[0].x,y:n.start.y},l=n.isTransposed?{x:n.end.x,y:e[2].y}:{x:e[3].x,y:n.end.y},u=(0,r.get)(t,["background","style","radius"]);if(u){var c=o(u,Math.min(n.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,n.isTransposed?n.getWidth():n.getHeight())),f=c[0],d=c[1],p=c[2],h=c[3];a.push(["M",s.x,l.y+f]),0!==f&&a.push(["A",f,f,0,0,1,s.x+f,l.y]),a.push(["L",l.x-d,l.y]),0!==d&&a.push(["A",d,d,0,0,1,l.x,l.y+d]),a.push(["L",l.x,s.y-p]),0!==p&&a.push(["A",p,p,0,0,1,l.x-p,s.y]),a.push(["L",s.x+h,s.y]),0!==h&&a.push(["A",h,h,0,0,1,s.x,s.y-h])}else a.push(["M",s.x,s.y]),a.push(["L",l.x,s.y]),a.push(["L",l.x,l.y]),a.push(["L",s.x,l.y]),a.push(["L",s.x,s.y]);a.push(["z"])}if(n.isPolar){var g=n.getCenter(),v=(0,i.getAngle)(t,n),y=v.startAngle,m=v.endAngle;if("theta"===n.type||n.isTransposed){var b=function(t){return Math.pow(t,2)},f=Math.sqrt(b(g.x-e[0].x)+b(g.y-e[0].y)),d=Math.sqrt(b(g.x-e[2].x)+b(g.y-e[2].y));a=(0,i.getSectorPath)(g.x,g.y,f,n.startAngle,n.endAngle,d)}else a=(0,i.getSectorPath)(g.x,g.y,n.getRadius(),y,m)}return a},e.getIntervalRectPath=function(t,e,n){var r=n.getWidth(),i=n.getHeight(),o="rect"===n.type,s=[],l=(t[2].x-t[1].x)/2,u=n.isTransposed?l*i/r:l*r/i;return"round"===e?(o?(s.push(["M",t[0].x,t[0].y+u]),s.push(["L",t[1].x,t[1].y-u]),s.push(["A",l,l,0,0,1,t[2].x,t[2].y-u]),s.push(["L",t[3].x,t[3].y+u]),s.push(["A",l,l,0,0,1,t[0].x,t[0].y+u])):(s.push(["M",t[0].x,t[0].y]),s.push(["L",t[1].x,t[1].y]),s.push(["A",l,l,0,0,1,t[2].x,t[2].y]),s.push(["L",t[3].x,t[3].y]),s.push(["A",l,l,0,0,1,t[0].x,t[0].y])),s.push(["z"])):s=a(t),s},e.getFunnelPath=function(t,e,n){var i=[];return(0,r.isNil)(e)?n?i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",(t[2].x+t[3].x)/2,(t[2].y+t[3].y)/2],["Z"]):i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",t[2].x,t[2].y],["L",t[3].x,t[3].y],["Z"]):i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",e[1].x,e[1].y],["L",e[0].x,e[0].y],["Z"]),i},e.getRectWithCornerRadius=function(t,e,n){var r,i,a,s,l=t[0],u=t[1],c=t[2],f=t[3],d=0,p=0,h=0,g=0;l.yt[1].x?(f=t[0],l=t[1],u=t[2],c=t[3],d=(a=o(n,Math.min(f.x-l.x,l.y-u.y)))[0],g=a[1],h=a[2],p=a[3]):(p=(s=o(n,Math.min(f.x-l.x,l.y-u.y)))[0],h=s[1],g=s[2],d=s[3]));var v=[];return v.push(["M",u.x,u.y+d]),0!==d&&v.push(["A",d,d,0,0,1,u.x+d,u.y]),v.push(["L",c.x-p,c.y]),0!==p&&v.push(["A",p,p,0,0,1,c.x,c.y+p]),v.push(["L",f.x,f.y-h]),0!==h&&v.push(["A",h,h,0,0,1,f.x-h,f.y]),v.push(["L",l.x+g,l.y]),0!==g&&v.push(["A",g,g,0,0,1,l.x,l.y-g]),v.push(["L",u.x,u.y+d]),v.push(["z"]),v}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(44)),o=n(31),s=n(31),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e.ignoreItemStates=[],e}return(0,r.__extends)(e,t),e.prototype.getTriggerListInfo=function(){var t=(0,s.getDelegationObject)(this.context),e=null;return(0,s.isList)(t)&&(e={item:t.item,list:t.component}),e},e.prototype.getAllowComponents=function(){var t=this,e=this.context.view,n=(0,o.getComponents)(e),r=[];return(0,i.each)(n,function(e){e.isList()&&t.allowSetStateByElement(e)&&r.push(e)}),r},e.prototype.hasState=function(t,e){return t.hasState(e,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,e=this.getAllowComponents();(0,i.each)(e,function(e){e.clearItemsState(t.stateName)})},e.prototype.allowSetStateByElement=function(t){var e=t.get("field");if(!e)return!1;if(this.cfg&&this.cfg.componentNames){var n=t.get("name");if(-1===this.cfg.componentNames.indexOf(n))return!1}var r=this.context.view,i=(0,s.getScaleByField)(r,e);return i&&i.isCategory},e.prototype.allowSetStateByItem=function(t,e){var n=this.ignoreItemStates;return!n.length||0===n.filter(function(n){return e.hasState(t,n)}).length},e.prototype.setStateByElement=function(t,e,n){var r=t.get("field"),i=this.context.view,a=(0,s.getScaleByField)(i,r),o=(0,s.getElementValue)(e,r),l=a.getText(o);this.setItemsState(t,l,n)},e.prototype.setStateEnable=function(t){var e=this,n=(0,s.getCurrentElement)(this.context);if(n){var r=this.getAllowComponents();(0,i.each)(r,function(r){e.setStateByElement(r,n,t)})}else{var a=(0,s.getDelegationObject)(this.context);if((0,s.isList)(a)){var o=a.item,l=a.component;this.allowSetStateByElement(l)&&this.allowSetStateByItem(o,l)&&this.setItemState(l,o,t)}}},e.prototype.setItemsState=function(t,e,n){var r=this,a=t.getItems();(0,i.each)(a,function(i){i.name===e&&r.setItemState(t,i,n)})},e.prototype.setItemState=function(t,e,n){t.setItemState(e,this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item,r=this.hasState(e,n);this.setItemState(e,n,!r)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(a.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resizeObservers=void 0,e.resizeObservers=[]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pattern=void 0;var r=n(1),i=n(14),a=n(0),o=n(1070),s=n(15);e.pattern=function(t){var e=this;return function(n){var l,u=n.options,c=n.chart,f=u.pattern;return f?s.deepAssign({},n,{options:((l={})[t]=function(n){for(var l,d,p,h=[],g=1;g
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}},e.DEFAULT_OPTIONS={appendPadding:2,tooltip:r.__assign({},e.DEFAULT_TOOLTIP_OPTIONS),animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,i){for(var a,o=t.children,s=-1,l=o.length,u=t.value&&(r-e)/t.value;++s
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}};e.DEFAULT_TOOLTIP_OPTIONS=a;var o={appendPadding:2,tooltip:(0,r.__assign)({},a),animation:{}};e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NODE_INDEX_FIELD=e.NODE_ANCESTORS_FIELD=e.CHILD_NODE_COUNT=void 0,e.getAllNodes=function(t){var e,n,s=[];return t&&t.each?t.each(function(t){t.parent!==e?(e=t.parent,n=0):n+=1;var l,u,c=(0,r.filter)(((null===(l=t.ancestors)||void 0===l?void 0:l.call(t))||[]).map(function(t){return s.find(function(e){return e.name===t.name})||t}),function(e){var n=e.depth;return n>0&&n0?"left":"right");break;case"left":t.x=l,t.y=(a+s)/2,t.textAlign=(0,i.get)(t,"textAlign",h>0?"left":"right");break;case"bottom":c&&(t.x=(o+l)/2),t.y=s,t.textAlign=(0,i.get)(t,"textAlign","center"),t.textBaseline=(0,i.get)(t,"textBaseline",h>0?"bottom":"top");break;case"middle":c&&(t.x=(o+l)/2),t.y=(a+s)/2,t.textAlign=(0,i.get)(t,"textAlign","center"),t.textBaseline=(0,i.get)(t,"textBaseline","middle");break;case"top":c&&(t.x=(o+l)/2),t.y=a,t.textAlign=(0,i.get)(t,"textAlign","center"),t.textBaseline=(0,i.get)(t,"textBaseline",h>0?"bottom":"top")}},e}((0,r.__importDefault)(n(100)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(48),o=n(46),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.defaultLayout="distribute",e}return(0,r.__extends)(e,t),e.prototype.getDefaultLabelCfg=function(e,n){var r=t.prototype.getDefaultLabelCfg.call(this,e,n);return(0,i.deepMix)({},r,(0,i.get)(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(e){return t.prototype.getLabelOffset.call(this,e)||0},e.prototype.getLabelRotate=function(t,e,n){var r;return e<0&&((r=t)>Math.PI/2&&(r-=Math.PI),r<-Math.PI/2&&(r+=Math.PI)),r},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate().getCenter();return e=t.angle<=Math.PI/2&&t.x>=n.x?"left":"right",t.offset<=0&&(e="right"===e?"left":"right"),e},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var e,n=this.getCoordinate(),r={x:(0,i.isArray)(t.x)?t.x[0]:t.x,y:t.y[0]},o={x:(0,i.isArray)(t.x)?t.x[1]:t.x,y:t.y[1]},s=(0,a.getAngleByPoint)(n,r);if(t.points&&t.points[0].y===t.points[1].y)e=s;else{var l=(0,a.getAngleByPoint)(n,o);s>=l&&(l+=2*Math.PI),e=s+(l-s)/2}return e},e.prototype.getCirclePoint=function(t,e){var n=this.getCoordinate(),i=n.getCenter(),a=n.getRadius()+e;return(0,r.__assign)((0,r.__assign)({},(0,o.polarToCartesian)(i.x,i.y,a,t)),{angle:t,r:a})},e}((0,r.__importDefault)(n(214)).default);e.default=s},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(50),l=n.n(s),u=n(623),c=n.n(u),f=n(61),d=n.n(f),p=function(t){var e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return l()(t)||o.a.isValidElement(t)?{visible:!0,text:t}:c()(t)?{visible:t}:d()(t)?i()({visible:!0},t):{visible:e}}},function(t,e,n){"use strict";n.d(e,"b",function(){return _});var r=n(12),i=n.n(r),a=n(13),o=n.n(a),s=n(5),l=n.n(s),u=n(9),c=n.n(u),f=n(10),d=n.n(f),p=n(203),h=n(127),g=n.n(h),v=n(0),y=n(8),m={},b=function(){function t(e){c()(this,t),this.cfg={shared:!0},this.chartMap={},this.state={},this.id=Object(v.uniqueId)("bx-action"),this.type=e||"tooltip"}return d()(t,[{key:"connect",value:function(t,e,n){return this.chartMap[t]={chart:e,pointFinder:n},e.interaction("connect-".concat(this.type,"-").concat(this.id)),"tooltip"===this.type&&this.cfg.shared&&void 0===Object(v.get)(e,["options","tooltip","shared"])&&Object(v.set)(e,["options","tooltip","shared"],!0),this}},{key:"unConnect",value:function(t){this.chartMap[t].chart.removeInteraction("connect-".concat(this.type,"-").concat(this.id)),delete this.chartMap[t]}},{key:"destroy",value:function(){Object(p.unregisterAction)("connect-".concat(this.type,"-").concat(this.id))}}]),t}(),x=function(){var t=new b("tooltip");return Object(y.registerAction)("connect-tooltip-".concat(t.id),function(e){i()(a,e);var n,r=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=l()(a);if(n){var r=l()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return o()(this,t)});function a(){var e;return c()(this,a),e=r.apply(this,arguments),e.CM=t,e}return d()(a,[{key:"showTooltip",value:function(t,e){var n=t.getTooltipItems(e)||e;Object(v.forIn)(this.CM.chartMap,function(t){var r=t.chart,i=t.pointFinder;if(!r.destroyed&&r.visible){if(i){var a=i(n,r);a&&r.showTooltip(a)}else r.showTooltip(e)}})}},{key:"hideTooltip",value:function(){Object(v.forIn)(this.CM.chartMap,function(t){return t.chart.hideTooltip()})}}]),a}(g.a)),Object(y.registerInteraction)("connect-tooltip-".concat(t.id),{start:[{trigger:"plot:mousemove",action:"connect-tooltip-".concat(t.id,":show")}],end:[{trigger:"plot:mouseleave",action:"connect-tooltip-".concat(t.id,":hide")}]}),t},_=function(t,e,n,r,i){var a=m[t];if(null===n&&a){a.unConnect(e);return}a?a.connect(e,n,i):(m[t]=x(),m[t].cfg.shared=!!r,m[t].connect(e,n,i))};e.a=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.growInXY=e.growInY=e.growInX=void 0;var r=n(951);e.growInX=function(t,e,n){var i=n.coordinate,a=n.minYPoint;(0,r.doScaleAnimate)(t,e,i,a,"x")},e.growInY=function(t,e,n){var i=n.coordinate,a=n.minYPoint;(0,r.doScaleAnimate)(t,e,i,a,"y")},e.growInXY=function(t,e,n){var i=n.coordinate,a=n.minYPoint;(0,r.doScaleAnimate)(t,e,i,a,"xy")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(23),i=n(1054);e.default=function(t){for(var e=[],n=1;n0&&(a=1/Math.sqrt(a)),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a,t},e.random=function(t,e){e=e||1;var n=2*a.RANDOM()*Math.PI,r=2*a.RANDOM()-1,i=Math.sqrt(1-r*r)*e;return t[0]=Math.cos(n)*i,t[1]=Math.sin(n)*i,t[2]=r*e,t},e.rotateX=function(t,e,n,r){var i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[0],a[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),a[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},e.rotateY=function(t,e,n,r){var i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),a[1]=i[1],a[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},e.rotateZ=function(t,e,n,r){var i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),a[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),a[2]=i[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},e.round=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t},e.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t},e.set=function(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t},e.sqrLen=e.sqrDist=void 0,e.squaredDistance=p,e.squaredLength=h,e.str=function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},e.sub=void 0,e.subtract=u,e.transformMat3=function(t,e,n){var r=e[0],i=e[1],a=e[2];return t[0]=r*n[0]+i*n[3]+a*n[6],t[1]=r*n[1]+i*n[4]+a*n[7],t[2]=r*n[2]+i*n[5]+a*n[8],t},e.transformMat4=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[3]*r+n[7]*i+n[11]*a+n[15];return o=o||1,t[0]=(n[0]*r+n[4]*i+n[8]*a+n[12])/o,t[1]=(n[1]*r+n[5]*i+n[9]*a+n[13])/o,t[2]=(n[2]*r+n[6]*i+n[10]*a+n[14])/o,t},e.transformQuat=function(t,e,n){var r=n[0],i=n[1],a=n[2],o=n[3],s=e[0],l=e[1],u=e[2],c=i*u-a*l,f=a*s-r*u,d=r*l-i*s,p=i*d-a*f,h=a*c-r*d,g=r*f-i*c,v=2*o;return c*=v,f*=v,d*=v,p*=2,h*=2,g*=2,t[0]=s+c+p,t[1]=l+f+h,t[2]=u+d+g,t},e.zero=function(t){return t[0]=0,t[1]=0,t[2]=0,t};var a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(r,s,l):r[s]=t[s]}return r.default=t,n&&n.set(t,r),r}(n(79));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}function s(){var t=new a.ARRAY_TYPE(3);return a.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function l(t){return Math.hypot(t[0],t[1],t[2])}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function d(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1],e[2]-t[2])}function p(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function h(t){var e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function g(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}e.sub=u,e.mul=c,e.div=f,e.dist=d,e.sqrDist=p,e.len=l,e.sqrLen=h;var v=(r=s(),function(t,e,n,i,a,o){var s,l;for(e||(e=3),n||(n=0),l=i?Math.min(i*e+n,t.length):t.length,s=n;s(n-t)*(n-t)+(r-e)*(r-e)?(0,i.distance)(n,r,a,o):this.pointToLine(t,e,n,r,a,o)},pointToLine:function(t,e,n,r,i,o){var s=[n-t,r-e];if(a.exactEquals(s,[0,0]))return Math.sqrt((i-t)*(i-t)+(o-e)*(o-e));var l=[-s[1],s[0]];return a.normalize(l,l),Math.abs(a.dot([i-t,o-e],l))},tangentAngle:function(t,e,n,r){return Math.atan2(r-e,n-t)}}},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.YEAR=e.SECOND=e.MONTH=e.MINUTE=e.HOUR=e.DAY=void 0,e.getTickInterval=function(t,e,n){var r=(0,s.default)(function(t){return t[1]})(p,(e-t)/n)-1,i=p[r];return r<0?i=p[0]:r>=p.length&&(i=(0,a.last)(p)),i},e.timeFormat=function(t,e){return(o[u]||o.default[u])(t,e)},e.toTimeStamp=function(t){return(0,a.isString)(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),(0,a.isDate)(t)&&(t=t.getTime()),t};var a=n(0),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(828)),s=r(n(829));function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u="format";e.SECOND=1e3,e.MINUTE=6e4;e.HOUR=36e5;var c=864e5;e.DAY=c;var f=31*c;e.MONTH=f;var d=365*c;e.YEAR=d;var p=[["HH:mm:ss",1e3],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",6e4],["HH:mm",6e5],["HH:mm",18e5],["HH",36e5],["HH",216e5],["HH",432e5],["YYYY-MM-DD",c],["YYYY-MM-DD",4*c],["YYYY-WW",7*c],["YYYY-MM",f],["YYYY-MM",4*f],["YYYY-MM",6*f],["YYYY",380*c]]},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return(0,i.__extends)(e,t),e.prototype.scale=function(t){if((0,a.isNil)(t))return NaN;var e=this.rangeMin(),n=this.rangeMax();return this.max===this.min?e:e+this.getScalePercent(t)*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=(0,a.head)(e),r=(0,a.last)(e);nthis.max&&(this.max=r),(0,a.isNil)(this.minLimit)||(this.min=n),(0,a.isNil)(this.maxLimit)||(this.max=r)},e.prototype.setDomain=function(){var t=(0,a.getRange)(this.values),e=t.min,n=t.max;(0,a.isNil)(this.min)&&(this.min=e),(0,a.isNil)(this.max)&&(this.max=n),this.min>this.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=(0,a.filter)(n,function(t){return t>=e.min&&t<=e.max})),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(r(n(141)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.calBase=function(t,e){var n=Math.E;return e>=0?Math.pow(n,Math.log(e)/t):-1*Math.pow(n,Math.log(-e)/t)},e.getLogPositiveMin=function(t,e,n){(0,r.isNil)(n)&&(n=Math.max.apply(null,t));var i=n;return(0,r.each)(t,function(t){t>0&&t1&&(i=1),i},e.log=function(t,e){return 1===t?1:Math.log(e)/Math.log(t)},e.precisionAdd=function(t,e){var n=Math.pow(10,Math.max(i(t),i(e)));return(t*n+e*n)/n};var r=n(0);function i(t){var e=t.toString().split(/[eE]/),n=(e[0].split(".")[1]||"").length-+(e[1]||0);return n>0?n:0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(1),i=n(32),a=n(0),o=function(){function t(t){this.type="coordinate",this.isRect=!1,this.isHelix=!1,this.isPolar=!1,this.isReflectX=!1,this.isReflectY=!1;var e=t.start,n=t.end,i=t.matrix,a=void 0===i?[1,0,0,0,1,0,0,0,1]:i,o=t.isTransposed;this.start=e,this.end=n,this.matrix=a,this.originalMatrix=(0,r.__spreadArray)([],a),this.isTransposed=void 0!==o&&o}return t.prototype.initial=function(){this.center={x:(this.start.x+this.end.x)/2,y:(this.start.y+this.end.y)/2},this.width=Math.abs(this.end.x-this.start.x),this.height=Math.abs(this.end.y-this.start.y)},t.prototype.update=function(t){(0,a.assign)(this,t),this.initial()},t.prototype.convertDim=function(t,e){var n,r=this[e],i=r.start,a=r.end;return this.isReflect(e)&&(i=(n=[a,i])[0],a=n[1]),i+t*(a-i)},t.prototype.invertDim=function(t,e){var n,r=this[e],i=r.start,a=r.end;return this.isReflect(e)&&(i=(n=[a,i])[0],a=n[1]),(t-i)/(a-i)},t.prototype.applyMatrix=function(t,e,n){void 0===n&&(n=0);var r=this.matrix,a=[t,e,n];return i.vec3.transformMat3(a,a,r),a},t.prototype.invertMatrix=function(t,e,n){void 0===n&&(n=0);var r=this.matrix,a=i.mat3.invert([0,0,0,0,0,0,0,0,0],r),o=[t,e,n];return a&&i.vec3.transformMat3(o,o,a),o},t.prototype.convert=function(t){var e=this.convertPoint(t),n=e.x,r=e.y,i=this.applyMatrix(n,r,1);return{x:i[0],y:i[1]}},t.prototype.invert=function(t){var e=this.invertMatrix(t.x,t.y,1);return this.invertPoint({x:e[0],y:e[1]})},t.prototype.rotate=function(t){var e=this.matrix,n=this.center;return i.ext.leftTranslate(e,e,[-n.x,-n.y]),i.ext.leftRotate(e,e,t),i.ext.leftTranslate(e,e,[n.x,n.y]),this},t.prototype.reflect=function(t){return"x"===t?this.isReflectX=!this.isReflectX:this.isReflectY=!this.isReflectY,this},t.prototype.scale=function(t,e){var n=this.matrix,r=this.center;return i.ext.leftTranslate(n,n,[-r.x,-r.y]),i.ext.leftScale(n,n,[t,e]),i.ext.leftTranslate(n,n,[r.x,r.y]),this},t.prototype.translate=function(t,e){var n=this.matrix;return i.ext.leftTranslate(n,n,[t,e]),this},t.prototype.transpose=function(){return this.isTransposed=!this.isTransposed,this},t.prototype.getCenter=function(){return this.center},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRadius=function(){return this.radius},t.prototype.isReflect=function(t){return"x"===t?this.isReflectX:this.isReflectY},t.prototype.resetMatrix=function(t){this.matrix=t||(0,r.__spreadArray)([],this.originalMatrix)},t}();e.default=o},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0});var a={Annotation:!0,Axis:!0,Crosshair:!0,Grid:!0,Legend:!0,Tooltip:!0,Component:!0,GroupComponent:!0,HtmlComponent:!0,Slider:!0,Scrollbar:!0,propagationDelegate:!0,TOOLTIP_CSS_CONST:!0};e.Axis=e.Annotation=void 0,Object.defineProperty(e,"Component",{enumerable:!0,get:function(){return d.default}}),e.Grid=e.Crosshair=void 0,Object.defineProperty(e,"GroupComponent",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"HtmlComponent",{enumerable:!0,get:function(){return h.default}}),e.Legend=void 0,Object.defineProperty(e,"Scrollbar",{enumerable:!0,get:function(){return v.Scrollbar}}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return g.Slider}}),e.Tooltip=e.TOOLTIP_CSS_CONST=void 0,Object.defineProperty(e,"propagationDelegate",{enumerable:!0,get:function(){return b.propagationDelegate}});var o=O(n(854));e.Annotation=o;var s=O(n(866));e.Axis=s;var l=O(n(872));e.Crosshair=l;var u=O(n(877));e.Grid=u;var c=O(n(880));e.Legend=c;var f=O(n(883));e.Tooltip=f;var d=r(n(254)),p=r(n(41)),h=r(n(181)),g=n(887),v=n(894),y=n(896);Object.keys(y).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t))&&(t in e&&e[t]===y[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return y[t]}}))});var m=n(897);Object.keys(m).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t))&&(t in e&&e[t]===m[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return m[t]}}))});var b=n(432),x=O(n(259));function _(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(_=function(t){return t?n:e})(t)}function O(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=_(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}e.TOOLTIP_CSS_CONST=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderTag=function(t,e){var n=e.x,l=e.y,u=e.content,c=e.style,f=e.id,d=e.name,p=e.rotate,h=e.maxLength,g=e.autoEllipsis,v=e.isVertical,y=e.ellipsisPosition,m=e.background,b=t.addGroup({id:f+"-group",name:d+"-group",attrs:{x:n,y:l}}),x=b.addShape({type:"text",id:f,name:d,attrs:(0,r.__assign)({x:0,y:0,text:u},c)}),_=(0,s.formatPadding)((0,i.get)(m,"padding",0));if(h&&g){var O=h-(_[1]+_[3]);(0,a.ellipsisLabel)(!v,x,O,y)}if(m){var P=(0,i.get)(m,"style",{}),M=x.getCanvasBBox(),A=M.minX,S=M.minY,w=M.width,E=M.height;b.addShape("rect",{id:f+"-bg",name:f+"-bg",attrs:(0,r.__assign)({x:A-_[3],y:S-_[0],width:w+_[1]+_[3],height:E+_[0]+_[2]},P)}).toBack()}(0,o.applyTranslate)(b,n,l),(0,o.applyRotate)(b,p,n,l)};var r=n(1),i=n(0),a=n(142),o=n(90),s=n(42)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(96),o=n(0),s=n(42),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{container:null,containerTpl:"
    ",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){this.get("container").style.display="",this.set("visible",!0)},e.prototype.hide=function(){this.get("container").style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.getContainer(),n=t?"auto":"none";e.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),e=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return(0,s.createBBox)(e,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");(0,s.clearDom)(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),t.prototype.destroy.call(this)},e.prototype.init=function(){t.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if((0,o.isNil)(t)){t=this.createDom();var e=this.get("parent");(0,o.isString)(e)&&(e=document.getElementById(e),this.set("parent",e)),e.appendChild(t),this.get("containerId")&&t.setAttribute("id",this.get("containerId")),this.set("container",t)}else(0,o.isString)(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),e=this.get("defaultStyles");t=t?(0,o.deepMix)({},e,t):e,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var e=this.getContainer();this.applyChildrenStyles(e,t);var n=this.get("containerClassName");if(n&&(0,s.hasClass)(e,n)){var r=t[n];(0,a.modifyCSS)(e,r)}}},e.prototype.applyChildrenStyles=function(t,e){(0,o.each)(e,function(e,n){var r=t.getElementsByClassName(n);(0,o.each)(r,function(t){(0,a.modifyCSS)(t,e)})})},e.prototype.applyStyle=function(t,e){var n=this.get("domStyles");(0,a.modifyCSS)(e,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return(0,a.createDom)(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){(0,o.hasKey)(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(r(n(254)).default);e.default=l},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.addEndArrow=e.addStartArrow=e.getShortenOffset=void 0;var i=n(1),a=n(143),o=Math.sin,s=Math.cos,l=Math.atan2,u=Math.PI;function c(t,e,n,r,i,c,f){var d=e.stroke,p=e.lineWidth,h=l(r-c,n-i),g=new a.Path({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*s(u/6)+","+10*o(u/6)+" L0,0 L"+10*s(u/6)+",-"+10*o(u/6),stroke:d,lineWidth:p}});g.translate(i,c),g.rotateAtPoint(i,c,h),t.set(f?"startArrowShape":"endArrowShape",g)}function f(t,e,n,r,u,c,f){var d=e.startArrow,p=e.endArrow,h=e.stroke,g=e.lineWidth,v=f?d:p,y=v.d,m=v.fill,b=v.stroke,x=v.lineWidth,_=i.__rest(v,["d","fill","stroke","lineWidth"]),O=l(r-c,n-u);y&&(u-=s(O)*y,c-=o(O)*y);var P=new a.Path({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:i.__assign(i.__assign({},_),{stroke:b||h,lineWidth:x||g,fill:m})});P.translate(u,c),P.rotateAtPoint(u,c,O),t.set(f?"startArrowShape":"endArrowShape",P)}e.getShortenOffset=function(t,e,n,r,i){var a=l(r-e,n-t);return{dx:s(a)*i,dy:o(a)*i}},e.addStartArrow=function(t,e,n,i,a,o){"object"===(0,r.default)(e.startArrow)?f(t,e,n,i,a,o,!0):e.startArrow?c(t,e,n,i,a,o,!0):t.set("startArrowShape",null)},e.addEndArrow=function(t,e,n,i,a,o){"object"===(0,r.default)(e.endArrow)?f(t,e,n,i,a,o,!1):e.endArrow?c(t,e,n,i,a,o,!1):t.set("startArrowShape",null)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(38);e.default=function(t,e,n,i,a,o,s){var l=Math.min(t,n),u=Math.max(t,n),c=Math.min(e,i),f=Math.max(e,i),d=a/2;return o>=l-d&&o<=u+d&&s>=c-d&&s<=f+d&&r.Line.pointToLine(t,e,n,i,o,s)<=a/2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(62);Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return r.default}});var i=n(915);Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return i.default}});var a=n(916);Object.defineProperty(e,"Dom",{enumerable:!0,get:function(){return a.default}});var o=n(917);Object.defineProperty(e,"Ellipse",{enumerable:!0,get:function(){return o.default}});var s=n(918);Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return s.default}});var l=n(919);Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return l.default}});var u=n(920);Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return u.default}});var c=n(922);Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return c.default}});var f=n(923);Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return f.default}});var d=n(924);Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return d.default}});var p=n(925);Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return p.default}});var h=n(927);Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return h.default}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getActionClass=e.registerAction=e.createAction=e.Action=void 0;var r=n(44);Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return(r&&r.__esModule?r:{default:r}).default}});var i=n(203);Object.defineProperty(e,"createAction",{enumerable:!0,get:function(){return i.createAction}}),Object.defineProperty(e,"registerAction",{enumerable:!0,get:function(){return i.registerAction}}),Object.defineProperty(e,"getActionClass",{enumerable:!0,get:function(){return i.getActionClass}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findItemsFromViewRecurisive=e.findItemsFromView=e.getTooltipItems=e.findDataByPoint=void 0;var r=n(1),i=n(0),a=n(21),o=n(111);function s(t,e,n){var r=n.translate(t),a=n.translate(e);return(0,i.isNumberEqual)(r,a)}function l(t,e,n){var r=n.coordinate,o=n.getYScale(),s=o.field,l=r.invert(e),u=o.invert(l.y);return(0,i.find)(t,function(t){var e=t[a.FIELD_ORIGIN];return e[s][0]<=u&&e[s][1]>=u})||t[t.length-1]}var u=(0,i.memoize)(function(t){if(t.isCategory)return 1;for(var e=t.values,n=e.length,r=t.translate(e[0]),i=r,a=0;ai&&(i=s)}return(i-r)/(n-1)});function c(t){for(var e,n,r=(e=(0,i.values)(t.attributes),(0,i.filter)(e,function(t){return(0,i.contains)(a.GROUP_ATTRS,t.type)})),o=0;o(1+f)/2&&(p=d),o.translate(o.invert(p))),I=E[a.FIELD_ORIGIN][y],j=E[a.FIELD_ORIGIN][m],F=C[a.FIELD_ORIGIN][y],L=v.isLinear&&(0,i.isArray)(j);if((0,i.isArray)(I)){for(var M=0;M=T){if(L)(0,i.isArray)(b)||(b=[]),b.push(D);else{b=D;break}}}(0,i.isArray)(b)&&(b=l(b,t,n))}else{var k=void 0;if(g.isLinear||"timeCat"===g.type){if((T>g.translate(F)||Tg.max||TMath.abs(g.translate(k[a.FIELD_ORIGIN][y])-T)&&(C=k)}var V=u(n.getXScale());return!b&&Math.abs(g.translate(C[a.FIELD_ORIGIN][y])-T)<=V/2&&(b=C),b}function d(t,e,n,s){void 0===n&&(n=""),void 0===s&&(s=!1);var l,u,f,d,p,h,g,v,y,m=t[a.FIELD_ORIGIN],b=(l=n,u=e.getAttribute("position").getFields(),p=(d=e.scales[f=(0,i.isFunction)(l)||!l?u[0]:l])?d.getText(m[f]):m[f]||f,(0,i.isFunction)(l)?l(p,m):p),x=e.tooltipOption,_=e.theme.defaultColor,O=[];function P(e,n){if(s||!(0,i.isNil)(n)&&""!==n){var r={title:b,data:m,mappingData:t,name:e,value:n,color:t.color||_,marker:!0};O.push(r)}}if((0,i.isObject)(x)){var M=x.fields,A=x.callback;if(A){var S=M.map(function(e){return t[a.FIELD_ORIGIN][e]}),w=A.apply(void 0,S),E=(0,r.__assign)({data:t[a.FIELD_ORIGIN],mappingData:t,title:b,color:t.color||_,marker:!0},w);O.push(E)}else for(var C=e.scales,T=0;T=l-d&&o<=u+d&&s>=c-d&&s<=f+d&&r.Line.pointToLine(t,e,n,i,o,s)<=a/2};var r=n(38)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Dom",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Ellipse",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return g.default}});var i=r(n(63)),a=r(n(967)),o=r(n(968)),s=r(n(969)),l=r(n(970)),u=r(n(971)),c=r(n(972)),f=r(n(974)),d=r(n(975)),p=r(n(976)),h=r(n(977)),g=r(n(979))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.freeze=void 0,e.freeze=function(t){return Object.freeze(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSVG=e.isReplacedElement=e.isHidden=e.isElement=void 0;var r=function(t){return t instanceof SVGElement&&"getBBox"in t};e.isSVG=r,e.isHidden=function(t){if(r(t)){var e=t.getBBox(),n=e.width,i=e.height;return!n&&!i}var a=t.offsetWidth,o=t.offsetHeight;return!(a||o||t.getClientRects().length)},e.isElement=function(t){if(t instanceof Element)return!0;var e,n=null===(e=null==t?void 0:t.ownerDocument)||void 0===e?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},e.isReplacedElement=function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cluster",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"hierarchy",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"pack",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"packEnclose",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"packSiblings",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"partition",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"stratify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"tree",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"treemap",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"treemapBinary",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"treemapDice",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"treemapResquarify",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"treemapSlice",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"treemapSliceDice",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"treemapSquarify",{enumerable:!0,get:function(){return y.default}});var i=r(n(1092)),a=r(n(297)),o=r(n(1108)),s=r(n(515)),l=r(n(517)),u=r(n(1109)),c=r(n(1110)),f=r(n(1111)),d=r(n(1112)),p=r(n(1113)),h=r(n(155)),g=r(n(194)),v=r(n(1114)),y=r(n(299)),m=r(n(1115))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,i){for(var a,o=t.children,s=-1,l=o.length,u=t.value&&(i-n)/t.value;++s=0}),a=n.every(function(t){return 0>=(0,i.get)(t,[e])});return r?{min:0}:a?{max:0}:{}},e.processIllegalData=function(t,e){var n=(0,i.filter)(t,function(t){var n=t[e];return null===n||"number"==typeof n&&!isNaN(n)});return(0,a.log)(a.LEVEL.WARN,n.length===t.length,"illegal data existed in chart data."),n},e.transformDataToNodeLinkData=function(t,e,n,i,a){if(void 0===a&&(a=[]),!Array.isArray(t))return{nodes:[],links:[]};var s=[],l={},u=-1;return t.forEach(function(t){var c=t[e],f=t[n],d=t[i],p=(0,o.pick)(t,a);l[c]||(l[c]=(0,r.__assign)({id:++u,name:c},p)),l[f]||(l[f]=(0,r.__assign)({id:++u,name:f},p)),s.push((0,r.__assign)({source:l[c].id,target:l[f].id,value:d},p))}),{nodes:Object.values(l).sort(function(t,e){return t.id-e.id}),links:s}};var r=n(1),i=n(0),a=n(539),o=n(538)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t,e){void 0===e&&(e=!1);var n=t.options,r=n.seriesField;return(0,f.flow)(p,a.theme,(0,u.pattern)("columnStyle"),a.state,h,g,v,y,b,a.slider,a.scrollbar,m,c.brushInteraction,a.interaction,a.animation,(0,a.annotation)(),(0,o.conversionTag)(n.yField,!e,!!r),(0,s.connectedArea)(!n.isStack),a.limitInPlot)(t)},e.legend=y,e.meta=g;var r=n(1),i=n(0),a=n(22),o=n(1196),s=n(1197),l=n(30),u=n(122),c=n(552),f=n(7),d=n(123);function p(t){var e=t.options,n=e.legend,i=e.seriesField,a=e.isStack;return i?!1!==n&&(n=(0,r.__assign)({position:a?"right-top":"top-left"},n)):n=!1,t.options.legend=n,t}function h(t){var e=t.chart,n=t.options,i=n.data,a=n.columnStyle,o=n.color,s=n.columnWidthRatio,u=n.isPercent,c=n.isGroup,p=n.isStack,h=n.xField,g=n.yField,v=n.seriesField,y=n.groupField,m=n.tooltip,b=n.shape,x=u&&c&&p?(0,d.getDeepPercent)(i,g,[h,y],g):(0,d.getDataWhetherPecentage)(i,g,h,g,u),_=[];p&&v&&!c?x.forEach(function(t){var e=_.find(function(e){return e[h]===t[h]&&e[v]===t[v]});e?e[g]+=t[g]||0:_.push((0,r.__assign)({},t))}):_=x,e.data(_);var O=u?(0,r.__assign)({formatter:function(t){return{name:c&&p?t[v]+" - "+t[y]:t[v]||t[h],value:(100*Number(t[g])).toFixed(2)+"%"}}},m):m,P=(0,f.deepAssign)({},t,{options:{data:_,widthRatio:s,tooltip:O,interval:{shape:b,style:a,color:o}}});return(0,l.interval)(P),P}function g(t){var e,n,i=t.options,o=i.xAxis,s=i.yAxis,l=i.xField,u=i.yField,c=i.data,d=i.isPercent;return(0,f.flow)((0,a.scale)(((e={})[l]=o,e[u]=s,e),((n={})[l]={type:"cat"},n[u]=(0,r.__assign)((0,r.__assign)({},(0,f.adjustYMetaByZero)(c,u)),d?{max:1,min:0,minLimit:0,maxLimit:1}:{}),n)))(t)}function v(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function y(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function m(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,o=n.isRange,s=(0,f.findGeometry)(e,"interval");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,r.__assign)({layout:(null==u?void 0:u.position)?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},(0,f.transformLabel)(o?(0,r.__assign)({content:function(t){var e;return null===(e=t[a])||void 0===e?void 0:e.join("-")}},u):u))})}else s.label(!1);return t}function b(t){var e=t.chart,n=t.options,a=n.tooltip,o=n.isGroup,s=n.isStack,l=n.groupField,u=n.data,c=n.xField,d=n.yField,p=n.seriesField;if(!1===a)e.tooltip(!1);else{var h=a;if(o&&s){var g=(null==h?void 0:h.formatter)||function(t){return{name:t[p]+" - "+t[l],value:t[d]}};h=(0,r.__assign)((0,r.__assign)({},h),{customItems:function(t){var e=[];return(0,i.each)(t,function(t){(0,i.filter)(u,function(e){return(0,i.isMatch)(e,(0,f.pick)(t.data,[c,p]))}).forEach(function(n){e.push((0,r.__assign)((0,r.__assign)((0,r.__assign)({},t),{value:n[d],data:n,mappingData:{_origin:n}}),g(n)))})}),e}})}e.tooltip(h)}return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,i.flow)((0,r.pattern)("areaStyle"),u,c,r.tooltip,r.theme,r.animation,(0,r.annotation)())(t)},e.meta=c;var r=n(22),i=n(7),a=n(30),o=n(156),s=n(124),l=n(197);function u(t){var e=t.chart,n=t.options,r=n.data,l=n.color,u=n.areaStyle,c=n.point,f=n.line,d=null==c?void 0:c.state,p=(0,s.getTinyData)(r);e.data(p);var h=(0,i.deepAssign)({},t,{options:{xField:o.X_FIELD,yField:o.Y_FIELD,area:{color:l,style:u},line:f,point:c}}),g=(0,i.deepAssign)({},h,{options:{tooltip:!1}}),v=(0,i.deepAssign)({},h,{options:{tooltip:!1,state:d}});return(0,a.area)(h),(0,a.line)(g),(0,a.point)(v),e.axis(!1),e.legend(!1),t}function c(t){var e,n,a=t.options,u=a.xAxis,c=a.yAxis,f=a.data,d=(0,s.getTinyData)(f);return(0,i.flow)((0,r.scale)(((e={})[o.X_FIELD]=u,e[o.Y_FIELD]=c,e),((n={})[o.X_FIELD]={type:"cat"},n[o.Y_FIELD]=(0,l.adjustYMetaByZero)(d,o.Y_FIELD),n)))(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PATH_FIELD=e.ID_FIELD=e.DEFAULT_OPTIONS=void 0,e.ID_FIELD="id",e.PATH_FIELD="path",e.DEFAULT_OPTIONS={appendPadding:[10,0,20,0],blendMode:"multiply",tooltip:{showTitle:!1,showMarkers:!1,fields:["id","size"],formatter:function(t){return{name:t.id,value:t.size}}},legend:{position:"top-left"},label:{style:{textAlign:"center",fill:"#fff"}},interactions:[{type:"legend-filter",enable:!1}],state:{active:{style:{stroke:"#000"}},selected:{style:{stroke:"#000",lineWidth:2}},inactive:{style:{fillOpacity:.3,strokeOpacity:.3}}},defaultInteractions:["tooltip","venn-legend-active"]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PADDING_TOP=e.HIERARCHY_DATA_TRANSFORM_PARAMS=e.DrillDownAction=e.DEFAULT_BREAD_CRUMB_CONFIG=e.BREAD_CRUMB_NAME=void 0;var r=n(1),i=n(14),a=n(0),o=n(541);e.PADDING_TOP=5;var s="drilldown-bread-crumb";e.BREAD_CRUMB_NAME=s;var l={position:"top-left",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}};e.DEFAULT_BREAD_CRUMB_CONFIG=l;var u="hierarchy-data-transform-params";e.HIERARCHY_DATA_TRANSFORM_PARAMS=u;var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.name="drill-down",e.historyCache=[],e.breadCrumbGroup=null,e.breadCrumbCfg=l,e}return(0,r.__extends)(e,t),e.prototype.click=function(){var t=(0,a.get)(this.context,["event","data","data"]);if(!t)return!1;this.drill(t),this.drawBreadCrumb()},e.prototype.resetPosition=function(){if(this.breadCrumbGroup){var t=this.context.view.getCoordinate(),e=this.breadCrumbGroup,n=e.getBBox(),r=this.getButtonCfg().position,a={x:t.start.x,y:t.end.y-(n.height+10)};t.isPolar&&(a={x:0,y:0}),"bottom-left"===r&&(a={x:t.start.x,y:t.start.y});var o=i.Util.transform(null,[["t",a.x+0,a.y+n.height+5]]);e.setMatrix(o)}},e.prototype.back=function(){(0,a.size)(this.historyCache)&&this.backTo(this.historyCache.slice(0,-1))},e.prototype.reset=function(){this.historyCache[0]&&this.backTo(this.historyCache.slice(0,1)),this.historyCache=[],this.hideCrumbGroup()},e.prototype.drill=function(t){var e=this.context.view,n=(0,a.get)(e,["interactions","drill-down","cfg","transformData"],function(t){return t}),i=n((0,r.__assign)({data:t.data},t[u]));e.changeData(i);for(var o=[],s=t;s;){var l=s.data;o.unshift({id:l.name+"_"+s.height+"_"+s.depth,name:l.name,children:n((0,r.__assign)({data:l},t[u]))}),s=s.parent}this.historyCache=(this.historyCache||[]).slice(0,-1).concat(o)},e.prototype.backTo=function(t){if(t&&!(t.length<=0)){var e=this.context.view,n=(0,a.last)(t).children;e.changeData(n),t.length>1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},e.prototype.getButtonCfg=function(){var t=this.context.view,e=(0,a.get)(t,["interactions","drill-down","cfg","drillDownConfig"]);return(0,o.deepAssign)(this.breadCrumbCfg,null==e?void 0:e.breadCrumb,this.cfg)},e.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},e.prototype.drawBreadCrumbGroup=function(){var t=this,e=this.getButtonCfg(),n=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:s});var i=0;n.forEach(function(o,l){var u=t.breadCrumbGroup.addShape({type:"text",id:o.id,name:s+"_"+o.name+"_text",attrs:(0,r.__assign)((0,r.__assign)({text:0!==l||(0,a.isNil)(e.rootText)?o.name:e.rootText},e.textStyle),{x:i,y:0})}),c=u.getBBox();if(i+=c.width+4,u.on("click",function(e){var r,i=e.target.get("id");if(i!==(null===(r=(0,a.last)(n))||void 0===r?void 0:r.id)){var o=n.slice(0,n.findIndex(function(t){return t.id===i})+1);t.backTo(o)}}),u.on("mouseenter",function(t){var r;t.target.get("id")!==(null===(r=(0,a.last)(n))||void 0===r?void 0:r.id)?u.attr(e.activeTextStyle):u.attr({cursor:"default"})}),u.on("mouseleave",function(){u.attr(e.textStyle)}),l=0;r--)t.removeChild(e[r])},e.hasClass=function(t,e){return!!t.className.match(RegExp("(\\s|^)"+e+"(\\s|$)"))},e.regionToBBox=function(t){var e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),a=Math.max(e.x,n.x),o=Math.max(e.y,n.y);return{x:r,y:i,minX:r,minY:i,maxX:a,maxY:o,width:a-r,height:o-i}},e.pointsToBBox=function(t){var e=t.map(function(t){return t.x}),n=t.map(function(t){return t.y}),r=Math.min.apply(Math,e),i=Math.min.apply(Math,n),a=Math.max.apply(Math,e),o=Math.max.apply(Math,n);return{x:r,y:i,minX:r,minY:i,maxX:a,maxY:o,width:a-r,height:o-i}},e.createBBox=i,e.getValueByPercent=a,e.getCirclePoint=function(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}},e.distance=o,e.wait=function(t){return new Promise(function(e){setTimeout(e,t)})},e.near=function(t,e,n){return void 0===n&&(n=Math.pow(Number.EPSILON,.5)),[t,e].includes(1/0)?Math.abs(t)===Math.abs(e):Math.abs(t-e)0?r.each(d,function(e){if(e.get("visible")){if(e.isGroup()&&0===e.get("children").length)return!0;var n=t(e),r=e.applyToMatrix([n.minX,n.minY,1]),i=e.applyToMatrix([n.minX,n.maxY,1]),a=e.applyToMatrix([n.maxX,n.minY,1]),o=e.applyToMatrix([n.maxX,n.maxY,1]),s=Math.min(r[0],i[0],a[0],o[0]),d=Math.max(r[0],i[0],a[0],o[0]),p=Math.min(r[1],i[1],a[1],o[1]),h=Math.max(r[1],i[1],a[1],o[1]);su&&(u=d),pf&&(f=h)}}):(l=0,u=0,c=0,f=0),n=i(l,c,u-l,f-c)}else n=e.getBBox();return o?s(n,o):n},e.updateClip=function(t,e){if(t.getClip()||e.getClip()){var n=e.getClip();if(!n){t.setClip(null);return}var r={type:n.get("type"),attrs:n.attr()};t.setClip(r)}},e.toPx=function(t){return t+"px"},e.getTextPoint=function(t,e,n,r){var i=r/o(t,e),s=0;return"start"===n?s=0-i:"end"===n&&(s=1+i),{x:a(t.x,e.x,s),y:a(t.y,e.y,s)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCallbackAction=e.unregisterAction=e.registerAction=e.getActionClass=e.createAction=void 0;var r=(0,n(1).__importDefault)(n(937)),i=n(0),a={};e.createAction=function(t,e){var n=a[t],r=null;if(n){var i=n.ActionClass,o=n.cfg;(r=new i(e,o)).name=t,r.init()}return r},e.getActionClass=function(t){var e=a[t];return(0,i.get)(e,"ActionClass")},e.registerAction=function(t,e,n){a[t]={ActionClass:e,cfg:n}},e.unregisterAction=function(t){delete a[t]},e.createCallbackAction=function(t,e){var n=new r.default(e);return n.callback=t,n.name="callback",n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(69),o=n(48),s=n(46),l=n(186),u=n(80),c=n(104),f=(0,r.__importDefault)(n(268)),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isLocked=!1,e}return(0,r.__extends)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"tooltip"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.isVisible=function(){return!1!==this.view.getOptions().tooltip},e.prototype.render=function(){},e.prototype.showTooltip=function(t){if(this.point=t,this.isVisible()){var e=this.view,n=this.getTooltipItems(t);if(!n.length){this.hideTooltip();return}var a=this.getTitle(n),o={x:n[0].x,y:n[0].y};e.emit("tooltip:show",f.default.fromData(e,"tooltip:show",(0,r.__assign)({items:n,title:a},t)));var s=this.getTooltipCfg(),l=s.follow,u=s.showMarkers,c=s.showCrosshairs,d=s.showContent,p=s.marker,h=this.items,g=this.title;if((0,i.isEqual)(g,a)&&(0,i.isEqual)(h,n)?(this.tooltip&&l&&(this.tooltip.update(t),this.tooltip.show()),this.tooltipMarkersGroup&&this.tooltipMarkersGroup.show()):(e.emit("tooltip:change",f.default.fromData(e,"tooltip:change",(0,r.__assign)({items:n,title:a},t))),((0,i.isFunction)(d)?d(n):d)&&(this.tooltip||this.renderTooltip(),this.tooltip.update((0,i.mix)({},s,{items:this.getItemsAfterProcess(n),title:a},l?t:{})),this.tooltip.show()),u&&this.renderTooltipMarkers(n,p)),this.items=n,this.title=a,c){var v=(0,i.get)(s,["crosshairs","follow"],!1);this.renderCrosshairs(v?t:o,s)}}},e.prototype.hideTooltip=function(){if(!this.getTooltipCfg().follow){this.point=null;return}var t=this.tooltipMarkersGroup;t&&t.hide();var e=this.xCrosshair,n=this.yCrosshair;e&&e.hide(),n&&n.hide();var r=this.tooltip;r&&r.hide(),this.view.emit("tooltip:hide",f.default.fromData(this.view,"tooltip:hide",{})),this.point=null},e.prototype.lockTooltip=function(){this.isLocked=!0,this.tooltip&&this.tooltip.setCapture(!0)},e.prototype.unlockTooltip=function(){this.isLocked=!1;var t=this.getTooltipCfg();this.tooltip&&this.tooltip.setCapture(t.capture)},e.prototype.isTooltipLocked=function(){return this.isLocked},e.prototype.clear=function(){var t=this.tooltip,e=this.xCrosshair,n=this.yCrosshair,r=this.tooltipMarkersGroup;t&&(t.hide(),t.clear()),e&&e.clear(),n&&n.clear(),r&&r.clear(),(null==t?void 0:t.get("customContent"))&&(this.tooltip.destroy(),this.tooltip=null),this.title=null,this.items=null},e.prototype.destroy=function(){this.tooltip&&this.tooltip.destroy(),this.xCrosshair&&this.xCrosshair.destroy(),this.yCrosshair&&this.yCrosshair.destroy(),this.guideGroup&&this.guideGroup.remove(!0),this.reset()},e.prototype.reset=function(){this.items=null,this.title=null,this.tooltipMarkersGroup=null,this.tooltipCrosshairsGroup=null,this.xCrosshair=null,this.yCrosshair=null,this.tooltip=null,this.guideGroup=null,this.isLocked=!1,this.point=null},e.prototype.changeVisible=function(t){if(this.visible!==t){var e=this.tooltip,n=this.tooltipMarkersGroup,r=this.xCrosshair,i=this.yCrosshair;t?(e&&e.show(),n&&n.show(),r&&r.show(),i&&i.show()):(e&&e.hide(),n&&n.hide(),r&&r.hide(),i&&i.hide()),this.visible=t}},e.prototype.getTooltipItems=function(t){var e=this.findItemsFromView(this.view,t);if(e.length){e=(0,i.flatten)(e);for(var n=0,r=e;n1){for(var f=e[0],d=Math.abs(t.y-f[0].y),p=0,h=e;p'+r+"":r}})},e.prototype.getTitle=function(t){var e=t[0].title||t[0].name;return this.title=e,e},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),e={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},n=this.getTooltipCfg(),i=new a.HtmlTooltip((0,r.__assign)((0,r.__assign)({parent:t.get("el").parentNode,region:e},n),{visible:!1,crosshairs:null}));i.init(),this.tooltip=i},e.prototype.renderTooltipMarkers=function(t,e){for(var n=this.getTooltipMarkersGroup(),i=0;i0&&(r*=1-e.innerRadius),n=.01*parseFloat(t)*r}return n},e.prototype.getLabelItems=function(e){var n=t.prototype.getLabelItems.call(this,e),a=this.geometry.getYScale();return(0,i.map)(n,function(t){if(t&&a){var e=a.scale((0,i.get)(t.data,a.field));return(0,r.__assign)((0,r.__assign)({},t),{percent:e})}return t})},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate();if(t.labelEmit)e=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(n.isTransposed){var r=n.getCenter(),i=t.offset;e=1>Math.abs(t.x-r.x)?"center":t.angle>Math.PI||t.angle<=0?i>0?"left":"right":i>0?"right":"left"}else e="center";return e},e.prototype.getLabelPoint=function(t,e,n){var r,i=1,a=t.content[n];this.isToMiddle(e)?r=this.getMiddlePoint(e.points):(1===t.content.length&&0===n?n=1:0===n&&(i=-1),r=this.getArcPoint(e,n));var o=t.offset*i,s=this.getPointAngle(r),l=t.labelEmit,u=this.getCirclePoint(s,o,r,l);return 0===u.r?u.content="":(u.content=a,u.angle=s,u.color=e.color),u.rotate=t.autoRotate?this.getLabelRotate(s,o,l):t.rotate,u.start={x:r.x,y:r.y},u},e.prototype.getArcPoint=function(t,e){return(void 0===e&&(e=0),(0,i.isArray)(t.x)||(0,i.isArray)(t.y))?{x:(0,i.isArray)(t.x)?t.x[e]:t.x,y:(0,i.isArray)(t.y)?t.y[e]:t.y}:{x:t.x,y:t.y}},e.prototype.getPointAngle=function(t){return(0,o.getAngleByPoint)(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,e,n,i){var o=this.getCoordinate(),s=o.getCenter(),l=(0,a.getDistanceToCenter)(o,n);if(0===l)return(0,r.__assign)((0,r.__assign)({},s),{r:l});var u=t;return o.isTransposed&&l>e&&!i?u=t+2*Math.asin(e/(2*l)):l+=e,{x:s.x+l*Math.cos(u),y:s.y+l*Math.sin(u),r:l}},e.prototype.getLabelRotate=function(t,e,n){var r=t+l;return n&&(r-=l),r&&(r>l?r-=Math.PI:r<-l&&(r+=Math.PI)),r},e.prototype.getMiddlePoint=function(t){var e=this.getCoordinate(),n=t.length,r={x:0,y:0};return(0,i.each)(t,function(t){r.x+=t.x,r.y+=t.y}),r.x/=n,r.y/=n,r=e.convert(r)},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(s.default);e.default=u},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n(45),i=n.n(r),a=n(4),o=n.n(a),s=n(37),l=n.n(s),u=n(28),c=n.n(u),f=n(40),d=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function p(t){var e=t.type,n=t.transpose,r=t.rotate,a=t.scale,s=t.reflect,u=t.actions,p=d(t,["type","transpose","rotate","scale","reflect","actions"]),h=Object(f.a)(),g=h.coordinate();return g.update({}),e?h.coordinate(e,o()({},p)):h.coordinate("rect",o()({},p)),r&&g.rotate(r),a&&g.scale.apply(g,i()(a)),l()(s)||g.reflect(s),n&&g.transpose(),c()(u)&&u(g),null}},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(326),h=n.n(p),g=n(39),v=n(8);n(461),Object(v.registerGeometry)("Edge",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="edge",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return v});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(327),h=n.n(p),g=n(39);Object(n(8).registerGeometry)("Heatmap",h.a);var v=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="heatmap",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return _});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(328),h=n.n(p),g=n(163),v=n.n(g),y=n(164),m=n.n(y),b=n(39),x=n(8);n(465),n(466),n(467),n(468),n(469),Object(x.registerGeometry)("Interval",h.a),Object(x.registerGeometryLabel)("interval",v.a),Object(x.registerGeometryLabel)("pie",m.a),Object(x.registerInteraction)("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]});var _=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.interactionTypes=["active-region","element-highlight"],t.GemoBaseClassName="interval",t}return i()(r)}(b.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(331),h=n.n(p),g=n(39),v=n(8);n(462),n(475),Object(v.registerGeometry)("Polygon",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="polygon",t}return i()(r)}(g.a)},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(101);n(276),n(278);var l=n(61),u=n.n(l),c=n(168),f=n.n(c),d=n(18),p=n.n(d),h=n(20),g=n.n(h),v=n(8),y=n(60),m=n(40),b=n(81),x=n(129),_=n(130),O=n(128),P=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},M={default:{style:{fill:"#5B8FF9",fillOpacity:.25,stroke:null}},active:{style:{fillOpacity:.5}},inactive:{style:{fillOpacity:.4}},selected:{style:{fillOpacity:.5}}};Object(v.registerShape)("area","gradient",{draw:function(t,e){var n=Object(s.getShapeAttrs)(t,!1,!1,this),r=n.fill,i=y.color(r);return i&&(n.fill="l (90) 0:".concat(y.rgb(i.r,i.g,i.b,1).formatRgb()," 1:").concat(y.rgb(i.r,i.g,i.b,.1).formatRgb())),e.addShape({type:"path",attrs:n,name:"area"})}}),Object(v.registerShape)("area","gradient-smooth",{draw:function(t,e){var n=this.coordinate,r=Object(s.getShapeAttrs)(t,!1,!0,this,Object(s.getConstraint)(n)),i=r.fill,a=y.color(i);return a&&(r.fill="l (90) 0:".concat(y.rgb(a.r,a.g,a.b,1).formatRgb()," 1:").concat(y.rgb(a.r,a.g,a.b,.1).formatRgb())),e.addShape({type:"path",attrs:r,name:"area"})}}),e.a=function(t){var e=t.point,n=t.area,r=t.shape,a=P(t,["point","area","shape"]),s={shape:"circle"},l=Object(b.a)(),c=Object(m.a)(),d={shape:"smooth"===r?"gradient-smooth":"gradient"},h=c.getTheme();return h.geometries.area.gradient=M,h.geometries.area["gradient-smooth"]=M,!1!==p()(l,["options","tooltip"])&&(void 0===p()(c,["options","tooltip","shared"])&&g()(c,["options","tooltip","shared"],!0),void 0===p()(c,["options","tooltip","showCrosshairs"])&&g()(c,["options","tooltip","showCrosshairs"],!0),void 0===p()(c,["options","tooltip","showMarkers"])&&g()(c,["options","tooltip","showMarkers"],!0)),u()(s)&&f()(s,e),u()(d)&&f()(d,n),o.a.createElement(o.a.Fragment,null,o.a.createElement(x.a,i()({shape:r,state:{default:{style:{shadowColor:"#ddd",shadowBlur:3,shadowOffsetY:2}},active:{style:{shadowColor:"#ddd",shadowBlur:3,shadowOffsetY:5}}}},a)),!!n&&o.a.createElement(O.a,i()({},a,{tooltip:!1},d)),!!e&&o.a.createElement(_.a,i()({size:3},a,{state:{active:{style:{stroke:"#fff",lineWidth:1.5,strokeOpacity:.9}}},tooltip:!1},s)))}},function(t,e){t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fadeOut=e.fadeIn=void 0;var r=n(0);e.fadeIn=function(t,e,n){var i={fillOpacity:(0,r.isNil)(t.attr("fillOpacity"))?1:t.attr("fillOpacity"),strokeOpacity:(0,r.isNil)(t.attr("strokeOpacity"))?1:t.attr("strokeOpacity"),opacity:(0,r.isNil)(t.attr("opacity"))?1:t.attr("opacity")};t.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),t.animate(i,e)},e.fadeOut=function(t,e,n){var r=e.easing,i=e.duration,a=e.delay;t.animate({fillOpacity:0,strokeOpacity:0,opacity:0},i,r,function(){t.remove(!0)},a)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.scaleInY=e.scaleInX=void 0;var r=n(32);e.scaleInX=function(t,e,n){var i=t.getBBox(),a=t.get("origin").mappingData.points,o=a[0].y-a[1].y>0?i.maxX:i.minX,s=(i.minY+i.maxY)/2;t.applyToMatrix([o,s,1]);var l=r.ext.transform(t.getMatrix(),[["t",-o,-s],["s",.01,1],["t",o,s]]);t.setMatrix(l),t.animate({matrix:r.ext.transform(t.getMatrix(),[["t",-o,-s],["s",100,1],["t",o,s]])},e)},e.scaleInY=function(t,e,n){var i=t.getBBox(),a=t.get("origin").mappingData,o=(i.minX+i.maxX)/2,s=a.points,l=s[0].y-s[1].y<=0?i.maxY:i.minY;t.applyToMatrix([o,l,1]);var u=r.ext.transform(t.getMatrix(),[["t",-o,-l],["s",1,.01],["t",o,l]]);t.setMatrix(u),t.animate({matrix:r.ext.transform(t.getMatrix(),[["t",-o,-l],["s",1,100],["t",o,l]])},e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zoomOut=e.zoomIn=void 0;var r=n(1),i=n(32),a=n(0);function o(t,e,n){if(t.isGroup())(0,a.each)(t.getChildren(),function(t){o(t,e,n)});else{var s=t.getBBox(),l=(s.minX+s.maxX)/2,u=(s.minY+s.maxY)/2;if(t.applyToMatrix([l,u,1]),"zoomIn"===n){var c=i.ext.transform(t.getMatrix(),[["t",-l,-u],["s",.01,.01],["t",l,u]]);t.setMatrix(c),t.animate({matrix:i.ext.transform(t.getMatrix(),[["t",-l,-u],["s",100,100],["t",l,u]])},e)}else t.animate({matrix:i.ext.transform(t.getMatrix(),[["t",-l,-u],["s",.01,.01],["t",l,u]])},(0,r.__assign)((0,r.__assign)({},e),{callback:function(){t.remove(!0)}}))}}e.zoomIn=function(t,e,n){o(t,e,"zoomIn")},e.zoomOut=function(t,e,n){o(t,e,"zoomOut")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.overlap=e.fixedOverlap=void 0;var r=n(0),i=function(){function t(t){void 0===t&&(t={}),this.bitmap={};var e=t.xGap,n=t.yGap;this.xGap=void 0===e?1:e,this.yGap=void 0===n?8:n}return t.prototype.hasGap=function(t){for(var e=!0,n=this.bitmap,r=Math.round(t.minX),i=Math.round(t.maxX),a=Math.round(t.minY),o=Math.round(t.maxY),s=r;s<=i;s+=1){if(!n[s]){n[s]={};continue}if(s===r||s===i){for(var l=a;l<=o;l++)if(n[s][l]){e=!1;break}}else if(n[s][a]||n[s][o]){e=!1;break}}return e},t.prototype.fillGap=function(t){for(var e=this.bitmap,n=Math.round(t.minX),r=Math.round(t.maxX),i=Math.round(t.minY),a=Math.round(t.maxY),o=n;o<=r;o+=1)e[o]||(e[o]={});for(var o=n;o<=r;o+=this.xGap){for(var s=i;s<=a;s+=this.yGap)e[o][s]=!0;e[o][a]=!0}if(1!==this.yGap)for(var o=i;o<=a;o+=1)e[n][o]=!0,e[r][o]=!0;if(1!==this.xGap)for(var o=n;o<=r;o+=1)e[o][i]=!0,e[o][a]=!0},t.prototype.destroy=function(){this.bitmap={}},t}();e.fixedOverlap=function(t,e,n,a){var o=new i;(0,r.each)(e,function(t){!function(t,e,n){void 0===n&&(n=100);var r,i=t.attr(),a=i.x,o=i.y,s=t.getCanvasBBox(),l=Math.sqrt(s.width*s.width+s.height*s.height),u=1,c=0,f=0;if(e.hasGap(s))return e.fillGap(s),!0;for(var d=!1,p=0,h={};Math.min(Math.abs(c),Math.abs(f))=0},e)},e}(l.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(1014),o=(0,r.__importDefault)(n(151)),s="inactive",l="active",u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=l,e.ignoreItemStates=["unchecked"],e}return(0,r.__extends)(e,t),e.prototype.setItemsState=function(t,e,n){this.setHighlightBy(t,function(t){return t.name===e},n)},e.prototype.setItemState=function(t,e,n){t.getItems(),this.setHighlightBy(t,function(t){return t===e},n)},e.prototype.setHighlightBy=function(t,e,n){var r=t.getItems();if(n)(0,i.each)(r,function(n){e(n)?(t.hasState(n,s)&&t.setItemState(n,s,!1),t.setItemState(n,l,!0)):t.hasState(n,l)||t.setItemState(n,s,!0)});else{var a=t.getItemsByState(l),o=!0;(0,i.each)(a,function(t){if(!e(t))return o=!1,!1}),o?this.clear():(0,i.each)(r,function(n){e(n)&&(t.hasState(n,l)&&t.setItemState(n,l,!1),t.setItemState(n,s,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)(0,a.clearList)(t.list);else{var e=this.getAllowComponents();(0,i.each)(e,function(t){t.clearItemsState(l),t.clearItemsState(s)})}},e}(o.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r;return function(){var i=this,a=arguments,o=n&&!r;clearTimeout(r),r=setTimeout(function(){r=null,n||t.apply(i,a)},e),o&&t.apply(i,a)}}},function(t,e,n){"use strict";t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";e.a=function(t){if(0===t.length)return 0;for(var e,n=t[0],r=0,i=1;i=Math.abs(t[i])?r+=n-e+t[i]:r+=t[i]-e+n,n=e;return n+r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ResizeObserver",{enumerable:!0,get:function(){return r.ResizeObserver}}),Object.defineProperty(e,"ResizeObserverEntry",{enumerable:!0,get:function(){return i.ResizeObserverEntry}}),Object.defineProperty(e,"ResizeObserverSize",{enumerable:!0,get:function(){return a.ResizeObserverSize}});var r=n(1039),i=n(483),a=n(485)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Line=void 0;var r=n(1),i=n(24),a=n(512),o=n(1087);n(1088);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e}return r.__extends(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart,n=this.options;a.meta({chart:e,options:n}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Line=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Pie=void 0;var r=n(1),i=n(14),a=n(24),o=n(15),s=n(1128),l=n(525),u=n(526);n(527);var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}return r.__extends(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null));var e=this.options,n=this.options.angleField,r=o.processIllegalData(e.data,n),a=o.processIllegalData(t,n);u.isAllZero(r,n)||u.isAllZero(a,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(a),s.pieAnnotation({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(a.Plot);e.Pie=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scatter=void 0;var r=n(1),i=n(14),a=n(24),o=n(15),s=n(1154),l=n(1156);n(1157);var u=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type="scatter",a.on(i.VIEW_LIFE_CIRCLE.BEFORE_RENDER,function(t){var e,n,o=a.options,l=a.chart;if((null===(e=t.data)||void 0===e?void 0:e.source)===i.BRUSH_FILTER_EVENTS.FILTER){var u=a.chart.filterData(a.chart.getData());s.meta({chart:l,options:r.__assign(r.__assign({},o),{data:u})})}(null===(n=t.data)||void 0===n?void 0:n.source)===i.BRUSH_FILTER_EVENTS.RESET&&s.meta({chart:l,options:o})}),a}return r.__extends(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption(s.transformOptions(o.deepAssign({},this.options,{data:t})));var e=this.options,n=this.chart;s.meta({chart:n,options:e}),this.chart.changeData(t)},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(a.Plot);e.Scatter=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.getArcParams=e.Shape=e.Group=e.Canvas=void 0;var r=n(1),i=n(143);e.Shape=i,r.__exportStar(n(26),e);var a=n(913);Object.defineProperty(e,"Canvas",{enumerable:!0,get:function(){return a.default}});var o=n(260);Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return o.default}});var s=n(438);Object.defineProperty(e,"getArcParams",{enumerable:!0,get:function(){return s.default}}),e.version="0.5.12"},function(t,e,n){"use strict";var r,i=n(2)(n(6)),a=SyntaxError,o=Function,s=TypeError,l=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var c=function(){throw new s},f=u?function(){try{return arguments.callee,c}catch(t){try{return u(arguments,"callee").get}catch(t){return c}}}():c,d=n(650)(),p=Object.getPrototypeOf||function(t){return t.__proto__},h={},g="undefined"==typeof Uint8Array?r:p(Uint8Array),v={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):r,"%JSON%":("undefined"==typeof JSON?"undefined":(0,i.default)(JSON))==="object"?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?p(new Map()[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?p(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":f,"%TypedArray%":g,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},y=function t(e){var n;if("%AsyncFunction%"===e)n=l("async function () {}");else if("%GeneratorFunction%"===e)n=l("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=l("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&(n=p(i.prototype))}return v[e]=n,n},m={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(237),x=n(652),_=b.call(Function.call,Array.prototype.concat),O=b.call(Function.apply,Array.prototype.splice),P=b.call(Function.call,String.prototype.replace),M=b.call(Function.call,String.prototype.slice),A=b.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,w=/\\(\\)?/g,E=function(t){var e=M(t,0,1),n=M(t,-1);if("%"===e&&"%"!==n)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var r=[];return P(t,S,function(t,e,n,i){r[r.length]=n?P(i,w,"$1"):e||t}),r},C=function(t,e){var n,r=t;if(x(m,r)&&(r="%"+(n=m[r])[0]+"%"),x(v,r)){var i=v[r];if(i===h&&(i=y(r)),void 0===i&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/,t))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=E(t),r=n.length>0?n[0]:"",i=C("%"+r+"%",e),o=i.name,l=i.value,c=!1,f=i.alias;f&&(r=f[0],O(n,_([0,1],f)));for(var d=1,p=!0;d=n.length){var m=u(l,h);l=(p=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:l[h]}else p=x(l,h),l=l[h];p&&!c&&(v[o]=l)}}return l}},function(t,e,n){"use strict";var r=n(651);t.exports=Function.prototype.bind||r},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(56));e.default=function(t,e){return!!(0,i.default)(t)&&t.indexOf(e)>-1}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(6));e.default=function(t){return"object"===(0,i.default)(t)&&null!==t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(107)),a=r(n(57)),o=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return(0,i.default)(t,function(n,r){(0,a.default)(t)&&"prototype"===r||e.push(n)}),e};e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i){return e&&r(t,e),n&&r(t,n),i&&r(t,i),t}},function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.SearchBotDeviceInfo=e.ReactNativeInfo=e.NodeInfo=e.BrowserInfo=e.BotInfo=void 0,e.browserName=function(t){var e=f(t);return e?e[0]:null},e.detect=function(t){return t?d(t):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new s:"undefined"!=typeof navigator?d(navigator.userAgent):h()},e.detectOS=p,e.getNodeVersion=h,e.parseUserAgent=d;var n=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,a=e.length;i=0&&e._call.call(null,t),e=e._next;--s}function x(){f=(c=p.now())+d,s=l=0;try{b()}finally{s=0,function(){for(var t,e,n=i,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:i=e);a=t,O(r)}(),f=0}}function _(){var t=p.now(),e=t-c;e>1e3&&(d-=e,c=t)}function O(t){!s&&(l&&(l=clearTimeout(l)),t-f>24?(t<1/0&&(l=setTimeout(x,t-p.now()-d)),u&&(u=clearInterval(u))):(u||(c=p.now(),u=setInterval(_,1e3)),s=1,h(x)))}y.prototype=m.prototype={constructor:y,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?g():+n)+(null==e?0:+e),this._next||a===this||(a?a._next=this:i=this,a=this),this._call=t,this._time=n,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.Color=o,e.Rgb=A,e.darker=e.brighter=void 0,e.default=x,e.hsl=F,e.hslConvert=j,e.rgb=M,e.rgbConvert=P;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=o?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(246));function a(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}function o(){}e.darker=.7,e.brighter=1.4285714285714286;var s="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\(".concat(s,",").concat(s,",").concat(s,"\\)$")),d=new RegExp("^rgb\\(".concat(u,",").concat(u,",").concat(u,"\\)$")),p=new RegExp("^rgba\\(".concat(s,",").concat(s,",").concat(s,",").concat(l,"\\)$")),h=new RegExp("^rgba\\(".concat(u,",").concat(u,",").concat(u,",").concat(l,"\\)$")),g=new RegExp("^hsl\\(".concat(l,",").concat(u,",").concat(u,"\\)$")),v=new RegExp("^hsla\\(".concat(l,",").concat(u,",").concat(u,",").concat(l,"\\)$")),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function m(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function x(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=c.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?_(e):3===n?new A(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?O(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?O(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new A(e[1],e[2],e[3],1):(e=d.exec(t))?new A(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=p.exec(t))?O(e[1],e[2],e[3],e[4]):(e=h.exec(t))?O(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=g.exec(t))?I(e[1],e[2]/100,e[3]/100,1):(e=v.exec(t))?I(e[1],e[2]/100,e[3]/100,e[4]):y.hasOwnProperty(t)?_(y[t]):"transparent"===t?new A(NaN,NaN,NaN,0):null}function _(t){return new A(t>>16&255,t>>8&255,255&t,1)}function O(t,e,n,r){return r<=0&&(t=e=n=NaN),new A(t,e,n,r)}function P(t){return(t instanceof o||(t=x(t)),t)?(t=t.rgb(),new A(t.r,t.g,t.b,t.opacity)):new A}function M(t,e,n,r){return 1==arguments.length?P(t):new A(t,e,n,null==r?1:r)}function A(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function S(){return"#".concat(T(this.r)).concat(T(this.g)).concat(T(this.b))}function w(){var t=E(this.opacity);return"".concat(1===t?"rgb(":"rgba(").concat(C(this.r),", ").concat(C(this.g),", ").concat(C(this.b)).concat(1===t?")":", ".concat(t,")"))}function E(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function C(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function T(t){return((t=C(t))<16?"0":"")+t.toString(16)}function I(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new L(t,e,n,r)}function j(t){if(t instanceof L)return new L(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=x(t)),!t)return new L;if(t instanceof L)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),s=NaN,l=a-i,u=(a+i)/2;return l?(s=e===a?(n-r)/l+(n0&&u<1?0:s,new L(s,l,u,t.opacity)}function F(t,e,n,r){return 1==arguments.length?j(t):new L(t,e,n,null==r?1:r)}function L(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function D(t){return(t=(t||0)%360)<0?t+360:t}function k(t){return Math.max(0,Math.min(1,t||0))}function R(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}(0,i.default)(o,x,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:m,formatHex:m,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return j(this).formatHsl()},formatRgb:b,toString:b}),(0,i.default)(A,M,(0,i.extend)(o,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},clamp:function(){return new A(C(this.r),C(this.g),C(this.b),E(this.opacity))},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatHex8:function(){return"#".concat(T(this.r)).concat(T(this.g)).concat(T(this.b)).concat(T((isNaN(this.opacity)?1:this.opacity)*255))},formatRgb:w,toString:w})),(0,i.default)(L,F,(0,i.extend)(o,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new L(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new L(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new A(R(t>=240?t-240:t+120,i,r),R(t,i,r),R(t<120?t+240:t-120,i,r),this.opacity)},clamp:function(){return new L(D(this.h),k(this.s),k(this.l),E(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=E(this.opacity);return"".concat(1===t?"hsl(":"hsla(").concat(D(this.h),", ").concat(100*k(this.s),"%, ").concat(100*k(this.l),"%").concat(1===t?")":", ".concat(t,")"))}}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t},e.extend=function(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}},function(t,e,n){"use strict";function r(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}Object.defineProperty(e,"__esModule",{value:!0}),e.basis=r,e.default=function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),a=t[i],o=t[i+1],s=i>0?t[i-1]:2*a-o,l=id&&(d=(i=[f,d])[0],f=i[1]),c<=2)return[f,d];for(var p=(d-f)/(c-1),h=[],g=0;g0?e="start":t[0]<0&&(e="end"),e},e.prototype.getTextBaseline=function(t){var e;return(0,o.isNumberEqual)(t[1],0)?e="middle":t[1]>0?e="top":t[1]<0&&(e="bottom"),e},e.prototype.processOverlap=function(t){},e.prototype.drawLine=function(t){var e=this.getLinePath(),n=this.get("line");this.addShape(t,{type:"path",id:this.getElementId("line"),name:"axis-line",attrs:(0,o.mix)({path:e},n.style)})},e.prototype.getTickLineItems=function(t){var e=this,n=[],r=this.get("tickLine"),i=r.alignTick,a=r.length,s=1;return t.length>=2&&(s=t[1].value-t[0].value),(0,o.each)(t,function(t){var r=t.point;i||(r=e.getTickPoint(t.value-s/2));var o=e.getSidePoint(r,a);n.push({startPoint:r,tickValue:t.value,endPoint:o,tickId:t.id,id:"tickline-"+t.id})}),n},e.prototype.getSubTickLineItems=function(t){var e=[],n=this.get("subTickLine"),r=n.count,i=t.length;if(i>=2)for(var a=0;a0){var n=(0,o.size)(e);if(n>t.threshold){var r=Math.ceil(n/t.threshold),i=e.filter(function(t,e){return e%r==0});this.set("ticks",i),this.set("originalTicks",e)}}},e.prototype.getLabelAttrs=function(t,e,n){var r=this.get("label"),i=r.offset,a=r.offsetX,s=r.offsetY,u=r.rotate,c=r.formatter,f=this.getSidePoint(t.point,i),d=this.getSideVector(i,f),p=c?c(t.name,t,e):t.name,h=r.style;h=(0,o.isFunction)(h)?(0,o.get)(this.get("theme"),["label","style"],{}):h;var g=(0,o.mix)({x:f.x+a,y:f.y+s,text:p,textAlign:this.getTextAnchor(d),textBaseline:this.getTextBaseline(d)},h);return u&&(g.matrix=(0,l.getMatrixByAngle)(f,u)),g},e.prototype.drawLabels=function(t){var e=this,n=this.get("ticks"),r=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});(0,o.each)(n,function(t,i){e.addShape(r,{type:"text",name:"axis-label",id:e.getElementId("label-"+t.id),attrs:e.getLabelAttrs(t,i,n),delegateObject:{tick:t,item:t,index:i}})}),this.processOverlap(r);var i=r.getChildren(),a=(0,o.get)(this.get("theme"),["label","style"],{}),s=this.get("label"),l=s.style,u=s.formatter;if((0,o.isFunction)(l)){var c=i.map(function(t){return(0,o.get)(t.get("delegateObject"),"tick")});(0,o.each)(i,function(t,e){var n=t.get("delegateObject").tick,r=u?u(n.name,n,e):n.name,i=(0,o.mix)({},a,l(r,e,c));t.attr(i)})}},e.prototype.getTitleAttrs=function(){var t=this.get("title"),e=t.style,n=t.position,r=t.offset,i=t.spacing,s=void 0===i?0:i,u=t.autoRotate,c=e.fontSize,f=.5;"start"===n?f=0:"end"===n&&(f=1);var d=this.getTickPoint(f),p=this.getSidePoint(d,r||s+c/2),h=(0,o.mix)({x:p.x,y:p.y,text:t.text},e),g=t.rotate,v=g;if((0,o.isNil)(g)&&u){var y=this.getAxisVector(d);v=a.ext.angleTo(y,[1,0],!0)}if(v){var m=(0,l.getMatrixByAngle)(p,v);h.matrix=m}return h},e.prototype.drawTitle=function(t){var e,n=this.getTitleAttrs(),r=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"axis-title",attrs:n});(null===(e=this.get("title"))||void 0===e?void 0:e.description)&&this.drawDescriptionIcon(t,r,n.matrix)},e.prototype.drawDescriptionIcon=function(t,e,n){var r=this.addGroup(t,{name:"axis-description",id:this.getElementById("description")}),a=e.getBBox(),o=a.maxX,s=a.maxY,l=a.height,u=this.get("title").iconStyle,c=l/2,f=c/6,d=o+4,p=s-l/2,h=[d+c,p-c],g=h[0],v=h[1],y=[g+c,v+c],m=y[0],b=y[1],x=[g,b+c],_=x[0],O=x[1],P=[d,v+c],M=P[0],A=P[1],S=[d+c,p-l/4],w=S[0],E=S[1],C=[w,E+f],T=C[0],I=C[1],j=[T,I+f],F=j[0],L=j[1],D=[F,L+3*c/4],k=D[0],R=D[1];this.addShape(r,{type:"path",id:this.getElementId("title-description-icon"),name:"axis-title-description-icon",attrs:(0,i.__assign)({path:[["M",g,v],["A",c,c,0,0,1,m,b],["A",c,c,0,0,1,_,O],["A",c,c,0,0,1,M,A],["A",c,c,0,0,1,g,v],["M",w,E],["L",T,I],["M",F,L],["L",k,R]],lineWidth:f,matrix:n},u)}),this.addShape(r,{type:"rect",id:this.getElementId("title-description-rect"),name:"axis-title-description-rect",attrs:{x:d,y:p-l/2,width:l,height:l,stroke:"#000",fill:"#000",opacity:0,matrix:n,cursor:"pointer"}})},e.prototype.applyTickStates=function(t,e){if(this.getItemStates(t).length){var n=this.get("tickStates"),r=this.getElementId("label-"+t.id),i=e.findById(r);if(i){var a=(0,u.getStatesStyle)(t,"label",n);a&&i.attr(a)}var o=this.getElementId("tickline-"+t.id),s=e.findById(o);if(s){var l=(0,u.getStatesStyle)(t,"tickLine",n);l&&s.attr(l)}}},e.prototype.updateTickStates=function(t){var e=this.getItemStates(t),n=this.get("tickStates"),r=this.get("label"),i=this.getElementByLocalId("label-"+t.id),a=this.get("tickLine"),o=this.getElementByLocalId("tickline-"+t.id);if(e.length){if(i){var s=(0,u.getStatesStyle)(t,"label",n);s&&i.attr(s)}if(o){var l=(0,u.getStatesStyle)(t,"tickLine",n);l&&o.attr(l)}}else i&&i.attr(r.style),o&&o.attr(a.style)},e}(s.default);e.default=f},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=n(90),l=r(n(58)),u=n(42),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:l.default.lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:l.default.textColor,textAlign:"center",textBaseline:"middle",fontFamily:l.default.fontFamily}},textBackground:{padding:5,style:{stroke:l.default.lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var e=this.get("text"),n=e.style,r=e.autoRotate,o=e.content;if(!(0,a.isNil)(o)){var l=this.getTextPoint(),u=null;if(r){var c=this.getRotateAngle();u=(0,s.getMatrixByAngle)(l,c)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:(0,i.__assign)((0,i.__assign)((0,i.__assign)({},l),{text:o,matrix:u}),n)})}},e.prototype.renderLine=function(t){var e=this.getLinePath(),n=this.get("line").style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:(0,i.__assign)({path:e},n)})},e.prototype.renderBackground=function(t){var e=this.getElementId("text"),n=t.findById(e),r=this.get("textBackground");if(r&&n){var a=n.getBBox(),o=(0,u.formatPadding)(r.padding),s=r.style;this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:(0,i.__assign)({x:a.x-o[3],y:a.y-o[0],width:a.width+o[1]+o[3],height:a.height+o[0]+o[2],matrix:n.attr("matrix")},s)}).toBack()}},e}(o.default);e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=r(n(58)),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:s.default.lineColor}}}})},e.prototype.getLineType=function(){return(this.get("line")||this.get("defaultCfg").line).type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,e){var n=this.getGridPath(t),r=e.slice(0).reverse(),i=this.getGridPath(r,!0);return this.get("closed")?n=n.concat(i):(i[0][0]="L",(n=n.concat(i)).push(["Z"])),n},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var e=this,n=this.get("line"),r=this.get("items"),i=this.get("alternateColor"),o=null;(0,a.each)(r,function(s,l){var u=s.id||l;if(n){var c=e.getPathStyle();c=(0,a.isFunction)(c)?c(s,l,r):c;var f=e.getElementId("line-"+u),d=e.getGridPath(s.points);e.addShape(t,{type:"path",name:"grid-line",id:f,attrs:(0,a.mix)({path:d},c)})}if(i&&l>0){var p=e.getElementId("region-"+u),h=l%2==0;if((0,a.isString)(i))h&&e.drawAlternateRegion(p,t,o.points,s.points,i);else{var g=h?i[1]:i[0];e.drawAlternateRegion(p,t,o.points,s.points,g)}}o=s})},e.prototype.drawAlternateRegion=function(t,e,n,r,i){var a=this.getAlternatePath(n,r);this.addShape(e,{type:"path",id:t,name:"grid-region",attrs:{path:a,fill:i}})},e}(o.default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(41)),o=n(42),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var e=t.prototype.getLayoutBBox.call(this),n=this.get("maxWidth"),r=this.get("maxHeight"),i=e.width,a=e.height;return n&&(i=Math.min(i,n)),r&&(a=Math.min(a,r)),(0,o.createBBox)(e.minX,e.minY,i,a)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),e=this.get("y"),n=this.get("offsetX"),r=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+n,y:e+r})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var e=this.get("background"),n=t.getBBox(),r=(0,o.formatPadding)(e.padding),a=(0,i.__assign)({x:0,y:0,width:n.width+r[1]+r[3],height:n.height+r[0]+r[2]},e.style);this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:a}).toBack()},e.prototype.drawTitle=function(t){var e=this.get("currentPoint"),n=this.get("title"),r=n.spacing,a=n.style,o=n.text,s=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:(0,i.__assign)({text:o,x:e.x,y:e.y},a)}).getBBox();this.set("currentPoint",{x:e.x,y:s.maxY+r})},e.prototype.resetDraw=function(){var t=this.get("background"),e={x:0,y:0};if(t){var n=(0,o.formatPadding)(t.padding);e.x=n[3],e.y=n[0]}this.set("currentPoint",e)},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VALUE_CLASS=e.TITLE_CLASS=e.NAME_CLASS=e.MARKER_CLASS=e.LIST_ITEM_CLASS=e.LIST_CLASS=e.CROSSHAIR_Y=e.CROSSHAIR_X=e.CONTAINER_CLASS=void 0,e.CONTAINER_CLASS="g2-tooltip",e.TITLE_CLASS="g2-tooltip-title",e.LIST_CLASS="g2-tooltip-list",e.LIST_ITEM_CLASS="g2-tooltip-list-item",e.MARKER_CLASS="g2-tooltip-marker",e.VALUE_CLASS="g2-tooltip-value",e.NAME_CLASS="g2-tooltip-name",e.CROSSHAIR_X="g2-tooltip-crosshair-x",e.CROSSHAIR_Y="g2-tooltip-crosshair-y"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(143),o=n(144),s=n(0),l=n(51),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.onCanvasChange=function(t){o.refreshElement(this,t)},e.prototype.getShapeBase=function(){return a},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,e){e&&(t.save(),o.applyAttrsToContext(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,e=[],n=[];s.each(t,function(t){var r=t.cfg.cacheCanvasBBox;r&&t.cfg.isInView&&(e.push(r.minX,r.maxX),n.push(r.minY,r.maxY))});var r=null;if(e.length){var i=s.min(e),a=s.max(e),o=s.min(n),u=s.max(n);r={minX:i,minY:o,x:i,y:o,maxX:a,maxY:u,width:a-i,height:u-o};var c=this.cfg.canvas;if(c){var f=c.getViewRange();this.set("isInView",l.intersectRect(r,f))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",r)},e.prototype.draw=function(t,e){var n=this.cfg.children,r=!e||this.cfg.refresh;n.length&&r&&(t.save(),o.applyAttrsToContext(t,this),this._applyClip(t,this.getClip()),o.drawChildren(t,n,e),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(i.AbstractGroup);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.refreshElement=e.drawChildren=void 0;var r=n(145),i=n(72);e.drawChildren=function(t,e){e.forEach(function(e){e.draw(t)})},e.refreshElement=function(t,e){var n=t.get("canvas");if(n&&n.get("autoDraw")){var a=n.get("context"),o=t.getParent(),s=o?o.getChildren():[n],l=t.get("el");if("remove"===e){if(t.get("isClipShape")){var u=l&&l.parentNode,c=u&&u.parentNode;u&&c&&c.removeChild(u)}else l&&l.parentNode&&l.parentNode.removeChild(l)}else if("show"===e)l.setAttribute("visibility","visible");else if("hide"===e)l.setAttribute("visibility","hidden");else if("zIndex"===e)i.moveTo(l,s.indexOf(t));else if("sort"===e){var f=t.get("children");f&&f.length&&i.sortDom(t,function(t,e){return f.indexOf(t)-f.indexOf(e)?1:0})}else"clear"===e?l&&(l.innerHTML=""):"matrix"===e?r.setTransform(t):"clip"===e?r.setClip(t,a):"attr"===e||"add"===e&&t.draw(a)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(0),o=n(184),s=n(261),l=n(145),u=n(52),c=n(72),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.isEntityGroup=function(){return!0},e.prototype.createDom=function(){var t=c.createSVGElement("g");this.set("el",t);var e=this.getParent();if(e){var n=e.get("el");n||(n=e.createDom(),e.set("el",n)),n.appendChild(t)}return t},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.createPath(r,e)}},e.prototype.onCanvasChange=function(t){s.refreshElement(this,t)},e.prototype.getShapeBase=function(){return o},e.prototype.getGroupBase=function(){return e},e.prototype.draw=function(t){var e=this.getChildren(),n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||this.createDom(),l.setClip(this,t),this.createPath(t),e.length&&s.drawChildren(t,e))},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");a.each(e||n,function(t,e){u.SVG_ATTR_MAP[e]&&r.setAttribute(u.SVG_ATTR_MAP[e],t)}),l.setTransform(this)},e}(i.AbstractGroup);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var r=e.visible;return n.visible=void 0===r||r,n}return(0,r.__extends)(e,t),e.prototype.show=function(){this.visible||this.changeVisible(!0)},e.prototype.hide=function(){this.visible&&this.changeVisible(!1)},e.prototype.destroy=function(){this.off(),this.destroyed=!0},e.prototype.changeVisible=function(t){this.visible!==t&&(this.visible=t)},e}((0,r.__importDefault)(n(126)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerFacet=e.getFacet=e.Facet=void 0;var r=n(0),i=n(105);Object.defineProperty(e,"Facet",{enumerable:!0,get:function(){return i.Facet}});var a={};e.getFacet=function(t){return a[(0,r.lowerCase)(t)]},e.registerFacet=function(t,e){a[(0,r.lowerCase)(t)]=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAxisTitleText=e.getAxisDirection=e.getAxisOption=e.getCircleAxisCenterRadius=e.getAxisTitleOptions=e.getAxisThemeCfg=e.getAxisFactorByRegion=e.isVertical=e.getAxisFactor=e.getAxisRegion=e.getCircleAxisRelativeRegion=e.getLineAxisRelativeRegion=void 0;var r=n(0),i=n(21),a=n(111),o=n(32);function s(t){var e,n;switch(t){case i.DIRECTION.TOP:e={x:0,y:1},n={x:1,y:1};break;case i.DIRECTION.RIGHT:e={x:1,y:0},n={x:1,y:1};break;case i.DIRECTION.BOTTOM:e={x:0,y:0},n={x:1,y:0};break;case i.DIRECTION.LEFT:e={x:0,y:0},n={x:0,y:1};break;default:e=n={x:0,y:0}}return{start:e,end:n}}function l(t){var e,n;return t.isTransposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{start:e,end:n}}function u(t){var e=t.start,n=t.end;return e.x===n.x}e.getLineAxisRelativeRegion=s,e.getCircleAxisRelativeRegion=l,e.getAxisRegion=function(t,e){var n={start:{x:0,y:0},end:{x:0,y:0}};t.isRect?n=s(e):t.isPolar&&(n=l(t));var r=n.start,i=n.end;return{start:t.convert(r),end:t.convert(i)}},e.getAxisFactor=function(t,e){return t.isRect?t.isTransposed?[i.DIRECTION.RIGHT,i.DIRECTION.BOTTOM].includes(e)?1:-1:[i.DIRECTION.BOTTOM,i.DIRECTION.RIGHT].includes(e)?-1:1:t.isPolar&&t.x.start<0?-1:1},e.isVertical=u,e.getAxisFactorByRegion=function(t,e){var n=t.start,r=t.end;return u(t)?(n.y-r.y)*(e.x-n.x)>0?1:-1:(r.x-n.x)*(n.y-e.y)>0?-1:1},e.getAxisThemeCfg=function(t,e){var n=(0,r.get)(t,["components","axis"],{});return(0,r.deepMix)({},(0,r.get)(n,["common"],{}),(0,r.deepMix)({},(0,r.get)(n,[e],{})))},e.getAxisTitleOptions=function(t,e,n){var i=(0,r.get)(t,["components","axis"],{});return(0,r.deepMix)({},(0,r.get)(i,["common","title"],{}),(0,r.deepMix)({},(0,r.get)(i,[e,"title"],{})),n)},e.getCircleAxisCenterRadius=function(t){var e=t.x,n=t.y,r=t.circleCenter,i=n.start>n.end,a=t.isTransposed?t.convert({x:i?0:1,y:0}):t.convert({x:0,y:i?0:1}),s=[a.x-r.x,a.y-r.y],l=[1,0],u=a.y>r.y?o.vec2.angle(s,l):-1*o.vec2.angle(s,l),c=u+(e.end-e.start),f=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2));return{center:r,radius:f,startAngle:u,endAngle:c}},e.getAxisOption=function(t,e){return(0,r.isBoolean)(t)?!1!==t&&{}:(0,r.get)(t,[e])},e.getAxisDirection=function(t,e){return(0,r.get)(t,"position",e)},e.getAxisTitleText=function(t,e){return(0,r.get)(e,["title","text"],(0,a.getName)(t))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getActionClass=e.registerAction=e.Action=e.Interaction=e.createInteraction=e.registerInteraction=e.getInteraction=void 0;var r=n(1),i=n(0),a=(0,r.__importDefault)(n(936)),o={};function s(t){return o[(0,i.lowerCase)(t)]}e.getInteraction=s,e.registerInteraction=function(t,e){o[(0,i.lowerCase)(t)]=e},e.createInteraction=function(t,e,n){var r=s(t);if(!r)return null;if(!(0,i.isPlainObject)(r))return new r(e,n);var o=(0,i.mix)((0,i.clone)(r),n);return new a.default(e,o)};var l=n(445);Object.defineProperty(e,"Interaction",{enumerable:!0,get:function(){return(0,r.__importDefault)(l).default}});var u=n(185);Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return u.Action}}),Object.defineProperty(e,"registerAction",{enumerable:!0,get:function(){return u.registerAction}}),Object.defineProperty(e,"getActionClass",{enumerable:!0,get:function(){return u.getActionClass}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePadding=e.isAutoPadding=void 0;var r=n(1),i=n(0);e.isAutoPadding=function(t){return!(0,i.isNumber)(t)&&!(0,i.isArray)(t)},e.parsePadding=function(t){void 0===t&&(t=0);var e=(0,i.isArray)(t)?t:[t];switch(e.length){case 0:e=[0,0,0,0];break;case 1:e=[,,,,].fill(e[0]);break;case 2:e=(0,r.__spreadArray)((0,r.__spreadArray)([],e,!0),e,!0);break;case 3:e=(0,r.__spreadArray)((0,r.__spreadArray)([],e,!0),[e[1]],!1);break;default:e=e.slice(0,4)}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(69),i=function(){function t(t,e,n){this.view=t,this.gEvent=e,this.data=n,this.type=e.type}return t.fromData=function(e,n,i){return new t(e,new r.Event(n,{}),i)},Object.defineProperty(t.prototype,"target",{get:function(){return this.gEvent.target},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"event",{get:function(){return this.gEvent.originalEvent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this.gEvent.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.gEvent.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientX",{get:function(){return this.gEvent.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientY",{get:function(){return this.gEvent.clientY},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"[Event (type="+this.type+")]"},t.prototype.clone=function(){return new t(this.view,this.gEvent,this.data)},t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(179),o=n(97),s=(0,r.__importDefault)(n(263)),l=n(46),u=n(21),c=n(270),f=function(t){function e(e){var n=t.call(this,e)||this;n.states=[];var r=e.shapeFactory,i=e.container,a=e.offscreenGroup,o=e.elementIndex,s=e.visible;return n.shapeFactory=r,n.container=i,n.offscreenGroup=a,n.visible=void 0===s||s,n.elementIndex=o,n}return(0,r.__extends)(e,t),e.prototype.draw=function(t,e){void 0===e&&(e=!1),this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.drawShape(t,e),!1===this.visible&&this.changeVisible(!1)},e.prototype.update=function(t){var e=this.shapeFactory,n=this.shape;if(n){this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.setShapeInfo(n,t);var r=this.getOffscreenGroup(),i=e.drawShape(this.shapeType,t,r);i.cfg.data=this.data,i.cfg.origin=t,i.cfg.element=this,this.syncShapeStyle(n,i,this.getStates(),this.getAnimateCfg("update"))}},e.prototype.destroy=function(){var e=this.shapeFactory,n=this.shape;if(n){var i=this.getAnimateCfg("leave");i?(0,o.doAnimate)(n,i,{coordinate:e.coordinate,toAttrs:(0,r.__assign)({},n.attr())}):n.remove(!0)}this.states=[],this.shapeFactory=void 0,this.container=void 0,this.shape=void 0,this.animate=void 0,this.geometry=void 0,this.labelShape=void 0,this.model=void 0,this.data=void 0,this.offscreenGroup=void 0,this.statesStyle=void 0,t.prototype.destroy.call(this)},e.prototype.changeVisible=function(e){t.prototype.changeVisible.call(this,e),e?(this.shape&&this.shape.show(),this.labelShape&&this.labelShape.forEach(function(t){t.show()})):(this.shape&&this.shape.hide(),this.labelShape&&this.labelShape.forEach(function(t){t.hide()}))},e.prototype.setState=function(t,e){var n=this.states,r=this.shapeFactory,i=this.model,o=this.shape,s=this.shapeType,l=n.indexOf(t);if(e){if(l>-1)return;n.push(t),("active"===t||"selected"===t)&&(null==o||o.toFront())}else{if(-1===l)return;n.splice(l,1),("active"===t||"selected"===t)&&(this.geometry.zIndexReversed?o.setZIndex(this.geometry.elements.length-this.elementIndex):o.setZIndex(this.elementIndex))}var u=r.drawShape(s,i,this.getOffscreenGroup());n.length?this.syncShapeStyle(o,u,n,null):this.syncShapeStyle(o,u,["reset"],null),u.remove(!0);var c={state:t,stateStatus:e,element:this,target:this.container};this.container.emit("statechange",c),(0,a.propagationDelegate)(this.shape,"statechange",c)},e.prototype.clearStates=function(){var t=this,e=this.states;(0,i.each)(e,function(e){t.setState(e,!1)}),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this.shape,e=this.labelShape,n={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return t&&(n=t.getCanvasBBox()),e&&e.forEach(function(t){var e=t.getCanvasBBox();n.x=Math.min(e.x,n.x),n.y=Math.min(e.y,n.y),n.minX=Math.min(e.minX,n.minX),n.minY=Math.min(e.minY,n.minY),n.maxX=Math.max(e.maxX,n.maxX),n.maxY=Math.max(e.maxY,n.maxY)}),n.width=n.maxX-n.minX,n.height=n.maxY-n.minY,n},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this.shapeType,e=this.geometry,n=this.shapeFactory,r=e.stateOption,a=n.defaultShapeType,o=n.theme[t]||n.theme[a];this.statesStyle=(0,i.deepMix)({},o,r)}return this.statesStyle},e.prototype.getStateStyle=function(t,e){var n=this.getStatesStyle(),r=(0,i.get)(n,[t,"style"],{}),a=r[e]||r;return(0,i.isFunction)(a)?a(this):a},e.prototype.getAnimateCfg=function(t){var e=this,n=this.animate;if(n){var a=n[t];return a?(0,r.__assign)((0,r.__assign)({},a),{callback:function(){var t;(0,i.isFunction)(a.callback)&&a.callback(),null===(t=e.geometry)||void 0===t||t.emit(u.GEOMETRY_LIFE_CIRCLE.AFTER_DRAW_ANIMATE)}}):a}return null},e.prototype.drawShape=function(t,e){void 0===e&&(e=!1);var n,a=this.shapeFactory,s=this.container,l=this.shapeType;if(this.shape=a.drawShape(l,t,s),this.shape){this.setShapeInfo(this.shape,t);var c=this.shape.cfg.name;c?(0,i.isString)(c)&&(this.shape.cfg.name=["element",c]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var f=e?"enter":"appear",d=this.getAnimateCfg(f);d&&(null===(n=this.geometry)||void 0===n||n.emit(u.GEOMETRY_LIFE_CIRCLE.BEFORE_DRAW_ANIMATE),(0,o.doAnimate)(this.shape,d,{coordinate:a.coordinate,toAttrs:(0,r.__assign)({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,e){var n=this;t.cfg.origin=e,t.cfg.element=this,t.isGroup()&&t.get("children").forEach(function(t){n.setShapeInfo(t,e)})},e.prototype.syncShapeStyle=function(t,e,n,r,a){var s,f=this;if(void 0===n&&(n=[]),void 0===a&&(a=0),t&&e){var d=t.get("clipShape"),p=e.get("clipShape");if(this.syncShapeStyle(d,p,n,r),t.isGroup())for(var h=t.get("children"),g=e.get("children"),v=0;v1){o.sort();var y=function(t,e){var n=t.length,i=t;(0,r.isString)(i[0])&&(i=t.map(function(t){return e.translate(t)}));for(var a=i[1]-i[0],o=2;os&&(a=s)}return a}(o,a);l=(a.max-a.min)/y,o.length>l&&(l=o.length)}var m=a.range,b=1/l,x=1;if(n.isPolar?x=n.isTransposed&&l>1?g:v:(a.isLinear&&(b*=m[1]-m[0]),x=h),!(0,r.isNil)(c)&&c>=0?b=(1-(l-1)*(c/u))/l:b*=x,t.getAdjust("dodge")){var _=function(t,e){if(e){var n=(0,r.flatten)(t);return(0,r.valuesOfKey)(n,e).length}return t.length}(s,t.getAdjust("dodge").dodgeBy);!(0,r.isNil)(f)&&f>=0?b=(b-f/u*(_-1))/_:(!(0,r.isNil)(c)&&c>=0&&(b*=x),b/=_),b=b>=0?b:0}if(!(0,r.isNil)(d)&&d>=0){var O=d/u;b>O&&(b=O)}if(!(0,r.isNil)(p)&&p>=0){var P=p/u;b1){for(var f=n.addGroup(),d=0;de.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function _(t){var e=t.parentInstance,n=t.content,r=x(t,["parentInstance","content"]);return b()(!1,"Label组件即将被取消,请使用图形组件的label属性进行配置"),e.label(!1),e.label(n,r),i.a.createElement(i.a.Fragment,null)}Object(y.registerGeometryLabel)("base",o.a),Object(y.registerGeometryLabel)("interval",l.a),Object(y.registerGeometryLabel)("pie",c.a),Object(y.registerGeometryLabel)("polar",d.a),Object(y.registerGeometryLabelLayout)("overlap",v.overlap),Object(y.registerGeometryLabelLayout)("distribute",p.distribute),Object(y.registerGeometryLabelLayout)("fixed-overlap",v.fixedOverlap),Object(y.registerGeometryLabelLayout)("limit-in-shape",g.limitInShape),Object(y.registerGeometryLabelLayout)("limit-in-canvas",h.limitInCanvas)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBetween=e.isRealNumber=void 0,e.isRealNumber=function(t){return"number"==typeof t&&!isNaN(t)},e.isBetween=function(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.processIllegalData=e.transformDataToNodeLinkData=e.adjustYMetaByZero=void 0;var r=n(1),i=n(0),a=n(500),o=n(499);e.adjustYMetaByZero=function(t,e){var n=t.filter(function(t){var n=i.get(t,[e]);return i.isNumber(n)&&!isNaN(n)}),r=n.every(function(t){return i.get(t,[e])>=0}),a=n.every(function(t){return 0>=i.get(t,[e])});return r?{min:0}:a?{max:0}:{}},e.transformDataToNodeLinkData=function(t,e,n,i,a){if(void 0===a&&(a=[]),!Array.isArray(t))return{nodes:[],links:[]};var s=[],l={},u=-1;return t.forEach(function(t){var c=t[e],f=t[n],d=t[i],p=o.pick(t,a);l[c]||(l[c]=r.__assign({id:++u,name:c},p)),l[f]||(l[f]=r.__assign({id:++u,name:f},p)),s.push(r.__assign({source:l[c].id,target:l[f].id,value:d},p))}),{nodes:Object.values(l).sort(function(t,e){return t.id-e.id}),links:s}},e.processIllegalData=function(t,e){var n=i.filter(t,function(t){var n=t[e];return null===n||"number"==typeof n&&!isNaN(n)});return a.log(a.LEVEL.WARN,n.length===t.length,"illegal data existed in chart data."),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolveAllPadding=e.getAdjustAppendPadding=e.normalPadding=void 0;var r=n(0);function i(t){if(r.isNumber(t))return[t,t,t,t];if(r.isArray(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}e.normalPadding=i,e.getAdjustAppendPadding=function(t,e,n){void 0===e&&(e="bottom"),void 0===n&&(n=25);var r=i(t),a=[e.startsWith("top")?n:0,e.startsWith("right")?n:0,e.startsWith("bottom")?n:0,e.startsWith("left")?n:0];return[r[0]+a[0],r[1]+a[1],r[2]+a[2],r[3]+a[3]]},e.resolveAllPadding=function(t){var e=t.map(function(t){return i(t)}),n=[0,0,0,0];return e.length>0&&(n=n.map(function(t,n){return e.forEach(function(r,i){t+=e[i][n]}),t})),n}},function(t,e,n){"use strict";var r=n(2)(n(6));function i(){return("undefined"==typeof window?"undefined":(0,r.default)(window))==="object"?null==window?void 0:window.devicePixelRatio:2}Object.defineProperty(e,"__esModule",{value:!0}),e.transformMatrix=e.getSymbolsPosition=e.getUnitPatternSize=e.drawBackground=e.initCanvas=e.getPixelRatio=void 0,e.getPixelRatio=i,e.initCanvas=function(t,e){void 0===e&&(e=t);var n=document.createElement("canvas"),r=i();return n.width=t*r,n.height=e*r,n.style.width=t+"px",n.style.height=e+"px",n.getContext("2d").scale(r,r),n},e.drawBackground=function(t,e,n,r){void 0===r&&(r=n);var i=e.backgroundColor,a=e.opacity;t.globalAlpha=a,t.fillStyle=i,t.beginPath(),t.fillRect(0,0,n,r),t.closePath()},e.getUnitPatternSize=function(t,e,n){var r=t+e;return n?2*r:r},e.getSymbolsPosition=function(t,e){return e?[[t*(1/4),t*(1/4)],[t*(3/4),t*(3/4)]]:[[.5*t,.5*t]]},e.transformMatrix=function(t,e){var n=e*Math.PI/180;return{a:Math.cos(n)*(1/t),b:Math.sin(n)*(1/t),c:-Math.sin(n)*(1/t),d:Math.cos(n)*(1/t),e:0,f:0}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getProgressData=void 0;var r=n(0),i=n(291);e.getProgressData=function(t){var e=r.clamp(i.isRealNumber(t)?t:0,0,1);return[{type:"current",percent:e},{type:"target",percent:1-e}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(34),i=n(15),a=n(43),o=n(154),s=n(118),l=n(292);function u(t){var e=t.chart,n=t.options,r=n.data,l=n.color,u=n.areaStyle,c=n.point,f=n.line,d=null==c?void 0:c.state,p=s.getTinyData(r);e.data(p);var h=i.deepAssign({},t,{options:{xField:o.X_FIELD,yField:o.Y_FIELD,area:{color:l,style:u},line:f,point:c}}),g=i.deepAssign({},h,{options:{tooltip:!1}}),v=i.deepAssign({},h,{options:{tooltip:!1,state:d}});return a.area(h),a.line(g),a.point(v),e.axis(!1),e.legend(!1),t}function c(t){var e,n,a=t.options,u=a.xAxis,c=a.yAxis,f=a.data,d=s.getTinyData(f);return i.flow(r.scale(((e={})[o.X_FIELD]=u,e[o.Y_FIELD]=c,e),((n={})[o.X_FIELD]={type:"cat"},n[o.Y_FIELD]=l.adjustYMetaByZero(d,o.Y_FIELD),n)))(t)}e.meta=c,e.adaptor=function(t){return i.flow(r.pattern("areaStyle"),u,c,r.tooltip,r.theme,r.animation,r.annotation())(t)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.Node=P,e.computeHeight=O,e.default=m;var i=r(n(229)),a=r(n(1093)),o=r(n(1094)),s=r(n(1095)),l=r(n(1096)),u=r(n(1097)),c=r(n(1098)),f=r(n(1099)),d=r(n(1100)),p=r(n(1101)),h=r(n(1102)),g=r(n(1103)),v=r(n(1104)),y=r(n(1105));function m(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=x)):void 0===e&&(e=b);for(var n,r,i,a,o,s=new P(t),l=[s];n=l.pop();)if((i=e(n.data))&&(o=(i=Array.from(i)).length))for(n.children=i,a=o-1;a>=0;--a)l.push(r=i[a]=new P(i[a])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(O)}function b(t){return t.children}function x(t){return Array.isArray(t)?t[1]:null}function _(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function O(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function P(t){this.data=t,this.depth=this.height=0,this.parent=null}P.prototype=m.prototype=(0,i.default)({constructor:P,count:a.default,each:o.default,eachAfter:l.default,eachBefore:s.default,find:u.default,sum:c.default,sort:f.default,path:d.default,ancestors:p.default,descendants:h.default,leaves:g.default,links:v.default,copy:function(){return m(this).eachBefore(_)}},Symbol.iterator,y.default)},function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw Error();return t}Object.defineProperty(e,"__esModule",{value:!0}),e.optional=function(t){return null==t?null:r(t)},e.required=r},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.phi=e.default=void 0,e.squarifyRatio=s;var i=r(n(155)),a=r(n(194)),o=(1+Math.sqrt(5))/2;function s(t,e,n,r,o,s){for(var l,u,c,f,d,p,h,g,v,y,m,b=[],x=e.children,_=0,O=0,P=x.length,M=e.value;_h&&(h=u),(g=Math.max(h/(m=d*d*y),m/p))>v){d-=u;break}v=g}b.push(l={value:d,dice:c1?e:1)},n}(o);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conversionTagComponent=e.transformData=void 0;var r=n(1),i=n(0),a=n(120);e.transformData=function(t,e,n){var r=n.yField,o=n.maxSize,s=n.minSize,l=i.get(i.maxBy(e,r),[r]),u=i.isNumber(o)?o:1,c=i.isNumber(s)?s:0;return i.map(t,function(e,n){var o=(e[r]||0)/l;return e[a.FUNNEL_PERCENT]=o,e[a.FUNNEL_MAPPING_VALUE]=(u-c)*o+c,e[a.FUNNEL_CONVERSATION]=[i.get(t,[n-1,r]),e[r]],e})},e.conversionTagComponent=function(t){return function(e){var n=e.chart,o=e.options.conversionTag,s=n.getOptions().data;if(o){var l=o.formatter;s.forEach(function(e,u){if(!(u<=0||Number.isNaN(e[a.FUNNEL_MAPPING_VALUE]))){var c=t(e,u,s,{top:!0,text:{content:i.isFunction(l)?l(e,s):l,offsetX:o.offsetX,offsetY:o.offsetY,position:"end",autoRotate:!1,style:r.__assign({textAlign:"start",textBaseline:"middle"},o.style)}});n.annotation().line(c)}})}return e}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=e.IS_TOTAL=e.ABSOLUTE_FIELD=e.DIFF_FIELD=e.Y_FIELD=void 0,e.Y_FIELD="$$yField$$",e.DIFF_FIELD="$$diffField$$",e.ABSOLUTE_FIELD="$$absoluteField$$",e.IS_TOTAL="$$isTotal$$",e.DEFAULT_OPTIONS={label:{},leaderLine:{style:{lineWidth:1,stroke:"#8c8c8c",lineDash:[4,2]}},total:{style:{fill:"rgba(0, 0, 0, 0.25)"}},interactions:[{type:"element-active"}],risingFill:"#f4664a",fallingFill:"#30bf78",waterfallStyle:{fill:"rgba(0, 0, 0, 0.25)"},yAxis:{grid:{line:{style:{lineDash:[4,2]}}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBetween=function(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i},e.isRealNumber=function(t){return"number"==typeof t&&!isNaN(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(u,c,g,a.theme,f,d,p,a.tooltip,h,a.slider,a.interaction,a.animation,(0,a.annotation)(),a.limitInPlot)(t)},e.adjust=g,e.axis=d,e.legend=p,e.meta=c;var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(197);function u(t){var e=t.chart,n=t.options,i=n.data,a=n.color,l=n.lineStyle,u=n.lineShape,c=n.point,f=n.area,d=n.seriesField,p=null==c?void 0:c.state;e.data(i);var h=(0,o.deepAssign)({},t,{options:{shapeField:d,line:{color:a,style:l,shape:u},point:c&&(0,r.__assign)({color:a,shape:"circle"},c),area:f&&(0,r.__assign)({color:a},f),label:void 0}}),g=(0,o.deepAssign)({},h,{options:{tooltip:!1,state:p}}),v=(0,o.deepAssign)({},h,{options:{tooltip:!1,state:p}});return(0,s.line)(h),(0,s.point)(g),(0,s.area)(v),t}function c(t){var e,n,r=t.options,i=r.xAxis,s=r.yAxis,u=r.xField,c=r.yField,f=r.data;return(0,o.flow)((0,a.scale)(((e={})[u]=i,e[c]=s,e),((n={})[u]={type:"cat"},n[c]=(0,l.adjustYMetaByZero)(f,c),n)))(t)}function f(t){var e=t.chart,n=t.options.reflect;if(n){var r=n;(0,i.isArray)(r)||(r=[r]);var a=r.map(function(t){return["reflect",t]});e.coordinate({type:"rect",actions:a})}return t}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function p(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function h(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=(0,o.findGeometry)(e,"line");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,r.__assign)({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},(0,o.transformLabel)(u))})}else s.label(!1);return t}function g(t){var e=t.chart;return t.options.isStack&&(0,i.each)(e.geometries,function(t){t.adjust("stack")}),t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.drawBackground=function(t,e,n,r){void 0===r&&(r=n);var i=e.backgroundColor,a=e.opacity;t.globalAlpha=a,t.fillStyle=i,t.beginPath(),t.fillRect(0,0,n,r),t.closePath()},e.getPixelRatio=a,e.getSymbolsPosition=function(t,e){return e?[[t*(1/4),t*(1/4)],[t*(3/4),t*(3/4)]]:[[.5*t,.5*t]]},e.getUnitPatternSize=function(t,e,n){var r=t+e;return n?2*r:r},e.initCanvas=function(t,e){void 0===e&&(e=t);var n=document.createElement("canvas"),r=a();return n.width=t*r,n.height=e*r,n.style.width=t+"px",n.style.height=e+"px",n.getContext("2d").scale(r,r),n},e.transformMatrix=function(t,e){var n=e*Math.PI/180;return{a:Math.cos(n)*(1/t),b:Math.sin(n)*(1/t),c:-Math.sin(n)*(1/t),d:Math.cos(n)*(1/t),e:0,f:0}};var i=r(n(6));function a(){return("undefined"==typeof window?"undefined":(0,i.default)(window))==="object"?null==window?void 0:window.devicePixelRatio:2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getGeometryOption=function(t,e,n){return l(n)?(0,a.deepAssign)({},{geometry:o.DualAxesGeometry.Column,label:n.label&&n.isRange?{content:function(t){var n;return null===(n=t[e])||void 0===n?void 0:n.join("-")}}:void 0},n):(0,r.__assign)({geometry:o.DualAxesGeometry.Line},n)},e.getYAxisWithDefault=function(t,e){return e===o.AxisType.Left?!1!==t&&(0,a.deepAssign)({},s.DEFAULT_LEFT_YAXIS_CONFIG,t):e===o.AxisType.Right?!1!==t&&(0,a.deepAssign)({},s.DEFAULT_RIGHT_YAXIS_CONFIG,t):t},e.isColumn=l,e.isLine=function(t){return(0,i.get)(t,"geometry")===o.DualAxesGeometry.Line},e.transformObjectToArray=function(t,e){var n=t[0],r=t[1];return(0,i.isArray)(e)?[e[0],e[1]]:[(0,i.get)(e,n),(0,i.get)(e,r)]};var r=n(1),i=n(0),a=n(7),o=n(567),s=n(568);function l(t){return(0,i.get)(t,"geometry")===o.DualAxesGeometry.Column}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,i.flow)(u,(0,a.scale)({}),c,a.animation,a.theme,(0,a.annotation)())(t)},e.geometry=u;var r=n(0),i=n(7),a=n(22),o=n(30),s=n(579),l=n(307);function u(t){var e=t.chart,n=t.options,a=n.percent,u=n.progressStyle,c=n.color,f=n.barWidthRatio;e.data((0,l.getProgressData)(a));var d=(0,i.deepAssign)({},t,{options:{xField:"1",yField:"percent",seriesField:"type",isStack:!0,widthRatio:f,interval:{style:u,color:(0,r.isString)(c)?[c,s.DEFAULT_COLOR[1]]:c},args:{zIndexReversed:!0}}});return(0,o.interval)(d),e.tooltip(!1),e.axis(!1),e.legend(!1),t}function c(t){return t.chart.coordinate("rect").transpose(),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getProgressData=function(t){var e=(0,r.clamp)((0,i.isRealNumber)(t)?t:0,0,1);return[{type:"current",percent:e},{type:"target",percent:1-e}]};var r=n(0),i=n(302)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OUTLIERS_VIEW_ID=e.DEFAULT_OPTIONS=e.BOX_SYNC_NAME=e.BOX_RANGE_ALIAS=e.BOX_RANGE=void 0;var r,i=n(19),a=n(7),o="$$range$$";e.BOX_RANGE=o;var s="low-q1-median-q3-high";e.BOX_RANGE_ALIAS=s,e.BOX_SYNC_NAME="$$y_outliers$$",e.OUTLIERS_VIEW_ID="outliers_view";var l=(0,a.deepAssign)({},i.Plot.getDefaultOptions(),{meta:((r={})[o]={min:0,alias:s},r),interactions:[{type:"active-region"}],tooltip:{showMarkers:!1,shared:!0},boxStyle:{lineWidth:1}});e.DEFAULT_OPTIONS=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.placeElementsOrdered=function(t){t&&t.geometries[0].elements.forEach(function(t){t.shape.toFront()})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Y_FIELD=e.TREND_UP=e.TREND_FIELD=e.TREND_DOWN=e.DEFAULT_TOOLTIP_OPTIONS=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7);e.Y_FIELD="$$stock-range$$",e.TREND_FIELD="trend",e.TREND_UP="up",e.TREND_DOWN="down";var a={showMarkers:!1,showCrosshairs:!0,shared:!0,crosshairs:{type:"xy",follow:!0,text:function(t,e,n){var r;if("x"===t){var i=n[0];r=i?i.title:e}else r=e;return{position:"y"===t?"start":"end",content:r,style:{fill:"#dfdfdf"}}},textBackground:{padding:[2,4],style:{fill:"#666"}}}};e.DEFAULT_TOOLTIP_OPTIONS=a;var o=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{tooltip:a,interactions:[{type:"tooltip"}],legend:{position:"top-left"},risingFill:"#ef5350",fallingFill:"#26a69a"});e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conversionTagComponent=function(t){return function(e){var n=e.chart,o=e.options.conversionTag,s=n.getOptions().data;if(o){var l=o.formatter;s.forEach(function(e,u){if(!(u<=0||Number.isNaN(e[a.FUNNEL_MAPPING_VALUE]))){var c=t(e,u,s,{top:!0,text:{content:(0,i.isFunction)(l)?l(e,s):l,offsetX:o.offsetX,offsetY:o.offsetY,position:"end",autoRotate:!1,style:(0,r.__assign)({textAlign:"start",textBaseline:"middle"},o.style)}});n.annotation().line(c)}})}return e}},e.transformData=function(t,e,n){var r=n.yField,o=n.maxSize,s=n.minSize,l=(0,i.get)((0,i.maxBy)(e,r),[r]),u=(0,i.isNumber)(o)?o:1,c=(0,i.isNumber)(s)?s:0;return(0,i.map)(t,function(e,n){var o=(e[r]||0)/l;return e[a.FUNNEL_PERCENT]=o,e[a.FUNNEL_MAPPING_VALUE]=(u-c)*o+c,e[a.FUNNEL_CONVERSATION]=[(0,i.get)(t,[n-1,r]),e[r]],e})};var r=n(1),i=n(0),a=n(125)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SUNBURST_Y_FIELD=e.SUNBURST_PATH_FIELD=e.SUNBURST_ANCESTOR_FIELD=e.RAW_FIELDS=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7),a=n(157);e.SUNBURST_ANCESTOR_FIELD="ancestor-node",e.SUNBURST_Y_FIELD="value";var o="path";e.SUNBURST_PATH_FIELD=o;var s=[o,a.NODE_INDEX_FIELD,a.NODE_ANCESTORS_FIELD,a.CHILD_NODE_COUNT,"name","depth","height"];e.RAW_FIELDS=s;var l=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{innerRadius:0,radius:.85,hierarchyConfig:{field:"value"},tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1},sunburstStyle:{lineWidth:.5,stroke:"#FFF"},drilldown:{enabled:!0}});e.DEFAULT_OPTIONS=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isParentNode=o;var r=n(14),i=n(0),a=n(201);function o(t){var e=(0,i.get)(t,["event","data","data"],{});return(0,i.isArray)(e.children)&&e.children.length>0}function s(t){var e=t.view.getCoordinate(),n=e.innerRadius;if(n){var r=t.event,i=r.x,a=r.y,o=e.center;return Math.sqrt(Math.pow(o.x-i,2)+Math.pow(o.y-a,2))=n){var i=r.parsePosition([t[s],t[o.field]]);i&&f.push(i)}if(t[s]===c)return!1}),f},e.prototype.parsePercentPosition=function(t){var e=parseFloat(t[0])/100,n=parseFloat(t[1])/100,r=this.view.getCoordinate(),i=r.start,a=r.end,o={x:Math.min(i.x,a.x),y:Math.min(i.y,a.y)};return{x:r.getWidth()*e+o.x,y:r.getHeight()*n+o.y}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),e=t.start,n=t.end,r=t.getWidth(),i=t.getHeight(),a={x:Math.min(e.x,n.x),y:Math.min(e.y,n.y)};return{x:a.x,y:a.y,minX:a.x,minY:a.y,maxX:a.x+r,maxY:a.y+i,width:r,height:i}},e.prototype.getAnnotationCfg=function(t,e,n){var a=this,s=this.view.getCoordinate(),u=this.view.getCanvas(),c={};if((0,i.isNil)(e))return null;if("arc"===t){var f=e.start,d=e.end,p=(0,r.__rest)(e,["start","end"]),h=this.parsePosition(f),g=this.parsePosition(d),v=(0,l.getAngleByPoint)(s,h),y=(0,l.getAngleByPoint)(s,g);v>y&&(y=2*Math.PI+y),c=(0,r.__assign)((0,r.__assign)({},p),{center:s.getCenter(),radius:(0,l.getDistanceToCenter)(s,h),startAngle:v,endAngle:y})}else if("image"===t){var f=e.start,d=e.end,p=(0,r.__rest)(e,["start","end"]);c=(0,r.__assign)((0,r.__assign)({},p),{start:this.parsePosition(f),end:this.parsePosition(d),src:e.src})}else if("line"===t){var f=e.start,d=e.end,p=(0,r.__rest)(e,["start","end"]);c=(0,r.__assign)((0,r.__assign)({},p),{start:this.parsePosition(f),end:this.parsePosition(d),text:(0,i.get)(e,"text",null)})}else if("region"===t){var f=e.start,d=e.end,p=(0,r.__rest)(e,["start","end"]);c=(0,r.__assign)((0,r.__assign)({},p),{start:this.parsePosition(f),end:this.parsePosition(d)})}else if("text"===t){var m=this.view.getData(),b=e.position,x=e.content,p=(0,r.__rest)(e,["position","content"]),_=x;(0,i.isFunction)(x)&&(_=x(m)),c=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},this.parsePosition(b)),p),{content:_})}else if("dataMarker"===t){var b=e.position,O=e.point,P=e.line,M=e.text,A=e.autoAdjust,S=e.direction,p=(0,r.__rest)(e,["position","point","line","text","autoAdjust","direction"]);c=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},p),this.parsePosition(b)),{coordinateBBox:this.getCoordinateBBox(),point:O,line:P,text:M,autoAdjust:A,direction:S})}else if("dataRegion"===t){var f=e.start,d=e.end,w=e.region,M=e.text,E=e.lineLength,p=(0,r.__rest)(e,["start","end","region","text","lineLength"]);c=(0,r.__assign)((0,r.__assign)({},p),{points:this.getRegionPoints(f,d),region:w,text:M,lineLength:E})}else if("regionFilter"===t){var f=e.start,d=e.end,C=e.apply,T=e.color,p=(0,r.__rest)(e,["start","end","apply","color"]),I=this.view.geometries,j=[],F=function t(e){e&&(e.isGroup()?e.getChildren().forEach(function(e){return t(e)}):j.push(e))};(0,i.each)(I,function(t){C?(0,i.contains)(C,t.type)&&(0,i.each)(t.elements,function(t){F(t.shape)}):(0,i.each)(t.elements,function(t){F(t.shape)})}),c=(0,r.__assign)((0,r.__assign)({},p),{color:T,shapes:j,start:this.parsePosition(f),end:this.parsePosition(d)})}else if("shape"===t){var L=e.render,D=(0,r.__rest)(e,["render"]);c=(0,r.__assign)((0,r.__assign)({},D),{render:function(t){if((0,i.isFunction)(e.render))return L(t,a.view,{parsePosition:a.parsePosition.bind(a)})}})}else if("html"===t){var k=e.html,b=e.position,D=(0,r.__rest)(e,["html","position"]);c=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},D),this.parsePosition(b)),{parent:u.get("el").parentNode,html:function(t){return(0,i.isFunction)(k)?k(t,a.view):k}})}var R=(0,i.deepMix)({},n,(0,r.__assign)((0,r.__assign)({},c),{top:e.top,style:e.style,offsetX:e.offsetX,offsetY:e.offsetY}));return"html"!==t&&(R.container=this.getComponentContainer(R)),R.animate=this.view.getOptions().animate&&R.animate&&(0,i.get)(e,"animate",R.animate),R.animateOption=(0,i.deepMix)({},o.DEFAULT_ANIMATE_CFG,R.animateOption,e.animateOption),R},e.prototype.isTop=function(t){return(0,i.get)(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return(0,i.get)(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var e=this.cache.get(this.getCacheKey(t));if(e){var n=t.type,r=this.getAnnotationTheme(n),a=this.getAnnotationCfg(n,t,r);(0,u.omit)(a,["container"]),e.component.update(a),(0,i.includes)(d,t.type)&&e.component.render()}else(e=this.createAnnotation(t))&&(e.component.init(),(0,i.includes)(d,t.type)&&e.component.render());return e},e.prototype.syncCache=function(t){var e=this,n=new Map(this.cache);return t.forEach(function(t,e){n.set(e,t)}),n.forEach(function(t,r){(0,i.find)(e.option,function(t){return r===e.getCacheKey(t)})||(t.component.destroy(),n.delete(r))}),n},e.prototype.getCacheKey=function(t){return t},e}(f.Controller);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.positionUpdate=void 0,e.positionUpdate=function(t,e,n){var r=n.toAttrs,i=r.x,a=r.y;delete r.x,delete r.y,t.attr(r),t.animate({x:i,y:a},e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sectorPathUpdate=void 0;var r=n(1),i=n(205),a=n(0),o=n(46);function s(t,e){var n,r=(0,i.getArcParams)(t,e),o=r.startAngle,s=r.endAngle;return!(0,a.isNumberEqual)(o,-(.5*Math.PI))&&o<-(.5*Math.PI)&&(o+=2*Math.PI),!(0,a.isNumberEqual)(s,-(.5*Math.PI))&&s<-(.5*Math.PI)&&(s+=2*Math.PI),0===e[5]&&(o=(n=[s,o])[0],s=n[1]),(0,a.isNumberEqual)(o,1.5*Math.PI)&&(o=-.5*Math.PI),(0,a.isNumberEqual)(s,-.5*Math.PI)&&(s=1.5*Math.PI),{startAngle:o,endAngle:s}}function l(t){var e;return"M"===t[0]||"L"===t[0]?e=[t[1],t[2]]:("a"===t[0]||"A"===t[0]||"C"===t[0])&&(e=[t[t.length-2],t[t.length-1]]),e}function u(t){var e,n,r,i=t.filter(function(t){return"A"===t[0]||"a"===t[0]});if(0===i.length)return{startAngle:0,endAngle:0,radius:0,innerRadius:0};var o=i[0],u=i.length>1?i[1]:i[0],c=t.indexOf(o),f=t.indexOf(u),d=l(t[c-1]),p=l(t[f-1]),h=s(d,o),g=h.startAngle,v=h.endAngle,y=s(p,u),m=y.startAngle,b=y.endAngle;(0,a.isNumberEqual)(g,m)&&(0,a.isNumberEqual)(v,b)?(n=g,r=v):(n=Math.min(g,m),r=Math.max(v,b));var x=o[1],_=i[i.length-1][1];return x<_?(x=(e=[_,x])[0],_=e[1]):x===_&&(_=0),{startAngle:n,endAngle:r,radius:x,innerRadius:_}}e.sectorPathUpdate=function(t,e,n){var i=n.toAttrs,s=n.coordinate,l=i.path||[],c=l.map(function(t){return t[0]});if(!(l.length<1)){var f=u(l),d=f.startAngle,p=f.endAngle,h=f.radius,g=f.innerRadius,v=u(t.attr("path")),y=v.startAngle,m=v.endAngle,b=s.getCenter(),x=d-y,_=p-m;if(0===x&&0===_){t.attr("path",l);return}t.animate(function(t){var e=y+t*x,n=m+t*_;return(0,r.__assign)((0,r.__assign)({},i),{path:(0,a.isEqual)(c,["M","A","A","Z"])?(0,o.getArcPath)(b.x,b.y,h,e,n):(0,o.getSectorPath)(b.x,b.y,h,e,n,g)})},(0,r.__assign)((0,r.__assign)({},e),{callback:function(){t.attr("path",l)}}))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.waveIn=void 0;var r=n(1),i=n(48);e.waveIn=function(t,e,n){var a=(0,i.getCoordinateClipCfg)(n.coordinate,20),o=a.type,s=a.startState,l=a.endState,u=t.setClip({type:o,attrs:s});u.animate(l,(0,r.__assign)((0,r.__assign)({},e),{callback:function(){t&&!t.get("destroyed")&&t.set("clipShape",null),u.remove(!0)}}))}},function(t,e,n){"use strict";n.r(e);var r=n(14);for(var i in r)0>["default"].indexOf(i)&&function(t){n.d(e,t,function(){return r[t]})}(i)},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0});var a={version:!0,Shape:!0,Canvas:!0,Group:!0};Object.defineProperty(e,"Canvas",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return u.default}}),e.version=e.Shape=void 0;var o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(190));e.Shape=o;var s=n(26);Object.keys(s).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t))&&(t in e&&e[t]===s[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))});var l=r(n(980)),u=r(n(275));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}e.version="0.5.6"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(21),a=(0,r.__importDefault)(n(158));n(278);var o=function(t){function e(e){var n=t.call(this,e)||this;n.type="area",n.shapeType="area",n.generatePoints=!0,n.startOnZero=!0;var r=e.startOnZero,i=e.sortable,a=e.showSinglePoint;return n.startOnZero=void 0===r||r,n.sortable=void 0!==i&&i,n.showSinglePoint=void 0!==a&&a,n}return(0,r.__extends)(e,t),e.prototype.getPointsAndData=function(t){for(var e=[],n=[],r=0,a=t.length;rr&&(r=i),i=e[0]}));for(var d=this.scales[c],p=0,h=t;p0&&!(0,i.get)(n,[r,"min"])&&e.change({min:0}),o<=0&&!(0,i.get)(n,[r,"max"])&&e.change({max:0}))}},e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return n.background=this.background,n},e}(o.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(0,r.__importDefault)(n(158));n(276);var a=function(t){function e(e){var n=t.call(this,e)||this;n.type="line";var r=e.sortable;return n.sortable=void 0!==r&&r,n}return(0,r.__extends)(e,t),e}(i.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(0,r.__importDefault)(n(91));n(988);var a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="point",e.shapeType="point",e.generatePoints=!0,e}return(0,r.__extends)(e,t),e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return(0,r.__assign)((0,r.__assign)({},n),{isStack:!!this.getAdjust("stack")})},e}(i.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(91));n(462);var o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.shapeType="polygon",e.generatePoints=!0,e}return(0,r.__extends)(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),a=r.x,o=r.y;if(!((0,i.isArray)(a)&&(0,i.isArray)(o))){var s=this.getXScale(),l=this.getYScale(),u=s.values.length,c=l.values.length,f=.5/u,d=.5/c;s.isCategory&&l.isCategory?(a=[a-f,a-f,a+f,a+f],o=[o-d,o+d,o+d,o-d]):(0,i.isArray)(a)?(a=[(n=a)[0],n[0],n[1],n[1]],o=[o-d/2,o+d/2,o+d/2,o-d/2]):(0,i.isArray)(o)&&(o=[(n=o)[0],n[1],n[1],n[0]],a=[a-f/2,a-f/2,a+f/2,a+f/2]),r.x=a,r.y=o}return r},e}(a.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(48),a=(0,r.__importDefault)(n(91));n(463);var o=n(279),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="schema",e.shapeType="schema",e.generatePoints=!0,e}return(0,r.__extends)(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),a=this.getAttribute("size");if(a){n=this.getAttributeValues(a,e)[0];var s=this.coordinate;n/=(0,i.getXDimensionLength)(s)}else this.defaultSize||(this.defaultSize=(0,o.getDefaultSize)(this)),n=this.defaultSize;return r.size=n,r},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.distribute=void 0;var r=n(0),i=n(46);e.distribute=function(t,e,n,a){if(t.length&&e.length){var o=t[0]?t[0].offset:0,s=e[0].get("coordinate"),l=s.getRadius(),u=s.getCenter();if(o>0){var c=2*(l+o)+28,f={start:s.start,end:s.end},d=[[],[]];t.forEach(function(t){t&&("right"===t.textAlign?d[0].push(t):d[1].push(t))}),d.forEach(function(t,n){var i=c/14;t.length>i&&(t.sort(function(t,e){return e["..percent"]-t["..percent"]}),t.splice(i,t.length-i)),t.sort(function(t,e){return t.y-e.y}),function(t,e,n,i,a,o){var s,l=!0,u=i.start,c=i.end,f=Math.min(u.y,c.y),d=Math.abs(u.y-c.y),p=0,h=Number.MIN_VALUE,g=e.map(function(t){return t.y>p&&(p=t.y),t.yd&&(d=p-f);l;)for(g.forEach(function(t){var e=(Math.min.apply(h,t.targets)+Math.max.apply(h,t.targets))/2;t.pos=Math.min(Math.max(h,e-t.size/2),d-t.size)}),l=!1,s=g.length;s--;)if(s>0){var v=g[s-1],y=g[s];v.pos+v.size>y.pos&&(v.size+=y.size,v.targets=v.targets.concat(y.targets),v.pos+v.size>d&&(v.pos=d-v.size),g.splice(s,1),l=!0)}s=0,g.forEach(function(t){var r=f+n/2;t.targets.forEach(function(){e[s].y=t.pos+r,r+=n,s++})});for(var m={},b=0;br?v=r-h:c>r&&(v-=c-r),u>o?y=o-g:f>o&&(y-=f-o),(v!==d||y!==p)&&(0,i.translate)(t,v-d,y-p)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInShape=void 0;var r=n(0);e.limitInShape=function(t,e,n,i){(0,r.each)(e,function(t,e){var r=t.getCanvasBBox(),i=n[e].getBBox();(r.minXi.maxX||r.maxY>i.maxY)&&t.remove(!0)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(116),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultCfg=function(){return(0,i.deepMix)({},t.prototype.getDefaultCfg.call(this),{type:"circle",showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this)})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.getRegion=function(t,e){var n=2*Math.PI/t,r=-1*Math.PI/2+n*e,i=.5/(1+1/Math.sin(n/2)),a=(0,o.getAnglePoint)({x:.5,y:.5},.5-i,r),s=5*Math.PI/4,l=1*Math.PI/4;return{start:(0,o.getAnglePoint)(a,i,s),end:(0,o.getAnglePoint)(a,i,l)}},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){var e=this,n=this.cfg,r=n.fields,a=n.type,o=r[0];if(!o)throw Error("No `fields` specified!");var s=this.getFieldValues(t,o),l=s.length,u=[];return s.forEach(function(n,r){var c=[{field:o,value:n,values:s}],f={type:a,data:(0,i.filter)(t,e.getFacetDataFilter(c)),region:e.getRegion(l,r),columnValue:n,columnField:o,columnIndex:r,columnValuesLength:l,rowValue:null,rowField:null,rowIndex:0,rowValuesLength:1};u.push(f)}),u},e.prototype.getXAxisOption=function(t,e,n,r){return n},e.prototype.getYAxisOption=function(t,e,n,r){return n},e.prototype.renderTitle=function(){var t=this;(0,i.each)(this.facets,function(e){var n=e.columnValue,r=e.view,s=(0,i.get)(t.cfg.title,"formatter"),l=(0,i.deepMix)({position:["50%","0%"],content:s?s(n):n},(0,o.getFactTitleConfig)(a.DIRECTION.TOP),t.cfg.title);r.annotation().text(l)})},e}(n(105).Facet);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(116),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultCfg=function(){return(0,i.deepMix)({},t.prototype.getDefaultCfg.call(this),{type:"list",cols:null,showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this)})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){var e=this,n=this.cfg.fields,r=this.cfg.cols,a=n[0];if(!a)throw Error("No `fields` specified!");var o=this.getFieldValues(t,a),s=o.length;r=r||s;var l=this.getPageCount(s,r),u=[];return o.forEach(function(n,c){var f=e.getRowCol(c,r),d=f.row,p=f.col,h=[{field:a,value:n,values:o}],g=(0,i.filter)(t,e.getFacetDataFilter(h)),v={type:e.cfg.type,data:g,region:e.getRegion(l,r,p,d),columnValue:n,rowValue:n,columnField:a,rowField:null,columnIndex:p,rowIndex:d,columnValuesLength:r,rowValuesLength:l,total:s};u.push(v)}),u},e.prototype.getXAxisOption=function(t,e,n,i){return i.rowIndex!==i.rowValuesLength-1&&i.columnValuesLength*i.rowIndex+i.columnIndex+1+i.columnValuesLength<=i.total?(0,r.__assign)((0,r.__assign)({},n),{label:null,title:null}):n},e.prototype.getYAxisOption=function(t,e,n,i){return 0!==i.columnIndex?(0,r.__assign)((0,r.__assign)({},n),{title:null,label:null}):n},e.prototype.renderTitle=function(){var t=this;(0,i.each)(this.facets,function(e){var n=e.columnValue,r=e.view,s=(0,i.get)(t.cfg.title,"formatter"),l=(0,i.deepMix)({position:["50%","0%"],content:s?s(n):n},(0,o.getFactTitleConfig)(a.DIRECTION.TOP),t.cfg.title);r.annotation().text(l)})},e.prototype.getPageCount=function(t,e){return Math.floor((t+e-1)/e)},e.prototype.getRowCol=function(t,e){return{row:Math.floor(t/e),col:t%e}},e}(n(105).Facet);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(116),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultCfg=function(){return(0,i.deepMix)({},t.prototype.getDefaultCfg.call(this),{type:"matrix",showTitle:!1,columnTitle:(0,r.__assign)({},t.prototype.getDefaultTitleCfg.call(this)),rowTitle:(0,r.__assign)({},t.prototype.getDefaultTitleCfg.call(this))})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){for(var e=this.cfg,n=e.fields,r=e.type,i=n.length,a=[],o=0;o=0;a--)for(var o=this.getFacetsByLevel(t,a),s=0;s-1)||(0,u.isBetween)(n,l,c)}),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(n(104).Controller);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getItemsOfView=void 0;var r=n(1),i=n(0),a=n(186),o=n(46),s=(0,r.__importDefault)(n(44)),l={fill:"#CCD6EC",opacity:.3};function u(t,e,n){var r=(0,a.findItemsFromViewRecurisive)(t,e,n);if(r.length){r=(0,i.flatten)(r);for(var o=0,s=r;o1){for(var h=r[0],g=Math.abs(e.y-h[0].y),v=0,y=r;vv.maxY&&(v=e)):(e.minXv.maxX&&(v=e)),y.x=Math.min(e.minX,y.minX),y.y=Math.min(e.minY,y.minY),y.width=Math.max(e.maxX,y.maxX)-y.x,y.height=Math.max(e.maxY,y.maxY)-y.y});var m=e.backgroundGroup,b=e.coordinateBBox,x=void 0;if(h.isRect){var _=e.getXScale(),O=t||{},P=O.appendRatio,M=O.appendWidth;(0,i.isNil)(M)&&(P=(0,i.isNil)(P)?_.isLinear?0:.25:P,M=h.isTransposed?P*v.height:P*g.width);var A=void 0,S=void 0,w=void 0,E=void 0;h.isTransposed?(A=b.minX,S=Math.min(v.minY,g.minY)-M,w=b.width,E=y.height+2*M):(A=Math.min(g.minX,v.minX)-M,S=b.minY,w=y.width+2*M,E=b.height),x=[["M",A,S],["L",A+w,S],["L",A+w,S+E],["L",A,S+E],["Z"]]}else{var C=(0,i.head)(d),T=(0,i.last)(d),I=(0,o.getAngle)(C.getModel(),h).startAngle,j=(0,o.getAngle)(T.getModel(),h).endAngle,F=h.getCenter(),L=h.getRadius(),D=h.innerRadius*L;x=(0,o.getSectorPath)(F.x,F.y,L,I,j,D)}if(this.regionPath)this.regionPath.attr("path",x),this.regionPath.show();else{var k=(0,i.get)(t,"style",l);this.regionPath=m.addShape({type:"path",name:"active-region",capture:!1,attrs:(0,r.__assign)((0,r.__assign)({},k),{path:x})})}}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),t.prototype.destroy.call(this)},e}(s.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(31),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.showTooltip=function(t,e){var n=(0,a.getSilbings)(t);(0,i.each)(n,function(n){var r=(0,a.getSiblingPoint)(t,n,e);n.showTooltip(r)})},e.prototype.hideTooltip=function(t){var e=(0,a.getSilbings)(t);(0,i.each)(e,function(t){t.hideTooltip()})},e}((0,r.__importDefault)(n(127)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(179),o=(0,r.__importDefault)(n(44)),s=n(69),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return(0,r.__extends)(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context.event,e=this.timeStamp,n=+new Date;if(n-e>16){var r=this.location,a={x:t.x,y:t.y};r&&(0,i.isEqual)(r,a)||this.showTooltip(a),this.timeStamp=n,this.location=a}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var e=this.context.event.target;if(e&&e.get("tip")){this.tooltip||this.renderTooltip();var n=e.get("tip");this.tooltip.update((0,r.__assign)({title:n},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,e=this.context.view,n=e.canvas,o={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},l=e.getTheme(),u=(0,i.get)(l,["components","tooltip","domStyles"],{}),c=new s.HtmlTooltip({parent:n.get("el").parentNode,region:o,visible:!1,crosshairs:null,domStyles:(0,r.__assign)({},(0,i.deepMix)({},u,((t={})[a.TOOLTIP_CSS_CONST.CONTAINER_CLASS]={"max-width":"50%"},t[a.TOOLTIP_CSS_CONST.TITLE_CLASS]={"word-break":"break-all"},t)))});c.init(),c.setCapture(!1),this.tooltip=c},e}(o.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return(0,r.__extends)(e,t),e.prototype.active=function(){this.setState()},e}((0,r.__importDefault)(n(283)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(0,r.__importDefault)(n(44)),a=n(31),o=n(0),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache={},e}return(0,r.__extends)(e,t),e.prototype.getColorScale=function(t,e){var n=e.geometry.getAttribute("color");return n?t.getScaleByField(n.getFields()[0]):null},e.prototype.getLinkPath=function(t,e){var n=this.context.view.getCoordinate().isTransposed,r=t.shape.getCanvasBBox(),i=e.shape.getCanvasBBox();return n?[["M",r.minX,r.minY],["L",i.minX,i.maxY],["L",i.maxX,i.maxY],["L",r.maxX,r.minY],["Z"]]:[["M",r.maxX,r.minY],["L",i.minX,i.minY],["L",i.minX,i.maxY],["L",r.maxX,r.maxY],["Z"]]},e.prototype.addLinkShape=function(t,e,n,i){var a={opacity:.4,fill:e.shape.attr("fill")};t.addShape({type:"path",attrs:(0,r.__assign)((0,r.__assign)({},(0,o.deepMix)({},a,(0,o.isFunction)(i)?i(a,e):i)),{path:this.getLinkPath(e,n)})})},e.prototype.linkByElement=function(t,e){var n=this,r=this.context.view,i=this.getColorScale(r,t);if(i){var s=(0,a.getElementValue)(t,i.field);if(!this.cache[s]){var l=(0,a.getElementsByField)(r,i.field,s),u=this.linkGroup.addGroup();this.cache[s]=u;var c=l.length;(0,o.each)(l,function(t,r){if(r=u&&t<=c}),e.render(!0)}}},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(949);function i(){return"undefined"!=typeof Reflect&&Reflect.get?(t.exports=i=Reflect.get.bind(),t.exports.__esModule=!0,t.exports.default=t.exports):(t.exports=i=function(t,e,n){var i=r(t,e);if(i){var a=Object.getOwnPropertyDescriptor(i,e);return a.get?a.get.call(arguments.length<3?t:n):a.value}},t.exports.__esModule=!0,t.exports.default=t.exports),i.apply(this,arguments)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(2)(n(6)),i=n(365),a="function"==typeof Symbol&&"symbol"===(0,r.default)(Symbol("foo")),o=Object.prototype.toString,s=Array.prototype.concat,l=Object.defineProperty,u=n(649)(),c=l&&u,f=function(t,e,n,r){(!(e in t)||"function"==typeof r&&"[object Function]"===o.call(r)&&r())&&(c?l(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n)},d=function(t,e){var n=arguments.length>2?arguments[2]:{},r=i(e);a&&(r=s.call(r,Object.getOwnPropertySymbols(e)));for(var o=0;o=0&&"[object Function]"===i.call(t.callee)),n}},function(t,e,n){"use strict";var r=n(2)(n(6));t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===(0,r.default)(Symbol.iterator))return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e||"[object Symbol]"!==Object.prototype.toString.call(e)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},function(t,e,n){"use strict";var r=n(237),i=n(236),a=i("%Function.prototype.apply%"),o=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(o,a),l=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),c=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(r,o,arguments);return l&&u&&l(e,"length").configurable&&u(e,"length",{value:1+c(0,t.length-(arguments.length-1))}),e};var f=function(){return s(r,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},function(t,e,n){"use strict";var r=n(365),i=n(367)(),a=n(653),o=Object,s=a("Array.prototype.push"),l=a("Object.prototype.propertyIsEnumerable"),u=i?Object.getOwnPropertySymbols:null;t.exports=function(t,e){if(null==t)throw TypeError("target must be an object");var n=o(t);if(1==arguments.length)return n;for(var a=1;a2&&(n.push([i].concat(s.splice(0,2))),l="l",i="m"===i?"l":"L"),"o"===l&&1===s.length&&n.push([i,s[0]]),"r"===l)n.push([i].concat(s));else for(;s.length>=e[l]&&(n.push([i].concat(s.splice(0,e[l]))),e[l]););return t}),n};e.parsePathString=s;var l=function(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var a=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?a[3]={x:+t[0],y:+t[1]}:i-2===r&&(a[2]={x:+t[0],y:+t[1]},a[3]={x:+t[2],y:+t[3]}):a[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?a[3]=a[2]:r||(a[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-a[0].x+6*a[1].x+a[2].x)/6,(-a[0].y+6*a[1].y+a[2].y)/6,(a[1].x+6*a[2].x-a[3].x)/6,(a[1].y+6*a[2].y-a[3].y)/6,a[2].x,a[2].y])}return n};e.catmullRomToBezier=l;var u=function(t,e,n,r,i){var a=[];if(null===i&&null===r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!==i){var o=Math.PI/180,s=t+n*Math.cos(-r*o),l=t+n*Math.cos(-i*o),u=e+n*Math.sin(-r*o),c=e+n*Math.sin(-i*o);a=[["M",s,u],["A",n,n,0,+(i-r>180),0,l,c]]}else a=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return a},c=function(t){if(!(t=s(t))||!t.length)return[["M",0,0]];var e,n,r=[],i=0,a=0,o=0,c=0,f=0;"M"===t[0][0]&&(i=+t[0][1],a=+t[0][2],o=i,c=a,f++,r[0]=["M",i,a]);for(var d=3===t.length&&"M"===t[0][0]&&"R"===t[1][0].toUpperCase()&&"Z"===t[2][0].toUpperCase(),p=void 0,h=void 0,g=f,v=t.length;g1&&(r*=O=Math.sqrt(O),i*=O);var P=r*r,M=i*i,A=(o===s?-1:1)*Math.sqrt(Math.abs((P*M-P*_*_-M*x*x)/(P*_*_+M*x*x)));h=A*r*_/i+(e+l)/2,g=-(A*i)*x/r+(n+u)/2,d=Math.asin(((n-g)/i).toFixed(9)),p=Math.asin(((u-g)/i).toFixed(9)),d=ep&&(d-=2*Math.PI),!s&&p>d&&(p-=2*Math.PI)}var S=p-d;if(Math.abs(S)>v){var w=p,E=l,C=u;m=t(l=h+r*Math.cos(p=d+v*(s&&p>d?1:-1)),u=g+i*Math.sin(p),r,i,a,0,s,E,C,[p,w,h,g])}S=p-d;var T=Math.cos(d),I=Math.cos(p),j=Math.tan(S/4),F=4/3*r*j,L=4/3*i*j,D=[e,n],k=[e+F*Math.sin(d),n-L*T],R=[l+F*Math.sin(p),u-L*I],N=[l,u];if(k[0]=2*D[0]-k[0],k[1]=2*D[1]-k[1],c)return[k,R,N].concat(m);m=[k,R,N].concat(m).join().split(",");for(var B=[],G=0,V=m.length;G7){t[e].shift();for(var a=t[e];a.length;)s[e]="A",i&&(l[e]="A"),t.splice(e++,0,["C"].concat(a.splice(0,6)));t.splice(e,1),n=Math.max(r.length,i&&i.length||0)}},y=function(t,e,a,o,s){t&&e&&"M"===t[s][0]&&"M"!==e[s][0]&&(e.splice(s,0,["M",o.x,o.y]),a.bx=0,a.by=0,a.x=t[s][1],a.y=t[s][2],n=Math.max(r.length,i&&i.length||0))};n=Math.max(r.length,i&&i.length||0);for(var m=0;m1?1:l<0?0:l)/2,c=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,p=0;p<12;p++){var h=u*c[p]+u,g=y(h,t,n,i,o),v=y(h,e,r,a,s),m=g*g+v*v;d+=f[p]*Math.sqrt(m)}return u*d},b=function(t,e,n,r,i,a,o,s){for(var l,u,c,f,d,p=[],h=[[],[]],g=0;g<2;++g){if(0===g?(u=6*t-12*n+6*i,l=-3*t+9*n-9*i+3*o,c=3*n-3*t):(u=6*e-12*r+6*a,l=-3*e+9*r-9*a+3*s,c=3*r-3*e),1e-12>Math.abs(l)){if(1e-12>Math.abs(u))continue;(f=-c/u)>0&&f<1&&p.push(f);continue}var v=u*u-4*c*l,y=Math.sqrt(v);if(!(v<0)){var m=(-u+y)/(2*l);m>0&&m<1&&p.push(m);var b=(-u-y)/(2*l);b>0&&b<1&&p.push(b)}}for(var x=p.length,_=x;x--;)d=1-(f=p[x]),h[0][x]=d*d*d*t+3*d*d*f*n+3*d*f*f*i+f*f*f*o,h[1][x]=d*d*d*e+3*d*d*f*r+3*d*f*f*a+f*f*f*s;return h[0][_]=t,h[1][_]=e,h[0][_+1]=o,h[1][_+1]=s,h[0].length=h[1].length=_+2,{min:{x:Math.min.apply(0,h[0]),y:Math.min.apply(0,h[1])},max:{x:Math.max.apply(0,h[0]),y:Math.max.apply(0,h[1])}}},x=function(t,e,n,r,i,a,o,s){if(!(Math.max(t,n)Math.max(i,o)||Math.max(e,r)Math.max(a,s))){var l=(t-n)*(a-s)-(e-r)*(i-o);if(l){var u=((t*r-e*n)*(i-o)-(t-n)*(i*s-a*o))/l,c=((t*r-e*n)*(a-s)-(e-r)*(i*s-a*o))/l,f=+u.toFixed(2),d=+c.toFixed(2);if(!(f<+Math.min(t,n).toFixed(2)||f>+Math.max(t,n).toFixed(2)||f<+Math.min(i,o).toFixed(2)||f>+Math.max(i,o).toFixed(2)||d<+Math.min(e,r).toFixed(2)||d>+Math.max(e,r).toFixed(2)||d<+Math.min(a,s).toFixed(2)||d>+Math.max(a,s).toFixed(2)))return{x:u,y:c}}}},_=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},O=function(t,e,n,r,i){if(i)return[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var a=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return a.parsePathArray=v,a};e.rectPath=O;var P=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:O(t,e,n,r),vb:[t,e,n,r].join(" ")}},M=function(t,e,n,i,a,o,s,l){(0,r.isArray)(t)||(t=[t,e,n,i,a,o,s,l]);var u=b.apply(null,t);return P(u.min.x,u.min.y,u.max.x-u.min.x,u.max.y-u.min.y)},A=function(t,e,n,r,i,a,o,s,l){var u=1-l,c=Math.pow(u,3),f=Math.pow(u,2),d=l*l,p=d*l,h=t+2*l*(n-t)+d*(i-2*n+t),g=e+2*l*(r-e)+d*(a-2*r+e),v=n+2*l*(i-n)+d*(o-2*i+n),y=r+2*l*(a-r)+d*(s-2*a+r),m=90-180*Math.atan2(h-v,g-y)/Math.PI;return{x:c*t+3*f*l*n+3*u*l*l*i+p*o,y:c*e+3*f*l*r+3*u*l*l*a+p*s,m:{x:h,y:g},n:{x:v,y:y},start:{x:u*t+l*n,y:u*e+l*r},end:{x:u*i+l*o,y:u*a+l*s},alpha:m}},S=function(t,e,n){var r,i,a=M(t),o=M(e);if(r=a,i=o,r=P(r),!(_(i=P(i),r.x,r.y)||_(i,r.x2,r.y)||_(i,r.x,r.y2)||_(i,r.x2,r.y2)||_(r,i.x,i.y)||_(r,i.x2,i.y)||_(r,i.x,i.y2)||_(r,i.x2,i.y2))&&((!(r.xi.x))&&(!(i.xr.x))||(!(r.yi.y))&&(!(i.yr.y))))return n?0:[];for(var s=m.apply(0,t),l=m.apply(0,e),u=~~(s/8),c=~~(l/8),f=[],d=[],p={},h=n?0:[],g=0;gMath.abs(O.x-b.x)?"y":"x",C=.001>Math.abs(w.x-S.x)?"y":"x",T=x(b.x,b.y,O.x,O.y,S.x,S.y,w.x,w.y);if(T){if(p[T.x.toFixed(4)]===T.y.toFixed(4))continue;p[T.x.toFixed(4)]=T.y.toFixed(4);var I=b.t+Math.abs((T[E]-b[E])/(O[E]-b[E]))*(O.t-b.t),j=S.t+Math.abs((T[C]-S[C])/(w[C]-S[C]))*(w.t-S.t);I>=0&&I<=1&&j>=0&&j<=1&&(n?h+=1:h.push({x:T.x,y:T.y,t1:I,t2:j}))}}return h},w=function(t,e,n){t=h(t),e=h(e);for(var r,i,a,o,s,l,u,c,f,d,p=n?0:[],g=0,v=t.length;g=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1])})}(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var a=0;a<=n-1;a++)r.push(i)}return r};e.fillPath=function(t,e){if(1===t.length)return t;var n=t.length-1,r=e.length-1,i=n/r,a=[];if(1===t.length&&"M"===t[0][0]){for(var o=0;o=0;l--)o=a[l].index,"add"===a[l].type?t.splice(o,0,[].concat(t[o])):t.splice(o,1)}var f=i-(r=t.length);if(r0)n=I(n,t[r-1],1);else{t[r]=e[r];break}}t[r]=["Q"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(r>0)n=I(n,t[r-1],2);else{t[r]=e[r];break}}t[r]=["C"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(n.length<2){if(r>0)n=I(n,t[r-1],1);else{t[r]=e[r];break}}t[r]=["S"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;default:t[r]=e[r]}return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){function t(t,e){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=t,this.name=t,this.originalEvent=e,this.timeStamp=e.timeStamp}return t.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t.prototype.toString=function(){return"[Event (type="+this.type+")]"},t.prototype.save=function(){},t.prototype.restore=function(){},t}();e.default=r},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(126)),o=n(102),s=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var r=n.getDefaultCfg();return n.cfg=(0,o.mix)(r,e),n}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{}},e.prototype.get=function(t){return this.cfg[t]},e.prototype.set=function(t,e){this.cfg[t]=e},e.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(393)),s=n(102),l={},u="_INDEX",c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.isCanvas=function(){return!1},e.prototype.getBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],o=[],l=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});return l.length>0?((0,s.each)(l,function(t){var e=t.getBBox();i.push(e.minX,e.maxX),o.push(e.minY,e.maxY)}),t=(0,a.min)(i),e=(0,a.max)(i),n=(0,a.min)(o),r=(0,a.max)(o)):(t=0,e=0,n=0,r=0),{x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n}},e.prototype.getCanvasBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],o=[],l=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});return l.length>0?((0,s.each)(l,function(t){var e=t.getCanvasBBox();i.push(e.minX,e.maxX),o.push(e.minY,e.maxY)}),t=(0,a.min)(i),e=(0,a.max)(i),n=(0,a.min)(o),r=(0,a.max)(o)):(t=0,e=0,n=0,r=0),{x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n}},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.children=[],e},e.prototype.onAttrChange=function(e,n,r){if(t.prototype.onAttrChange.call(this,e,n,r),"matrix"===e){var i=this.getTotalMatrix();this._applyChildrenMarix(i)}},e.prototype.applyMatrix=function(e){var n=this.getTotalMatrix();t.prototype.applyMatrix.call(this,e);var r=this.getTotalMatrix();r!==n&&this._applyChildrenMarix(r)},e.prototype._applyChildrenMarix=function(t){var e=this.getChildren();(0,s.each)(e,function(e){e.applyMatrix(t)})},e.prototype.addShape=function(){for(var t=[],e=0;e=0;a--){var o=t[a];if((0,s.isAllowCapture)(o)&&(o.isGroup()?i=o.getShape(e,n,r):o.isHit(e,n)&&(i=o)),i)break}return i},e.prototype.add=function(t){var e=this.getCanvas(),n=this.getChildren(),r=this.get("timeline"),i=t.getParent();i&&(t.set("parent",null),t.set("canvas",null),(0,s.removeFromArray)(i.getChildren(),t)),t.set("parent",this),e&&function t(e,n){if(e.set("canvas",n),e.isGroup()){var r=e.get("children");r.length&&r.forEach(function(e){t(e,n)})}}(t,e),r&&function t(e,n){if(e.set("timeline",n),e.isGroup()){var r=e.get("children");r.length&&r.forEach(function(e){t(e,n)})}}(t,r),n.push(t),t.onCanvasChange("add"),this._applyElementMatrix(t)},e.prototype._applyElementMatrix=function(t){var e=this.getTotalMatrix();e&&t.applyMatrix(e)},e.prototype.getChildren=function(){return this.get("children")},e.prototype.sort=function(){var t=this.getChildren();(0,s.each)(t,function(t,e){return t[u]=e,t}),t.sort(function(t,e){var n=t.get("zIndex")-e.get("zIndex");return 0===n?t[u]-e[u]:n}),this.onCanvasChange("sort")},e.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var t=this.getChildren(),e=t.length-1;e>=0;e--)t[e].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},e.prototype.destroy=function(){this.get("destroyed")||(this.clear(),t.prototype.destroy.call(this))},e.prototype.getFirst=function(){return this.getChildByIndex(0)},e.prototype.getLast=function(){var t=this.getChildren();return this.getChildByIndex(t.length-1)},e.prototype.getChildByIndex=function(t){return this.getChildren()[t]},e.prototype.getCount=function(){return this.getChildren().length},e.prototype.contain=function(t){return this.getChildren().indexOf(t)>-1},e.prototype.removeChild=function(t,e){void 0===e&&(e=!0),this.contain(t)&&t.remove(e)},e.prototype.findAll=function(t){var e=[],n=this.getChildren();return(0,s.each)(n,function(n){t(n)&&e.push(n),n.isGroup()&&(e=e.concat(n.findAll(t)))}),e},e.prototype.find=function(t){var e=null,n=this.getChildren();return(0,s.each)(n,function(n){if(t(n)?e=n:n.isGroup()&&(e=n.find(t)),e)return!1}),e},e.prototype.findById=function(t){return this.find(function(e){return e.get("id")===t})},e.prototype.findByClassName=function(t){return this.find(function(e){return e.get("className")===t})},e.prototype.findAllByName=function(t){return this.findAll(function(e){return e.get("name")===t})},e}(o.default);e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(32),s=n(102),l=n(243),u=r(n(391)),c=o.ext.transform,f="matrix",d=["zIndex","capture","visible","type"],p=["repeat"],h=function(t){function e(e){var n=t.call(this,e)||this;n.attrs={};var r=n.getDefaultAttrs();return(0,a.mix)(r,e.attrs),n.attrs=r,n.initAttrs(r),n.initAnimate(),n}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,e=[],n=0;n0?d=function(t,e){if(e.onFrame)return t;var n=e.startTime,r=e.delay,i=e.duration,o=Object.prototype.hasOwnProperty;return(0,a.each)(t,function(t){n+rt.delay&&(0,a.each)(e.toAttrs,function(e,n){o.call(t.toAttrs,n)&&(delete t.toAttrs[n],delete t.fromAttrs[n])})}),t}(d,P):f.addAnimator(this),d.push(P),this.set("animations",d),this.set("_pause",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var e=this;void 0===t&&(t=!0);var n=this.get("animations");(0,a.each)(n,function(n){t&&(n.onFrame?e.attr(n.onFrame(1)):e.attr(n.toAttrs)),n.callback&&n.callback()}),this.set("animating",!1),this.set("animations",[])},e.prototype.pauseAnimate=function(){var t=this.get("timeline"),e=this.get("animations"),n=t.getTime();return(0,a.each)(e,function(t){t._paused=!0,t._pauseTime=n,t.pauseCallback&&t.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:n}),this},e.prototype.resumeAnimate=function(){var t=this.get("timeline").getTime(),e=this.get("animations"),n=this.get("_pause").pauseTime;return(0,a.each)(e,function(e){e.startTime=e.startTime+(t-n),e._paused=!1,e._pauseTime=null,e.resumeCallback&&e.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",e),this},e.prototype.emitDelegation=function(t,e){var n,r=this,i=e.propagationPath;this.getEvents(),"mouseenter"===t?n=e.fromShape:"mouseleave"===t&&(n=e.toShape);for(var o=this,l=0;l0?(n[0]=(u*s+d*r+c*o-f*a)*2/p,n[1]=(c*s+d*a+f*r-u*o)*2/p,n[2]=(f*s+d*o+u*a-c*r)*2/p):(n[0]=(u*s+d*r+c*o-f*a)*2,n[1]=(c*s+d*a+f*r-u*o)*2,n[2]=(f*s+d*o+u*a-c*r)*2),l(t,e,n),t},e.fromRotation=function(t,e,n){var r,a,o,s=n[0],l=n[1],u=n[2],c=Math.hypot(s,l,u);return c0?(m=2*Math.sqrt(y+1),t[3]=.25*m,t[0]=(p-g)/m,t[1]=(h-c)/m,t[2]=(l-f)/m):s>d&&s>v?(m=2*Math.sqrt(1+s-d-v),t[3]=(p-g)/m,t[0]=.25*m,t[1]=(l+f)/m,t[2]=(h+c)/m):d>v?(m=2*Math.sqrt(1+d-s-v),t[3]=(h-c)/m,t[0]=(l+f)/m,t[1]=.25*m,t[2]=(p+g)/m):(m=2*Math.sqrt(1+v-s-d),t[3]=(l-f)/m,t[0]=(h+c)/m,t[1]=(p+g)/m,t[2]=.25*m),t},e.getScaling=u,e.getTranslation=function(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t},e.identity=o,e.invert=function(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],l=e[6],u=e[7],c=e[8],f=e[9],d=e[10],p=e[11],h=e[12],g=e[13],v=e[14],y=e[15],m=n*s-r*o,b=n*l-i*o,x=n*u-a*o,_=r*l-i*s,O=r*u-a*s,P=i*u-a*l,M=c*g-f*h,A=c*v-d*h,S=c*y-p*h,w=f*v-d*g,E=f*y-p*g,C=d*y-p*v,T=m*C-b*E+x*w+_*S-O*A+P*M;return T?(T=1/T,t[0]=(s*C-l*E+u*w)*T,t[1]=(i*E-r*C-a*w)*T,t[2]=(g*P-v*O+y*_)*T,t[3]=(d*O-f*P-p*_)*T,t[4]=(l*S-o*C-u*A)*T,t[5]=(n*C-i*S+a*A)*T,t[6]=(v*x-h*P-y*b)*T,t[7]=(c*P-d*x+p*b)*T,t[8]=(o*E-s*S+u*M)*T,t[9]=(r*S-n*E-a*M)*T,t[10]=(h*O-g*x+y*m)*T,t[11]=(f*x-c*O-p*m)*T,t[12]=(s*A-o*w-l*M)*T,t[13]=(n*w-r*A+i*M)*T,t[14]=(g*b-h*_-v*m)*T,t[15]=(c*_-f*b+d*m)*T,t):null},e.lookAt=function(t,e,n,r){var a,s,l,u,c,f,d,p,h,g,v=e[0],y=e[1],m=e[2],b=r[0],x=r[1],_=r[2],O=n[0],P=n[1],M=n[2];return Math.abs(v-O)0&&(c*=p=1/Math.sqrt(p),f*=p,d*=p);var h=l*d-u*f,g=u*c-s*d,v=s*f-l*c;return(p=h*h+g*g+v*v)>0&&(h*=p=1/Math.sqrt(p),g*=p,v*=p),t[0]=h,t[1]=g,t[2]=v,t[3]=0,t[4]=f*v-d*g,t[5]=d*h-c*v,t[6]=c*g-f*h,t[7]=0,t[8]=c,t[9]=f,t[10]=d,t[11]=0,t[12]=i,t[13]=a,t[14]=o,t[15]=1,t},e.translate=function(t,e,n){var r,i,a,o,s,l,u,c,f,d,p,h,g=n[0],v=n[1],y=n[2];return e===t?(t[12]=e[0]*g+e[4]*v+e[8]*y+e[12],t[13]=e[1]*g+e[5]*v+e[9]*y+e[13],t[14]=e[2]*g+e[6]*v+e[10]*y+e[14],t[15]=e[3]*g+e[7]*v+e[11]*y+e[15]):(r=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],u=e[6],c=e[7],f=e[8],d=e[9],p=e[10],h=e[11],t[0]=r,t[1]=i,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t[6]=u,t[7]=c,t[8]=f,t[9]=d,t[10]=p,t[11]=h,t[12]=r*g+s*v+f*y+e[12],t[13]=i*g+l*v+d*y+e[13],t[14]=a*g+u*v+p*y+e[14],t[15]=o*g+c*v+h*y+e[15]),t},e.transpose=function(t,e){if(t===e){var n=e[1],r=e[2],i=e[3],a=e[6],o=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=a,t[11]=e[14],t[12]=i,t[13]=o,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=o?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(79));function a(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}function o(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function s(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],u=e[6],c=e[7],f=e[8],d=e[9],p=e[10],h=e[11],g=e[12],v=e[13],y=e[14],m=e[15],b=n[0],x=n[1],_=n[2],O=n[3];return t[0]=b*r+x*s+_*f+O*g,t[1]=b*i+x*l+_*d+O*v,t[2]=b*a+x*u+_*p+O*y,t[3]=b*o+x*c+_*h+O*m,b=n[4],x=n[5],_=n[6],O=n[7],t[4]=b*r+x*s+_*f+O*g,t[5]=b*i+x*l+_*d+O*v,t[6]=b*a+x*u+_*p+O*y,t[7]=b*o+x*c+_*h+O*m,b=n[8],x=n[9],_=n[10],O=n[11],t[8]=b*r+x*s+_*f+O*g,t[9]=b*i+x*l+_*d+O*v,t[10]=b*a+x*u+_*p+O*y,t[11]=b*o+x*c+_*h+O*m,b=n[12],x=n[13],_=n[14],O=n[15],t[12]=b*r+x*s+_*f+O*g,t[13]=b*i+x*l+_*d+O*v,t[14]=b*a+x*u+_*p+O*y,t[15]=b*o+x*c+_*h+O*m,t}function l(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=r+r,l=i+i,u=a+a,c=r*s,f=r*l,d=r*u,p=i*l,h=i*u,g=a*u,v=o*s,y=o*l,m=o*u;return t[0]=1-(p+g),t[1]=f+m,t[2]=d-y,t[3]=0,t[4]=f-m,t[5]=1-(c+g),t[6]=h+v,t[7]=0,t[8]=d+y,t[9]=h-v,t[10]=1-(c+p),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function u(t,e){var n=e[0],r=e[1],i=e[2],a=e[4],o=e[5],s=e[6],l=e[8],u=e[9],c=e[10];return t[0]=Math.hypot(n,r,i),t[1]=Math.hypot(a,o,s),t[2]=Math.hypot(l,u,c),t}function c(t,e,n,r,i){var a,o=1/Math.tan(e/2);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(r-i),t[10]=(i+r)*a,t[14]=2*i*r*a):(t[10]=-1,t[14]=-2*r),t}function f(t,e,n,r,i,a,o){var s=1/(e-n),l=1/(r-i),u=1/(a-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*l,t[14]=(o+a)*u,t[15]=1,t}function d(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}e.perspective=c,e.ortho=f,e.mul=s,e.sub=d},function(t,e,n){"use strict";var r,i,a,o,s,l,u=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.add=void 0,e.calculateW=function(t,e){var n=e[0],r=e[1],i=e[2];return t[0]=n,t[1]=r,t[2]=i,t[3]=Math.sqrt(Math.abs(1-n*n-r*r-i*i)),t},e.clone=void 0,e.conjugate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t},e.copy=void 0,e.create=v,e.exactEquals=e.equals=e.dot=void 0,e.exp=b,e.fromEuler=function(t,e,n,r){var i=.5*Math.PI/180,a=Math.sin(e*=i),o=Math.cos(e),s=Math.sin(n*=i),l=Math.cos(n),u=Math.sin(r*=i),c=Math.cos(r);return t[0]=a*l*c-o*s*u,t[1]=o*s*c+a*l*u,t[2]=o*l*u-a*s*c,t[3]=o*l*c+a*s*u,t},e.fromMat3=O,e.fromValues=void 0,e.getAngle=function(t,e){var n=C(t,e);return Math.acos(2*n*n-1)},e.getAxisAngle=function(t,e){var n=2*Math.acos(e[3]),r=Math.sin(n/2);return r>c.EPSILON?(t[0]=e[0]/r,t[1]=e[1]/r,t[2]=e[2]/r):(t[0]=1,t[1]=0,t[2]=0),n},e.identity=function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},e.invert=function(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a,s=o?1/o:0;return t[0]=-n*s,t[1]=-r*s,t[2]=-i*s,t[3]=a*s,t},e.lerp=e.length=e.len=void 0,e.ln=x,e.mul=void 0,e.multiply=m,e.normalize=void 0,e.pow=function(t,e,n){return x(t,e),E(t,t,n),b(t,t),t},e.random=function(t){var e=c.RANDOM(),n=c.RANDOM(),r=c.RANDOM(),i=Math.sqrt(1-e),a=Math.sqrt(e);return t[0]=i*Math.sin(2*Math.PI*n),t[1]=i*Math.cos(2*Math.PI*n),t[2]=a*Math.sin(2*Math.PI*r),t[3]=a*Math.cos(2*Math.PI*r),t},e.rotateX=function(t,e,n){n*=.5;var r=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+o*s,t[1]=i*l+a*s,t[2]=a*l-i*s,t[3]=o*l-r*s,t},e.rotateY=function(t,e,n){n*=.5;var r=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l-a*s,t[1]=i*l+o*s,t[2]=a*l+r*s,t[3]=o*l-i*s,t},e.rotateZ=function(t,e,n){n*=.5;var r=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+i*s,t[1]=i*l-r*s,t[2]=a*l+o*s,t[3]=o*l-a*s,t},e.setAxes=e.set=e.scale=e.rotationTo=void 0,e.setAxisAngle=y,e.slerp=_,e.squaredLength=e.sqrLen=e.sqlerp=void 0,e.str=function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"};var c=g(n(79)),f=g(n(394)),d=g(n(171)),p=g(n(397));function h(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(h=function(t){return t?n:e})(t)}function g(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==u(t)&&"function"!=typeof t)return{default:t};var n=h(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var o=i?Object.getOwnPropertyDescriptor(t,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=t[a]}return r.default=t,n&&n.set(t,r),r}function v(){var t=new c.ARRAY_TYPE(4);return c.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t[3]=1,t}function y(t,e,n){var r=Math.sin(n*=.5);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t}function m(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=n[0],l=n[1],u=n[2],c=n[3];return t[0]=r*c+o*s+i*u-a*l,t[1]=i*c+o*l+a*s-r*u,t[2]=a*c+o*u+r*l-i*s,t[3]=o*c-r*s-i*l-a*u,t}function b(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=Math.sqrt(n*n+r*r+i*i),s=Math.exp(a),l=o>0?s*Math.sin(o)/o:0;return t[0]=n*l,t[1]=r*l,t[2]=i*l,t[3]=s*Math.cos(o),t}function x(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=Math.sqrt(n*n+r*r+i*i),s=o>0?Math.atan2(o,a)/o:0;return t[0]=n*s,t[1]=r*s,t[2]=i*s,t[3]=.5*Math.log(n*n+r*r+i*i+a*a),t}function _(t,e,n,r){var i,a,o,s,l,u=e[0],f=e[1],d=e[2],p=e[3],h=n[0],g=n[1],v=n[2],y=n[3];return(a=u*h+f*g+d*v+p*y)<0&&(a=-a,h=-h,g=-g,v=-v,y=-y),1-a>c.EPSILON?(o=Math.sin(i=Math.acos(a)),s=Math.sin((1-r)*i)/o,l=Math.sin(r*i)/o):(s=1-r,l=r),t[0]=s*u+l*h,t[1]=s*f+l*g,t[2]=s*d+l*v,t[3]=s*p+l*y,t}function O(t,e){var n,r=e[0]+e[4]+e[8];if(r>0)n=Math.sqrt(r+1),t[3]=.5*n,n=.5/n,t[0]=(e[5]-e[7])*n,t[1]=(e[6]-e[2])*n,t[2]=(e[1]-e[3])*n;else{var i=0;e[4]>e[0]&&(i=1),e[8]>e[3*i+i]&&(i=2);var a=(i+1)%3,o=(i+2)%3;n=Math.sqrt(e[3*i+i]-e[3*a+a]-e[3*o+o]+1),t[i]=.5*n,n=.5/n,t[3]=(e[3*a+o]-e[3*o+a])*n,t[a]=(e[3*a+i]+e[3*i+a])*n,t[o]=(e[3*o+i]+e[3*i+o])*n}return t}var P=p.clone;e.clone=P;var M=p.fromValues;e.fromValues=M;var A=p.copy;e.copy=A;var S=p.set;e.set=S;var w=p.add;e.add=w,e.mul=m;var E=p.scale;e.scale=E;var C=p.dot;e.dot=C;var T=p.lerp;e.lerp=T;var I=p.length;e.length=I,e.len=I;var j=p.squaredLength;e.squaredLength=j,e.sqrLen=j;var F=p.normalize;e.normalize=F;var L=p.exactEquals;e.exactEquals=L;var D=p.equals;e.equals=D;var k=(r=d.create(),i=d.fromValues(1,0,0),a=d.fromValues(0,1,0),function(t,e,n){var o=d.dot(e,n);return o<-.999999?(d.cross(r,i,e),1e-6>d.len(r)&&d.cross(r,a,e),d.normalize(r,r),y(t,r,Math.PI),t):o>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):(d.cross(r,e,n),t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=1+o,F(t,t))});e.rotationTo=k;var R=(o=v(),s=v(),function(t,e,n,r,i,a){return _(o,e,i,a),_(s,n,r,a),_(t,o,s,2*a*(1-a)),t});e.sqlerp=R;var N=(l=f.create(),function(t,e,n,r){return l[0]=n[0],l[3]=n[1],l[6]=n[2],l[1]=r[0],l[4]=r[1],l[7]=r[2],l[2]=-e[0],l[5]=-e[1],l[8]=-e[2],F(t,O(t,l))});e.setAxes=N},function(t,e,n){"use strict";var r,i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.add=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t},e.ceil=function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},e.clone=function(t){var e=new a.ARRAY_TYPE(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},e.create=s,e.cross=function(t,e,n,r){var i=n[0]*r[1]-n[1]*r[0],a=n[0]*r[2]-n[2]*r[0],o=n[0]*r[3]-n[3]*r[0],s=n[1]*r[2]-n[2]*r[1],l=n[1]*r[3]-n[3]*r[1],u=n[2]*r[3]-n[3]*r[2],c=e[0],f=e[1],d=e[2],p=e[3];return t[0]=f*u-d*l+p*s,t[1]=-(c*u)+d*o-p*a,t[2]=c*l-f*o+p*i,t[3]=-(c*s)+f*a-d*i,t},e.dist=void 0,e.distance=f,e.div=void 0,e.divide=c,e.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},e.equals=function(t,e){var n=t[0],r=t[1],i=t[2],o=t[3],s=e[0],l=e[1],u=e[2],c=e[3];return Math.abs(n-s)<=a.EPSILON*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-l)<=a.EPSILON*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(i-u)<=a.EPSILON*Math.max(1,Math.abs(i),Math.abs(u))&&Math.abs(o-c)<=a.EPSILON*Math.max(1,Math.abs(o),Math.abs(c))},e.exactEquals=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]},e.floor=function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},e.forEach=void 0,e.fromValues=function(t,e,n,r){var i=new a.ARRAY_TYPE(4);return i[0]=t,i[1]=e,i[2]=n,i[3]=r,i},e.inverse=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},e.len=void 0,e.length=p,e.lerp=function(t,e,n,r){var i=e[0],a=e[1],o=e[2],s=e[3];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t[3]=s+r*(n[3]-s),t},e.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t},e.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t},e.mul=void 0,e.multiply=u,e.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},e.normalize=function(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a;return o>0&&(o=1/Math.sqrt(o)),t[0]=n*o,t[1]=r*o,t[2]=i*o,t[3]=a*o,t},e.random=function(t,e){e=e||1;do s=(n=2*a.RANDOM()-1)*n+(r=2*a.RANDOM()-1)*r;while(s>=1);do l=(i=2*a.RANDOM()-1)*i+(o=2*a.RANDOM()-1)*o;while(l>=1);var n,r,i,o,s,l,u=Math.sqrt((1-s)/l);return t[0]=e*n,t[1]=e*r,t[2]=e*i*u,t[3]=e*o*u,t},e.round=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t},e.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t},e.set=function(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t},e.sqrLen=e.sqrDist=void 0,e.squaredDistance=d,e.squaredLength=h,e.str=function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},e.sub=void 0,e.subtract=l,e.transformMat4=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*a+n[12]*o,t[1]=n[1]*r+n[5]*i+n[9]*a+n[13]*o,t[2]=n[2]*r+n[6]*i+n[10]*a+n[14]*o,t[3]=n[3]*r+n[7]*i+n[11]*a+n[15]*o,t},e.transformQuat=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[0],s=n[1],l=n[2],u=n[3],c=u*r+s*a-l*i,f=u*i+l*r-o*a,d=u*a+o*i-s*r,p=-o*r-s*i-l*a;return t[0]=c*u+-(p*o)+-(f*l)- -(d*s),t[1]=f*u+-(p*s)+-(d*o)- -(c*l),t[2]=d*u+-(p*l)+-(c*s)- -(f*o),t[3]=e[3],t},e.zero=function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t};var a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(r,s,l):r[s]=t[s]}return r.default=t,n&&n.set(t,r),r}(n(79));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}function s(){var t=new a.ARRAY_TYPE(4);return a.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0),t}function l(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}function u(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t}function c(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t}function f(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1],e[2]-t[2],e[3]-t[3])}function d(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],a=e[3]-t[3];return n*n+r*r+i*i+a*a}function p(t){return Math.hypot(t[0],t[1],t[2],t[3])}function h(t){var e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}e.sub=l,e.mul=u,e.div=c,e.dist=f,e.sqrDist=d,e.len=p,e.sqrLen=h;var g=(r=s(),function(t,e,n,i,a,o){var s,l;for(e||(e=4),n||(n=0),l=i?Math.min(i*e+n,t.length):t.length,s=n;s0&&(i=1/Math.sqrt(i)),t[0]=e[0]*i,t[1]=e[1]*i,t},e.random=function(t,e){e=e||1;var n=2*a.RANDOM()*Math.PI;return t[0]=Math.cos(n)*e,t[1]=Math.sin(n)*e,t},e.rotate=function(t,e,n,r){var i=e[0]-n[0],a=e[1]-n[1],o=Math.sin(r),s=Math.cos(r);return t[0]=i*s-a*o+n[0],t[1]=i*o+a*s+n[1],t},e.round=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},e.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t},e.set=function(t,e,n){return t[0]=e,t[1]=n,t},e.sqrLen=e.sqrDist=void 0,e.squaredDistance=d,e.squaredLength=h,e.str=function(t){return"vec2("+t[0]+", "+t[1]+")"},e.sub=void 0,e.subtract=l,e.transformMat2=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i,t[1]=n[1]*r+n[3]*i,t},e.transformMat2d=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t},e.transformMat3=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[3]*i+n[6],t[1]=n[1]*r+n[4]*i+n[7],t},e.transformMat4=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[4]*i+n[12],t[1]=n[1]*r+n[5]*i+n[13],t},e.zero=function(t){return t[0]=0,t[1]=0,t};var a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(r,s,l):r[s]=t[s]}return r.default=t,n&&n.set(t,r),r}(n(79));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}function s(){var t=new a.ARRAY_TYPE(2);return a.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0),t}function l(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function u(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function c(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function f(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1])}function d(t,e){var n=e[0]-t[0],r=e[1]-t[1];return n*n+r*r}function p(t){return Math.hypot(t[0],t[1])}function h(t){var e=t[0],n=t[1];return e*e+n*n}e.len=p,e.sub=l,e.mul=u,e.div=c,e.dist=f,e.sqrDist=d,e.sqrLen=h;var g=(r=s(),function(t,e,n,i,a,o){var s,l;for(e||(e=2),n||(n=0),l=i?Math.min(i*e+n,t.length):t.length,s=n;sc&&(u=e.slice(c,u),d[f]?d[f]+=u:d[++f]=u),(s=s[0])===(l=l[0])?d[f]?d[f]+=l:d[++f]=l:(d[++f]=null,p.push({i:f,x:(0,i.default)(s,l)})),c=o.lastIndex;return c200&&(c=o/10);for(var f=1/c,d=f/10,p=0;p<=c;p++){var h=p*f,g=[a.apply(null,t.concat([h])),a.apply(null,e.concat([h]))],v=(0,r.distance)(u[0],u[1],g[0],g[1]);v=0&&v1||e<0||t.length<2)return 0;for(var n=o(t),r=n.segments,i=n.totalLength,a=0,s=0,l=0;l=a&&e<=a+d){s=Math.atan2(f[1]-c[1],f[0]-c[0]);break}a+=d}return s},e.distanceAtSegment=function(t,e,n){for(var r=1/0,a=0;a1||e<0||t.length<2)return null;var n=o(t),r=n.segments,a=n.totalLength;if(0===a)return{x:t[0][0],y:t[0][1]};for(var s=0,l=null,u=0;u=s&&e<=s+p){var h=(e-s)/p;l=i.default.pointAt(f[0],f[1],d[0],d[1],h);break}s+=p}return l};var i=r(n(174)),a=n(87);function o(t){for(var e=0,n=[],r=0;r1){var o=a(e,n);return e*i+o*(i-1)}return e},e.getTextWidth=function(t,e){var n=(0,i.getOffScreenContext)(),a=0;if((0,r.isNil)(t)||""===t)return a;if(n.save(),n.font=e,(0,r.isString)(t)&&t.includes("\n")){var o=t.split("\n");(0,r.each)(o,function(t){var e=n.measureText(t).width;a1){var i=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=i}(0,r.each)(t,function(e,n){isNaN(e)||(t[n]=+e)}),e[n]=t}),e):void 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,i){return i?[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]]}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){void 0===e&&(e=!1);for(var n,r,o=(0,i.default)(t),s={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null},l=[],u="",c=o.length,f=[],d=0;d7){t[n].shift();for(var r=t[n],i=n;r.length;)e[n]="A",t.splice(i+=1,0,["C"].concat(r.splice(0,6)));t.splice(n,1)}}(o,l,d),c=o.length,"Z"===u&&f.push(d),r=(n=o[d]).length,s.x1=+n[r-2],s.y1=+n[r-1],s.x2=+n[r-4]||s.x1,s.y2=+n[r-3]||s.y1;return e?[o,f]:o};var i=r(n(417)),a=n(807)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=(0,i.default)(t);if(!e||!e.length)return[["M",0,0]];for(var n=!1,r=0;r=0){n=!0;break}}if(!n)return e;var l=[],u=0,c=0,f=0,d=0,p=0,h=e[0];("M"===h[0]||"m"===h[0])&&(u=+h[1],c=+h[2],f=u,d=c,p++,l[0]=["M",u,c]);for(var r=p,g=e.length;r2&&(n.push([r].concat(a.splice(0,2))),s="l",r="m"===r?"l":"L"),"o"===s&&1===a.length&&n.push([r,a[0]]),"r"===s)n.push([r].concat(a));else for(;a.length>=e[s]&&(n.push([r].concat(a.splice(0,e[s]))),e[s]););return""}),n};var r=n(0),i=" \n\v\f\r \xa0 ᠎              \u2028\u2029",a=RegExp("([a-z])["+i+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+i+"]*,?["+i+"]*)+)","ig"),o=RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+i+"]*,?["+i+"]*","ig")},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=e[1],i=e[2],l=(0,r.mod)((0,r.toRadian)(e[3]),2*Math.PI),u=e[4],c=e[5],f=t[0],d=t[1],p=e[6],h=e[7],g=Math.cos(l)*(f-p)/2+Math.sin(l)*(d-h)/2,v=-1*Math.sin(l)*(f-p)/2+Math.cos(l)*(d-h)/2,y=g*g/(n*n)+v*v/(i*i);y>1&&(n*=Math.sqrt(y),i*=Math.sqrt(y));var m=n*n*(v*v)+i*i*(g*g),b=m?Math.sqrt((n*n*(i*i)-m)/m):1;u===c&&(b*=-1),isNaN(b)&&(b=0);var x=i?b*n*v/i:0,_=n?-(b*i)*g/n:0,O=(f+p)/2+Math.cos(l)*x-Math.sin(l)*_,P=(d+h)/2+Math.sin(l)*x+Math.cos(l)*_,M=[(g-x)/n,(v-_)/i],A=[(-1*g-x)/n,(-1*v-_)/i],S=o([1,0],M),w=o(M,A);return -1>=a(M,A)&&(w=Math.PI),a(M,A)>=1&&(w=0),0===c&&w>0&&(w-=2*Math.PI),1===c&&w<0&&(w+=2*Math.PI),{cx:O,cy:P,rx:s(t,[p,h])?0:n,ry:s(t,[p,h])?0:i,startAngle:S,endAngle:S+w,xRotation:l,arcFlag:u,sweepFlag:c}},e.isSamePoint=s;var r=n(0);function i(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function a(t,e){return i(t)*i(e)?(t[0]*e[0]+t[1]*e[1])/(i(t)*i(e)):1}function o(t,e){return(t[0]*e[1].001*u*c){var d=(a.x*s.y-a.y*s.x)/l,p=(a.x*o.y-a.y*o.x)/l;r(d,0,1)&&r(p,0,1)&&(f={x:t.x+d*o.x,y:t.y+d*o.y})}return f};var r=function(t,e,n){return t>=e&&t<=n}},function(t,e,n){"use strict";function r(t){return 1e-6>Math.abs(t)?0:t<0?-1:1}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var i=!1,a=t.length;if(a<=2)return!1;for(var o=0;o0!=r(u[1]-n)>0&&0>r(e-(n-l[1])*(l[0]-u[0])/(l[1]-u[1])-l[0])&&(i=!i)}return i}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0});var i={getAdjust:!0,registerAdjust:!0,Adjust:!0};Object.defineProperty(e,"Adjust",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"getAdjust",{enumerable:!0,get:function(){return a.getAdjust}}),Object.defineProperty(e,"registerAdjust",{enumerable:!0,get:function(){return a.registerAdjust}});var a=n(816),o=r(n(110)),s=r(n(817)),l=r(n(818)),u=r(n(819)),c=r(n(820)),f=n(423);Object.keys(f).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(i,t))&&(t in e&&e[t]===f[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}}))}),(0,a.registerAdjust)("Dodge",s.default),(0,a.registerAdjust)("Jitter",l.default),(0,a.registerAdjust)("Stack",u.default),(0,a.registerAdjust)("Symmetric",c.default)},function(t,e,n){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return r.Scale}});var r=n(66)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTickMethod=function(t){return r[t]},e.registerTickMethod=function(t,e){r[t]=e};var r={}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}return(0,i.__extends)(e,t),e.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var t=0;tthis.max?NaN:this.values[e]},e.prototype.getText=function(e){for(var n=[],r=1;r1?t-1:t}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(r(n(141)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return(0,i.__extends)(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(r(n(176)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return(0,i.__extends)(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,r=this.getInvertPercent(t),i=Math.floor(r*(n-1));if(i>=n-1)return(0,a.last)(e);if(i<0)return(0,a.head)(e);var o=e[i],s=e[i+1],l=i/(n-1);return o+(r-l)/((i+1)/(n-1)-l)*(s-o)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||((0,a.last)(e)!==this.max&&e.push(this.max),(0,a.head)(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(t<(0,a.head)(e))return 0;if(t>(0,a.last)(e))return 1;var n=0;return(0,a.each)(e,function(e,r){if(!(t>=e))return!1;n=r}),n/(e.length-1)},e}(r(n(176)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.values,n=t.tickInterval,i=t.tickCount,a=t.showLast;if((0,r.isNumber)(n)){var o=(0,r.filter)(e,function(t,e){return e%n==0}),s=(0,r.last)(e);return a&&(0,r.last)(o)!==s&&o.push(s),o}var l=e.length,u=t.min,c=t.max;if((0,r.isNil)(u)&&(u=0),(0,r.isNil)(c)&&(c=e.length-1),!(0,r.isNumber)(i)||i>=l)return e.slice(u,c+1);if(i<=0||c<=0)return[];for(var f=1===i?l:Math.floor(l/(i-1)),d=[],p=u,h=0;h=c);h++)p=Math.min(u+h*f,c),h===i-1&&a?d.push(e[c]):d.push(e[p]);return d};var r=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.prettyNumber=function(t){return 1e-15>Math.abs(t)?t:parseFloat(t.toFixed(15))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if(void 0===n&&(n=5),t===e)return{max:e,min:t,ticks:[t]};var i=n<0?0:Math.round(n);if(0===i)return{max:e,min:t,ticks:[]};var a=(e-t)/i,o=Math.pow(10,Math.floor(Math.log10(a))),s=o;2*o-a<1.5*(a-s)&&(s=2*o,5*o-a<2.75*(a-s)&&(s=5*o,10*o-a<1.5*(a-s)&&(s=10*o)));for(var l=Math.ceil(e/s),u=Math.floor(t/s),c=Math.max(l*s,e),f=Math.min(u*s,t),d=Math.floor((c-f)/s)+1,p=Array(d),h=0;h=0&&s<.5*Math.PI?(r={x:c.minX,y:c.minY},a={x:c.maxX,y:c.maxY}):.5*Math.PI<=s&&s1&&(n*=Math.sqrt(v),i*=Math.sqrt(v));var y=n*n*(g*g)+i*i*(h*h),m=y?Math.sqrt((n*n*(i*i)-y)/y):1;l===u&&(m*=-1),isNaN(m)&&(m=0);var b=i?m*n*g/i:0,x=n?-(m*i)*h/n:0,_=(c+d)/2+Math.cos(s)*b-Math.sin(s)*x,O=(f+p)/2+Math.sin(s)*b+Math.cos(s)*x,P=[(h-b)/n,(g-x)/i],M=[(-1*h-b)/n,(-1*g-x)/i],A=o([1,0],P),S=o(P,M);return -1>=a(P,M)&&(S=Math.PI),a(P,M)>=1&&(S=0),0===u&&S>0&&(S-=2*Math.PI),1===u&&S<0&&(S+=2*Math.PI),{cx:_,cy:O,rx:r.isSamePoint(t,[d,p])?0:n,ry:r.isSamePoint(t,[d,p])?0:i,startAngle:A,endAngle:A+S,xRotation:s,arcFlag:l,sweepFlag:u}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(26);e.default=function(t,e,n){var i=r.getOffScreenContext();return t.createPath(i),i.isPointInPath(e,n)}},function(t,e,n){"use strict";function r(t){return 1e-6>Math.abs(t)?0:t<0?-1:1}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var i=!1,a=t.length;if(a<=2)return!1;for(var o=0;o0!=r(u[1]-n)>0&&0>r(e-(n-l[1])*(l[0]-u[0])/(l[1]-u[1])-l[0])&&(i=!i)}return i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(51);e.default=function(t,e,n,i,a,o,s,l){var u=(Math.atan2(l-e,s-t)+2*Math.PI)%(2*Math.PI);if(ua)return!1;var c={x:t+n*Math.cos(u),y:e+n*Math.sin(u)};return r.distance(c.x,c.y,s,l)<=o/2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(183);e.default=function(t,e,n,i,a){var o=t.length;if(o<2)return!1;for(var s=0;s1){var i,a=Array(t.callback.length-1).fill("");i=t.mapping.apply(t,(0,r.__spreadArray)([e],a,!1)).join("")}else i=t.mapping(e).join("");return i||n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLegendThemeCfg=e.getCustomLegendItems=e.getLegendItems=e.getLegendLayout=void 0;var r=n(1),i=n(0),a=n(21),o=n(451),s=n(70),l=n(146),u=["line","cross","tick","plus","hyphen"];function c(t){var e=t.symbol;(0,i.isString)(e)&&l.MarkerSymbols[e]&&(t.symbol=l.MarkerSymbols[e])}e.getLegendLayout=function(t){return t.startsWith(a.DIRECTION.LEFT)||t.startsWith(a.DIRECTION.RIGHT)?"vertical":"horizontal"},e.getLegendItems=function(t,e,n,a,l){var f=n.getScale(n.type);if(f.isCategory){var d=f.field,p=e.getAttribute("color"),h=e.getAttribute("shape"),g=t.getTheme().defaultColor,v=e.coordinate.isPolar;return f.getTicks().map(function(n,y){var m,b,x,_=n.text,O=n.value,P=f.invert(O),M=0===t.filterFieldData(d,[((x={})[d]=P,x)]).length;(0,i.each)(t.views,function(t){var e;t.filterFieldData(d,[((e={})[d]=P,e)]).length||(M=!0)});var A=(0,o.getMappingValue)(p,P,g),S=(0,o.getMappingValue)(h,P,"point"),w=e.getShapeMarker(S,{color:A,isInPolar:v}),E=l;return(0,i.isFunction)(E)&&(E=E(_,y,(0,r.__assign)({name:_,value:P},(0,i.deepMix)({},a,w)))),function(t,e){var n=t.symbol;if((0,i.isString)(n)&&-1!==u.indexOf(n)){var r=(0,i.get)(t,"style",{}),a=(0,i.get)(r,"lineWidth",1),o=r.stroke||r.fill||e;t.style=(0,i.deepMix)({},t.style,{lineWidth:a,stroke:o,fill:null})}}(w=(0,i.deepMix)({},a,w,(0,s.omit)((0,r.__assign)({},E),["style"])),A),E&&E.style&&(w.style=(m=w.style,b=E.style,(0,i.isFunction)(b)?b(m):(0,i.deepMix)({},m,b))),c(w),{id:P,name:_,value:P,marker:w,unchecked:M}})}return[]},e.getCustomLegendItems=function(t,e,n){return n.map(function(n,r){var a=e;(0,i.isFunction)(a)&&(a=a(n.name,r,(0,i.deepMix)({},t,n)));var o=(0,i.isFunction)(n.marker)?n.marker(n.name,r,(0,i.deepMix)({},t,n)):n.marker,s=(0,i.deepMix)({},t,a,o);return c(s),n.marker=s,n})},e.getLegendThemeCfg=function(t,e){var n=(0,i.get)(t,["components","legend"],{});return(0,i.deepMix)({},(0,i.get)(n,["common"],{}),(0,i.deepMix)({},(0,i.get)(n,[e],{})))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseLineGradient=u,e.parsePattern=f,e.parseRadialGradient=c,e.parseRadius=function(t){var e=0,n=0,i=0,a=0;return(0,r.isArray)(t)?1===t.length?e=n=i=a=t[0]:2===t.length?(e=i=t[0],n=a=t[1]):3===t.length?(e=t[0],n=a=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],a=t[3]):e=n=i=a=t,[e,n,i,a]},e.parseStyle=function(t,e,n){var i=e.getBBox();if(isNaN(i.x)||isNaN(i.y)||isNaN(i.width)||isNaN(i.height))return n;if((0,r.isString)(n)){if("("===n[1]||"("===n[2]){if("l"===n[0])return u(t,e,n);if("r"===n[0])return c(t,e,n);if("p"===n[0])return f(t,e,n)}return n}if(n instanceof CanvasPattern)return n};var r=n(53),i=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,a=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,o=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,s=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function l(t,e){var n=t.match(s);(0,r.each)(n,function(t){var n=t.split(":");e.addColorStop(n[0],n[1])})}function u(t,e,n){var r,a,o=i.exec(n),s=parseFloat(o[1])%360*(Math.PI/180),u=o[2],c=e.getBBox();s>=0&&s<.5*Math.PI?(r={x:c.minX,y:c.minY},a={x:c.maxX,y:c.maxY}):.5*Math.PI<=s&&s1&&(n*=Math.sqrt(v),i*=Math.sqrt(v));var y=n*n*(g*g)+i*i*(h*h),m=y?Math.sqrt((n*n*(i*i)-y)/y):1;l===u&&(m*=-1),isNaN(m)&&(m=0);var b=i?m*n*g/i:0,x=n?-(m*i)*h/n:0,_=(c+d)/2+Math.cos(s)*b-Math.sin(s)*x,O=(f+p)/2+Math.sin(s)*b+Math.cos(s)*x,P=[(h-b)/n,(g-x)/i],M=[(-1*h-b)/n,(-1*g-x)/i],A=o([1,0],P),S=o(P,M);return -1>=a(P,M)&&(S=Math.PI),a(P,M)>=1&&(S=0),0===u&&S>0&&(S-=2*Math.PI),1===u&&S<0&&(S+=2*Math.PI),{cx:_,cy:O,rx:(0,r.isSamePoint)(t,[d,p])?0:n,ry:(0,r.isSamePoint)(t,[d,p])?0:i,startAngle:A,endAngle:A+S,xRotation:s,arcFlag:l,sweepFlag:u}};var r=n(53);function i(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function a(t,e){return i(t)*i(e)?(t[0]*e[0]+t[1]*e[1])/(i(t)*i(e)):1}function o(t,e){return(t[0]*e[1]Math.abs(t)?0:t<0?-1:1}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var i=!1,a=t.length;if(a<=2)return!1;for(var o=0;o0!=r(u[1]-n)>0&&0>r(e-(n-l[1])*(l[0]-u[0])/(l[1]-u[1])-l[0])&&(i=!i)}return i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i,a,o,s,l){var u=(Math.atan2(l-e,s-t)+2*Math.PI)%(2*Math.PI);if(ua)return!1;var c={x:t+n*Math.cos(u),y:e+n*Math.sin(u)};return(0,r.distance)(c.x,c.y,s,l)<=o/2};var r=n(53)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,a){var o=t.length;if(o<2)return!1;for(var s=0;s1){for(var o=e.addGroup(),s=0;s1?e[1]:n,o=e.length>3?e[3]:r,s=e.length>2?e[2]:a;return{min:n,max:r,min1:a,max1:o,median:s}}function l(t,e,n){var r,a=n/2;if((0,i.isArray)(e)){var o=s(e),l=o.min,u=o.max,c=o.median,f=o.min1,d=o.max1,p=t-a,h=t+a;r=[[p,u],[h,u],[t,u],[t,d],[p,f],[p,d],[h,d],[h,f],[t,f],[t,l],[p,l],[h,l],[p,c],[h,c]]}else{e=(0,i.isNil)(e)?.5:e;var g=s(t),l=g.min,u=g.max,c=g.median,f=g.min1,d=g.max1,v=e-a,y=e+a;r=[[l,v],[l,y],[l,e],[f,e],[f,v],[f,y],[d,y],[d,v],[d,e],[u,e],[u,v],[u,y],[c,v],[c,y]]}return r.map(function(t){return{x:t[0],y:t[1]}})}(0,a.registerShape)("schema","box",{getPoints:function(t){return l(t.x,t.y,t.size)},draw:function(t,e){var n,i=(0,o.getStyle)(t,!0,!1),a=this.parsePath([["M",(n=t.points)[0].x,n[0].y],["L",n[1].x,n[1].y],["M",n[2].x,n[2].y],["L",n[3].x,n[3].y],["M",n[4].x,n[4].y],["L",n[5].x,n[5].y],["L",n[6].x,n[6].y],["L",n[7].x,n[7].y],["L",n[4].x,n[4].y],["Z"],["M",n[8].x,n[8].y],["L",n[9].x,n[9].y],["M",n[10].x,n[10].y],["L",n[11].x,n[11].y],["M",n[12].x,n[12].y],["L",n[13].x,n[13].y]]);return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},i),{path:a,name:"schema"})})},getMarker:function(t){return{symbol:function(t,e,n){var r=l(t,[e-6,e-3,e,e+3,e+6],n);return[["M",r[0].x+1,r[0].y],["L",r[1].x-1,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y],["L",r[6].x,r[6].y],["L",r[7].x,r[7].y],["L",r[4].x,r[4].y],["Z"],["M",r[8].x,r[8].y],["L",r[9].x,r[9].y],["M",r[10].x+1,r[10].y],["L",r[11].x-1,r[11].y],["M",r[12].x,r[12].y],["L",r[13].x,r[13].y]]},style:{r:6,lineWidth:1,stroke:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(70),o=n(27),s=n(33);function l(t,e,n){var r,o=(r=((0,i.isArray)(e)?e:[e]).sort(function(t,e){return e-t}),(0,a.padEnd)(r,4,r[r.length-1]));return[{x:t,y:o[0]},{x:t,y:o[1]},{x:t-n/2,y:o[2]},{x:t-n/2,y:o[1]},{x:t+n/2,y:o[1]},{x:t+n/2,y:o[2]},{x:t,y:o[2]},{x:t,y:o[3]}]}(0,o.registerShape)("schema","candle",{getPoints:function(t){return l(t.x,t.y,t.size)},draw:function(t,e){var n,i=(0,s.getStyle)(t,!0,!0),a=this.parsePath([["M",(n=t.points)[0].x,n[0].y],["L",n[1].x,n[1].y],["M",n[2].x,n[2].y],["L",n[3].x,n[3].y],["L",n[4].x,n[4].y],["L",n[5].x,n[5].y],["Z"],["M",n[6].x,n[6].y],["L",n[7].x,n[7].y]]);return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},i),{path:a,name:"schema"})})},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){var r=l(t,[e+7.5,e+3,e-3,e-7.5],n);return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["L",r[4].x,r[4].y],["L",r[5].x,r[5].y],["Z"],["M",r[6].x,r[6].y],["L",r[7].x,r[7].y]]},style:{lineWidth:1,stroke:e,fill:e,r:6}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(27),o=n(33);(0,a.registerShape)("polygon","square",{draw:function(t,e){if(!(0,i.isEmpty)(t.points)){var n,a,s,l,u=(0,o.getStyle)(t,!0,!0),c=this.parsePoints(t.points);return e.addShape("rect",{attrs:(0,r.__assign)((0,r.__assign)({},u),(n=t.size,l=Math.min(a=Math.abs(c[0].x-c[2].x),s=Math.abs(c[0].y-c[2].y)),n&&(l=(0,i.clamp)(n,0,Math.min(a,s))),l/=2,{x:(c[0].x+c[2].x)/2-l,y:(c[0].y+c[2].y)/2-l,width:2*l,height:2*l})),name:"polygon"})}},getMarker:function(t){return{symbol:"square",style:{r:4,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.antiCollision=void 0,e.antiCollision=function(t,e,n){var r,i=t.filter(function(t){return!t.invisible});i.sort(function(t,e){return t.y-e.y});var a=!0,o=n.minY,s=Math.abs(o-n.maxY),l=0,u=Number.MIN_VALUE,c=i.map(function(t){return t.y>l&&(l=t.y),t.ys&&(s=l-o);a;)for(c.forEach(function(t){var e=(Math.min.apply(u,t.targets)+Math.max.apply(u,t.targets))/2;t.pos=Math.min(Math.max(u,e-t.size/2),s-t.size),t.pos=Math.max(0,t.pos)}),a=!1,r=c.length;r--;)if(r>0){var f=c[r-1],d=c[r];f.pos+f.size>d.pos&&(f.size+=d.size,f.targets=f.targets.concat(d.targets),f.pos+f.size>s&&(f.pos=s-f.size),c.splice(r,1),a=!0)}r=0,c.forEach(function(t){var n=o+e/2;t.targets.forEach(function(){i[r].y=t.pos+n,n+=e,r++})})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="rect",e}return(0,r.__extends)(e,t),e.prototype.getRegion=function(){var t=this.points;return{start:(0,i.head)(t),end:(0,i.last)(t)}},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),e=t.start,n=t.end;return{x:Math.min(e.x,n.x),y:Math.min(e.y,n.y),width:Math.abs(n.x-e.x),height:Math.abs(n.y-e.y)}},e}((0,r.__importDefault)(n(288)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getMaskPath=function(){var t=this.points,e=[];return t.length&&((0,i.each)(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",t[0].x,t[0].y])),e},e.prototype.getMaskAttrs=function(){return{path:this.getMaskPath()}},e.prototype.addPoint=function(){this.resize()},e}((0,r.__importDefault)(n(288)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BRUSH_FILTER_EVENTS=void 0;var r,i,a=n(1),o=n(98),s=(0,a.__importDefault)(n(44)),l=n(31);function u(t,e,n,r){var i=Math.min(n[e],r[e]),a=Math.max(n[e],r[e]),o=t.range,s=o[0],l=o[1];if(il&&(a=l),i===l&&a===l)return null;var u=t.invert(i),c=t.invert(a);if(!t.isCategory)return function(t){return t>=u&&t<=c};var f=t.values.indexOf(u),d=t.values.indexOf(c),p=t.values.slice(f,d+1);return function(t){return p.includes(t)}}(r=i||(i={})).FILTER="brush-filter-processing",r.RESET="brush-filter-reset",r.BEFORE_FILTER="brush-filter:beforefilter",r.AFTER_FILTER="brush-filter:afterfilter",r.BEFORE_RESET="brush-filter:beforereset",r.AFTER_RESET="brush-filter:afterreset",e.BRUSH_FILTER_EVENTS=i;var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.startPoint=null,e.isStarted=!1,e}return(0,a.__extends)(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){if((0,l.isMask)(this.context)){var t,e,n=this.context.event.target.getCanvasBBox();t={x:n.x,y:n.y},e={x:n.maxX,y:n.maxY}}else{if(!this.isStarted)return;t=this.startPoint,e=this.context.getCurrentPoint()}if(!(5>Math.abs(t.x-e.x)||5>Math.abs(t.x-e.y))){var r=this.context,a=r.view,s={view:a,event:r.event,dims:this.dims};a.emit(i.BEFORE_FILTER,o.Event.fromData(a,i.BEFORE_FILTER,s));var c=a.getCoordinate(),f=c.invert(e),d=c.invert(t);if(this.hasDim("x")){var p=a.getXScale(),h=u(p,"x",f,d);this.filterView(a,p.field,h)}if(this.hasDim("y")){var g=a.getYScales()[0],h=u(g,"y",f,d);this.filterView(a,g.field,h)}this.reRender(a,{source:i.FILTER}),a.emit(i.AFTER_FILTER,o.Event.fromData(a,i.AFTER_FILTER,s))}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(t.emit(i.BEFORE_RESET,o.Event.fromData(t,i.BEFORE_RESET,{})),this.isStarted=!1,this.hasDim("x")){var e=t.getXScale();this.filterView(t,e.field,null)}if(this.hasDim("y")){var n=t.getYScales()[0];this.filterView(t,n.field,null)}this.reRender(t,{source:i.RESET}),t.emit(i.AFTER_RESET,o.Event.fromData(t,i.AFTER_RESET,{}))},e.prototype.filterView=function(t,e,n){t.filter(e,n)},e.prototype.reRender=function(t,e){t.render(!0,e)},e}(s.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.cfgFields=["dims"],e.cacheScaleDefs={},e}return(0,r.__extends)(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var e=this.context.view;return"x"===t?e.getXScale():e.getYScales()[0]},e.prototype.resetDim=function(t){var e=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var n=this.getScale(t);e.scale(n.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim("x"),this.resetDim("y"),this.context.view.render(!0)},e}(n(185).Action);e.default=i},function(t,e,n){"use strict";var r=n(482);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};Object(_.registerFacet)("rect",v.a),Object(_.registerFacet)("mirror",h.a),Object(_.registerFacet)("list",c.a),Object(_.registerFacet)("matrix",d.a),Object(_.registerFacet)("circle",l.a),Object(_.registerFacet)("tree",m.a),e.a=function(t){var e=Object(b.a)(),n=Object(x.a)(),r=t.type,a=t.children,s=O(t,["type","children"]);return e.facetInstance&&(e.facetInstance.destroy(),e.facetInstance=null,n.forceReRender=!0),o()(a)?e.facet(r,i()(i()({},s),{eachView:a})):e.facet(r,i()({},s)),null}},function(t,e,n){"use strict";n(3);var r=n(344),i=n.n(r),a=n(25),o=n(40);Object(a.registerComponentController)("slider",i.a),e.a=function(t){return Object(o.a)().option("slider",t),null}},function(t,e,n){"use strict";n(98),n(272)},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(332),h=n.n(p),g=n(39),v=n(8);n(463),n(474),n(473),Object(v.registerGeometry)("Schema",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="schema",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return m});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(158),h=n.n(p),g=n(162),v=n(39),y=n(8);Object(y.registerAnimation)("path-in",g.pathIn),Object(y.registerGeometry)("Path",h.a);var m=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="path",t}return i()(r)}(v.a)},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(128),l=n(216),u=n(217),c=n(218),f=n(129),d=n(130),p=n(219),h=n(220),g=n(17),v=n.n(g),y=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},m={area:s.a,edge:l.a,heatmap:u.a,interval:c.a,line:f.a,point:d.a,polygon:p.a,"line-advance":h.a};e.a=function(t){var e=t.type,n=y(t,["type"]),r=m[e];return r?o.a.createElement(r,i()({},n)):(v()(!1,"Only support the below type: area|edge|heatmap|interval|line|point|polygon|line-advance"),null)}},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(17),l=n.n(s),u=n(215);function c(t){return l()(!1,"Coord (协调) 组件将重命名为更加语义化的组件名 Coordinate(坐标),请使用Coordinate替代,我们将在5.0后删除Coord组件"),o.a.createElement(u.a,i()({},t))}},function(t,e,n){"use strict";var r=n(17),i=n.n(r),a=n(207),o=n(208),s=n(209),l=n(210),u=n(211),c=n(212),f=n(213),d=function(t){return i()(!1,"Guide组件将在5.0后不再支持,请使用Annotation替代,请查看Annotation的使用文档"),t.children};d.Arc=a.a,d.DataMarker=o.a,d.DataRegion=s.a,d.Image=l.a,d.Line=u.a,d.Region=c.a,d.Text=f.a,e.a=d},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(3),i=n.n(r),a=n(28),o=n.n(a),s=n(81),l=n(17),u=n.n(l);function c(t){var e=Object(s.a)();if(o()(t.children)){var n=t.children(e);return i.a.isValidElement(n)?n:null}return u()(!1,"Effects 的子组件应当是一个函数 (chart) => {}"),null}},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(3),i=n(40);function a(t){var e=Object(i.a)(),n=t.type,a=t.config;return Object(r.useLayoutEffect)(function(){return e.interaction(n,a),function(){e.removeInteraction(n)}}),null}},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.pick=void 0,e.pick=function(t,e){var n={};return null!==t&&"object"===(0,r.default)(t)&&e.forEach(function(e){var r=t[e];void 0!==r&&(n[e]=r)}),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.log=e.invariant=e.LEVEL=void 0;var r,i=n(1);(r=e.LEVEL||(e.LEVEL={})).ERROR="error",r.WARN="warn",r.INFO="log";var a="AntV/G2Plot";function o(t){for(var e=[],n=1;n"},key:(0===l?"top":"bottom")+"-statistic"},a.pick(e,["offsetX","offsetY","rotate","style","formatter"])))}})},e.renderGaugeStatistic=function(t,e,n){var l=e.statistic;[l.title,l.content].forEach(function(e){if(e){var l=i.isFunction(e.style)?e.style(n):e.style;t.annotation().html(r.__assign({position:["50%","100%"],html:function(t,a){var u=a.getCoordinate(),c=a.views[0].getCoordinate(),f=c.getCenter(),d=c.getRadius(),p=Math.max(Math.sin(c.startAngle),Math.sin(c.endAngle))*d,h=f.y+p-u.y.start-parseFloat(i.get(l,"fontSize",0)),g=u.getRadius()*u.innerRadius*2;s(t,r.__assign({width:g+"px",transform:"translate(-50%, "+h+"px)"},o(l)));var v=a.getData();if(e.customHtml)return e.customHtml(t,a,n,v);var y=e.content;return e.formatter&&(y=e.formatter(n,v)),y?i.isString(y)?y:""+y:"
    "}},a.pick(e,["offsetX","offsetY","rotate","style","formatter"])))}})}},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(133),i=n.n(r),a=n(3),o=n(92);function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=Object(o.getTheme)(t);e.name=t;var n=Object(a.useState)(e),r=i()(n,2),s=r[0],l=r[1];return[s,function(t){var e=Object(o.getTheme)(t);e.name=t,l(e)}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ver=e.clear=e.bind=void 0;var r=n(1065);e.bind=function(t,e){var n=(0,r.getSensor)(t);return n.bind(e),function(){n.unbind(e)}},e.clear=function(t){var e=(0,r.getSensor)(t);(0,r.removeSensor)(e)},e.ver="1.0.1"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var r=this,i=arguments.length,a=Array(i),o=0;o1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},n.prototype.getButtonCfg=function(){var t=this.context.view,e=a.get(t,["interactions","drill-down","cfg","drillDownConfig"]);return o.deepAssign(this.breadCrumbCfg,null==e?void 0:e.breadCrumb,this.cfg)},n.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},n.prototype.drawBreadCrumbGroup=function(){var t=this,n=this.getButtonCfg(),i=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:e.BREAD_CRUMB_NAME});var o=0;i.forEach(function(s,l){var u=t.breadCrumbGroup.addShape({type:"text",id:s.id,name:e.BREAD_CRUMB_NAME+"_"+s.name+"_text",attrs:r.__assign(r.__assign({text:0!==l||a.isNil(n.rootText)?s.name:n.rootText},n.textStyle),{x:o,y:0})}),c=u.getBBox();if(o+=c.width+4,u.on("click",function(e){var n,r=e.target.get("id");if(r!==(null===(n=a.last(i))||void 0===n?void 0:n.id)){var o=i.slice(0,i.findIndex(function(t){return t.id===r})+1);t.backTo(o)}}),u.on("mouseenter",function(t){var e;t.target.get("id")!==(null===(e=a.last(i))||void 0===e?void 0:e.id)?u.attr(n.activeTextStyle):u.attr({cursor:"default"})}),u.on("mouseleave",function(){u.attr(n.textStyle)}),l(o*=o)?(r=(u+o-i)/(2*u),a=Math.sqrt(Math.max(0,o/u-r*r)),n.x=t.x-r*s-a*l,n.y=t.y-r*l+a*s):(r=(u+i-o)/(2*u),a=Math.sqrt(Math.max(0,i/u-r*r)),n.x=e.x+r*s-a*l,n.y=e.y+r*l+a*s)):(n.x=e.x+n.r,n.y=e.y)}function s(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function l(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,a=(e.y*n.r+n.y*e.r)/r;return i*i+a*a}function u(t){this._=t,this.next=null,this.previous=null}function c(t){var e,n,r,c,f,d,p,h,g,v,y;if(!(c=(t=(0,i.default)(t)).length))return 0;if((e=t[0]).x=0,e.y=0,!(c>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(c>2))return e.r+n.r;o(n,e,r=t[2]),e=new u(e),n=new u(n),r=new u(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(p=3;p0&&n*n>r*r+i*i}function o(t,e){for(var n=0;n0?n:e;return e<0?e:n;case"outer":if(n=12,r.isString(e)&&e.endsWith("%"))return .01*parseFloat(e)<0?n:e;return e>0?e:n;default:return e}},e.isAllZero=function(t,e){return r.every(i.processIllegalData(t,e),function(t){return 0===t[e]})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PIE_STATISTIC=void 0;var r=n(14),i=n(1129),a=n(1130);e.PIE_STATISTIC="pie-statistic",r.registerAction(e.PIE_STATISTIC,a.StatisticAction),r.registerInteraction("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),r.registerAction("pie-legend",i.PieLegendAction),r.registerInteraction("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transform=void 0;var r=n(1),i=n(14),a=[1,0,0,0,1,0,0,0,1];e.transform=function(t,e){var n=e?r.__spreadArrays(e):r.__spreadArrays(a);return i.Util.transform(n,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSingleKeyValues=e.getFontSizeMapping=e.processImageMask=e.getSize=e.transform=void 0;var r=n(1),i=n(0),a=n(293),o=n(15),s=n(1137);function l(t){var e,n,r,i=t.width,s=t.height,l=t.container,u=t.autoFit,c=t.padding,f=t.appendPadding;if(u){var d=o.getContainerSize(l);i=d.width,s=d.height}i=i||400,s=s||400;var p=(e={padding:c,appendPadding:f},n=a.normalPadding(e.padding),r=a.normalPadding(e.appendPadding),[n[0]+r[0],n[1]+r[1],n[2]+r[2],n[3]+r[3]]),h=p[0],g=p[1],v=p[2];return[i-(p[3]+g),s-(h+v)]}function u(t,e){if(i.isFunction(t))return t;if(i.isArray(t)){var n=t[0],r=t[1];if(!e)return function(){return(r+n)/2};var a=e[0],o=e[1];return o===a?function(){return(r+n)/2}:function(t){return(r-n)/(o-a)*(t.value-a)+n}}return function(){return t}}function c(t,e){return t.map(function(t){return t[e]}).filter(function(t){return!("number"!=typeof t||isNaN(t))})}e.transform=function(t){var e=t.options,n=t.chart,a=n.width,f=n.height,d=n.padding,p=n.appendPadding,h=n.ele,g=e.data,v=e.imageMask,y=e.wordField,m=e.weightField,b=e.colorField,x=e.wordStyle,_=e.timeInterval,O=e.random,P=e.spiral,M=e.autoFit,A=e.placementStrategy;if(!g||!g.length)return[];var S=x.fontFamily,w=x.fontWeight,E=x.padding,C=x.fontSize,T=c(g,m),I=[Math.min.apply(Math,T),Math.max.apply(Math,T)],j=g.map(function(t){return{text:t[y],value:t[m],color:t[b],datum:t}}),F={imageMask:v,font:S,fontSize:u(C,I),fontWeight:w,size:l({width:a,height:f,padding:d,appendPadding:p,autoFit:void 0===M||M,container:h}),padding:E,timeInterval:_,random:O,spiral:P,rotate:function(t){var e,n=((e=t.wordStyle.rotationSteps)<1&&(o.log(o.LEVEL.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}),r=n.rotation,a=n.rotationSteps;if(!i.isArray(r))return r;var s=r[0],l=r[1],u=1===a?0:(l-s)/(a-1);return function(){return l===s?l:Math.floor(Math.random()*a)*u}}(e)};if(i.isFunction(A)){var L=j.map(function(t,e,i){return r.__assign(r.__assign(r.__assign({},t),{hasText:!!t.text,font:s.functor(F.font)(t,e,i),weight:s.functor(F.fontWeight)(t,e,i),rotate:s.functor(F.rotate)(t,e,i),size:s.functor(F.fontSize)(t,e,i),style:"normal"}),A.call(n,t,e,i))});return L.push({text:"",value:0,x:0,y:0,opacity:0}),L.push({text:"",value:0,x:F.size[0],y:F.size[1],opacity:0}),L}return s.wordCloud(j,F)},e.getSize=l,e.processImageMask=function(t){return new Promise(function(e,n){if(t instanceof HTMLImageElement){e(t);return}if(i.isString(t)){var r=new Image;r.crossOrigin="anonymous",r.src=t,r.onload=function(){e(r)},r.onerror=function(){o.log(o.LEVEL.ERROR,!1,"image %s load failed !!!",t),n()};return}o.log(o.LEVEL.WARN,void 0===t,"The type of imageMask option must be String or HTMLImageElement."),n()})},e.getFontSizeMapping=u,e.getSingleKeyValues=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=e.WORD_CLOUD_COLOR_FIELD=void 0;var r=n(24),i=n(15);e.WORD_CLOUD_COLOR_FIELD="color",e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value",e.WORD_CLOUD_COLOR_FIELD],formatter:function(t){return{name:t.text,value:t.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.basicFunnel=void 0;var r=n(1),i=n(0),a=n(15),o=n(64),s=n(59),l=n(120),u=n(300);function c(t){var e=t.chart,n=t.options,r=n.data,i=void 0===r?[]:r,a=n.yField,o=n.maxSize,s=n.minSize,l=u.transformData(i,i,{yField:a,maxSize:o,minSize:s});return e.data(l),t}function f(t){var e=t.chart,n=t.options,r=n.xField,u=n.yField,c=n.color,f=n.tooltip,d=n.label,p=n.shape,h=n.funnelStyle,g=n.state,v=o.getTooltipMapping(f,[r,u]),y=v.fields,m=v.formatter;return s.geometry({chart:e,options:{type:"interval",xField:r,yField:l.FUNNEL_MAPPING_VALUE,colorField:r,tooltipFields:i.isArray(y)&&y.concat([l.FUNNEL_PERCENT,l.FUNNEL_CONVERSATION]),mapping:{shape:void 0===p?"funnel":p,tooltip:m,color:c,style:h},label:d,state:g}}),a.findGeometry(t.chart,"interval").adjust("symmetric"),t}function d(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[]:[["transpose"],["scale",1,-1]]}),t}function p(t){var e=t.options.maxSize;return u.conversionTagComponent(function(t,n,i,a){var o=e-(e-t[l.FUNNEL_MAPPING_VALUE])/2;return r.__assign(r.__assign({},a),{start:[n-.5,o],end:[n-.5,o+.05]})})(t),t}e.basicFunnel=function(t){return a.flow(c,f,d,p)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLiquidData=void 0,e.getLiquidData=function(t){return[{percent:t,type:"liquid"}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.binHistogram=void 0;var r=n(0);function i(t,e,n){if(1===n)return[0,e];var r=Math.floor(t/e);return[e*r,e*(r+1)]}e.binHistogram=function(t,e,n,a,o){var s=r.clone(t);r.sortBy(s,e);var l=r.valuesOfKey(s,e),u=r.getRange(l),c=u.max-u.min,f=n;!n&&a&&(f=a>1?c/(a-1):u.max),n||a||(f=c/(Math.ceil(Math.log(l.length)/Math.LN2)+1));var d={},p=r.groupBy(s,o);r.isEmpty(p)?r.each(s,function(t){var n=i(t[e],f,a),o=n[0]+"-"+n[1];r.hasKey(d,o)||(d[o]={range:n,count:0}),d[o].count+=1}):Object.keys(p).forEach(function(t){r.each(p[t],function(n){var s=i(n[e],f,a),l=s[0]+"-"+s[1]+"-"+t;r.hasKey(d,l)||(d[l]={range:s,count:0},d[l][o]=t),d[l].count+=1})});var h=[];return r.each(d,function(t){h.push(t)}),h}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=e.HISTOGRAM_Y_FIELD=e.HISTOGRAM_X_FIELD=void 0;var r=n(24),i=n(15);e.HISTOGRAM_X_FIELD="range",e.HISTOGRAM_Y_FIELD="count",e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=e.processData=void 0;var r=n(1),i=n(0),a=n(15),o=n(301);function s(t,e,n,o,s){var l,u=[];if(i.reduce(t,function(t,e){a.log(a.LEVEL.WARN,i.isNumber(e[n]),e[n]+" is not a valid number");var s,l=i.isUndefined(e[n])?null:e[n];return u.push(r.__assign(r.__assign({},e),((s={})[o]=[t,t+l],s))),t+l},0),u.length&&s){var c=i.get(u,[[t.length-1],o,[1]]);u.push(((l={})[e]=s.label,l[n]=c,l[o]=[0,c],l))}return u}e.processData=s,e.transformData=function(t,e,n,a){return s(t,e,n,o.Y_FIELD,a).map(function(e,n){var a;return i.isObject(e)?r.__assign(r.__assign({},e),((a={})[o.ABSOLUTE_FIELD]=e[o.Y_FIELD][1],a[o.DIFF_FIELD]=e[o.Y_FIELD][1]-e[o.Y_FIELD][0],a[o.IS_TOTAL]=n===t.length,a)):e})}},function(t,e,n){"use strict";var r,i,a,o=n(2)(n(6));a=function(t){function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){i=!0,a=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(t,e,n,r){t=t.filter(function(t,r){var i=e(t,r),a=n(t,r);return null!=i&&isFinite(i)&&null!=a&&isFinite(a)}),r&&t.sort(function(t,n){return e(t)-e(n)});for(var i,a,o,s=t.length,l=new Float64Array(s),u=new Float64Array(s),c=0,f=0,d=0;dr&&(t.splice(s+1,0,d),i=!0)}return i}(i)&&o<1e4;);return i}function s(t,e,n,r){var i=r-t*t,a=1e-24>Math.abs(i)?0:(n-t*e)/i;return[e-a*t,a]}function l(){var t,n=function(t){return t[0]},a=function(t){return t[1]};function o(o){var l=0,u=0,c=0,f=0,d=0,p=t?+t[0]:1/0,h=t?+t[1]:-1/0;r(o,n,a,function(e,n){++l,u+=(e-u)/l,c+=(n-c)/l,f+=(e*n-f)/l,d+=(e*e-d)/l,!t&&(eh&&(h=e))});var g=e(s(u,c,f,d),2),v=g[0],y=g[1],m=function(t){return y*t+v},b=[[p,m(p)],[h,m(h)]];return b.a=y,b.b=v,b.predict=m,b.rSquared=i(o,n,a,c,m),b}return o.domain=function(e){return arguments.length?(t=e,o):t},o.x=function(t){return arguments.length?(n=t,o):n},o.y=function(t){return arguments.length?(a=t,o):a},o}function u(){var t,a=function(t){return t[0]},s=function(t){return t[1]};function l(l){var u,c,f,d,p=e(n(l,a,s),4),h=p[0],g=p[1],v=p[2],y=p[3],m=h.length,b=0,x=0,_=0,O=0,P=0;for(u=0;uw&&(w=e))});var E=_-b*b,C=b*E-x*x,T=(P*b-O*x)/C,I=(O*E-P*x)/C,j=-T*b,F=function(t){return T*(t-=v)*t+I*t+j+y},L=o(S,w,F);return L.a=T,L.b=I-2*T*v,L.c=j-I*v+T*v*v+y,L.predict=F,L.rSquared=i(l,a,s,M,F),L}return l.domain=function(e){return arguments.length?(t=e,l):t},l.x=function(t){return arguments.length?(a=t,l):a},l.y=function(t){return arguments.length?(s=t,l):s},l}t.regressionExp=function(){var t,n=function(t){return t[0]},a=function(t){return t[1]};function l(l){var u=0,c=0,f=0,d=0,p=0,h=0,g=t?+t[0]:1/0,v=t?+t[1]:-1/0;r(l,n,a,function(e,n){var r=Math.log(n),i=e*n;++u,c+=(n-c)/u,d+=(i-d)/u,h+=(e*i-h)/u,f+=(n*r-f)/u,p+=(i*r-p)/u,!t&&(ev&&(v=e))});var y=e(s(d/c,f/c,p/c,h/c),2),m=y[0],b=y[1];m=Math.exp(m);var x=function(t){return m*Math.exp(b*t)},_=o(g,v,x);return _.a=m,_.b=b,_.predict=x,_.rSquared=i(l,n,a,c,x),_}return l.domain=function(e){return arguments.length?(t=e,l):t},l.x=function(t){return arguments.length?(n=t,l):n},l.y=function(t){return arguments.length?(a=t,l):a},l},t.regressionLinear=l,t.regressionLoess=function(){var t=function(t){return t[0]},r=function(t){return t[1]},i=.3;function a(a){for(var o=e(n(a,t,r,!0),4),l=o[0],u=o[1],c=o[2],f=o[3],d=l.length,p=Math.max(2,~~(i*d)),h=new Float64Array(d),g=new Float64Array(d),v=new Float64Array(d).fill(1),y=-1;++y<=2;){for(var m=[0,p-1],b=0;bl[O]-x?_:O,M=0,A=0,S=0,w=0,E=0,C=1/Math.abs(l[P]-x||1),T=_;T<=O;++T){var I,j=l[T],F=u[T],L=(I=1-(I=Math.abs(x-j)*C)*I*I)*I*I*v[T],D=j*L;M+=L,A+=D,S+=F*L,w+=F*D,E+=j*D}var k=e(s(A/M,S/M,w/M,E/M),2),R=k[0],N=k[1];h[b]=R+N*x,g[b]=Math.abs(u[b]-h[b]),function(t,e,n){var r=t[e],i=n[0],a=n[1]+1;if(!(a>=t.length))for(;e>i&&t[a]-r<=r-t[i];)n[0]=++i,n[1]=a,++a}(l,b+1,m)}if(2===y)break;var B=function(t){t.sort(function(t,e){return t-e});var e=t.length/2;return e%1==0?(t[e-1]+t[e])/2:t[Math.floor(e)]}(g);if(1e-12>Math.abs(B))break;for(var G,V,z=0;z=1?1e-12:(V=1-G*G)*V}return function(t,e,n,r){for(var i,a=t.length,o=[],s=0,l=0,u=[];sv&&(v=e))});var m=e(s(f,d,p,h),2),b=m[0],x=m[1],_=function(t){return x*Math.log(t)/y+b},O=o(g,v,_);return O.a=x,O.b=b,O.predict=_,O.rSquared=i(u,n,a,d,_),O}return u.domain=function(e){return arguments.length?(t=e,u):t},u.x=function(t){return arguments.length?(n=t,u):n},u.y=function(t){return arguments.length?(a=t,u):a},u.base=function(t){return arguments.length?(l=t,u):l},u},t.regressionPoly=function(){var t,a=function(t){return t[0]},s=function(t){return t[1]},c=3;function f(f){if(1===c){var d,p,h,g,v,y=l().x(a).y(s).domain(t)(f);return y.coefficients=[y.b,y.a],delete y.a,delete y.b,y}if(2===c){var m=u().x(a).y(s).domain(t)(f);return m.coefficients=[m.c,m.b,m.a],delete m.a,delete m.b,delete m.c,m}var b=e(n(f,a,s),4),x=b[0],_=b[1],O=b[2],P=b[3],M=x.length,A=[],S=[],w=c+1,E=0,C=0,T=t?+t[0]:1/0,I=t?+t[1]:-1/0;for(r(f,a,s,function(e,n){++C,E+=(n-E)/C,!t&&(eI&&(I=e))}),d=0;dMath.abs(t[e][i])&&(i=n);for(r=e;r=e;r--)t[r][n]-=t[r][e]*t[e][n]/t[e][e]}for(n=o-1;n>=0;--n){for(a=0,r=n+1;r=0;--i)for(o=e[i],s=1,l[i]+=o,a=1;a<=i;++a)s*=(i+1-a)/a,l[i-a]+=o*Math.pow(n,a)*s;return l[0]+=r,l}(w,j,-O,P),L.predict=F,L.rSquared=i(f,a,s,E,F),L}return f.domain=function(e){return arguments.length?(t=e,f):t},f.x=function(t){return arguments.length?(a=t,f):a},f.y=function(t){return arguments.length?(s=t,f):s},f.order=function(t){return arguments.length?(c=t,f):c},f},t.regressionPow=function(){var t,n=function(t){return t[0]},a=function(t){return t[1]};function l(l){var u=0,c=0,f=0,d=0,p=0,h=0,g=t?+t[0]:1/0,v=t?+t[1]:-1/0;r(l,n,a,function(e,n){var r=Math.log(e),i=Math.log(n);++u,c+=(r-c)/u,f+=(i-f)/u,d+=(r*i-d)/u,p+=(r*r-p)/u,h+=(n-h)/u,!t&&(ev&&(v=e))});var y=e(s(c,f,d,p),2),m=y[0],b=y[1];m=Math.exp(m);var x=function(t){return m*Math.pow(t,b)},_=o(g,v,x);return _.a=m,_.b=b,_.predict=x,_.rSquared=i(l,n,a,h,x),_}return l.domain=function(e){return arguments.length?(t=e,l):t},l.x=function(t){return arguments.length?(n=t,l):n},l.y=function(t){return arguments.length?(a=t,l):a},l},t.regressionQuad=u,Object.defineProperty(t,"__esModule",{value:!0})},"object"===(0,o.default)(e)&&void 0!==t?a(e):(r=[e],void 0!==(i=a.apply(e,r))&&(t.exports=i))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=void 0,e.transformData=function(t){var e=t.data,n=t.xField,r=t.measureField,i=t.rangeField,a=t.targetField,o=t.layout,s=[],l=[];e.forEach(function(t,e){var o;t[i].sort(function(t,e){return t-e}),t[i].forEach(function(r,a){var o,l=0===a?r:t[i][a]-t[i][a-1];s.push(((o={rKey:i+"_"+a})[n]=n?t[n]:String(e),o[i]=l,o))}),t[r].forEach(function(i,a){var o;s.push(((o={mKey:t[r].length>1?r+"_"+a:""+r})[n]=n?t[n]:String(e),o[r]=i,o))}),s.push(((o={tKey:""+a})[n]=n?t[n]:String(e),o[a]=t[a],o)),l.push(t[i],t[r],t[a])});var u=Math.min.apply(Math,l.flat(1/0)),c=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,"vertical"===o&&s.reverse(),{min:u,max:c,ds:s}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.pick=function(t,e){var n={};return null!==t&&"object"===(0,i.default)(t)&&e.forEach(function(e){var r=t[e];void 0!==r&&(n[e]=r)}),n};var i=r(n(6))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LEVEL=void 0,e.invariant=function(t,e){for(var n=[],r=2;r"},key:(0===l?"top":"bottom")+"-statistic"},(0,a.pick)(e,["offsetX","offsetY","rotate","style","formatter"])))}})},e.renderGaugeStatistic=function(t,e,n){var l=e.statistic;[l.title,l.content].forEach(function(e){if(e){var l=(0,i.isFunction)(e.style)?e.style(n):e.style;t.annotation().html((0,r.__assign)({position:["50%","100%"],html:function(t,a){var u=a.getCoordinate(),c=a.views[0].getCoordinate(),f=c.getCenter(),d=c.getRadius(),p=Math.max(Math.sin(c.startAngle),Math.sin(c.endAngle))*d,h=f.y+p-u.y.start-parseFloat((0,i.get)(l,"fontSize",0)),g=u.getRadius()*u.innerRadius*2;s(t,(0,r.__assign)({width:g+"px",transform:"translate(-50%, "+h+"px)"},o(l)));var v=a.getData();if(e.customHtml)return e.customHtml(t,a,n,v);var y=e.content;return e.formatter&&(y=e.formatter(n,v)),y?(0,i.isString)(y)?y:""+y:"
    "}},(0,a.pick)(e,["offsetX","offsetY","rotate","style","formatter"])))}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GLOBAL=void 0,e.setGlobal=function(t){(0,r.each)(t,function(t,e){return i[e]=t})};var r=n(0),i={locale:"en-US"};e.GLOBAL=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Line=void 0;var r=n(1),i=n(19),a=n(303),o=n(1192);n(1193);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart,n=this.options;(0,a.meta)({chart:e,options:n}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Line=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCanvasPattern=function(t){var e,n=t.type,o=t.cfg;switch(n){case"dot":e=(0,r.createDotPattern)(o);break;case"line":e=(0,i.createLinePattern)(o);break;case"square":e=(0,a.createSquarePattern)(o)}return e};var r=n(1183),i=n(1184),a=n(1185)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.point=function(t){var e=t.options,n=e.point,s=e.xField,l=e.yField,u=e.seriesField,c=e.sizeField,f=e.shapeField,d=e.tooltip,p=(0,i.getTooltipMapping)(d,[s,l,u,c,f]),h=p.fields,g=p.formatter;return n?(0,o.geometry)((0,a.deepAssign)({},t,{options:{type:"point",colorField:u,shapeField:f,tooltipFields:h,mapping:(0,r.__assign)({tooltip:g},n)}})):t};var r=n(1),i=n(65),a=n(7),o=n(49)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.polygon=function(t){var e=t.options,n=e.polygon,s=e.xField,l=e.yField,u=e.seriesField,c=e.tooltip,f=(0,i.getTooltipMapping)(c,[s,l,u]),d=f.fields,p=f.formatter;return n?(0,o.geometry)((0,a.deepAssign)({},t,{options:{type:"polygon",colorField:u,tooltipFields:d,mapping:(0,r.__assign)({tooltip:p},n)}})):t};var r=n(1),i=n(65),a=n(7),o=n(49)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Area=void 0;var r=n(1),i=n(19),a=n(123),o=n(549),s=n(1195),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.isPercent,r=e.xField,i=e.yField,s=this.chart,l=this.options;(0,o.meta)({chart:s,options:l}),this.chart.changeData((0,a.getDataWhetherPecentage)(t,i,r,i,n))},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Area=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(a.theme,(0,a.pattern)("areaStyle"),c,u.meta,d,u.axis,u.legend,a.tooltip,f,a.slider,(0,a.annotation)(),a.interaction,a.animation,a.limitInPlot)(t)},Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return u.meta}});var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(123),u=n(303);function c(t){var e=t.chart,n=t.options,i=n.data,a=n.areaStyle,u=n.color,c=n.point,f=n.line,d=n.isPercent,p=n.xField,h=n.yField,g=n.tooltip,v=n.seriesField,y=n.startOnZero,m=null==c?void 0:c.state,b=(0,l.getDataWhetherPecentage)(i,h,p,h,d);e.data(b);var x=d?(0,r.__assign)({formatter:function(t){return{name:t[v]||t[p],value:(100*Number(t[h])).toFixed(2)+"%"}}},g):g,_=(0,o.deepAssign)({},t,{options:{area:{color:u,style:a},line:f&&(0,r.__assign)({color:u},f),point:c&&(0,r.__assign)({color:u},c),tooltip:x,label:void 0,args:{startOnZero:y}}}),O=(0,o.deepAssign)({options:{line:{size:2}}},_,{options:{sizeField:v,tooltip:!1}}),P=(0,o.deepAssign)({},_,{options:{tooltip:!1,state:m}});return(0,s.area)(_),(0,s.line)(O),(0,s.point)(P),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=(0,o.findGeometry)(e,"area");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,r.__assign)({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},(0,o.transformLabel)(u))})}else s.label(!1);return t}function d(t){var e=t.chart,n=t.options,r=n.isStack,a=n.isPercent,o=n.seriesField;return(a||r)&&o&&(0,i.each)(e.geometries,function(t){t.adjust("stack")}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Column=void 0;var r=n(1),i=n(19),a=n(123),o=n(198),s=n(1200),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.yField,r=e.xField,i=e.isPercent,s=this.chart,l=this.options;(0,o.meta)({chart:s,options:l}),this.chart.changeData((0,a.getDataWhetherPecentage)(t,n,r,n,i))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Column=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conversionTagFormatter=function(t,e){return(0,r.isNumber)(t)&&(0,r.isNumber)(e)?t===e?"100%":0===t?"∞":0===e?"-∞":(100*e/t).toFixed(2)+"%":"-"};var r=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.brushInteraction=function(t){var e=t.options,n=e.brush,s=(0,r.filter)(e.interactions||[],function(t){return -1===o.indexOf(t.type)});return(null==n?void 0:n.enabled)&&(o.forEach(function(t){var e,r=!1;switch(n.type){case"x-rect":r=t===("highlight"===n.action?"brush-x-highlight":"brush-x");break;case"y-rect":r=t===("highlight"===n.action?"brush-y-highlight":"brush-y");break;default:r=t===("highlight"===n.action?"brush-highlight":"brush")}var a={type:t,enable:r};((null===(e=n.mask)||void 0===e?void 0:e.style)||n.type)&&(a.cfg=(0,i.getInteractionCfg)(t,n.type,n.mask)),s.push(a)}),(null==n?void 0:n.action)!=="highlight"&&s.push({type:"filter-action",cfg:{buttonConfig:n.button}})),(0,a.deepAssign)({},t,{options:{interactions:s}})};var r=n(0),i=n(1198),a=n(7),o=["brush","brush-x","brush-y","brush-highlight","brush-x-highlight","brush-y-highlight"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Bar=void 0;var r=n(1),i=n(19),a=n(123),o=n(554),s=n(1201),l=n(555),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bar",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart,n=this.options,i=n.xField,s=n.yField,u=n.isPercent,c=(0,r.__assign)((0,r.__assign)({},n),{xField:s,yField:i});(0,o.meta)({chart:e,options:c}),e.changeData((0,a.getDataWhetherPecentage)((0,l.transformBarData)(t),i,s,i,u))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Bar=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){var e=t.chart,n=t.options,o=n.xField,s=n.yField,l=n.xAxis,u=n.yAxis,c=n.barStyle,f=n.barWidthRatio,d=n.label,p=n.data,h=n.seriesField,g=n.isStack,v=n.minBarWidth,y=n.maxBarWidth;!d||d.position||(d.position="left",d.layout||(d.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]));var m=n.legend;h?!1!==m&&(m=(0,r.__assign)({position:g?"top-left":"right-top",reversed:!g},m||{})):m=!1,t.options.legend=m;var b=n.tooltip;return h&&!1!==b&&(b=(0,r.__assign)({reversed:!g},b||{})),t.options.tooltip=b,e.coordinate().transpose(),(0,i.adaptor)({chart:e,options:(0,r.__assign)((0,r.__assign)({},n),{label:d,xField:s,yField:o,xAxis:u,yAxis:l,columnStyle:c,columnWidthRatio:f,minColumnWidth:v,maxColumnWidth:y,columnBackground:n.barBackground,data:(0,a.transformBarData)(p)})},!0)},Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return i.meta}});var r=n(1),i=n(198),a=n(555)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformBarData=function(t){return t?t.slice().reverse():t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Pie=void 0;var r=n(1),i=n(14),a=n(19),o=n(7),s=n(557),l=n(558),u=n(559);n(560);var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null));var e=this.options,n=this.options.angleField,r=(0,o.processIllegalData)(e.data,n),a=(0,o.processIllegalData)(t,n);(0,u.isAllZero)(r,n)||(0,u.isAllZero)(a,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(a),(0,s.pieAnnotation)({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(a.Plot);e.Pie=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,c.flow)((0,l.pattern)("pieStyle"),h,g,a.theme,v,a.legend,x,y,a.state,b,_,a.animation)(t)},e.interaction=_,e.pieAnnotation=b,e.transformStatisticOptions=m;var r=n(1),i=n(0),a=n(22),o=n(49),s=n(30),l=n(122),u=n(196),c=n(7),f=n(558),d=n(559),p=n(560);function h(t){var e=t.chart,n=t.options,i=n.data,a=n.angleField,o=n.colorField,l=n.color,u=n.pieStyle,f=(0,c.processIllegalData)(i,a);if((0,d.isAllZero)(f,a)){var p="$$percentage$$";f=f.map(function(t){var e;return(0,r.__assign)((0,r.__assign)({},t),((e={})[p]=1/f.length,e))}),e.data(f);var h=(0,c.deepAssign)({},t,{options:{xField:"1",yField:p,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});(0,s.interval)(h)}else{e.data(f);var h=(0,c.deepAssign)({},t,{options:{xField:"1",yField:a,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});(0,s.interval)(h)}return t}function g(t){var e,n=t.chart,r=t.options,i=r.meta,a=r.colorField,o=(0,c.deepAssign)({},i);return n.scale(o,((e={})[a]={type:"cat"},e)),t}function v(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"theta",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function y(t){var e=t.chart,n=t.options,a=n.label,o=n.colorField,s=n.angleField,l=e.geometries[0];if(a){var u=a.callback,f=(0,r.__rest)(a,["callback"]),p=(0,c.transformLabel)(f);if(p.content){var h=p.content;p.content=function(t,n,a){var l=t[o],u=t[s],f=e.getScaleByField(s),d=null==f?void 0:f.scale(u);return(0,i.isFunction)(h)?h((0,r.__assign)((0,r.__assign)({},t),{percent:d}),n,a):(0,i.isString)(h)?(0,c.template)(h,{value:u,name:l,percentage:(0,i.isNumber)(d)&&!(0,i.isNil)(u)?(100*d).toFixed(2)+"%":null}):h}}var g=p.type?({inner:"",outer:"pie-outer",spider:"pie-spider"})[p.type]:"pie-outer",v=p.layout?(0,i.isArray)(p.layout)?p.layout:[p.layout]:[];p.layout=(g?[{type:g}]:[]).concat(v),l.label({fields:o?[s,o]:[s],callback:u,cfg:(0,r.__assign)((0,r.__assign)({},p),{offset:(0,d.adaptOffset)(p.type,p.offset),type:"pie"})})}else l.label(!1);return t}function m(t){var e=t.innerRadius,n=t.statistic,r=t.angleField,a=t.colorField,o=t.meta,s=t.locale,l=(0,u.getLocale)(s);if(e&&n){var p=(0,c.deepAssign)({},f.DEFAULT_OPTIONS.statistic,n),h=p.title,g=p.content;return!1!==h&&(h=(0,c.deepAssign)({},{formatter:function(t){return t?t[a]:(0,i.isNil)(h.content)?l.get(["statistic","total"]):h.content}},h)),!1!==g&&(g=(0,c.deepAssign)({},{formatter:function(t,e){var n=t?t[r]:(0,d.getTotalValue)(e,r),a=(0,i.get)(o,[r,"formatter"])||function(t){return t};return t?a(n):(0,i.isNil)(g.content)?a(n):g.content}},g)),(0,c.deepAssign)({},{statistic:{title:h,content:g}},t)}return t}function b(t){var e=t.chart,n=m(t.options),r=n.innerRadius,i=n.statistic;return e.getController("annotation").clear(!0),(0,c.flow)((0,a.annotation)())(t),r&&i&&(0,c.renderStatistic)(e,{statistic:i,plotType:"pie"}),t}function x(t){var e=t.chart,n=t.options,r=n.tooltip,a=n.colorField,s=n.angleField,l=n.data;if(!1===r)e.tooltip(r);else if(e.tooltip((0,c.deepAssign)({},r,{shared:!1})),(0,d.isAllZero)(l,s)){var u=(0,i.get)(r,"fields"),f=(0,i.get)(r,"formatter");(0,i.isEmpty)((0,i.get)(r,"fields"))&&(u=[a,s],f=f||function(t){return{name:t[a],value:(0,i.toString)(t[s])}}),e.geometries[0].tooltip(u.join("*"),(0,o.getMappingFunction)(u,f))}return t}function _(t){var e=t.chart,n=m(t.options),a=n.interactions,o=n.statistic,s=n.annotations;return(0,i.each)(a,function(t){var n,a;if(!1===t.enable)e.removeInteraction(t.type);else if("pie-statistic-active"===t.type){var l=[];(null===(n=t.cfg)||void 0===n?void 0:n.start)||(l=[{trigger:"element:mouseenter",action:p.PIE_STATISTIC+":change",arg:{statistic:o,annotations:s}}]),(0,i.each)(null===(a=t.cfg)||void 0===a?void 0:a.start,function(t){l.push((0,r.__assign)((0,r.__assign)({},t),{arg:{statistic:o,annotations:s}}))}),e.interaction(t.type,(0,c.deepAssign)({},t.cfg,{start:l}))}else e.interaction(t.type,t.cfg||{})}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{legend:{position:"right"},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptOffset=function(t,e){var n;switch(t){case"inner":if(n="-30%",(0,r.isString)(e)&&e.endsWith("%"))return .01*parseFloat(e)>0?n:e;return e<0?e:n;case"outer":if(n=12,(0,r.isString)(e)&&e.endsWith("%"))return .01*parseFloat(e)<0?n:e;return e>0?e:n;default:return e}},e.getTotalValue=function(t,e){var n=null;return(0,r.each)(t,function(t){"number"==typeof t[e]&&(n+=t[e])}),n},e.isAllZero=function(t,e){return(0,r.every)((0,i.processIllegalData)(t,e),function(t){return 0===t[e]})};var r=n(0),i=n(7)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PIE_STATISTIC=void 0;var r=n(14),i=n(1202),a=n(1203),o="pie-statistic";e.PIE_STATISTIC=o,(0,r.registerAction)(o,a.StatisticAction),(0,r.registerInteraction)("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),(0,r.registerAction)("pie-legend",i.PieLegendAction),(0,r.registerInteraction)("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transform=function(t,e){var n=e?(0,r.__spreadArrays)(e):(0,r.__spreadArrays)(a);return i.Util.transform(n,t)};var r=n(1),i=n(14),a=[1,0,0,0,1,0,0,0,1]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getFontSizeMapping=u,e.getSingleKeyValues=c,e.getSize=l,e.processImageMask=function(t){return new Promise(function(e,n){if(t instanceof HTMLImageElement){e(t);return}if((0,i.isString)(t)){var r=new Image;r.crossOrigin="anonymous",r.src=t,r.onload=function(){e(r)},r.onerror=function(){(0,o.log)(o.LEVEL.ERROR,!1,"image %s load failed !!!",t),n()};return}(0,o.log)(o.LEVEL.WARN,void 0===t,"The type of imageMask option must be String or HTMLImageElement."),n()})},e.transform=function(t){var e=t.options,n=t.chart,a=n.width,f=n.height,d=n.padding,p=n.appendPadding,h=n.ele,g=e.data,v=e.imageMask,y=e.wordField,m=e.weightField,b=e.colorField,x=e.wordStyle,_=e.timeInterval,O=e.random,P=e.spiral,M=e.autoFit,A=e.placementStrategy;if(!g||!g.length)return[];var S=x.fontFamily,w=x.fontWeight,E=x.padding,C=x.fontSize,T=c(g,m),I=[Math.min.apply(Math,T),Math.max.apply(Math,T)],j=g.map(function(t){return{text:t[y],value:t[m],color:t[b],datum:t}}),F={imageMask:v,font:S,fontSize:u(C,I),fontWeight:w,size:l({width:a,height:f,padding:d,appendPadding:p,autoFit:void 0===M||M,container:h}),padding:E,timeInterval:_,random:O,spiral:P,rotate:function(t){var e,n=((e=t.wordStyle.rotationSteps)<1&&((0,o.log)(o.LEVEL.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}),r=n.rotation,a=n.rotationSteps;if(!(0,i.isArray)(r))return r;var s=r[0],l=r[1],u=1===a?0:(l-s)/(a-1);return function(){return l===s?l:Math.floor(Math.random()*a)*u}}(e)};if((0,i.isFunction)(A)){var L=j.map(function(t,e,i){return(0,r.__assign)((0,r.__assign)((0,r.__assign)({},t),{hasText:!!t.text,font:(0,s.functor)(F.font)(t,e,i),weight:(0,s.functor)(F.fontWeight)(t,e,i),rotate:(0,s.functor)(F.rotate)(t,e,i),size:(0,s.functor)(F.fontSize)(t,e,i),style:"normal"}),A.call(n,t,e,i))});return L.push({text:"",value:0,x:0,y:0,opacity:0}),L.push({text:"",value:0,x:F.size[0],y:F.size[1],opacity:0}),L}return(0,s.wordCloud)(j,F)};var r=n(1),i=n(0),a=n(121),o=n(7),s=n(1210);function l(t){var e,n,r,i=t.width,s=t.height,l=t.container,u=t.autoFit,c=t.padding,f=t.appendPadding;if(u){var d=(0,o.getContainerSize)(l);i=d.width,s=d.height}i=i||400,s=s||400;var p=(e={padding:c,appendPadding:f},n=(0,a.normalPadding)(e.padding),r=(0,a.normalPadding)(e.appendPadding),[n[0]+r[0],n[1]+r[1],n[2]+r[2],n[3]+r[3]]),h=p[0],g=p[1],v=p[2];return[i-(p[3]+g),s-(h+v)]}function u(t,e){if((0,i.isFunction)(t))return t;if((0,i.isArray)(t)){var n=t[0],r=t[1];if(!e)return function(){return(r+n)/2};var a=e[0],o=e[1];return o===a?function(){return(r+n)/2}:function(t){return(r-n)/(o-a)*(t.value-a)+n}}return function(){return t}}function c(t,e){return t.map(function(t){return t[e]}).filter(function(t){return!("number"!=typeof t||isNaN(t))})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WORD_CLOUD_COLOR_FIELD=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7),a="color";e.WORD_CLOUD_COLOR_FIELD=a;var o=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value",a],formatter:function(t){return{name:t.text,value:t.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}});e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scatter=void 0;var r=n(1),i=n(14),a=n(19),o=n(7),s=n(565),l=n(1213);n(1214);var u=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type="scatter",a.on(i.VIEW_LIFE_CIRCLE.BEFORE_RENDER,function(t){var e,n,o=a.options,l=a.chart;if((null===(e=t.data)||void 0===e?void 0:e.source)===i.BRUSH_FILTER_EVENTS.FILTER){var u=a.chart.filterData(a.chart.getData());(0,s.meta)({chart:l,options:(0,r.__assign)((0,r.__assign)({},o),{data:u})})}(null===(n=t.data)||void 0===n?void 0:n.source)===i.BRUSH_FILTER_EVENTS.RESET&&(0,s.meta)({chart:l,options:o})}),a}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption((0,s.transformOptions)((0,o.deepAssign)({},this.options,{data:t})));var e=this.options,n=this.chart;(0,s.meta)({chart:n,options:e}),this.chart.changeData(t)},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(a.Plot);e.Scatter=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,a.flow)(f,d,p,h,m,g,s.brushInteraction,l.interaction,v,l.animation,l.theme,y)(t)},e.meta=d,e.tooltip=m,e.transformOptions=c;var r=n(1),i=n(0),a=n(7),o=n(30),s=n(552),l=n(22),u=n(1212);function c(t){var e=t.data,n=void 0===e?[]:e,r=t.xField,i=t.yField;if(n.length){for(var o=!0,s=!0,l=n[0],c=void 0,f=1;f1?c/(a-1):u.max),n||a||(f=c/(Math.ceil(Math.log(l.length)/Math.LN2)+1));var d={},p=(0,r.groupBy)(s,o);(0,r.isEmpty)(p)?(0,r.each)(s,function(t){var n=i(t[e],f,a),o=n[0]+"-"+n[1];(0,r.hasKey)(d,o)||(d[o]={range:n,count:0}),d[o].count+=1}):Object.keys(p).forEach(function(t){(0,r.each)(p[t],function(n){var s=i(n[e],f,a),l=s[0]+"-"+s[1]+"-"+t;(0,r.hasKey)(d,l)||(d[l]={range:s,count:0},d[l][o]=t),d[l].count+=1})});var h=[];return(0,r.each)(d,function(t){h.push(t)}),h};var r=n(0);function i(t,e,n){if(1===n)return[0,e];var r=Math.floor(t/e);return[e*r,e*(r+1)]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(i.theme,(0,a.pattern)("columnStyle"),c,f,d,i.state,p,i.tooltip,i.interaction,i.animation)(t)};var r=n(1),i=n(22),a=n(122),o=n(7),s=n(30),l=n(575),u=n(577);function c(t){var e=t.chart,n=t.options,r=n.data,i=n.binField,a=n.binNumber,c=n.binWidth,f=n.color,d=n.stackField,p=n.legend,h=n.columnStyle,g=(0,l.binHistogram)(r,i,c,a,d);e.data(g);var v=(0,o.deepAssign)({},t,{options:{xField:u.HISTOGRAM_X_FIELD,yField:u.HISTOGRAM_Y_FIELD,seriesField:d,isStack:!0,interval:{color:f,style:h}}});return(0,s.interval)(v),p&&d&&e.legend(d,p),t}function f(t){var e,n=t.options,r=n.xAxis,a=n.yAxis;return(0,o.flow)((0,i.scale)(((e={})[u.HISTOGRAM_X_FIELD]=r,e[u.HISTOGRAM_Y_FIELD]=a,e)))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis;return!1===r?e.axis(u.HISTOGRAM_X_FIELD,!1):e.axis(u.HISTOGRAM_X_FIELD,r),!1===i?e.axis(u.HISTOGRAM_Y_FIELD,!1):e.axis(u.HISTOGRAM_Y_FIELD,i),t}function p(t){var e=t.chart,n=t.options.label,i=(0,o.findGeometry)(e,"interval");if(n){var a=n.callback,s=(0,r.__rest)(n,["callback"]);i.label({fields:[u.HISTOGRAM_Y_FIELD],callback:a,cfg:(0,o.transformLabel)(s)})}else i.label(!1);return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HISTOGRAM_Y_FIELD=e.HISTOGRAM_X_FIELD=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7);e.HISTOGRAM_X_FIELD="range",e.HISTOGRAM_Y_FIELD="count";var a=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Progress=void 0;var r=n(1),i=n(19),a=n(306),o=n(579),s=n(307),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="process",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData((0,s.getProgressData)(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Progress=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=e.DEFAULT_COLOR=void 0;var r=["#FAAD14","#E8EDF3"];e.DEFAULT_COLOR=r,e.DEFAULT_OPTIONS={percent:.2,color:r,animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RingProgress=void 0;var r=n(1),i=n(14),a=n(19),o=n(307),s=n(581),l=n(1226),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ring-process",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data((0,o.getProgressData)(t)),(0,s.statistic)({chart:this.chart,options:this.options},!0),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(a.Plot);e.RingProgress=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,a.flow)(s.geometry,(0,o.scale)({}),l,u,o.animation,o.theme,(0,o.annotation)())(t)},e.statistic=u;var r=n(1),i=n(0),a=n(7),o=n(22),s=n(306);function l(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.radius;return e.coordinate("theta",{innerRadius:r,radius:i}),t}function u(t,e){var n=t.chart,o=t.options,s=o.innerRadius,l=o.statistic,u=o.percent,c=o.meta;if(n.getController("annotation").clear(!0),s&&l){var f=(0,i.get)(c,["percent","formatter"])||function(t){return(100*t).toFixed(2)+"%"},d=l.content;d&&(d=(0,a.deepAssign)({},d,{content:(0,i.isNil)(d.content)?f(u):d.content})),(0,a.renderStatistic)(n,{statistic:(0,r.__assign)((0,r.__assign)({},l),{content:d}),plotType:"ring-progress"},{percent:u})}return e&&n.render(!0),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=void 0;var r=n(0),i=n(308);e.transformData=function(t,e){var n=t;if(Array.isArray(e)){var a=e[0],o=e[1],s=e[2],l=e[3],u=e[4];n=(0,r.map)(t,function(t){return t[i.BOX_RANGE]=[t[a],t[o],t[s],t[l],t[u]],t})}return n}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.transformViolinData=e.toViolinValue=e.toBoxValue=void 0;var i=n(1),a=n(0),o=r(n(1236)),s=n(1238),l=function(t){return{low:(0,a.min)(t),high:(0,a.max)(t),q1:(0,s.quantile)(t,.25),q3:(0,s.quantile)(t,.75),median:(0,s.quantile)(t,[.5]),minMax:[(0,a.min)(t),(0,a.max)(t)],quantile:[(0,s.quantile)(t,.25),(0,s.quantile)(t,.75)]}};e.toBoxValue=l;var u=function(t,e){var n=o.default.create(t,e);return{violinSize:n.map(function(t){return t.y}),violinY:n.map(function(t){return t.x})}};e.toViolinValue=u,e.transformViolinData=function(t){var e=t.xField,n=t.yField,r=t.seriesField,o=t.data,s=t.kde,c={min:s.min,max:s.max,size:s.sampleSize,width:s.width};if(!r){var f=(0,a.groupBy)(o,e);return Object.keys(f).map(function(t){var e=f[t].map(function(t){return t[n]});return(0,i.__assign)((0,i.__assign)({x:t},u(e,c)),l(e))})}var d=[],p=(0,a.groupBy)(o,r);return Object.keys(p).forEach(function(t){var o=(0,a.groupBy)(p[t],e);return Object.keys(o).forEach(function(e){var a,s=o[e].map(function(t){return t[n]});d.push((0,i.__assign)((0,i.__assign)(((a={x:e})[r]=t,a),u(s,c)),l(s)))})}),d}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.X_FIELD=e.VIOLIN_Y_FIELD=e.VIOLIN_VIEW_ID=e.VIOLIN_SIZE_FIELD=e.QUANTILE_VIEW_ID=e.QUANTILE_FIELD=e.MIN_MAX_VIEW_ID=e.MIN_MAX_FIELD=e.MEDIAN_VIEW_ID=e.MEDIAN_FIELD=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7);e.X_FIELD="x",e.VIOLIN_Y_FIELD="violinY",e.VIOLIN_SIZE_FIELD="violinSize",e.MIN_MAX_FIELD="minMax",e.QUANTILE_FIELD="quantile",e.MEDIAN_FIELD="median",e.VIOLIN_VIEW_ID="violin_view",e.MIN_MAX_VIEW_ID="min_max_view",e.QUANTILE_VIEW_ID="quantile_view",e.MEDIAN_VIEW_ID="median_view";var a=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{syncViewPadding:!0,kde:{type:"triangular",sampleSize:32,width:3},violinStyle:{lineWidth:1,fillOpacity:.3,strokeOpacity:.75},xAxis:{grid:{line:null},tickLine:{alignTick:!1}},yAxis:{grid:{line:{style:{lineWidth:.5,lineDash:[4,4]}}}},legend:{position:"top-left"},tooltip:{showMarkers:!1}});e.DEFAULT_OPTIONS=a},function(t,e,n){"use strict";var r,i,a,o=n(2)(n(6));a=function(t){function e(t){for(var e=Array(t),n=0;nu+s*o*c||f>=g)h=o;else{if(Math.abs(p)<=-l*c)return o;p*(h-d)>=0&&(h=d),d=o,g=f}return 0}o=o||1,s=s||1e-6,l=l||.1;for(var v=0;v<10;++v){if(a(i.x,1,r.x,o,e),f=i.fx=t(i.x,i.fxprime),p=n(i.fxprime,e),f>u+s*o*c||v&&f>=d)return g(h,o,d);if(Math.abs(p)<=-l*c)break;if(p>=0)return g(o,h,f);d=f,h=o,o*=2}return o}t.bisect=function(t,e,n,r){var i=(r=r||{}).maxIterations||100,a=r.tolerance||1e-10,o=t(e),s=t(n),l=n-e;if(o*s>0)throw"Initial bisect points must have opposite signs";if(0===o)return e;if(0===s)return n;for(var u=0;u=0&&(e=c),Math.abs(l)=g[h-1].fx){var E=!1;if(_.fx>w.fx?(a(O,1+d,x,-d,w),O.fx=t(O),O.fx=1)break;for(v=1;v=r(f.fxprime))break}return s.history&&s.history.push({x:f.x.slice(),fx:f.fx,fxprime:f.fxprime.slice(),alpha:h}),f},t.gradientDescent=function(t,e,n){for(var i=(n=n||{}).maxIterations||100*e.length,o=n.learnRate||.001,s={x:e.slice(),fx:0,fxprime:e.slice()},l=0;l=r(s.fxprime)));++l);return s},t.gradientDescentLineSearch=function(t,e,n){n=n||{};var a,s={x:e.slice(),fx:0,fxprime:e.slice()},l={x:e.slice(),fx:0,fxprime:e.slice()},u=n.maxIterations||100*e.length,c=n.learnRate||1,f=e.slice(),d=n.c1||.001,p=n.c2||.1,h=[];if(n.history){var g=t;t=function(t,e){return h.push(t.slice()),g(t,e)}}s.fx=t(s.x,s.fxprime);for(var v=0;vr(s.fxprime)));++v);return s},t.zeros=e,t.zerosM=function(t,n){return e(t).map(function(){return e(n)})},t.norm2=r,t.weightedSum=a,t.scale=i},"object"===(0,o.default)(e)&&void 0!==t?a(e):(r=[e],void 0!==(i=a.apply(e,r))&&(t.exports=i))},function(t,e,n){"use strict";function r(t,e){for(var n=0;ne[n].radius+1e-10)return!1;return!0}function i(t,e){return t*t*Math.acos(1-e/t)-(t-e)*Math.sqrt(e*(2*t-e))}function a(t,e){return Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y))}function o(t,e){var n=a(t,e),r=t.radius,i=e.radius;if(n>=r+i||n<=Math.abs(r-i))return[];var o=(r*r-i*i+n*n)/(2*n),s=Math.sqrt(r*r-o*o),l=t.x+o*(e.x-t.x)/n,u=t.y+o*(e.y-t.y)/n,c=-(e.y-t.y)*(s/n),f=-(e.x-t.x)*(s/n);return[{x:l+c,y:u-f},{x:l-c,y:u+f}]}function s(t){for(var e={x:0,y:0},n=0;n=t+e)return 0;if(n<=Math.abs(t-e))return Math.PI*Math.min(t,e)*Math.min(t,e);var r=t-(n*n-e*e+t*t)/(2*n),a=e-(n*n-t*t+e*e)/(2*n);return i(t,r)+i(e,a)},e.containedInCircles=r,e.distance=a,e.getCenter=s,e.intersectionArea=function(t,e){var n,l=function(t){for(var e=[],n=0;n1){var p=s(u);for(n=0;n-1){var x=t[v.parentIndex[b]],_=Math.atan2(v.x-x.x,v.y-x.y),O=Math.atan2(g.x-x.x,g.y-x.y),P=O-_;P<0&&(P+=2*Math.PI);var M=O-P/2,A=a(y,{x:x.x+x.radius*Math.sin(M),y:x.y+x.radius*Math.cos(M)});A>2*x.radius&&(A=2*x.radius),(null===m||m.width>A)&&(m={circle:x,width:A,p1:v,p2:g})}null!==m&&(d.push(m),c+=i(m.circle.radius,m.width),g=v)}}else{var S=t[0];for(n=1;nMath.abs(S.radius-t[n].radius)){w=!0;break}w?c=f=0:(c=S.radius*S.radius*Math.PI,d.push({circle:S,p1:{x:S.x,y:S.y+S.radius},p2:{x:S.x-1e-10,y:S.y+S.radius},width:2*S.radius}))}return f/=2,e&&(e.area=c+f,e.arcArea=c,e.polygonArea=f,e.arcs=d,e.innerPoints=u,e.intersectionPoints=l),c+f}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStockData=function(t,e){return(0,r.map)(t,function(t){if((0,r.isArray)(e)){var n=e[0],a=e[1],o=e[2],s=e[3];t[i.TREND_FIELD]=t[n]<=t[a]?i.TREND_UP:i.TREND_DOWN,t[i.Y_FIELD]=[t[n],t[a],t[o],t[s]]}return t})};var r=n(0),i=n(310)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FUNNEL_CONVERSATION_FIELD",{enumerable:!0,get:function(){return l.FUNNEL_CONVERSATION}}),e.Funnel=void 0;var r=n(1),i=n(0),a=n(19),o=n(7),s=n(589),l=n(125),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="funnel",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.setState=function(t,e,n){void 0===n&&(n=!0);var r=(0,o.getAllElementsRecursively)(this.chart);(0,i.each)(r,function(r){e(r.getData())&&r.setState(t,n)})},e.prototype.getStates=function(){var t=(0,o.getAllElementsRecursively)(this.chart),e=[];return(0,i.each)(t,function(t){var n=t.getData(),r=t.getStates();(0,i.each)(r,function(r){e.push({data:n,state:r,geometry:t.geometry,element:t})})}),e},e.CONVERSATION_FIELD=l.FUNNEL_CONVERSATION,e.PERCENT_FIELD=l.FUNNEL_PERCENT,e.TOTAL_PERCENT_FIELD=l.FUNNEL_TOTAL_PERCENT,e}(a.Plot);e.Funnel=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(p,h,g,v,i.tooltip,i.interaction,y,i.animation,i.theme,(0,i.annotation)())(t)},e.meta=g;var r=n(0),i=n(22),a=n(196),o=n(7),s=n(551),l=n(590),u=n(1253),c=n(1254),f=n(1255),d=n(125);function p(t){var e,n=t.options,i=n.compareField,l=n.xField,u=n.yField,c=n.locale,f=n.funnelStyle,p=n.data,h=(0,a.getLocale)(c),g={label:i?{fields:[l,u,i,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],formatter:function(t){return""+t[u]}}:{fields:[l,u,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],offset:0,position:"middle",formatter:function(t){return t[l]+" "+t[u]}},tooltip:{title:l,formatter:function(t){return{name:t[l],value:t[u]}}},conversionTag:{formatter:function(t){return h.get(["conversionTag","label"])+": "+s.conversionTagFormatter.apply(void 0,t[d.FUNNEL_CONVERSATION])}}};return(i||f)&&(e=function(t){return(0,o.deepAssign)({},i&&{lineWidth:1,stroke:"#fff"},(0,r.isFunction)(f)?f(t):f)}),(0,o.deepAssign)({options:g},t,{options:{funnelStyle:e,data:(0,r.clone)(p)}})}function h(t){var e=t.options,n=e.compareField,r=e.dynamicHeight;return e.seriesField?(0,c.facetFunnel)(t):n?(0,u.compareFunnel)(t):r?(0,f.dynamicHeightFunnel)(t):(0,l.basicFunnel)(t)}function g(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return(0,o.flow)((0,i.scale)(((e={})[s]=r,e[l]=a,e)))(t)}function v(t){return t.chart.axis(!1),t}function y(t){var e=t.chart,n=t.options.legend;return!1===n?e.legend(!1):e.legend(n),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.basicFunnel=function(t){return(0,a.flow)(c,f,d,p)(t)};var r=n(1),i=n(0),a=n(7),o=n(65),s=n(49),l=n(125),u=n(311);function c(t){var e=t.chart,n=t.options,r=n.data,i=void 0===r?[]:r,a=n.yField,o=n.maxSize,s=n.minSize,l=(0,u.transformData)(i,i,{yField:a,maxSize:o,minSize:s});return e.data(l),t}function f(t){var e=t.chart,n=t.options,r=n.xField,u=n.yField,c=n.color,f=n.tooltip,d=n.label,p=n.shape,h=n.funnelStyle,g=n.state,v=(0,o.getTooltipMapping)(f,[r,u]),y=v.fields,m=v.formatter;return(0,s.geometry)({chart:e,options:{type:"interval",xField:r,yField:l.FUNNEL_MAPPING_VALUE,colorField:r,tooltipFields:(0,i.isArray)(y)&&y.concat([l.FUNNEL_PERCENT,l.FUNNEL_CONVERSATION]),mapping:{shape:void 0===p?"funnel":p,tooltip:m,color:c,style:h},label:d,state:g}}),(0,a.findGeometry)(t.chart,"interval").adjust("symmetric"),t}function d(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[]:[["transpose"],["scale",1,-1]]}),t}function p(t){var e=t.options.maxSize;return(0,u.conversionTagComponent)(function(t,n,i,a){var o=e-(e-t[l.FUNNEL_MAPPING_VALUE])/2;return(0,r.__assign)((0,r.__assign)({},a),{start:[n-.5,o],end:[n-.5,o+.05]})})(t),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLiquidData=function(t){return[{percent:t,type:"liquid"}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=function(t){var e=t.data,n=t.xField,r=t.measureField,i=t.rangeField,a=t.targetField,o=t.layout,s=[],l=[];e.forEach(function(t,e){var o;t[i].sort(function(t,e){return t-e}),t[i].forEach(function(r,a){var o,l=0===a?r:t[i][a]-t[i][a-1];s.push(((o={rKey:i+"_"+a})[n]=n?t[n]:String(e),o[i]=l,o))}),t[r].forEach(function(i,a){var o;s.push(((o={mKey:t[r].length>1?r+"_"+a:""+r})[n]=n?t[n]:String(e),o[r]=i,o))}),s.push(((o={tKey:""+a})[n]=n?t[n]:String(e),o[a]=t[a],o)),l.push(t[i],t[r],t[a])});var u=Math.min.apply(Math,l.flat(1/0)),c=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,"vertical"===o&&s.reverse(),{min:u,max:c,ds:s}}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.getTileMethod=u,e.treemap=function(t,e){var n,r=(e=(0,a.assign)({},l,e)).as;if(!(0,a.isArray)(r)||2!==r.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=(0,o.getField)(e)}catch(t){console.warn(t)}var s=u(e.tile,e.ratio),c=i.treemap().tile(s).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(i.hierarchy(t).sum(function(t){return e.ignoreParentValue&&t.children?0:t[n]}).sort(e.sort)),f=r[0],d=r[1];return c.each(function(t){t[f]=[t.x0,t.x1,t.x1,t.x0],t[d]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(e){-1===r.indexOf(e)&&delete t[e]})}),(0,o.getAllNodes)(c)};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(193)),a=n(0),o=n(157);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(t,e){return e.value-t.value},ratio:.5*(1+Math.sqrt(5))};function u(t,e){return"treemapSquarify"===t?i[t].ratio(e):i[t]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Gauge=void 0;var r=n(1),i=n(14),a=n(19),o=n(595),s=n(314),l=n(596);n(1268),n(1269);var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="gauge",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t});var e=this.chart.views.find(function(t){return t.id===s.INDICATEOR_VIEW_ID});e&&e.data((0,l.getIndicatorData)(t));var n=this.chart.views.find(function(t){return t.id===s.RANGE_VIEW_ID});n&&n.data((0,l.getRangeData)(t,this.options.range)),(0,o.statistic)({chart:this.chart,options:this.options},!0),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(a.Plot);e.Gauge=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,l.flow)(a.theme,a.animation,f,d,p,a.interaction,(0,a.annotation)(),h)(t)},e.statistic=p;var r=n(1),i=n(0),a=n(22),o=n(30),s=n(99),l=n(7),u=n(314),c=n(596);function f(t){var e=t.chart,n=t.options,r=n.percent,a=n.range,f=n.radius,d=n.innerRadius,p=n.startAngle,h=n.endAngle,g=n.axis,v=n.indicator,y=n.gaugeStyle,m=n.type,b=n.meter,x=a.color,_=a.width;if(v){var O=(0,c.getIndicatorData)(r),P=e.createView({id:u.INDICATEOR_VIEW_ID});P.data(O),P.point().position(u.PERCENT+"*1").shape(v.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:v}),P.coordinate("polar",{startAngle:p,endAngle:h,radius:d*f}),P.axis(u.PERCENT,g),P.scale(u.PERCENT,(0,l.pick)(g,s.AXIS_META_CONFIG_KEYS))}var M=(0,c.getRangeData)(r,n.range),A=e.createView({id:u.RANGE_VIEW_ID});A.data(M);var S=(0,i.isString)(x)?[x,u.DEFAULT_COLOR]:x;return(0,o.interval)({chart:A,options:{xField:"1",yField:u.RANGE_VALUE,seriesField:u.RANGE_TYPE,rawFields:[u.PERCENT],isStack:!0,interval:{color:S,style:y,shape:"meter"===m?"meter-gauge":null},args:{zIndexReversed:!0},minColumnWidth:_,maxColumnWidth:_}}).ext.geometry.customInfo({meter:b}),A.coordinate("polar",{innerRadius:d,radius:f,startAngle:p,endAngle:h}).transpose(),t}function d(t){var e;return(0,l.flow)((0,a.scale)(((e={range:{min:0,max:1,maxLimit:1,minLimit:0}})[u.PERCENT]={},e)))(t)}function p(t,e){var n=t.chart,i=t.options,a=i.statistic,o=i.percent;if(n.getController("annotation").clear(!0),a){var s=a.content,u=void 0;s&&(u=(0,l.deepAssign)({},{content:(100*o).toFixed(2)+"%",style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},s)),(0,l.renderGaugeStatistic)(n,{statistic:(0,r.__assign)((0,r.__assign)({},a),{content:u})},{percent:o})}return e&&n.render(!0),t}function h(t){var e=t.chart;return e.legend(!1),e.tooltip(!1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getIndicatorData=function(t){var e;return[((e={})[i.PERCENT]=(0,r.clamp)(t,0,1),e)]},e.getRangeData=function(t,e){var n=(0,r.get)(e,["ticks"],[]);return a((0,r.size)(n)?n:[0,(0,r.clamp)(t,0,1),1],t)},e.processRangeData=a;var r=n(0),i=n(314);function a(t,e){return t.map(function(n,r){var a;return(a={})[i.RANGE_VALUE]=n-(t[r-1]||0),a[i.RANGE_TYPE]=""+r,a[i.PERCENT]=e,a}).filter(function(t){return!!t[i.RANGE_VALUE]})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.processData=s,e.transformData=function(t,e,n,a){return s(t,e,n,o.Y_FIELD,a).map(function(e,n){var a;return(0,i.isObject)(e)?(0,r.__assign)((0,r.__assign)({},e),((a={})[o.ABSOLUTE_FIELD]=e[o.Y_FIELD][1],a[o.DIFF_FIELD]=e[o.Y_FIELD][1]-e[o.Y_FIELD][0],a[o.IS_TOTAL]=n===t.length,a)):e})};var r=n(1),i=n(0),a=n(7),o=n(315);function s(t,e,n,o,s){var l,u=[];if((0,i.reduce)(t,function(t,e){(0,a.log)(a.LEVEL.WARN,(0,i.isNumber)(e[n]),e[n]+" is not a valid number");var s,l=(0,i.isUndefined)(e[n])?null:e[n];return u.push((0,r.__assign)((0,r.__assign)({},e),((s={})[o]=[t,t+l],s))),t+l},0),u.length&&s){var c=(0,i.get)(u,[[t.length-1],o,[1]]);u.push(((l={})[e]=s.label,l[n]=c,l[o]=[0,c],l))}return u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SERIES_FIELD_KEY=e.SECOND_AXES_VIEW=e.FIRST_AXES_VIEW=void 0,e.FIRST_AXES_VIEW="first-axes-view",e.SECOND_AXES_VIEW="second-axes-view",e.SERIES_FIELD_KEY="series-field-key"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isHorizontal=i,e.syncViewPadding=function(t,e,n){var r=e[0],a=e[1],o=r.autoPadding,s=a.autoPadding,l=t.__axisPosition,u=l.layout,c=l.position;if(i(u)&&"top"===c&&(r.autoPadding=n.instance(o.top,0,o.bottom,o.left),a.autoPadding=n.instance(s.top,o.left,s.bottom,0)),i(u)&&"bottom"===c&&(r.autoPadding=n.instance(o.top,o.right/2+5,o.bottom,o.left),a.autoPadding=n.instance(s.top,s.right,s.bottom,o.right/2+5)),!i(u)&&"bottom"===c){var f=o.left>=s.left?o.left:s.left;r.autoPadding=n.instance(o.top,o.right,o.bottom/2+5,f),a.autoPadding=n.instance(o.bottom/2+5,s.right,s.bottom,f)}if(!i(u)&&"top"===c){var f=o.left>=s.left?o.left:s.left;r.autoPadding=n.instance(o.top,o.right,0,f),a.autoPadding=n.instance(0,s.right,o.top,f)}},e.transformData=function(t,e,n,i,a){var o=[];e.forEach(function(e){i.forEach(function(r){var i,a=((i={})[t]=r[t],i[n]=e,i[e]=r[e],i);o.push(a)})});var s=Object.values((0,r.groupBy)(o,n)),l=s[0],u=void 0===l?[]:l,c=s[1],f=void 0===c?[]:c;return a?[u.reverse(),f.reverse()]:[u,f]};var r=n(0);function i(t){return"vertical"!==t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enableDrillInteraction=function(t){var e=t.interactions,n=t.drilldown;return(0,i.get)(n,"enabled")||l(e,"treemap-drill-down")},e.enableInteraction=l,e.findInteraction=s,e.resetDrillDown=function(t){var e=t.interactions["drill-down"];e&&e.context.actions.find(function(t){return"drill-down-action"===t.name}).reset()},e.transformData=function(t){var e=t.data,n=t.colorField,s=t.enableDrillDown,l=t.hierarchyConfig,u=(0,o.treemap)(e,(0,r.__assign)((0,r.__assign)({},l),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),c=[];return u.forEach(function(t){if(0===t.depth||s&&1!==t.depth||!s&&t.children)return null;var o=t.ancestors().map(function(t){return{data:t.data,height:t.height,value:t.value}}),u=s&&(0,i.isArray)(e.path)?o.concat(e.path.slice(1)):o,f=Object.assign({},t.data,(0,r.__assign)({x:t.x,y:t.y,depth:t.depth,value:t.value,path:u},t));if(!t.data[n]&&t.parent){var d=t.ancestors().find(function(t){return t.data[n]});f[n]=null==d?void 0:d.data[n]}else f[n]=t.data[n];f[a.HIERARCHY_DATA_TRANSFORM_PARAMS]={hierarchyConfig:l,colorField:n,enableDrillDown:s},c.push(f)}),c};var r=n(1),i=n(0),a=n(201),o=n(593);function s(t,e){if((0,i.isArray)(t))return t.find(function(t){return t.type===e})}function l(t,e){var n=s(t,e);return n&&!1!==n.enable}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNodePaddingRatio=u,e.getNodeWidthRatio=l,e.transformToViewsData=function(t,e,n){var c=t.data,f=t.sourceField,d=t.targetField,p=t.weightField,h=t.nodeAlign,g=t.nodeSort,v=t.nodePadding,y=t.nodePaddingRatio,m=t.nodeWidth,b=t.nodeWidthRatio,x=t.nodeDepth,_=t.rawFields,O=void 0===_?[]:_,P=(0,a.transformDataToNodeLinkData)((0,s.cutoffCircle)(c,f,d),f,d,p,O),M=(0,o.sankeyLayout)({nodeAlign:h,nodePadding:u(v,y,n),nodeWidth:l(m,b,e),nodeSort:g,nodeDepth:x},P),A=M.nodes,S=M.links;return{nodes:A.map(function(t){return(0,r.__assign)((0,r.__assign)({},(0,i.pick)(t,(0,r.__spreadArrays)(["x","y","name"],O))),{isNode:!0})}),edges:S.map(function(t){return(0,r.__assign)((0,r.__assign)({source:t.source.name,target:t.target.name,name:t.source.name||t.target.name},(0,i.pick)(t,(0,r.__spreadArrays)(["x","y","value"],O))),{isNode:!1})})}};var r=n(1),i=n(7),a=n(197),o=n(1285),s=n(1289);function l(t,e,n){return(0,i.isRealNumber)(t)?t/n:e}function u(t,e,n){return(0,i.isRealNumber)(t)?t/n:e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.center=function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?(0,r.minBy)(t.sourceLinks,i)-1:0},e.justify=function(t,e){return t.sourceLinks.length?t.depth:e-1},e.left=function(t){return t.depth},e.right=function(t,e){return e-1-t.height};var r=n(0);function i(t){return t.target.depth}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Y_FIELD=e.X_FIELD=e.NODE_COLOR_FIELD=e.EDGE_COLOR_FIELD=e.DEFAULT_OPTIONS=void 0;var r=n(0);e.X_FIELD="x",e.Y_FIELD="y",e.NODE_COLOR_FIELD="name",e.EDGE_COLOR_FIELD="source",e.DEFAULT_OPTIONS={nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(t,e){return{labelEmit:!0,style:{fill:"#8c8c8c"},offsetX:(t[0]+t[1])/2>.5?-4:4,content:e}}},tooltip:{showTitle:!1,showMarkers:!1,fields:["source","target","value","isNode"],showContent:function(t){return!(0,r.get)(t,[0,"data","isNode"])},formatter:function(t){return{name:t.source+" -> "+t.target,value:t.value}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RAW_FIELDS=e.DEFAULT_OPTIONS=void 0,e.RAW_FIELDS=["x","y","r","name","value","path","depth"],e.DEFAULT_OPTIONS={colorField:"name",autoFit:!0,pointStyle:{lineWidth:0,stroke:"#fff"},legend:!1,hierarchyConfig:{size:[1,1],padding:0},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mix=void 0;var r=n(1),i=n(19),a=n(1302);n(1303);var o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="mix",e}return(0,r.__extends)(e,t),e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Mix=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.execPlotAdaptor=function(t,e,n){var a=L[t];if(!a){console.error("could not find "+t+" plot");return}(0,F[t])({chart:e,options:(0,i.deepAssign)({},a.getDefaultOptions(),(0,r.get)(D,t,{}),n)})};var r=n(0),i=n(7),a=n(303),o=n(557),s=n(198),l=n(554),u=n(549),c=n(595),f=n(570),d=n(572),p=n(199),h=n(581),g=n(306),v=n(565),y=n(576),m=n(589),b=n(544),x=n(556),_=n(553),O=n(550),P=n(548),M=n(594),A=n(569),S=n(573),w=n(571),E=n(580),C=n(578),T=n(564),I=n(574),j=n(588),F={line:a.adaptor,pie:o.adaptor,column:s.adaptor,bar:l.adaptor,area:u.adaptor,gauge:c.adaptor,"tiny-line":f.adaptor,"tiny-column":d.adaptor,"tiny-area":p.adaptor,"ring-progress":h.adaptor,progress:g.adaptor,scatter:v.adaptor,histogram:y.adaptor,funnel:m.adaptor},L={line:b.Line,pie:x.Pie,column:O.Column,bar:_.Bar,area:P.Area,gauge:M.Gauge,"tiny-line":A.TinyLine,"tiny-column":w.TinyColumn,"tiny-area":S.TinyArea,"ring-progress":E.RingProgress,progress:C.Progress,scatter:T.Scatter,histogram:I.Histogram,funnel:j.Funnel},D={pie:{label:!1},column:{tooltip:{showMarkers:!1}},bar:{tooltip:{showMarkers:!1}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getRangeData=e.getIndicatorData=e.processRangeData=void 0;var r=n(0),i=n(317);function a(t,e){return t.map(function(n,r){var a;return(a={})[i.RANGE_VALUE]=n-(t[r-1]||0),a[i.RANGE_TYPE]=""+r,a[i.PERCENT]=e,a}).filter(function(t){return!!t[i.RANGE_VALUE]})}e.processRangeData=a,e.getIndicatorData=function(t){var e;return[((e={})[i.PERCENT]=r.clamp(t,0,1),e)]},e.getRangeData=function(t,e){var n=r.get(e,["ticks"],[]);return a(r.size(n)?n:[0,r.clamp(t,0,1),1],t)}},function(t,e,n){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),e.DualAxesGeometry=e.AxisType=void 0,(r=e.AxisType||(e.AxisType={})).Left="Left",r.Right="Right",(i=e.DualAxesGeometry||(e.DualAxesGeometry={})).Line="line",i.Column="column"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_RIGHT_YAXIS_CONFIG=e.DEFAULT_LEFT_YAXIS_CONFIG=e.DEFAULT_YAXIS_CONFIG=e.RIGHT_AXES_VIEW=e.LEFT_AXES_VIEW=void 0;var r=n(1);e.LEFT_AXES_VIEW="left-axes-view",e.RIGHT_AXES_VIEW="right-axes-view",e.DEFAULT_YAXIS_CONFIG={nice:!0,label:{autoHide:!0,autoRotate:!1}},e.DEFAULT_LEFT_YAXIS_CONFIG=r.__assign(r.__assign({},e.DEFAULT_YAXIS_CONFIG),{position:"left"}),e.DEFAULT_RIGHT_YAXIS_CONFIG=r.__assign(r.__assign({},e.DEFAULT_YAXIS_CONFIG),{position:"right",grid:null})},function(t,e,n){"use strict";n.d(e,"x",function(){return f}),n.d(e,"B",function(){return p}),n.d(e,"K",function(){return b}),n.d(e,"J",function(){return O}),n.d(e,"L",function(){return S}),n.d(e,"q",function(){return C}),n.d(e,"M",function(){return L}),n.d(e,"I",function(){return D}),n.d(e,"b",function(){return B}),n.d(e,"F",function(){return G}),n.d(e,"l",function(){return W}),n.d(e,"t",function(){return Y}),n.d(e,"z",function(){return H}),n.d(e,"a",function(){return q}),n.d(e,"E",function(){return Z}),n.d(e,"s",function(){return K}),n.d(e,"f",function(){return te}),n.d(e,"m",function(){return tr}),n.d(e,"G",function(){return ti}),n.d(e,"A",function(){return ta}),n.d(e,"u",function(){return to}),n.d(e,"v",function(){return tl}),n.d(e,"g",function(){return tc}),n.d(e,"o",function(){return td}),n.d(e,"O",function(){return tv}),n.d(e,"C",function(){return tb}),n.d(e,"j",function(){return t_}),n.d(e,"H",function(){return tP}),n.d(e,"n",function(){return tA}),n.d(e,"y",function(){return tF}),n.d(e,"r",function(){return tk}),n.d(e,"p",function(){return tN}),n.d(e,"h",function(){return tB}),n.d(e,"N",function(){return tV}),n.d(e,"D",function(){return tW}),n.d(e,"c",function(){return tY}),n.d(e,"d",function(){return tq}),n.d(e,"e",function(){return tK}),n.d(e,"k",function(){return tJ}),n.d(e,"i",function(){return t1}),n.d(e,"w",function(){return t4});var r={};n.r(r),n.d(r,"ProgressChart",function(){return f}),n.d(r,"RingProgressChart",function(){return p}),n.d(r,"TinyColumnChart",function(){return b}),n.d(r,"TinyAreaChart",function(){return O}),n.d(r,"TinyLineChart",function(){return S});var i={};n.r(i),n.d(i,"LineChart",function(){return C}),n.d(i,"TreemapChart",function(){return L}),n.d(i,"StepLineChart",function(){return D}),n.d(i,"BarChart",function(){return B}),n.d(i,"StackedBarChart",function(){return G}),n.d(i,"GroupedBarChart",function(){return W}),n.d(i,"PercentStackedBarChart",function(){return Y}),n.d(i,"RangeBarChart",function(){return H}),n.d(i,"AreaChart",function(){return q}),n.d(i,"StackedAreaChart",function(){return Z}),n.d(i,"PercentStackedAreaChart",function(){return K}),n.d(i,"ColumnChart",function(){return te}),n.d(i,"GroupedColumnChart",function(){return tr}),n.d(i,"StackedColumnChart",function(){return ti}),n.d(i,"RangeColumnChart",function(){return ta}),n.d(i,"PercentStackedColumnChart",function(){return to}),n.d(i,"PieChart",function(){return tl}),n.d(i,"DensityHeatmapChart",function(){return tc}),n.d(i,"HeatmapChart",function(){return td}),n.d(i,"WordCloudChart",function(){return tv}),n.d(i,"RoseChart",function(){return tb}),n.d(i,"FunnelChart",function(){return t_}),n.d(i,"StackedRoseChart",function(){return tP}),n.d(i,"GroupedRoseChart",function(){return tA}),n.d(i,"RadarChart",function(){return tF}),n.d(i,"LiquidChart",function(){return tk}),n.d(i,"HistogramChart",function(){return tN}),n.d(i,"DonutChart",function(){return tB}),n.d(i,"WaterfallChart",function(){return tV}),n.d(i,"ScatterChart",function(){return tW}),n.d(i,"BubbleChart",function(){return tY}),n.d(i,"BulletChart",function(){return tq}),n.d(i,"CalendarChart",function(){return tK}),n.d(i,"GaugeChart",function(){return tJ}),n.d(i,"DualAxesChart",function(){return t1});var a=n(4),o=n.n(a),s=n(3),l=n.n(s),u=n(629),c=n(11),f=Object(c.a)(u.Progress,"ProgressChart",function(t){return o()({data:t.percent,color:"#5B8FF9"},t)}),d=n(630),p=Object(c.a)(d.RingProgress,"RingProgressChart",function(t){return o()({data:t.percent,color:"#5B8FF9"},t)}),h=n(631),g=n(20),v=n.n(g),y=n(16),m=n(0),b=Object(c.a)(h.TinyColumn,"TinyColumnChart",function(t){var e=Object(y.c)(t);if(!Object(m.isNil)(e.yField)){var n=e.data.map(function(t){return t[e.yField]}).filter(function(t){return!Object(m.isNil)(t)});n&&n.length&&v()(e,"data",n)}return v()(e,"tooltip",!1),e}),x=n(632),_=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},O=Object(c.a)(x.TinyArea,"TinyAreaChart",function(t){var e=Object(y.c)(t),n=e.xField,r=e.yField,i=e.data,a=_(e,["xField","yField","data"]);return n&&r&&i&&(a.data=i.map(function(t){return t[r]})),o()({},a)}),P=n(633),M=n(18),A=n.n(M),S=Object(c.a)(P.TinyLine,"TinyLineChart",function(t){var e=Object(y.c)(t);if(!Object(m.isNil)(e.yField)){var n=e.data.map(function(t){return t[e.yField]}).filter(function(t){return!Object(m.isNil)(t)});n&&n.length&&v()(e,"data",n)}var r=A()(e,"size");if(!Object(m.isNil)(r)){var i=A()(e,"lineStyle",{});v()(e,"lineStyle",o()(o()({},i),{lineWidth:r}))}return v()(e,"tooltip",!1),e}),w=n(232),E=function(t){var e=Object(y.c)(t);return Object(y.e)(e,"point"),!0===e.point&&(e.point={}),e},C=Object(c.a)(w.Line,"LineChart",E),T=n(634),I=n(17),j=n.n(I),F=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(r>n)delete e.children;else{var i=e.children;i&&i.length&&i.forEach(function(e){t(e,n,r+1)})}},L=Object(c.a)(T.Treemap,"TreemapChart",function(t){var e=Object(y.c)(t),n=Object(m.get)(e,"maxLevel",2);if(!Object(m.isNil)(n)){if(n<1)j()(!1,"maxLevel 必须大于等于1");else{var r=Object(m.get)(e,"data",{});F(r,n),Object(m.set)(e,"data",r),Object(m.set)(e,"maxLevel",n)}}return e}),D=Object(c.a)(w.Line,"StepLineChart",function(t){return j()(!1,"即将在5.0后废弃,请使用替代。"),t.stepType=t.stepType||t.step||"hv",E(t)}),k=n(83),R=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},N=function(t){var e=Object(y.c)(t),n=e.barSize,r=R(e,["barSize"]);return Object(y.f)([{sourceKey:"stackField",targetKey:"seriesField",notice:"stackField是旧版API,即将废弃 请使用seriesField替代"},{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField是旧版API,即将废弃 请使用seriesField替代"}],r),Object(m.isNil)(n)||(r.minBarWidth=n,r.maxBarWidth=n),r},B=Object(c.a)(k.Bar,"BarChart",N),G=Object(c.a)(k.Bar,"StackedBarChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代,"),Object(m.deepMix)(t,{isStack:!0}),N(t)}),V=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},z=[{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"}],W=Object(c.a)(k.Bar,"GroupedBarChart",function(t){j()(!1," 在5.0后即将被废弃,请使用 替代");var e=Object(y.c)(t),n=e.barSize,r=V(e,["barSize"]);return Object(y.f)(z,r),Object(m.isNil)(n)||(r.minBarWidth=n,r.maxBarWidth=n),Object(m.deepMix)(t,{isGroup:!0}),r}),Y=Object(c.a)(k.Bar,"PercentStackedBarChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代。"),Object(m.deepMix)(t,{isPercent:!0,isStack:!0}),N(t)}),H=Object(c.a)(k.Bar,"RangeBarChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代。"),Object(m.deepMix)(t,{isRange:!0}),N(t)}),X=n(134),U=function(t){var e=Object(y.c)(t);return Object(y.e)(e,"line"),Object(y.e)(e,"point"),e.isStack=!Object(m.isNil)(e.isStack)&&e.isStack,Object(y.f)([{sourceKey:"stackField",targetKey:"seriesField",notice:"stackField是旧版api,即将废弃 请使用seriesField替代"}],e),e},q=Object(c.a)(X.Area,"AreaChart",U),Z=Object(c.a)(X.Area,"StackedAreaChart",function(t){return j()(!1," 即将在5.0后废弃,请使用 替代。"),Object(m.deepMix)(t,{isStack:!0}),U(t)}),K=Object(c.a)(X.Area,"PercentStackedAreaChart",function(t){return j()(!1," 即将在5.0后废弃,请使用 替代。"),Object(m.deepMix)(t,{isPercent:!0}),U(t)}),$=n(84),Q=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},J=[{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"},{sourceKey:"stackField",targetKey:"seriesField",notice:"colorField是旧版API,即将废弃 请使用seriesField替代"}],tt=function(t){var e=Object(y.c)(t),n=e.columnSize,r=Q(e,["columnSize"]);return Object(y.f)(J,r),Object(m.isNil)(n)||(r.minColumnWidth=n,r.maxColumnWidth=n),r},te=Object(c.a)($.Column,"ColumnChart",tt),tn=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},tr=Object(c.a)($.Column,"GroupedColumnChart",function(t){j()(!1," 在5.0后即将被废弃,请使用 替代");var e=Object(y.c)(t),n=e.columnSize,r=tn(e,["columnSize"]);return Object(m.isNil)(n)||(r.minColumnWidth=n,r.maxColumnWidth=n),Object(m.deepMix)(t,{isGroup:!0}),r}),ti=Object(c.a)($.Column,"StackedColumnChart",function(t){return j()(!1,"即将在5.0中废弃,请使用替代。"),Object(m.deepMix)(t,{isStack:!0}),tt(t)}),ta=Object(c.a)($.Column,"RangeColumnChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代。"),Object(m.deepMix)(t,{isRange:!0}),tt(t)}),to=Object(c.a)($.Column,"PercentStackedColumnChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代。"),Object(m.deepMix)(t,{isPercent:!0,isStack:!0}),tt(t)}),ts=n(233),tl=Object(c.a)(ts.Pie,"PieChart",y.c),tu=n(135),tc=Object(c.a)(tu.Heatmap,"DensityHeatmapChartChart",function(t){var e=Object(y.c)(t);return Object(y.f)([{sourceKey:"radius",targetKey:"sizeRatio",notice:"radius 请使用sizeRatio替代"}],e),Object(m.set)(e,"type","density"),e}),tf=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},td=Object(c.a)(tu.Heatmap,"HeatmapChart",function(t){var e=Object(y.c)(t),n=e.shapeType,r=tf(e,["shapeType"]);return n&&(r.heatmapStyle=n,Object(I.warn)(!1,"shapeType是g2plot@1.0的属性,即将废弃,请使用 `heatmapStyle` 替代")),!r.shape&&r.sizeField&&(r.shape="square"),r}),tp=n(635),th=n(14),tg=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},tv=Object(c.a)(tp.WordCloud,"WordCloudChart",function(t){var e=t.maskImage,n=t.wordField,r=t.weightField,i=t.colorField,a=t.selected,s=t.shuffle,l=t.interactions,u=t.onGetG2Instance,c=t.tooltip,f=t.wordStyle,d=t.onWordCloudHover,p=t.onWordCloudClick,h=tg(t,["maskImage","wordField","weightField","colorField","selected","shuffle","interactions","onGetG2Instance","tooltip","wordStyle","onWordCloudHover","onWordCloudClick"]),g=f.active,v=tg(f,["active"]);return o()({colorField:void 0===i?"word":i,wordField:void 0===n?"word":n,weightField:void 0===r?"weight":r,imageMask:e,random:s,interactions:void 0===l?[{type:"element-active"}]:l,wordStyle:v,tooltip:(!c||!!c.visible)&&c,onGetG2Instance:function(t){if(u&&u(t),a>=0){var e=t.chart,n=Object(th.getTheme)();g&&o()(n.geometries.point["hollow-circle"].active.style,g),e.on("afterrender",function(){e.geometries.length&&e.geometries[0].elements.forEach(function(t,e){e===a&&t.setState("active",!0)})}),e.on("plot:mousemove",function(t){if(!t.data){d&&d(void 0,void 0,t.event);return}var e=t.data.data,n=e.datum,r=e.x,i=e.y,a=e.width,o=e.height;d&&d(n,{x:r,y:i,w:a,h:o},t.event)}),e.on("plot:click",function(t){if(!t.data){p&&p(void 0,void 0,t.event);return}var e=t.data.data,n=e.datum,r=e.x,i=e.y,a=e.width,o=e.height;p&&p(n,{x:r,y:i,w:a,h:o},t.event)})}}},h)}),ty=n(136),tm=[{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"},{sourceKey:"categoryField",targetKey:"xField",notice:"categoryField 是 g2@1.0的属性,即将废弃,请使用xField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"}],tb=Object(c.a)(ty.Rose,"RoseChart",function(t){var e=Object(y.c)(t);return Object(y.f)(tm,e),!1===A()(e,"tooltip.visible")&&v()(e,"tooltip",!1),!1===A()(e,"label.visible")&&v()(e,"label",!1),"inner"===A()(e,"label.type")&&(e.label.offset=-15,delete e.label.type),"outer"===A()(e,"label.type")&&delete e.label.type,e}),tx=n(636),t_=Object(c.a)(tx.Funnel,"FunnelChart",function(t){var e=Object(y.c)(t);return Object(y.f)([{sourceKey:"transpose",targetKey:"isTransposed",notice:"transpose 即将废弃 请使用isTransposed替代"}],e),e}),tO=[{sourceKey:"stackField",targetKey:"seriesField",notice:"stackField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"},{sourceKey:"categoryField",targetKey:"xField",notice:"categoryField 是 g2@1.0的属性,即将废弃,请使用xField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"}],tP=Object(c.a)(ty.Rose,"StackedRoseChart",function(t){j()(!1," 即将在5.0后废弃,请使用替代,");var e=Object(y.c)(t);return Object(y.f)(tO,e),!1===A()(e,"tooltip.visible")&&v()(e,"tooltip",!1),!1===A()(e,"label.visible")&&v()(e,"label",!1),"inner"===A()(e,"label.type")&&(e.label.offset=-15,delete e.label.type),"outer"===A()(e,"label.type")&&delete e.label.type,o()(o()({},e),{isStack:!0})}),tM=[{sourceKey:"groupField",targetKey:"seriesField",notice:"groupField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"},{sourceKey:"categoryField",targetKey:"xField",notice:"categoryField 是 g2@1.0的属性,即将废弃,请使用xField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"}],tA=Object(c.a)(ty.Rose,"GroupedRoseChart",function(t){j()(!1," 即将在5.0后废弃,请使用。");var e=Object(y.c)(t);return Object(y.f)(tM,e),"inner"===Object(m.get)(e,"label.type")&&(e.label.offset=-15,delete e.label.type),"outer"===Object(m.get)(e,"label.type")&&delete e.label.type,o()(o()({},e),{isGroup:!0})}),tS=n(37),tw=n.n(tS),tE=n(61),tC=n.n(tE),tT=n(637),tI=[{sourceKey:"angleField",targetKey:"xField",notice:"angleField 是 g2@1.0的属性,即将废弃,请使用xField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"},{sourceKey:"angleAxis",targetKey:"xAxis",notice:"angleAxis 是 g2@1.0的属性,即将废弃,请使用xAxis替代"},{sourceKey:"radiusAxis",targetKey:"yAxis",notice:"radiusAxis 是 g2@1.0的属性,即将废弃,请使用yAxis替代"}],tj=function(t){var e=A()(t,"line",{}),n=e.visible,r=e.size,i=e.style;v()(t,"lineStyle",o()(o()(o()({},i),{opacity:1,lineWidth:"number"==typeof r?r:2}),tw()(n)||n?{fillOpacity:1,strokeOpacity:1}:{fillOpacity:0,strokeOpacity:0}))},tF=Object(c.a)(tT.Radar,"RadarChart",function(t){Object(y.f)(tI,t);var e=Object(y.c)(t);return!1===A()(e,"area.visible")&&v()(e,"area",!1),!1===A()(e,"point.visible")&&v()(e,"point",!1),tj(e),(tC()(e.angleAxis)||tC()(e.radiusAxis))&&(e.angleAxis||(e.angleAxis={}),e.angleAxis.line=A()(e,"angleAxis.line",null),e.angleAxis.tickLine=A()(e,"angleAxis.tickLine",null)),!1===A()(e,"tooltip.visible")&&v()(e,"tooltip",!1),!1===A()(e,"label.visible")&&v()(e,"label",!1),"line"===A()(e,"yAxis.grid.line.type")&&Object(m.deepMix)(e,{xAxis:{line:null,tickLine:null}},e),e}),tL=n(638),tD=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},tk=Object(c.a)(tL.Liquid,"LiquidChart",function(t){var e=Object(y.c)(t),n=(e.range,e.min),r=e.max,i=e.value,a=tD(e,["range","min","max","value"]);if(!Object(m.isNil)(i)){a.percent=i/((void 0===r?1:r)-(void 0===n?0:n));var s=Object(m.get)(a,"statistic.content.formatter");null!==a.statistic&&!1!==a.statistic&&Object(m.deepMix)(a,{statistic:{content:{formatter:function(){return Object(m.isFunction)(s)&&s(i),i}}}})}Object(y.e)(a,"statistic"),Object(y.e)(a,"statistic.title"),Object(y.e)(a,"statistic.content");var l=a.percent;return o()({data:l},a)}),tR=n(639),tN=Object(c.a)(tR.Histogram,"HistogramChart"),tB=Object(c.a)(ts.Pie,"DonutChart",function(t){var e=Object(y.c)(t);return Object(y.e)(e,"statistic"),Object(y.e)(e,"statistic.title"),Object(y.e)(e,"statistic.content"),o()({innerRadius:.8},e)}),tG=n(640),tV=Object(c.a)(tG.Waterfall,"WaterfallChart"),tz=n(234),tW=Object(c.a)(tz.Scatter,"ScatterChart",function(t){var e=Object(y.c)(t);A()(e,"pointSize")&&v()(e,"size",A()(e,"pointSize")),Object(y.e)(e,"quadrant");var n=A()(e,"quadrant.label");if(!A()(e,"quadrant.labels")&&n){var r=n.text,i=n.style;if(r&&r.length&&i){var a=r.map(function(t){return{style:i,content:t}});v()(e,"quadrant.labels",a)}}if(!A()(e,"regressionLine")){var o=A()(e,"trendline");Object(m.isObject)(o)&&!1===A()(o,"visible")?v()(e,"regressionLine",null):v()(e,"regressionLine",o)}return e}),tY=Object(c.a)(tz.Scatter,"BubbleChart",function(t){var e=Object(y.c)(t);return tw()(A()(e,"pointSize"))||v()(e,"size",A()(e,"pointSize")),j()(!1,"BubbleChart 图表类型命名已变更为Scatter,请修改为"),e}),tH=n(641),tX=n(23),tU=n.n(tX),tq=Object(c.a)(tH.Bullet,"BulletChart",function(t){var e=Object(y.c)(t);return tw()(A()(t,"measureSize"))||(j()(!1,"measureSize已废弃,请使用size.measure替代"),v()(e,"size.measure",A()(t,"measureSize"))),tw()(A()(t,"rangeSize"))||(j()(!1,"rangeSize已废弃,请使用size.range替代"),v()(e,"size.range",A()(t,"rangeSize"))),tw()(A()(t,"markerSize"))||(j()(!1,"markerSizee已废弃,请使用size.target替代"),v()(e,"size.target",A()(t,"markerSize"))),tw()(A()(t,"measureColors"))||(j()(!1,"measureColors已废弃,请使用color.measure替代"),v()(e,"color.measure",A()(t,"measureColors"))),tw()(A()(t,"rangeColors"))||(j()(!1,"rangeColors已废弃,请使用color.range替代"),v()(e,"color.range",A()(t,"rangeColors"))),tw()(A()(t,"markerColors"))||(j()(!1,"markerColors已废弃,请使用color.target替代"),v()(e,"color.target",A()(t,"markerColors"))),tw()(A()(t,"markerStyle"))||(j()(!1,"markerStyle已废弃,请使用bulletStyle.target替代"),v()(e,"bulletStyle.target",A()(t,"markerStyle"))),tw()(A()(t,"xAxis.line"))&&v()(e,"xAxis.line",!1),tw()(A()(t,"yAxis"))&&v()(e,"yAxis",!1),tw()(A()(t,"measureField"))&&v()(e,"measureField","measures"),tw()(A()(t,"rangeField"))&&v()(e,"rangeField","ranges"),tw()(A()(t,"targetField"))&&v()(e,"targetField","target"),j()(!tw()(A()(t,"rangeMax")),"该属性已废弃,请在数据中配置range,并配置rangeField"),tU()(A()(t,"data"))&&v()(e,"data",t.data.map(function(e){var n={};return(tw()(A()(t,"rangeMax"))||(n={ranges:[A()(t,"rangeMax")]}),tU()(e.targets))?o()(o()(o()({},n),{target:e.targets[0]}),e):o()(o()({},n),e)})),e});n(642).G2.registerShape("polygon","boundary-polygon",{draw:function(t,e){var n=e.addGroup(),r={stroke:"#fff",lineWidth:1,fill:t.color,paht:[]},i=t.points,a=[["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],["L",i[2].x,i[2].y],["L",i[3].x,i[3].y],["Z"]];if(r.path=this.parsePath(a),n.addShape("path",{attrs:r}),Object(m.get)(t,"data.lastWeek")){var o=[["M",i[2].x,i[2].y],["L",i[3].x,i[3].y]];n.addShape("path",{attrs:{path:this.parsePath(o),lineWidth:4,stroke:"#404040"}}),Object(m.get)(t,"data.lastDay")&&n.addShape("path",{attrs:{path:this.parsePath([["M",i[1].x,i[1].y],["L",i[2].x,i[2].y]]),lineWidth:4,stroke:"#404040"}})}return n}});var tZ=[{sourceKey:"colors",targetKey:"color",notice:"colors 是 g2Plot@1.0 的属性,请使用 color 属性替代"},{sourceKey:"valueField",targetKey:"colorField",notice:"valueField 是 g2@1.0的属性,即将废弃,请使用colorField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"}],tK=Object(c.a)(tu.Heatmap,"CalendarChart",function(t){var e=Object(y.c)(t);return Object(y.f)(tZ,e),Object(m.isNil)(Object(m.get)(t,"shape"))&&Object(m.set)(e,"shape","boundary-polygon"),Object(m.isNil)(Object(m.get)(e,"xField"))&&Object(m.isNil)(Object(m.get)(e,"yField"))&&(Object(m.set)(e,"xField","week"),Object(m.set)(e,"meta.week",o()({type:"cat"},Object(m.get)(e,"meta.week",{}))),Object(m.set)(e,"yField","day"),Object(m.set)(e,"meta.day",{type:"cat",values:["Sun.","Mon.","Tues.","Wed.","Thur.","Fri.","Sat."]}),Object(m.set)(e,"reflect","y"),Object(m.set)(e,"xAxis",o()({tickLine:null,line:null,title:null,label:{offset:20,style:{fontSize:12,fill:"#bbb",textBaseline:"top"},formatter:function(t){return"2"==t?"MAY":"6"===t?"JUN":"10"==t?"JUL":"14"===t?"AUG":"18"==t?"SEP":"24"===t?"OCT":""}}},Object(m.get)(e,"xAxis",{})))),e}),t$=n(643),tQ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},tJ=Object(c.a)(t$.Gauge,"GaugeChart",function(t){var e=Object(y.c)(t),n=e.range,r=e.min,i=void 0===r?0:r,a=e.max,s=void 0===a?1:a,l=e.value,u=tQ(e,["range","min","max","value"]);Object(m.isArray)(n)?(j()(!1,"range 应当是个对象,请修改配置。"),u.range={ticks:n.map(function(t){return(t-i)/(s-i)}),color:Object(th.getTheme)().colors10}):u.range=n||{};var c=Object(m.get)(u,"color");if(Object(m.isNil)(c)||(j()(!1,"请通过配置属性range.color来配置颜色"),u.range.color=c),Object(m.isNil)(Object(m.get)(u,"indicator"))&&Object(m.set)(u,"indicator",{pointer:{style:{stroke:"#D0D0D0"}},pin:{style:{stroke:"#D0D0D0"}}}),Object(m.get)(u,"statistic.visible")&&Object(m.set)(u,"statistic.title",Object(m.get)(u,"statistic")),!Object(m.isNil)(i)&&!Object(m.isNil)(s)&&!Object(m.isNil)(l)){u.percent=(l-i)/(s-i);var f=Object(m.get)(u,"axis.label.formatter");Object(m.set)(u,"axis",{label:{formatter:function(t){var e=t*(s-i)+i;return Object(m.isFunction)(f)?f(e):e}}})}j()(!(Object(m.get)(u,"min")||Object(m.get)(u,"max")),"属性 `max` 和 `min` 不推荐使用, 请直接配置属性range.ticks"),j()((Object(m.get)(u,"rangeSize")||Object(m.get)(u,"rangeStyle"),!1),"不再支持rangeSize、rangeStyle、rangeBackgroundStyle属性, 请查看新版仪表盘配置文档。");var d=Object(m.isNil)(u.percent)?l:u.percent;return o()({data:d},u)}),t0=n(644),t1=Object(c.a)(t0.DualAxes,"DualAxesChart"),t2=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},t3=o()(o()({},i),r),t5=function(t){var e=t.chartName,n=(t.adapter||function(e){return{plotType:t.plotType||"Line",options:e}})(t2(t,["chartName","adapter"]))||{},r=n.plotType,i=n.options,a=t3[r];return(a.displayName=e,a)?l.a.createElement(a,o()({},i)):l.a.createElement("div",{style:{color:"#aaa"}},"不存在plotName=:","".concat(r),"的Plot组件")};t5.registerPlot=function(t,e){j()(!t3[t],"%s的plot已存在",t),t3[t]=e};var t4=t5},function(t,e,n){"use strict";n.r(e),n.d(e,"Canvas",function(){return T}),n.d(e,"Group",function(){return X}),n.d(e,"Circle",function(){return tt}),n.d(e,"Ellipse",function(){return tn}),n.d(e,"Image",function(){return ti}),n.d(e,"Line",function(){return to}),n.d(e,"Marker",function(){return tl}),n.d(e,"Path",function(){return tc}),n.d(e,"Polygon",function(){return td}),n.d(e,"Polyline",function(){return th}),n.d(e,"Rect",function(){return tv}),n.d(e,"Text",function(){return tm}),n.d(e,"render",function(){return tb});var r=n(621),i=n.n(r),a=n(3),o=n.n(a),s=n(29),l={},u=i()({getRootHostContext:function(){},getChildHostContext:function(){},createInstance:function(){},finalizeInitialChildren:function(){return!1},hideTextInstance:function(){},getPublicInstance:function(t){return t},hideInstance:function(){},unhideInstance:function(){},createTextInstance:function(){},prepareUpdate:function(){return l},shouldDeprioritizeSubtree:function(){return!1},appendInitialChild:function(){},appendChildToContainer:function(){},removeChildFromContainer:function(){},prepareForCommit:function(){},resetAfterCommit:function(){},shouldSetTextContent:function(){return!1},supportsMutation:!0,appendChild:function(){}}),c=n(12),f=n.n(c),d=n(13),p=n.n(d),h=n(5),g=n.n(h),v=n(4),y=n.n(v),m=n(9),b=n.n(m),x=n(10),_=n.n(x),O=n(205),P=n(324),M=n(132),A=n(67),S=o.a.createContext(null);S.displayName="CanvasContext";var w=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},E=function(){function t(){b()(this,t)}return _()(t,[{key:"createInstance",value:function(t){t.children;var e=t.renderer,n=w(t,["children","renderer"]);"svg"===e?this.instance=new P.Canvas(y()({},n)):this.instance=new O.Canvas(y()({},n))}},{key:"update",value:function(t){this.instance||this.createInstance(t)}},{key:"draw",value:function(){this.instance&&this.instance.draw()}},{key:"destory",value:function(){this.instance&&(this.instance.remove(),this.instance=null)}}]),t}(),C=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new E,e}return _()(r,[{key:"componentDidMount",value:function(){this.helper.draw()}},{key:"componentWillUnmount",value:function(){this.helper.destory()}},{key:"getInstance",value:function(){return this.helper.instance}},{key:"render",value:function(){return this.helper.update(this.props),o.a.createElement(A.b,y()({},this.props.ErrorBoundaryProps),o.a.createElement(S.Provider,{value:this.helper},o.a.createElement(s.a.Provider,{value:this.helper.instance},o.a.createElement(o.a.Fragment,null,this.props.children))))}}]),r}(o.a.Component),T=Object(M.a)(C),I=n(45),j=n.n(I),F=n(77),L=n.n(F),D=n(28),k=n.n(D),R=n(228),N=n.n(R),B=n(23),G=n.n(B),V=n(93),z=n.n(V),W={onClick:"click",onMousedown:"mousedown",onMouseup:"mouseup",onDblclick:"dblclick",onMouseout:"mouseout",onMouseover:"mouseover",onMousemove:"mousemove",onMouseleave:"mouseleave",onMouseenter:"mouseenter",onTouchstart:"touchstart",onTouchmove:"touchmove",onTouchend:"touchend",onDragenter:"dragenter",onDragover:"dragover",onDragleave:"dragleave",onDrop:"drop",onContextmenu:"contextmenu"},Y=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},H=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){b()(this,r),(e=n.call(this,t)).state={isReady:!1},e.handleRender=N()(function(){if(e.instance)e.forceUpdate();else{var t=e.props,n=t.group,r=t.zIndex,i=t.name;e.instance=n.chart.canvas.addGroup({zIndex:r,name:i}),n.chart.canvas.sort(),e.setState({isReady:!0})}},300),e.configGroup=function(t){var n,r=t.rotate,i=t.animate,a=t.rotateAtPoint,o=t.scale,s=t.translate,l=t.move;if(r&&e.instance.rotate(r),G()(a)&&(n=e.instance).rotateAtPoint.apply(n,j()(a)),o&&e.instance.rotate(o),s&&e.instance.translate(s[0],s[1]),l&&e.instance.move(l.x,l.y),i){var u=i.toAttrs,c=Y(i,["toAttrs"]);e.instance.animate(u,c)}},e.bindEvents=function(){e.instance.off(),L()(W,function(t,n){k()(e.props[n])&&e.instance.on(t,e.props[n])})};var e,i=t.group,a=t.zIndex,o=t.name;return e.id=z()("group"),i.isChartCanvas?i.chart.on("afterrender",e.handleRender):(e.instance=i.addGroup({zIndex:a,name:o}),e.configGroup(t)),e}return _()(r,[{key:"componentWillUnmount",value:function(){var t=this.props.group;t.isChartCanvas&&t.chart.off("afterrender",this.handleRender),this.instance&&this.instance.remove(!0)}},{key:"getInstance",value:function(){return this.instance}},{key:"render",value:function(){var t=this.props.group;return this.instance&&(this.instance.clear(),this.bindEvents()),t.isChartCanvas&&this.state.isReady||!t.isChartCanvas?o.a.createElement(s.a.Provider,{value:this.instance},o.a.createElement(o.a.Fragment,{key:z()(this.id)},this.props.children)):o.a.createElement(o.a.Fragment,null)}}]),r}(o.a.Component);H.defaultProps={zIndex:3};var X=Object(s.b)(H),U=n(78),q=n(94),Z=n(75),K=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},$=function(){function t(e){b()(this,t),this.shape=e}return _()(t,[{key:"createInstance",value:function(t){this.instance=t.group.addShape(this.shape,Object(U.a)(t,["group","ctx"]))}},{key:"destroy",value:function(){this.instance&&(this.instance.remove(!0),this.instance=null)}},{key:"update",value:function(t){var e=this,n=Object(U.a)(t,j()(q.a));this.destroy(),this.createInstance(n);var r=n.attrs,i=n.animate,a=n.isClipShape,o=n.visible,s=n.matrix,l=K(n,["attrs","animate","isClipShape","visible","matrix"]);if(this.instance.attr(r),i){var u=i.toAttrs,c=K(i,["toAttrs"]);this.instance.animate(u,c)}a&&this.instance.isClipShape(),!1===o&&this.instance.hide(),s&&this.instance.setMatrix(s),L()(W,function(t,n){k()(l[n])&&e.instance.on(t,l[n])}),this.config=Object(Z.a)(n)}}]),t}(),Q=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(){return b()(this,r),n.apply(this,arguments)}return _()(r,[{key:"componentWillUnmount",value:function(){this.helper.destroy()}},{key:"getInstance",value:function(){return this.helper.instance}},{key:"render",value:function(){return this.helper.update(this.props),null}}]),r}(o.a.Component),J=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("circle"),e}return _()(r)}(Q),tt=Object(s.b)(J),te=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("ellipse"),e}return _()(r)}(Q),tn=Object(s.b)(te),tr=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("image"),e}return _()(r)}(Q),ti=Object(s.b)(tr),ta=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("line"),e}return _()(r)}(Q),to=Object(s.b)(ta),ts=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("marker"),e}return _()(r)}(Q),tl=Object(s.b)(ts),tu=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("path"),e}return _()(r)}(Q),tc=Object(s.b)(tu),tf=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("polygon"),e}return _()(r)}(Q),td=Object(s.b)(tf),tp=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("polyline"),e}return _()(r)}(Q),th=Object(s.b)(tp),tg=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("rect"),e}return _()(r)}(Q),tv=Object(s.b)(tg),ty=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("text"),e}return _()(r)}(Q),tm=Object(s.b)(ty),tb=function(t,e){e.clear&&e.clear();var n=u.createContainer(e,0,!1);return u.updateContainer(o.a.createElement(s.a.Provider,{value:e},o.a.createElement(o.a.Fragment,null,t)),n,null,function(){}),u.getPublicRootInstance(n)}},function(t,e,n){"use strict";n.r(e),n.d(e,"Base",function(){return r.a}),n.d(e,"Arc",function(){return i.a}),n.d(e,"DataMarker",function(){return a.a}),n.d(e,"DataRegion",function(){return o.a}),n.d(e,"RegionFilter",function(){return y}),n.d(e,"Html",function(){return m}),n.d(e,"ReactElement",function(){return b}),n.d(e,"Image",function(){return x.a}),n.d(e,"Line",function(){return _.a}),n.d(e,"Region",function(){return O.a}),n.d(e,"Text",function(){return P.a});var r=n(35),i=n(207),a=n(208),o=n(209),s=n(10),l=n.n(s),u=n(9),c=n.n(u),f=n(12),d=n.n(f),p=n(13),h=n.n(p),g=n(5),v=n.n(g),y=function(t){d()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=v()(r);if(e){var i=v()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return h()(this,t)});function r(){var t;return c()(this,r),t=n.apply(this,arguments),t.annotationType="regionFilter",t}return l()(r)}(r.a),m=function(t){d()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=v()(r);if(e){var i=v()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return h()(this,t)});function r(){var t;return c()(this,r),t=n.apply(this,arguments),t.annotationType="html",t}return l()(r)}(r.a),b=function(t){d()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=v()(r);if(e){var i=v()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return h()(this,t)});function r(){var t;return c()(this,r),t=n.apply(this,arguments),t.annotationType="ReactElement",t}return l()(r)}(r.a),x=n(210),_=n(211),O=n(212),P=n(213)},function(t,e,n){"use strict";n.d(e,"a",function(){return J});var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(28),l=n.n(s),u=n(204),c=n.n(u),f=n(93),d=n.n(f),p=n(23),h=n.n(p),g=n(50),v=n.n(g),y=n(8),m=n(40),b=n(9),x=n.n(b),_=n(10),O=n.n(_),P=n(12),M=n.n(P),A=n(13),S=n.n(A),w=n(5),E=n.n(w),C=n(221),T=n.n(C),I=n(18),j=n.n(I),F=n(625),L=n.n(F),D=n(47),k=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},R="g2-tooltip",N=function(t){M()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=E()(r);if(e){var i=E()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return S()(this,t)});function r(){var t;return x()(this,r),t=n.apply(this,arguments),t.renderInnder=function(e){var n=e.data,r=n.title,i=n.items,a=n.x,o=n.y;T.a.render(t.props.children(r,i,a,o,e),t.getElement())},t}return O()(r,[{key:"componentWillUnmount",value:function(){var t=this.props.chartView;this.element&&this.element.remove(),t.getController("tooltip").clear(),t.off("tooltip:change",this.renderInnder)}},{key:"getElement",value:function(){return this.element||(this.element=document.createElement("div"),this.element.classList.add("bizcharts-tooltip"),this.element.classList.add("g2-tooltip"),this.element.style.width="auto",this.element.style.height="auto"),this.element}},{key:"overwriteCfg",value:function(){var t=this,e=this.props,n=e.chartView,r=(e.children,e.domStyles),a=void 0===r?{}:r,o=k(e,["chartView","children","domStyles"]);n.tooltip(i()(i()({inPlot:!1,domStyles:a},o),{customContent:function(){return t.getElement()}})),n.on("tooltip:change",this.renderInnder);var s=j()(Object(y.getTheme)(),["components","tooltip","domStyles",R],{});L()(this.element,i()(i()({},s),a[R]))}},{key:"render",value:function(){return this.overwriteCfg(),null}}]),r}(o.a.Component),B=Object(D.b)(N),G=n(166),V=n(345),z=n.n(V),W=n(346),Y=n.n(W),H=n(127),X=n.n(H),U=n(347),q=n.n(U);Object(y.registerAction)("tooltip",X.a),Object(y.registerAction)("sibling-tooltip",Y.a),Object(y.registerAction)("active-region",z.a),Object(y.registerAction)("ellipsis-text",q.a),Object(y.registerInteraction)("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),Object(y.registerInteraction)("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),Object(y.registerInteraction)("tooltip-click",{start:[{trigger:"plot:click",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchstart",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:leave",action:"tooltip:hide"}]});var Z=function(t){t.view.isTooltipLocked()?t.view.unlockTooltip():t.view.lockTooltip()};Object(y.registerInteraction)("tooltip-lock",{start:[{trigger:"plot:click",action:Z},{trigger:"plot:touchstart",action:Z},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:mousemove",action:"tooltip:show"}],end:[{trigger:"plot:click",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),Object(y.registerInteraction)("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]});var K=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};Object(y.registerComponentController)("tooltip",c.a);var $=function(t){var e=t.visible,n=t.children;return(void 0===e||e)&&l()(n)},Q=function(t){var e=t.visible,n=(t.children,K(t,["visible","children"])),r=Object(m.a)();return r.getController("tooltip").clear(),!0===(void 0===e||e)?r.tooltip(i()({customContent:null,showMarkers:!1},n)):r.tooltip(!1),null};function J(t){var e=t.children,n=t.triggerOn,r=t.onShow,s=t.onChange,u=t.onHide,c=t.lock,f=t.linkage,p=K(t,["children","triggerOn","onShow","onChange","onHide","lock","linkage"]),g=Object(m.a)();g.removeInteraction("tooltip"),g.removeInteraction("tooltip-click"),g.removeInteraction("tooltip-lock"),"click"===n?g.interaction("tooltip-click"):c?g.interaction("tooltip-lock"):g.interaction("tooltip");var y=Object(a.useRef)(d()("tooltip"));Object(a.useEffect)(function(){h()(f)?Object(G.b)(f[0],y.current,g,p.shared,f[1]):v()(f)&&Object(G.b)(f,y.current,g,p.shared)},[f,g]);var b=Object(a.useCallback)(function(t){l()(r)&&r(t,g)},[]),x=Object(a.useCallback)(function(t){l()(s)&&s(t,g)},[]),_=Object(a.useCallback)(function(t){l()(u)&&u(t,g)},[]);return g.off("tooltip:show",b),g.on("tooltip:show",b),g.off("tooltip:change",x),g.on("tooltip:change",x),g.off("tooltip:hide",_),g.on("tooltip:hide",_),$(t)?o.a.createElement(B,i()({},p),e):o.a.createElement(Q,i()({},t))}J.defaultProps={showMarkers:!1,triggerOn:"hover"}},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(9),o=n.n(a),s=n(10),l=n.n(s),u=n(12),c=n.n(u),f=n(13),d=n.n(f),p=n(5),h=n.n(p),g=n(3),v=n.n(g),y=n(228),m=n.n(y),b=n(160),x=n(231),_=n(67),O=n(132),P=n(76),M=n(47),A=n(29),S=n(45),w=n.n(S),E=n(93),C=n.n(E),T=n(55),I=n.n(T),j=n(28),F=n.n(j),L=n(23),D=n.n(L),k=n(624),R=n.n(k),N=n(8),B=n(17),G=n.n(B),V=n(82),z=n(78),W=n(75),Y=n(94),H=n(21),X=n(126),U=n.n(X),q=n(137),Z=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},K=function(t){c()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=h()(r);if(e){var i=h()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return d()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.config={},t}return l()(r,[{key:"createInstance",value:function(t){this.chart=new N.Chart(i()({},t)),this.key=C()("bx-chart"),this.chart.emit("initialed"),this.isNewInstance=!0,this.extendGroup={isChartCanvas:!0,chart:this.chart}}},{key:"render",value:function(){if(this.chart)try{this.isNewInstance?(this.chart.render(),this.onGetG2Instance(),this.chart.unbindAutoFit(),this.isNewInstance=!1):this.chart.forceReRender?this.chart.render():this.chart.render(!0),this.chart.emit("processElemens")}catch(t){this.emit("renderError",t),this.destory(),console&&console.error(null==t?void 0:t.stack)}}},{key:"onGetG2Instance",value:function(){F()(this.config.onGetG2Instance)&&this.config.onGetG2Instance(this.chart)}},{key:"shouldReCreateInstance",value:function(t){if(!this.chart||t.forceUpdate)return!0;var e=this.config,n=e.data,r=Z(e,["data"]),i=t.data,a=Z(t,["data"]);if(D()(this.config.data)&&0===n.length&&D()(i)&&0!==i.length)return!0;var o=[].concat(w()(Y.a),["scale","width","height","container","_container","_interactions","placeholder",/^on/,/^\_on/]);return!R()(Object(z.a)(r,w()(o)),Object(z.a)(a,w()(o)))}},{key:"update",value:function(t){var e=this,n=Object(W.a)(this.adapterOptions(t));this.shouldReCreateInstance(n)&&(this.destory(),this.createInstance(n)),n.pure&&(this.chart.axis(!1),this.chart.tooltip(!1),this.chart.legend(!1),this.chart.isPure=!0);var r=Object(q.a)(this.config),i=Object(q.a)(n),a=n.data,o=n.interactions,s=Z(n,["data","interactions"]),l=this.config,u=l.data,c=l.interactions;if(this.isNewInstance||r.forEach(function(t){e.chart.off(t[1],e.config["_".concat(t[0])])}),i.forEach(function(t){n["_".concat(t[0])]=function(r){n[t[0]](r,e.chart)},e.chart.on(t[1],n["_".concat(t[0])])}),D()(u)&&u.length){var f=!0;if(n.notCompareData&&(f=!1),u.length!==a.length?f=!1:u.forEach(function(t,e){Object(V.a)(t,a[e])||(f=!1)}),!f){this.chart.isDataChanged=!0,this.chart.emit(H.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA),this.chart.data(a);for(var d=this.chart.views,p=0,h=d.length;p=0&&e!==this.chartHelper.chart.width||n>=0&&n!==this.chartHelper.chart.height){var r=e||this.chartHelper.chart.width,i=n||this.chartHelper.chart.height;this.chartHelper.chart.changeSize(r,i),this.chartHelper.chart.emit("resize")}else this.chartHelper.render()}else this.chartHelper.render()}},{key:"componentWillUnmount",value:function(){this.chartHelper.destory(),this.resizeObserver.unobserve(this.props.container)}},{key:"getG2Instance",value:function(){return this.chartHelper.chart}},{key:"render",value:function(){var t=this,e=this.props,n=e.placeholder,r=e.data,a=e.errorContent,o=this.props.ErrorBoundaryProps;if((void 0===r||0===r.length)&&n){this.chartHelper.destory();var s=!0===n?v.a.createElement("div",{style:{position:"relative",top:"48%",color:"#aaa",textAlign:"center"}},"暂无数据"):n;return v.a.createElement(_.b,i()({},o),s)}return this.chartHelper.update(this.props),o=a?i()({fallback:a},o):{FallbackComponent:_.a},v.a.createElement(_.b,i()({},o,{key:this.chartHelper.key,onError:function(){var e;t.isError=!0,Object($.isFunction)(o.onError)&&(e=o).onError.apply(e,arguments)},onReset:function(){var e;t.isError=!1,Object($.isFunction)(o.onReset)&&(e=o).onReset.apply(e,arguments)},resetKeys:[this.chartHelper.key],fallback:a}),v.a.createElement(P.a.Provider,{value:this.chartHelper},v.a.createElement(M.a.Provider,{value:this.chartHelper.chart},v.a.createElement(A.a.Provider,{value:this.chartHelper.extendGroup},this.props.children))))}}]),r}(v.a.Component);Q.defaultProps={placeholder:!1,visible:!0,interactions:[],filter:[]},e.a=Object(O.a)(Q)},function(t,e,n){"use strict";var r=n(9),i=n.n(r),a=n(10),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(3),h=n.n(p),g=n(76),v=n(47),y=n(4),m=n.n(y),b=n(23),x=n.n(b),_=n(168),O=n.n(_),P=n(55),M=n.n(P),A=n(17),S=n.n(A),w=n(82),E=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},C=function(){function t(e){i()(this,t),this.config={},this.isRootView=!1,this.chart=e}return o()(t,[{key:"creatViewInstance",value:function(t){this.view=this.chart.createView(this.processOptions(t)),this.view.rootChart=this.chart}},{key:"getView",value:function(){return this.view}},{key:"update",value:function(t){var e=this,n=this.config.data,r=t.scale,i=t.animate,a=t.filter,o=t.visible,s=t.data,l=void 0===s?[]:s;if(l.rows&&(S()(!l.rows,"bizcharts@4不支持 dataset数据格式,请使用data={dv.rows}"),l=l.rows),(!this.view||x()(n)&&0===n.length)&&(this.destroy(),this.creatViewInstance(t)),x()(n)){this.view.changeData(l);var u=!0;n.length!==l.length?u=!1:n.forEach(function(t,e){Object(w.a)(t,l[e])||(u=!1)}),u||this.view.changeData(l)}else this.view.data(l);this.view.scale(r),this.view.animate(i),M()(this.config.filter,function(t,n){x()(t)?e.view.filter(t[0],null):e.view.filter(n,null)}),M()(a,function(t,n){x()(t)?e.view.filter(t[0],t[1]):e.view.filter(n,t)}),o?this.view.show():this.view.hide(),this.config=m()(m()({},t),{data:l})}},{key:"destroy",value:function(){this.view&&(this.view.destroy(),this.view=null),this.config={}}},{key:"processOptions",value:function(t){var e=t.region,n=t.start,r=t.end,i=E(t,["region","start","end"]);S()(!n,"start 属性将在5.0后废弃,请使用 region={{ start: {x:0,y:0}}} 替代"),S()(!r,"end 属性将在5.0后废弃,请使用 region={{ end: {x:0,y:0}}} 替代");var a=O()({start:{x:0,y:0},end:{x:1,y:1}},{start:n,end:r},e);return m()(m()({},i),{region:a})}}]),t}(),T=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return i()(this,r),t=n.apply(this,arguments),t.name="view",t}return o()(r,[{key:"componentWillUnmount",value:function(){this.viewHelper.destroy(),this.viewHelper=null}},{key:"render",value:function(){return this.viewHelper||(this.viewHelper=new C(this.context.chart)),this.viewHelper.update(this.props),h.a.createElement(v.a.Provider,{value:this.viewHelper.view},h.a.createElement(h.a.Fragment,null,this.props.children))}}]),r}(h.a.Component);T.defaultProps={visible:!0,preInteractions:[],filter:[]},T.contextType=g.a,e.a=T},function(t,e,n){"use strict";n.d(e,"a",function(){return _});var r=n(3),i=n(343),a=n.n(i),o=n(28),s=n.n(o),l=n(8),u=n(40),c=n(227),f=n.n(c),d=n(358),p=n.n(d),h=n(360),g=n.n(h),v=n(362),y=n.n(v),m=n(359),b=n.n(m);Object(l.registerAction)("list-active",p.a),Object(l.registerAction)("list-selected",b.a),Object(l.registerAction)("list-highlight",f.a),Object(l.registerAction)("list-unchecked",g.a),Object(l.registerAction)("data-filter",y.a),Object(l.registerAction)("legend-item-highlight",f.a,{componentNames:["legend"]}),Object(l.registerInteraction)("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),Object(l.registerInteraction)("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),Object(l.registerInteraction)("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:"list-unchecked:toggle"},{trigger:"legend-item:click",action:"data-filter:filter"}]});var x=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function _(t){var e=t.name,n=t.visible,i=void 0===n||n,a=(t.onChange,t.filter),o=x(t,["name","visible","onChange","filter"]),l=Object(u.a)();return void 0===e?i?l.legend(o):l.legend(!1):i?l.legend(e,o):l.legend(e,!1),s()(a)&&e&&l.filter(e,a),Object(r.useEffect)(function(){l.on("legend:valuechanged",function(e){s()(t.onChange)&&t.onChange(e,l)}),l.on("legend-item:click",function(e){if(s()(t.onChange)){var n=e.target.get("delegateObject").item;e.item=n,t.onChange(e,l)}})},[]),null}Object(l.registerComponentController)("legend",a.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return d});var r=n(342),i=n.n(r),a=n(40),o=n(626),s=n.n(o),l=function(t,e){var n=s()(t);return e.forEach(function(t){!0===n[t]?n[t]={}:!1===n[t]&&(n[t]=null)}),n},u=n(8),c=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};Object(u.registerComponentController)("axis",i.a);var f=function(t){return void 0===t};function d(t){var e=t.name,n=t.visible,r=c(t,["name","visible"]),i=Object(a.a)(),o=l(r,["title","line","tickLine","subTickLine","label","grid"]);return void 0===n||n?f(e)?i.axis(!0):i.axis(e,o):f(e)?i.axis(!1):i.axis(e,!1),null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(96),a=n(0),o=n(742),s=n(202),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.__assign(r.__assign({},e),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
    ',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),e=this.get("html");s.clearDom(t);var n=a.isFunction(e)?e(t):e;if(a.isElement(n))t.appendChild(n);else if(a.isString(n)||a.isNumber(n)){var r=i.createDom(""+n);r&&t.appendChild(r)}this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),e=this.getLocation(),n=e.x,r=e.y,a=this.get("alignX"),o=this.get("alignY"),s=this.get("offsetX"),l=this.get("offsetY"),u=i.getOuterWidth(t),c=i.getOuterHeight(t),f={x:n,y:r};"middle"===a?f.x-=Math.round(u/2):"right"===a&&(f.x-=Math.round(u)),"middle"===o?f.y-=Math.round(c/2):"bottom"===o&&(f.y-=Math.round(c)),s&&(f.x+=s),l&&(f.y+=l),i.modifyCSS(t,{position:"absolute",left:f.x+"px",top:f.y+"px",zIndex:this.get("zIndex")})},e}(o.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.Shape=void 0;var r=n(1),i=n(184);e.Shape=i,r.__exportStar(n(26),e);var a=n(928);Object.defineProperty(e,"Canvas",{enumerable:!0,get:function(){return a.default}});var o=n(262);Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return o.default}}),e.version="0.5.6"},function(t,e,n){"use strict";var r,i,a,o=n(2)(n(6));a=function(t,e){var n=e&&"object"===(0,o.default)(e)&&"default"in e?e:{default:e},r={error:null},i=function(t){function e(){for(var e,n=arguments.length,i=Array(n),a=0;a2&&void 0!==arguments[2]?arguments[2]:[],i=t;return r&&r.length&&(i=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return v()(n)?e=n:h()(n)?e=function(t,e){for(var r=0;re[i])return 1}return 0}:m()(n)&&(e=function(t,e){return t[n]e[n]?1:0}),t.sort(e)}(t,r)),v()(e)?n=e:h()(e)?n=function(t){return"_".concat(e.map(function(e){return t[e]}).join("-"))}:m()(e)&&(n=function(t){return"_".concat(t[e])}),x()(i,n)},O=function(t,e,n,r){var i=[],a=r?_(t,r):{_data:t};return u()(a,function(t){var r=Object(c.a)(t.map(function(t){return t[e]}));d()(0!==r,"Invalid data: total sum of field ".concat(e," is 0!")),u()(t,function(t){var a=o()({},t);0===r?a[n]=0:a[n]=t[e]/r,i.push(a)})}),i},P=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return t>=1e8?"".concat((t/1e8).toFixed(e).replace(/\.?0*$/,""),"亿"):t>=1e4?"".concat((t/1e4).toFixed(e).replace(/\.?0*$/,""),"万"):t.toFixed(e).replace(/\.?0*$/,"")},M=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",";return"number"==typeof t?t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,e):t},A=n(165),S=n(75),w=n(82)},function(t,e,n){t.exports=n(647)},function(t,e,n){"use strict";n.r(e),n.d(e,"Util",function(){return H});var r=n(4),i=n.n(r),a=n(0),o=n(612);n.d(e,"Annotation",function(){return o});var s=n(323);n.d(e,"G2",function(){return s});var l=n(611);n.d(e,"GComponents",function(){return l});var u=n(645),c=n(614);n.d(e,"Chart",function(){return c.a});var f=n(615);n.d(e,"View",function(){return f.a});var d=n(613);n.d(e,"Tooltip",function(){return d.a});var p=n(616);n.d(e,"Legend",function(){return p.a});var h=n(215);n.d(e,"Coordinate",function(){return h.a});var g=n(617);n.d(e,"Axis",function(){return g.a});var v=n(489);n.d(e,"Facet",function(){return v.a});var y=n(490);n.d(e,"Slider",function(){return y.a});var m=n(128);n.d(e,"Area",function(){return m.a});var b=n(216);n.d(e,"Edge",function(){return b.a});var x=n(217);n.d(e,"Heatmap",function(){return x.a});var _=n(218);n.d(e,"Interval",function(){return _.a});var O=n(129);n.d(e,"Line",function(){return O.a});var P=n(130);n.d(e,"Point",function(){return P.a});var M=n(219);n.d(e,"Polygon",function(){return M.a});var A=n(492);n.d(e,"Schema",function(){return A.a});var S=n(39);n.d(e,"BaseGeom",function(){return S.a});var w=n(290);n.d(e,"Label",function(){return w.a});var E=n(493);n.d(e,"Path",function(){return E.a});var C=n(220);n.d(e,"LineAdvance",function(){return C.a});var T=n(494);n.d(e,"Geom",function(){return T.a});var I=n(495);n.d(e,"Coord",function(){return I.a});var j=n(496);n.d(e,"Guide",function(){return j.a});var F=n(497);n.d(e,"Effects",function(){return F.a});var L=n(498);n.d(e,"Interaction",function(){return L.a});var D=n(11);n.d(e,"createPlot",function(){return D.a});var k=n(166);n.d(e,"createTooltipConnector",function(){return k.a});var R=n(40);n.d(e,"useView",function(){return R.a});var N=n(81);n.d(e,"useRootChart",function(){return N.a}),n.d(e,"useChartInstance",function(){return N.a});var B=n(504);n.d(e,"useTheme",function(){return B.a});var G=n(47);n.d(e,"withView",function(){return G.b});var V=n(76);n.d(e,"withChartInstance",function(){return V.b});var z=n(8);for(var W in z)0>["default","Util","Annotation","G2","GComponents","Chart","View","Tooltip","Legend","Coordinate","Axis","Facet","Slider","Area","Edge","Heatmap","Interval","Line","Point","Polygon","Schema","BaseGeom","Label","Path","LineAdvance","Geom","Coord","Guide","Effects","Interaction","createPlot","createTooltipConnector","useView","useRootChart","useChartInstance","useTheme","withView","withChartInstance"].indexOf(W)&&function(t){n.d(e,t,function(){return z[t]})}(W);var Y=n(610);n.d(e,"ProgressChart",function(){return Y.x}),n.d(e,"RingProgressChart",function(){return Y.B}),n.d(e,"TinyColumnChart",function(){return Y.K}),n.d(e,"TinyAreaChart",function(){return Y.J}),n.d(e,"TinyLineChart",function(){return Y.L}),n.d(e,"LineChart",function(){return Y.q}),n.d(e,"TreemapChart",function(){return Y.M}),n.d(e,"StepLineChart",function(){return Y.I}),n.d(e,"BarChart",function(){return Y.b}),n.d(e,"StackedBarChart",function(){return Y.F}),n.d(e,"GroupedBarChart",function(){return Y.l}),n.d(e,"PercentStackedBarChart",function(){return Y.t}),n.d(e,"RangeBarChart",function(){return Y.z}),n.d(e,"AreaChart",function(){return Y.a}),n.d(e,"StackedAreaChart",function(){return Y.E}),n.d(e,"PercentStackedAreaChart",function(){return Y.s}),n.d(e,"ColumnChart",function(){return Y.f}),n.d(e,"GroupedColumnChart",function(){return Y.m}),n.d(e,"StackedColumnChart",function(){return Y.G}),n.d(e,"RangeColumnChart",function(){return Y.A}),n.d(e,"PercentStackedColumnChart",function(){return Y.u}),n.d(e,"PieChart",function(){return Y.v}),n.d(e,"DensityHeatmapChart",function(){return Y.g}),n.d(e,"HeatmapChart",function(){return Y.o}),n.d(e,"WordCloudChart",function(){return Y.O}),n.d(e,"RoseChart",function(){return Y.C}),n.d(e,"FunnelChart",function(){return Y.j}),n.d(e,"StackedRoseChart",function(){return Y.H}),n.d(e,"GroupedRoseChart",function(){return Y.n}),n.d(e,"RadarChart",function(){return Y.y}),n.d(e,"LiquidChart",function(){return Y.r}),n.d(e,"HistogramChart",function(){return Y.p}),n.d(e,"DonutChart",function(){return Y.h}),n.d(e,"WaterfallChart",function(){return Y.N}),n.d(e,"ScatterChart",function(){return Y.D}),n.d(e,"BubbleChart",function(){return Y.c}),n.d(e,"BulletChart",function(){return Y.d}),n.d(e,"CalendarChart",function(){return Y.e}),n.d(e,"GaugeChart",function(){return Y.k}),n.d(e,"DualAxesChart",function(){return Y.i}),n.d(e,"PlotAdapter",function(){return Y.w});var H=i()(i()(i()({},a),u),s.Util)},function(t,e,n){"use strict";var r,i=n(2)(n(6));if(!Object.keys){var a=Object.prototype.hasOwnProperty,o=Object.prototype.toString,s=n(366),l=Object.prototype.propertyIsEnumerable,u=!l.call({toString:null},"toString"),c=l.call(function(){},"prototype"),f=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(t){var e=t.constructor;return e&&e.prototype===t},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&a.call(window,t)&&null!==window[t]&&"object"===(0,i.default)(window[t]))try{d(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),g=function(t){if("undefined"==typeof window||!h)return d(t);try{return d(t)}catch(t){return!1}};r=function(t){var e=null!==t&&"object"===(0,i.default)(t),n="[object Function]"===o.call(t),r=s(t),l=e&&"[object String]"===o.call(t),d=[];if(!e&&!n&&!r)throw TypeError("Object.keys called on a non-object");var p=c&&n;if(l&&t.length>0&&!a.call(t,0))for(var h=0;h0)for(var v=0;v-1?i(n):n}},function(t,e,n){"use strict";var r=n(364),i=n(370);t.exports=function(){var t=i();return r(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(371)),a=r(n(238));e.default=function(t,e){return void 0===e&&(e=[]),(0,i.default)(t,function(t){return!(0,a.default)(e,t)})}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(57)),a=r(n(372)),o=r(n(36)),s=r(n(138));e.default=function(t,e){if(!(0,o.default)(t))return null;if((0,i.default)(e)&&(n=e),(0,s.default)(e)&&(n=function(t){return(0,a.default)(t,e)}),n){for(var n,r=0;r-1;)i.call(t,s,1);return t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(56)),a=r(n(376));e.default=function(t,e){var n=[];if(!(0,i.default)(t))return n;for(var r=-1,o=[],s=t.length;++re[i])return 1;if(t[i]n?n:t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(86));e.default=function(t){return(0,i.default)(t)&&t%1!=0}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(86));e.default=function(t){return(0,i.default)(t)&&t%2==0}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(86)),a=Number.isInteger?Number.isInteger:function(t){return(0,i.default)(t)&&t%1==0};e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(86));e.default=function(t){return(0,i.default)(t)&&t<0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){return void 0===n&&(n=1e-5),Math.abs(t-e)0}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(36)),a=r(n(57));e.default=function(t,e){if((0,i.default)(t)){for(var n,r=-1/0,o=0;or&&(n=s,r=l)}return n}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(36)),a=r(n(57));e.default=function(t,e){if((0,i.default)(t)){for(var n,r=1/0,o=0;oe?(r&&(clearTimeout(r),r=null),s=u,o=t.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(l,c)),o};return u.cancel=function(){clearTimeout(r),s=0,r=i=a=null},u}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(56));e.default=function(t){return(0,i.default)(t)?Array.prototype.slice.call(t):[]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={};e.default=function(t){return r[t=t||"g"]?r[t]+=1:r[t]=1,t+r[t]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(){}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){return t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t)?0:(0,a.default)(t)?t.length:Object.keys(t).length};var i=r(n(95)),a=r(n(56))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(85)),a=r(n(108)),o=r(n(386));e.default=function(t,e,n,r){void 0===r&&(r="...");var s,l,u=(0,o.default)(r,n),c=(0,i.default)(t)?t:(0,a.default)(t),f=e,d=[];if((0,o.default)(t,n)<=e)return t;for(;s=c.substr(0,16),!((l=(0,o.default)(s,n))+u>f)||!(l>f);)if(d.push(s),f-=l,!(c=c.substr(16)))return d.join("");for(;s=c.substr(0,1),!((l=(0,o.default)(s,n))+u>f);)if(d.push(s),f-=l,!(c=c.substr(1)))return d.join("");return""+d.join("")+r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}();e.default=r},function(t,e,n){"use strict";function r(e,n){return t.exports=r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e,n)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";t.exports=function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if(t){if("function"==typeof t.addEventListener)return t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}};if("function"==typeof t.attachEvent)return t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}}}},function(t,e,n){"use strict";var r,i,a,o;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){r||(r=document.createElement("table"),i=document.createElement("tr"),a=/^\s*<(\w+|!)[^>]*>/,o={tr:document.createElement("tbody"),tbody:r,thead:r,tfoot:r,td:i,th:i,"*":document.createElement("div")});var e=a.test(t)&&RegExp.$1;e&&e in o||(e="*");var n=o[e];t="string"==typeof t?t.replace(/(^\s*)|(\s*$)/g,""):t,n.innerHTML=""+t;var s=n.childNodes[0];return s&&n.contains(s)&&n.removeChild(s),s}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=(0,a.default)(t,e),r=parseFloat((0,i.default)(t,"borderTopWidth"))||0,o=parseFloat((0,i.default)(t,"paddingTop"))||0,s=parseFloat((0,i.default)(t,"paddingBottom"))||0;return n+r+(parseFloat((0,i.default)(t,"borderBottomWidth"))||0)+o+s+(parseFloat((0,i.default)(t,"marginTop"))||0)+(parseFloat((0,i.default)(t,"marginBottom"))||0)};var i=r(n(139)),a=r(n(387))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=(0,a.default)(t,e),r=parseFloat((0,i.default)(t,"borderLeftWidth"))||0,o=parseFloat((0,i.default)(t,"paddingLeft"))||0,s=parseFloat((0,i.default)(t,"paddingRight"))||0,l=parseFloat((0,i.default)(t,"borderRightWidth"))||0,u=parseFloat((0,i.default)(t,"marginRight"))||0;return n+r+l+o+s+(parseFloat((0,i.default)(t,"marginLeft"))||0)+u};var i=r(n(139)),a=r(n(388))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return window.devicePixelRatio?window.devicePixelRatio:2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(96),a=n(0),o=n(202),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.__assign(r.__assign({},e),{container:null,containerTpl:"
    ",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){this.get("container").style.display="",this.set("visible",!0)},e.prototype.hide=function(){this.get("container").style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.getContainer(),n=t?"auto":"none";e.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),e=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return o.createBBox(e,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");o.clearDom(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),t.prototype.destroy.call(this)},e.prototype.init=function(){t.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if(a.isNil(t)){t=this.createDom();var e=this.get("parent");a.isString(e)&&(e=document.getElementById(e),this.set("parent",e)),e.appendChild(t),this.get("containerId")&&t.setAttribute("id",this.get("containerId")),this.set("container",t)}else a.isString(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),e=this.get("defaultStyles");t=t?a.deepMix({},e,t):e,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var e=this.getContainer();this.applyChildrenStyles(e,t);var n=this.get("containerClassName");if(n&&o.hasClass(e,n)){var r=t[n];i.modifyCSS(e,r)}}},e.prototype.applyChildrenStyles=function(t,e){a.each(e,function(e,n){var r=t.getElementsByClassName(n);a.each(r,function(t){i.modifyCSS(t,e)})})},e.prototype.applyStyle=function(t,e){var n=this.get("domStyles");i.modifyCSS(e,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return i.createDom(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){a.hasKey(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(n(743).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(0),o={none:[],point:["x","y"],region:["start","end"],points:["points"],circle:["center","radius","startAngle","endAngle"]},s=function(t){function e(e){var n=t.call(this,e)||this;return n.initCfg(),n}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){return{id:"",name:"",type:"",locationType:"none",offsetX:0,offsetY:0,animate:!1,capture:!0,updateAutoRender:!1,animateOption:{appear:null,update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},events:null,defaultCfg:{},visible:!0}},e.prototype.clear=function(){},e.prototype.update=function(t){var e=this,n=this.get("defaultCfg")||{};a.each(t,function(t,r){var i=e.get(r),o=t;i!==t&&(a.isObject(t)&&n[r]&&(o=a.deepMix({},n[r],t)),e.set(r,o))}),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){a.hasKey(t,"visible")&&(t.visible?this.show():this.hide()),a.hasKey(t,"capture")&&this.setCapture(t.capture)},e.prototype.getLayoutBBox=function(){return this.getBBox()},e.prototype.getLocationType=function(){return this.get("locationType")},e.prototype.getOffset=function(){return{offsetX:this.get("offsetX"),offsetY:this.get("offsetY")}},e.prototype.setOffset=function(t,e){this.update({offsetX:t,offsetY:e})},e.prototype.setLocation=function(t){var e=r.__assign({},t);this.update(e)},e.prototype.getLocation=function(){var t=this,e={},n=o[this.get("locationType")];return a.each(n,function(n){e[n]=t.get(n)}),e},e.prototype.isList=function(){return!1},e.prototype.isSlider=function(){return!1},e.prototype.init=function(){},e.prototype.initCfg=function(){var t=this,e=this.get("defaultCfg");a.each(e,function(e,n){var r=t.get(n);if(a.isObject(r)){var i=a.deepMix({},e,r);t.set(n,i)}})},e}(i.Base);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(242),o=r(n(392)),s=n(102),l=r(n(752)),u=r(n(784)),c=(0,a.detect)(),f=c&&"firefox"===c.name,d=function(t){function e(e){var n=t.call(this,e)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.cursor="default",e.supportCSSTransform=!1,e},e.prototype.initContainer=function(){var t=this.get("container");(0,s.isString)(t)&&(t=document.getElementById(t),this.set("container",t))},e.prototype.initDom=function(){var t=this.createDom();this.set("el",t),this.get("container").appendChild(t),this.setDOMSize(this.get("width"),this.get("height"))},e.prototype.initEvents=function(){var t=new u.default({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new l.default(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,e){var n=this.get("el");s.isBrowser&&(n.style.width=t+"px",n.style.height=e+"px")},e.prototype.changeSize=function(t,e){this.setDOMSize(t,e),this.set("width",t),this.set("height",e),this.onCanvasChange("changeSize")},e.prototype.getRenderer=function(){return this.get("renderer")},e.prototype.getCursor=function(){return this.get("cursor")},e.prototype.setCursor=function(t){this.set("cursor",t);var e=this.get("el");s.isBrowser&&e&&(e.style.cursor=t)},e.prototype.getPointByEvent=function(t){if(this.get("supportCSSTransform")){if(f&&!(0,s.isNil)(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!(0,s.isNil)(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var e=this.getClientByEvent(t),n=e.x,r=e.y;return this.getPointByClient(n,r)},e.prototype.getClientByEvent=function(t){var e=t;return t.touches&&(e="touchend"===t.type?t.changedTouches[0]:t.touches[0]),{x:e.clientX,y:e.clientY}},e.prototype.getPointByClient=function(t,e){var n=this.get("el").getBoundingClientRect();return{x:t-n.left,y:e-n.top}},e.prototype.getClientByPoint=function(t,e){var n=this.get("el").getBoundingClientRect();return{x:t+n.left,y:e+n.top}},e.prototype.draw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.parentNode.removeChild(t)},e.prototype.clearEvents=function(){this.get("eventController").destroy()},e.prototype.isCanvas=function(){return!0},e.prototype.getParent=function(){return null},e.prototype.destroy=function(){var e=this.get("timeline");this.get("destroyed")||(this.clear(),e&&e.stop(),this.clearEvents(),this.removeDom(),t.prototype.destroy.call(this))},e}(o.default);e.default=d},function(t,e,n){"use strict";var r,i,a,o=t.exports={};function s(){throw Error("setTimeout has not been defined")}function l(){throw Error("clearTimeout has not been defined")}function u(t){if(r===setTimeout)return setTimeout(t,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch(t){r=s}try{i="function"==typeof clearTimeout?clearTimeout:l}catch(t){i=l}}();var c=[],f=!1,d=-1;function p(){f&&a&&(f=!1,a.length?c=a.concat(c):d=-1,c.length&&h())}function h(){if(!f){var t=u(p);f=!0;for(var e=c.length;e;){for(a=c,c=[];++d1)for(var n=1;nh(e,n)&&(r=-r),t[0]=e[0]*i+n[0]*r,t[1]=e[1]*i+n[1]*r,t[2]=e[2]*i+n[2]*r,t[3]=e[3]*i+n[3]*r,t[4]=e[4]*i+n[4]*r,t[5]=e[5]*i+n[5]*r,t[6]=e[6]*i+n[6]*r,t[7]=e[7]*i+n[7]*r,t},e.mul=void 0,e.multiply=p,e.normalize=function(t,e){var n=v(e);if(n>0){n=Math.sqrt(n);var r=e[0]/n,i=e[1]/n,a=e[2]/n,o=e[3]/n,s=e[4],l=e[5],u=e[6],c=e[7],f=r*s+i*l+a*u+o*c;t[0]=r,t[1]=i,t[2]=a,t[3]=o,t[4]=(s-r*f)/n,t[5]=(l-i*f)/n,t[6]=(u-a*f)/n,t[7]=(c-o*f)/n}return t},e.rotateAroundAxis=function(t,e,n,r){if(Math.abs(r)=0;return n?a?2*Math.PI-i:i:a?i:2*Math.PI-i},e.direction=s,e.leftRotate=a,e.leftScale=o,e.leftTranslate=i,e.transform=function(t,e){for(var n=t?[].concat(t):[1,0,0,0,1,0,0,0,1],s=0,l=e.length;s0){for(var c=r.animators.length-1;c>=0;c--){if((t=r.animators[c]).destroyed){r.removeAnimator(c);continue}if(!t.isAnimatePaused()){e=t.get("animations");for(var f=e.length-1;f>=0;f--)(function(t,e,n){var r,a=e.startTime;if(nh.length?(p=l.parsePathString(c[f]),h=l.parsePathString(s[f]),h=l.fillPathByDiff(h,p),h=l.formatPath(h,p),e.fromAttrs.path=h,e.toAttrs.path=p):e.pathFormatted||(p=l.parsePathString(c[f]),h=l.parsePathString(s[f]),h=l.formatPath(h,p),e.fromAttrs.path=h,e.toAttrs.path=p,e.pathFormatted=!0),a[f]=[];for(var g=0;gf?Math.pow(t,1/3):t/c+l}function v(t){return t>u?t*t*t:c*(t-l)}function y(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function m(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function b(t){if(t instanceof _)return new _(t.h,t.c,t.l,t.opacity);if(t instanceof h||(t=d(t)),0===t.a&&0===t.b)return new _(NaN,0180?u+=360:u-l>180&&(l+=360),p.push({i:d.push(a(d)+"rotate(",null,r)-2,x:(0,i.default)(l,u)})):u&&d.push(a(d)+"rotate("+u+r),(c=o.skewX)!==(f=s.skewX)?p.push({i:d.push(a(d)+"skewX(",null,r)-2,x:(0,i.default)(c,f)}):f&&d.push(a(d)+"skewX("+f+r),function(t,e,n,r,o,s){if(t!==n||e!==r){var l=o.push(a(o)+"scale(",null,",",null,")");s.push({i:l-4,x:(0,i.default)(t,n)},{i:l-2,x:(0,i.default)(e,r)})}else(1!==n||1!==r)&&o.push(a(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,s.scaleX,s.scaleY,d,p),o=s=null,function(t){for(var e,n=-1,r=p.length;++n120||u*u+c*c>40?s&&s.get("draggable")?((a=this.mousedownShape).set("capture",!1),this.draggingShape=a,this.dragging=!0,this._emitEvent("dragstart",n,t,a),this.mousedownShape=null,this.mousedownPoint=null):!s&&r.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,t,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e))}else this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)}},t.prototype._emitEvent=function(t,e,n,r,i,o){var l=this._getEventObj(t,e,n,r,i,o);if(r){l.shape=r,s(r,t,l);for(var u=r.getParent();u;)u.emitDelegation(t,l),l.propagationStopped||function(t,e,n){if(n.bubbles){var r=void 0,i=!1;if("mouseenter"===e?(r=n.fromShape,i=!0):"mouseleave"===e&&(i=!0,r=n.toShape),!t.isCanvas()||!i){if(r&&(0,a.isParent)(t,r)){n.bubbles=!1;return}n.name=e,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}}}(u,t,l),l.propagationPath.push(u),u=u.getParent()}else s(this.canvas,t,l)},t.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},t}();e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.isGroup=function(){return!0},e.prototype.isEntityGroup=function(){return!1},e.prototype.clone=function(){for(var e=t.prototype.clone.call(this),n=this.getChildren(),r=0;r=t&&n.minY<=e&&n.maxY>=e},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e),this.clearCacheBBox()},e.prototype.getBBox=function(){var t=this.cfg.bbox;return t||(t=this.calculateBBox(),this.set("bbox",t)),t},e.prototype.getCanvasBBox=function(){var t=this.cfg.canvasBBox;return t||(t=this.calculateCanvasBBox(),this.set("canvasBBox",t)),t},e.prototype.applyMatrix=function(e){t.prototype.applyMatrix.call(this,e),this.set("canvasBBox",null)},e.prototype.calculateCanvasBBox=function(){var t=this.getBBox(),e=this.getTotalMatrix(),n=t.minX,r=t.minY,i=t.maxX,a=t.maxY;if(e){var s=(0,o.multiplyVec2)(e,[t.minX,t.minY]),l=(0,o.multiplyVec2)(e,[t.maxX,t.minY]),u=(0,o.multiplyVec2)(e,[t.minX,t.maxY]),c=(0,o.multiplyVec2)(e,[t.maxX,t.maxY]);n=Math.min(s[0],l[0],u[0],c[0]),i=Math.max(s[0],l[0],u[0],c[0]),r=Math.min(s[1],l[1],u[1],c[1]),a=Math.max(s[1],l[1],u[1],c[1])}var f=this.attrs;if(f.shadowColor){var d=f.shadowBlur,p=void 0===d?0:d,h=f.shadowOffsetX,g=void 0===h?0:h,v=f.shadowOffsetY,y=void 0===v?0:v,m=n-p+g,b=i+p+g,x=r-p+y,_=a+p+y;n=Math.min(n,m),i=Math.max(i,b),r=Math.min(r,x),a=Math.max(a,_)}return{x:n,y:r,minX:n,minY:r,maxX:i,maxY:a,width:i-n,height:a-r}},e.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},e.prototype.isClipShape=function(){return this.get("isClipShape")},e.prototype.isInShape=function(t,e){return!1},e.prototype.isOnlyHitBox=function(){return!1},e.prototype.isHit=function(t,e){var n=this.get("startArrowShape"),r=this.get("endArrowShape"),i=[t,e,1],a=(i=this.invertFromMatrix(i))[0],o=i[1],s=this._isInBBox(a,o);return this.isOnlyHitBox()?s:!!(s&&!this.isClipped(a,o)&&(this.isInShape(a,o)||n&&n.isHit(a,o)||r&&r.isHit(a,o)))},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getBBoxMethod",{enumerable:!0,get:function(){return i.getMethod}}),Object.defineProperty(e,"registerBBox",{enumerable:!0,get:function(){return i.register}});var i=n(788),a=r(n(789)),o=r(n(790)),s=r(n(791)),l=r(n(797)),u=r(n(798)),c=r(n(799)),f=r(n(814)),d=r(n(815));(0,i.register)("rect",a.default),(0,i.register)("image",a.default),(0,i.register)("circle",o.default),(0,i.register)("marker",o.default),(0,i.register)("polyline",s.default),(0,i.register)("polygon",l.default),(0,i.register)("text",u.default),(0,i.register)("path",c.default),(0,i.register)("line",f.default),(0,i.register)("ellipse",d.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getMethod=function(t){return r.get(t)},e.register=function(t,e){r.set(t,e)};var r=new Map},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attr();return{x:e.x,y:e.y,width:e.width,height:e.height}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.r;return{x:n-i,y:r-i,width:2*i,height:2*i}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=t.attr().points,n=[],a=[],o=0;o=0?[i]:[]}function u(t,e,n,r){return 2*(1-r)*(e-t)+2*r*(n-e)}function c(t,e,n,r,a,o,l){var u=s(t,n,a,l),c=s(e,r,o,l),f=i.default.pointAt(t,e,n,r,l),d=i.default.pointAt(n,r,a,o,l);return[[t,e,f.x,f.y,u,c],[u,c,d.x,d.y,a,o]]}e.default={box:function(t,e,n,r,i,o){var u=l(t,n,i)[0],c=l(e,r,o)[0],f=[t,i],d=[e,o];return void 0!==u&&f.push(s(t,n,i,u)),void 0!==c&&d.push(s(e,r,o,c)),(0,a.getBBoxByArray)(f,d)},length:function(t,e,n,r,i,o){return function t(e,n,r,i,o,s,l){if(0===l)return((0,a.distance)(e,n,r,i)+(0,a.distance)(r,i,o,s)+(0,a.distance)(e,n,o,s))/2;var u=c(e,n,r,i,o,s,.5),f=u[0],d=u[1];return f.push(l-1),d.push(l-1),t.apply(null,f)+t.apply(null,d)}(t,e,n,r,i,o,3)},nearestPoint:function(t,e,n,r,i,a,l,u){return(0,o.nearestPoint)([t,n,i],[e,r,a],l,u,s)},pointDistance:function(t,e,n,r,i,o,s,l){var u=this.nearestPoint(t,e,n,r,i,o,s,l);return(0,a.distance)(u.x,u.y,s,l)},interpolationAt:s,pointAt:function(t,e,n,r,i,a,o){return{x:s(t,n,i,o),y:s(e,r,a,o)}},divide:function(t,e,n,r,i,a,o){return c(t,e,n,r,i,a,o)},tangentAngle:function(t,e,n,r,i,o,s){var l=u(t,n,i,s),c=Math.atan2(u(e,r,o,s),l);return(0,a.piMod)(c)}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(87),a=r(n(174)),o=n(409);function s(t,e,n,r,i){var a=1-i;return a*a*a*t+3*e*i*a*a+3*n*i*i*a+r*i*i*i}function l(t,e,n,r,i){var a=1-i;return 3*(a*a*(e-t)+2*a*i*(n-e)+i*i*(r-n))}function u(t,e,n,r){var a,o,s,l=-3*t+9*e-9*n+3*r,u=6*t-12*e+6*n,c=3*e-3*t,f=[];if((0,i.isNumberEqual)(l,0))!(0,i.isNumberEqual)(u,0)&&(a=-c/u)>=0&&a<=1&&f.push(a);else{var d=u*u-4*l*c;(0,i.isNumberEqual)(d,0)?f.push(-u/(2*l)):d>0&&(a=(-u+(s=Math.sqrt(d)))/(2*l),o=(-u-s)/(2*l),a>=0&&a<=1&&f.push(a),o>=0&&o<=1&&f.push(o))}return f}function c(t,e,n,r,i,o,l,u,c){var f=s(t,n,i,l,c),d=s(e,r,o,u,c),p=a.default.pointAt(t,e,n,r,c),h=a.default.pointAt(n,r,i,o,c),g=a.default.pointAt(i,o,l,u,c),v=a.default.pointAt(p.x,p.y,h.x,h.y,c),y=a.default.pointAt(h.x,h.y,g.x,g.y,c);return[[t,e,p.x,p.y,v.x,v.y,f,d],[f,d,y.x,y.y,g.x,g.y,l,u]]}e.default={extrema:u,box:function(t,e,n,r,a,o,l,c){for(var f=[t,l],d=[e,c],p=u(t,n,a,l),h=u(e,r,o,c),g=0;gf&&(f=g)}for(var v=Math.atan(r/(n*Math.tan(i))),y=1/0,m=-1/0,b=[a,l],p=-(2*Math.PI);p<=2*Math.PI;p+=Math.PI){var x=v+p;am&&(m=_)}return{x:c,y:y,width:f-c,height:m-y}},length:function(t,e,n,r,i,a,o){},nearestPoint:function(t,e,n,r,i,o,s,c,f){var d,p=u(c-t,f-e,-i),h=p[0],g=p[1],v=a.default.nearestPoint(0,0,n,r,h,g),y=(d=v.x,(Math.atan2(v.y*n,d*r)+2*Math.PI)%(2*Math.PI));ys&&(v=l(n,r,s));var m=u(v.x,v.y,i);return{x:m[0]+t,y:m[1]+e}},pointDistance:function(t,e,n,r,a,o,s,l,u){var c=this.nearestPoint(t,e,n,r,l,u);return(0,i.distance)(c.x,c.y,l,u)},pointAt:function(t,e,n,r,i,a,l,u){var c=(l-a)*u+a;return{x:o(t,e,n,r,i,c),y:s(t,e,n,r,i,c)}},tangentAngle:function(t,e,n,r,a,o,s,l){var u=(s-o)*l+o,c=-1*n*Math.cos(a)*Math.sin(u)-r*Math.sin(a)*Math.cos(u),f=-1*n*Math.sin(a)*Math.sin(u)+r*Math.cos(a)*Math.cos(u);return(0,i.piMod)(Math.atan2(f,c))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(87);function i(t,e){var n=Math.abs(t);return e>0?n:-1*n}e.default={box:function(t,e,n,r){return{x:t-n,y:e-r,width:2*n,height:2*r}},length:function(t,e,n,r){return Math.PI*(3*(n+r)-Math.sqrt((3*n+r)*(n+3*r)))},nearestPoint:function(t,e,n,r,a,o){if(0===n||0===r)return{x:t,y:e};for(var s,l,u=a-t,c=o-e,f=Math.abs(u),d=Math.abs(c),p=n*n,h=r*r,g=Math.PI/4,v=0;v<4;v++){s=n*Math.cos(g),l=r*Math.sin(g);var y=(p-h)*Math.pow(Math.cos(g),3)/n,m=(h-p)*Math.pow(Math.sin(g),3)/r,b=s-y,x=l-m,_=f-y,O=d-m,P=Math.hypot(x,b),M=Math.hypot(O,_);g+=P*Math.asin((b*O-x*_)/(P*M))/Math.sqrt(p+h-s*s-l*l),g=Math.min(Math.PI/2,Math.max(0,g))}return{x:t+i(s,u),y:e+i(l,c)}},pointDistance:function(t,e,n,i,a,o){var s=this.nearestPoint(t,e,n,i,a,o);return(0,r.distance)(s.x,s.y,a,o)},pointAt:function(t,e,n,r,i){var a=2*Math.PI*i;return{x:t+n*Math.cos(a),y:e+r*Math.sin(a)}},tangentAngle:function(t,e,n,i,a){var o=2*Math.PI*a,s=Math.atan2(i*Math.cos(o),-n*Math.sin(o));return(0,r.piMod)(s)}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(410),a=r(n(411));function o(t){var e=t.slice(0);return t.length&&e.push(t[0]),e}e.default={box:function(t){return a.default.box(t)},length:function(t){return(0,i.lengthOfSegment)(o(t))},pointAt:function(t,e){return(0,i.pointAtSegments)(o(t),e)},pointDistance:function(t,e,n){return(0,i.distanceAtSegment)(o(t),e,n)},tangentAngle:function(t,e){return(0,i.angleAtSegments)(o(t),e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=t.attr().points,n=[],i=[],a=0;aMath.PI/2?Math.PI-u:u))*(e/2*(1/Math.sin(l/2)))-e/2||0,yExtra:Math.cos((c=c>Math.PI/2?Math.PI-c:c)-l/2)*(e/2*(1/Math.sin(l/2)))-e/2||0}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(801);e.default=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=[[0,0],[1,1]]);for(var i,a,o,s=!!e,l=[],u=0,c=t.length;u=0;return n?a?2*Math.PI-i:i:a?i:2*Math.PI-i},e.direction=s,e.leftRotate=a,e.leftScale=o,e.leftTranslate=i,e.transform=function(t,e){for(var n=t?[].concat(t):[1,0,0,0,1,0,0,0,1],s=0,l=e.length;s=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1])})}(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var a=0;a<=n-1;a++)r.push(i)}return r}(t[i],t[i+1],r))},[]);return l.unshift(t[0]),("Z"===e[r]||"z"===e[r])&&l.push("Z"),l}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=i(t,e),r=t.length,a=e.length,o=[],s=1,l=1;if(n[r][a]!==r){for(var u=1;u<=r;u++){var c=n[u][u].min;l=u;for(var f=s;f<=a;f++)n[u][f].min=0;u--)s=o[u].index,"add"===o[u].type?t.splice(s,0,[].concat(t[s])):t.splice(s,1)}if((r=t.length)0)n=i(n,t[a-1],1);else{t[a]=e[a];break}}t[a]=["Q"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[a]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(a>0)n=i(n,t[a-1],2);else{t[a]=e[a];break}}t[a]=["C"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(n.length<2){if(a>0)n=i(n,t[a-1],1);else{t[a]=e[a];break}}t[a]=["S"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;default:t[a]=e[a]}return t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return v(t,e)};var i=n(0),a=r(n(415)),o=r(n(416)),s=function(t,e,n,r,i){return t*(t*(-3*e+9*n-9*r+3*i)+6*e-12*n+6*r)-3*e+3*n},l=function(t,e,n,r,i,a,o,l,u){null===u&&(u=1);for(var c=(u=u>1?1:u<0?0:u)/2,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,h=0;h<12;h++){var g=c*f[h]+c,v=s(g,t,n,i,o),y=s(g,e,r,a,l),m=v*v+y*y;p+=d[h]*Math.sqrt(m)}return c*p},u=function(t,e,n,r,i,a,o,s){for(var l,u,c,f,d,p=[],h=[[],[]],g=0;g<2;++g){if(0===g?(u=6*t-12*n+6*i,l=-3*t+9*n-9*i+3*o,c=3*n-3*t):(u=6*e-12*r+6*a,l=-3*e+9*r-9*a+3*s,c=3*r-3*e),1e-12>Math.abs(l)){if(1e-12>Math.abs(u))continue;(f=-c/u)>0&&f<1&&p.push(f);continue}var v=u*u-4*c*l,y=Math.sqrt(v);if(!(v<0)){var m=(-u+y)/(2*l);m>0&&m<1&&p.push(m);var b=(-u-y)/(2*l);b>0&&b<1&&p.push(b)}}for(var x=p.length,_=x;x--;)d=1-(f=p[x]),h[0][x]=d*d*d*t+3*d*d*f*n+3*d*f*f*i+f*f*f*o,h[1][x]=d*d*d*e+3*d*d*f*r+3*d*f*f*a+f*f*f*s;return h[0][_]=t,h[1][_]=e,h[0][_+1]=o,h[1][_+1]=s,h[0].length=h[1].length=_+2,{min:{x:Math.min.apply(0,h[0]),y:Math.min.apply(0,h[1])},max:{x:Math.max.apply(0,h[0]),y:Math.max.apply(0,h[1])}}},c=function(t,e,n,r,i,a,o,s){if(!(Math.max(t,n)Math.max(i,o)||Math.max(e,r)Math.max(a,s))){var l=(t-n)*(a-s)-(e-r)*(i-o);if(l){var u=((t*r-e*n)*(i-o)-(t-n)*(i*s-a*o))/l,c=((t*r-e*n)*(a-s)-(e-r)*(i*s-a*o))/l,f=+u.toFixed(2),d=+c.toFixed(2);if(!(f<+Math.min(t,n).toFixed(2)||f>+Math.max(t,n).toFixed(2)||f<+Math.min(i,o).toFixed(2)||f>+Math.max(i,o).toFixed(2)||d<+Math.min(e,r).toFixed(2)||d>+Math.max(e,r).toFixed(2)||d<+Math.min(a,s).toFixed(2)||d>+Math.max(a,s).toFixed(2)))return{x:u,y:c}}}},f=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},d=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:(0,a.default)(t,e,n,r),vb:[t,e,n,r].join(" ")}},p=function(t,e,n,r,a,o,s,l){(0,i.isArray)(t)||(t=[t,e,n,r,a,o,s,l]);var c=u.apply(null,t);return d(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)},h=function(t,e,n,r,i,a,o,s,l){var u=1-l,c=Math.pow(u,3),f=Math.pow(u,2),d=l*l,p=d*l,h=t+2*l*(n-t)+d*(i-2*n+t),g=e+2*l*(r-e)+d*(a-2*r+e),v=n+2*l*(i-n)+d*(o-2*i+n),y=r+2*l*(a-r)+d*(s-2*a+r),m=90-180*Math.atan2(h-v,g-y)/Math.PI;return{x:c*t+3*f*l*n+3*u*l*l*i+p*o,y:c*e+3*f*l*r+3*u*l*l*a+p*s,m:{x:h,y:g},n:{x:v,y:y},start:{x:u*t+l*n,y:u*e+l*r},end:{x:u*i+l*o,y:u*a+l*s},alpha:m}},g=function(t,e,n){var r,i,a=p(t),o=p(e);if(r=a,i=o,r=d(r),!(f(i=d(i),r.x,r.y)||f(i,r.x2,r.y)||f(i,r.x,r.y2)||f(i,r.x2,r.y2)||f(r,i.x,i.y)||f(r,i.x2,i.y)||f(r,i.x,i.y2)||f(r,i.x2,i.y2))&&((!(r.xi.x))&&(!(i.xr.x))||(!(r.yi.y))&&(!(i.yr.y))))return n?0:[];for(var s=l.apply(0,t),u=l.apply(0,e),g=~~(s/8),v=~~(u/8),y=[],m=[],b={},x=n?0:[],_=0;_Math.abs(A.x-M.x)?"y":"x",C=.001>Math.abs(w.x-S.x)?"y":"x",T=c(M.x,M.y,A.x,A.y,S.x,S.y,w.x,w.y);if(T){if(b[T.x.toFixed(4)]===T.y.toFixed(4))continue;b[T.x.toFixed(4)]=T.y.toFixed(4);var I=M.t+Math.abs((T[E]-M[E])/(A[E]-M[E]))*(A.t-M.t),j=S.t+Math.abs((T[C]-S[C])/(w[C]-S[C]))*(w.t-S.t);I>=0&&I<=1&&j>=0&&j<=1&&(n?x++:x.push({x:T.x,y:T.y,t1:I,t2:j}))}}return x},v=function(t,e,n){t=(0,o.default)(t),e=(0,o.default)(e);for(var r,i,a,s,l,u,c,f,d,p,h=n?0:[],v=0,y=t.length;v"TQ".indexOf(t[0])&&(e.qx=null,e.qy=null);var n=t.slice(1),o=n[0],s=n[1];switch(t[0]){case"M":e.x=o,e.y=s;break;case"A":return["C"].concat(r.arcToCubic.apply(0,[e.x1,e.y1].concat(t.slice(1))));case"Q":return e.qx=o,e.qy=s,["C"].concat(i.quadToCubic.apply(0,[e.x1,e.y1].concat(t.slice(1))));case"L":return["C"].concat((0,a.lineToCubic)(e.x1,e.y1,t[1],t[2]));case"H":return["C"].concat((0,a.lineToCubic)(e.x1,e.y1,t[1],e.y1));case"V":return["C"].concat((0,a.lineToCubic)(e.x1,e.y1,e.x1,t[1]));case"Z":return["C"].concat((0,a.lineToCubic)(e.x1,e.y1,e.x,e.y))}return t};var r=n(808),i=n(809),a=n(810)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arcToCubic=function(t,e,n,r,i,a,o,s,u){return l({px:t,py:e,cx:s,cy:u,rx:n,ry:r,xAxisRotation:i,largeArcFlag:a,sweepFlag:o}).reduce(function(t,e){var n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.x,s=e.y;return t.push(n,r,i,a,o,s),t},[])};var r=2*Math.PI,i=function(t,e,n,r,i,a,o){var s=t.x,l=t.y;return{x:r*(s*=e)-i*(l*=n)+a,y:i*s+r*l+o}},a=function(t,e){var n=1.5707963267948966===e?.551915024494:-1.5707963267948966===e?-.551915024494:4/3*Math.tan(e/4),r=Math.cos(t),i=Math.sin(t),a=Math.cos(t+e),o=Math.sin(t+e);return[{x:r-i*n,y:i+r*n},{x:a+o*n,y:o-a*n},{x:a,y:o}]},o=function(t,e,n,r){var i=t*n+e*r;return i>1&&(i=1),i<-1&&(i=-1),(t*r-e*n<0?-1:1)*Math.acos(i)},s=function(t,e,n,i,a,s,l,u,c,f,d,p){var h=Math.pow(a,2),g=Math.pow(s,2),v=Math.pow(d,2),y=Math.pow(p,2),m=h*g-h*y-g*v;m<0&&(m=0),m/=h*y+g*v;var b=(m=Math.sqrt(m)*(l===u?-1:1))*a/s*p,x=-(m*s)/a*d,_=(d-b)/a,O=(p-x)/s,P=o(1,0,_,O),M=o(_,O,(-d-b)/a,(-p-x)/s);return 0===u&&M>0&&(M-=r),1===u&&M<0&&(M+=r),[f*b-c*x+(t+n)/2,c*b+f*x+(e+i)/2,P,M]},l=function(t){var e=t.px,n=t.py,o=t.cx,l=t.cy,u=t.rx,c=t.ry,f=t.xAxisRotation,d=void 0===f?0:f,p=t.largeArcFlag,h=void 0===p?0:p,g=t.sweepFlag,v=void 0===g?0:g,y=[];if(0===u||0===c)return[{x1:0,y1:0,x2:0,y2:0,x:o,y:l}];var m=Math.sin(d*r/360),b=Math.cos(d*r/360),x=b*(e-o)/2+m*(n-l)/2,_=-m*(e-o)/2+b*(n-l)/2;if(0===x&&0===_)return[{x1:0,y1:0,x2:0,y2:0,x:o,y:l}];var O=Math.pow(x,2)/Math.pow(u=Math.abs(u),2)+Math.pow(_,2)/Math.pow(c=Math.abs(c),2);O>1&&(u*=Math.sqrt(O),c*=Math.sqrt(O));var P=s(e,n,o,l,u,c,h,v,m,b,x,_),M=P[0],A=P[1],S=P[2],w=P[3],E=Math.abs(w)/(r/4);1e-7>Math.abs(1-E)&&(E=1);var C=Math.max(Math.ceil(E),1);w/=C;for(var T=0;Tn.maxX||r.maxXn.maxY||r.maxY1){var o=t[0],s=t[n-1];e.push({from:{x:s[0],y:s[1]},to:{x:o[0],y:o[1]}})}return e}function l(t){var e=t.map(function(t){return t[0]}),n=t.map(function(t){return t[1]});return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,n),maxY:Math.max.apply(null,n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attr(),n=e.x1,i=e.y1,a=e.x2,o=e.y2,s={minX:Math.min(n,a),maxX:Math.max(n,a),minY:Math.min(i,o),maxY:Math.max(i,o)};return{x:(s=(0,r.mergeArrowBBox)(t,s)).minX,y:s.minY,width:s.maxX-s.minX,height:s.maxY-s.minY}};var r=n(249)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.rx,a=e.ry;return{x:n-i,y:r-a,width:2*i,height:2*a}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0});var i={getAdjust:!0,registerAdjust:!0,Adjust:!0};Object.defineProperty(e,"Adjust",{enumerable:!0,get:function(){return a.default}}),e.registerAdjust=e.getAdjust=void 0;var a=r(n(110)),o=n(423);Object.keys(o).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(i,t))&&(t in e&&e[t]===o[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))});var s={},l=function(t){return s[t.toLowerCase()]};e.getAdjust=l,e.registerAdjust=function(t,e){if(l(t))throw Error("Adjust type '"+t+"' existed.");s[t.toLowerCase()]=e}},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(89),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(0)),s=n(250);function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=function(t){function e(e){var n=t.call(this,e)||this;n.cacheMap={},n.adjustDataArray=[],n.mergeData=[];var r=e.marginRatio,i=void 0===r?s.MARGIN_RATIO:r,a=e.dodgeRatio,o=void 0===a?s.DODGE_RATIO:a,l=e.dodgeBy,u=e.intervalPadding,c=e.dodgePadding,f=e.xDimensionLength,d=e.groupNum,p=e.defaultSize,h=e.maxColumnWidth,g=e.minColumnWidth,v=e.columnWidthRatio,y=e.customOffset;return n.marginRatio=i,n.dodgeRatio=o,n.dodgeBy=l,n.intervalPadding=u,n.dodgePadding=c,n.xDimensionLegenth=f,n.groupNum=d,n.defaultSize=p,n.maxColumnWidth=h,n.minColumnWidth=g,n.columnWidthRatio=v,n.customOffset=y,n}return(0,a.__extends)(e,t),e.prototype.process=function(t){var e=o.clone(t),n=o.flatten(e),r=this.dodgeBy,i=r?o.group(n,r):e;return this.cacheMap={},this.adjustDataArray=i,this.mergeData=n,this.adjustData(i,n),this.adjustDataArray=[],this.mergeData=[],e},e.prototype.adjustDim=function(t,e,n,r){var i=this,a=this.customOffset,s=this.getDistribution(t),l=this.groupData(n,t);return o.each(l,function(n,l){var u;u=1===e.length?{pre:e[0]-1,next:e[0]+1}:i.getAdjustRange(t,parseFloat(l),e),o.each(n,function(e){var n=s[e[t]],l=n.indexOf(r);if(o.isNil(a))e[t]=i.getDodgeOffset(u,l,n.length);else{var c=u.pre,f=u.next;e[t]=o.isFunction(a)?a(e,u):(c+f)/2+a}})}),[]},e.prototype.getDodgeOffset=function(t,e,n){var r,i=this.dodgeRatio,a=this.marginRatio,s=this.intervalPadding,l=this.dodgePadding,u=t.pre,c=t.next,f=c-u;if(!o.isNil(s)&&o.isNil(l)&&s>=0){var d=this.getIntervalOnlyOffset(n,e);r=u+d}else if(!o.isNil(l)&&o.isNil(s)&&l>=0){var d=this.getDodgeOnlyOffset(n,e);r=u+d}else if(!o.isNil(s)&&!o.isNil(l)&&s>=0&&l>=0){var d=this.getIntervalAndDodgeOffset(n,e);r=u+d}else{var p=f*i/n,h=a*p,d=.5*(f-n*p-(n-1)*h)+((e+1)*p+e*h)-.5*p-.5*f;r=(u+c)/2+d}return r},e.prototype.getIntervalOnlyOffset=function(t,e){var n=this.defaultSize,r=this.intervalPadding,i=this.xDimensionLegenth,a=this.groupNum,s=this.dodgeRatio,l=this.maxColumnWidth,u=this.minColumnWidth,c=this.columnWidthRatio,f=r/i,d=(1-(a-1)*f)/a*s/(t-1),p=((1-f*(a-1))/a-d*(t-1))/t;return p=o.isNil(c)?p:1/a/t*c,o.isNil(l)||(p=Math.min(p,l/i)),o.isNil(u)||(p=Math.max(p,u/i)),d=((1-(a-1)*f)/a-t*(p=n?n/i:p))/(t-1),((.5+e)*p+e*d+.5*f)*a-f/2},e.prototype.getDodgeOnlyOffset=function(t,e){var n=this.defaultSize,r=this.dodgePadding,i=this.xDimensionLegenth,a=this.groupNum,s=this.marginRatio,l=this.maxColumnWidth,u=this.minColumnWidth,c=this.columnWidthRatio,f=r/i,d=1*s/(a-1),p=((1-d*(a-1))/a-f*(t-1))/t;return p=c?1/a/t*c:p,o.isNil(l)||(p=Math.min(p,l/i)),o.isNil(u)||(p=Math.max(p,u/i)),d=(1-((p=n?n/i:p)*t+f*(t-1))*a)/(a-1),((.5+e)*p+e*f+.5*d)*a-d/2},e.prototype.getIntervalAndDodgeOffset=function(t,e){var n=this.intervalPadding,r=this.dodgePadding,i=this.xDimensionLegenth,a=this.groupNum,o=n/i,s=r/i;return((.5+e)*(((1-o*(a-1))/a-s*(t-1))/t)+e*s+.5*o)*a-o/2},e.prototype.getDistribution=function(t){var e=this.adjustDataArray,n=this.cacheMap,r=n[t];return r||(r={},o.each(e,function(e,n){var i=o.valuesOfKey(e,t);i.length||i.push(0),o.each(i,function(t){r[t]||(r[t]=[]),r[t].push(n)})}),n[t]=r),r},e}(r(n(110)).default);e.default=u},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(89),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(0)),s=n(250);function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.process=function(t){var e=o.clone(t),n=o.flatten(e);return this.adjustData(e,n),e},e.prototype.adjustDim=function(t,e,n){var r=this,i=this.groupData(n,t);return o.each(i,function(n,i){return r.adjustGroup(n,t,parseFloat(i),e)})},e.prototype.getAdjustOffset=function(t){var e,n=t.pre,r=t.next,i=(r-n)*s.GAP;return e=n+i,(r-i-e)*Math.random()+e},e.prototype.adjustGroup=function(t,e,n,r){var i=this,a=this.getAdjustRange(e,n,r);return o.each(t,function(t){t[e]=i.getAdjustOffset(a)}),t},e}(r(n(110)).default);e.default=u},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(89),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(0)),s=r(n(110));function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=o.Cache,c=function(t){function e(e){var n=t.call(this,e)||this,r=e.adjustNames,i=e.height,a=void 0===i?NaN:i,o=e.size,s=e.reverseOrder;return n.adjustNames=void 0===r?["y"]:r,n.height=a,n.size=void 0===o?10:o,n.reverseOrder=void 0!==s&&s,n}return(0,a.__extends)(e,t),e.prototype.process=function(t){var e=this.yField,n=this.reverseOrder,r=e?this.processStack(t):this.processOneDimStack(t);return n?this.reverse(r):r},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var e=this.xField,n=this.yField,r=this.reverseOrder?this.reverse(t):t,i=new u,s=new u;return r.map(function(t){return t.map(function(t){var r,l=o.get(t,e,0),u=o.get(t,[n]),c=l.toString();if(u=o.isArray(u)?u[1]:u,!o.isNil(u)){var f=u>=0?i:s;f.has(c)||f.set(c,0);var d=f.get(c),p=u+d;return f.set(c,p),(0,a.__assign)((0,a.__assign)({},t),((r={})[n]=[d,p],r))}return t})})},e.prototype.processOneDimStack=function(t){var e=this,n=this.xField,r=this.height,i=this.reverseOrder?this.reverse(t):t,o=new u;return i.map(function(t){return t.map(function(t){var i,s=e.size,l=t[n],u=2*s/r;o.has(l)||o.set(l,u/2);var c=o.get(l);return o.set(l,c+u),(0,a.__assign)((0,a.__assign)({},t),((i={}).y=c,i))})})},e}(s.default);e.default=c},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(89),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(r,o,l):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(0));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.process=function(t){var e=o.flatten(t),n=this.xField,r=this.yField,i=this.getXValuesMaxMap(e),s=Math.max.apply(Math,Object.keys(i).map(function(t){return i[t]}));return o.map(t,function(t){return o.map(t,function(t){var e,l,u=t[r],c=t[n];if(o.isArray(u)){var f=(s-i[c])/2;return(0,a.__assign)((0,a.__assign)({},t),((e={})[r]=o.map(u,function(t){return f+t}),e))}var d=(s-u)/2;return(0,a.__assign)((0,a.__assign)({},t),((l={})[r]=[d,u+d],l))})})},e.prototype.getXValuesMaxMap=function(t){var e=this,n=this.xField,r=this.yField,i=o.groupBy(t,function(t){return t[n]});return o.mapValues(i,function(t){return e.getDimMaxValue(t,r)})},e.prototype.getDimMaxValue=function(t,e){var n=o.map(t,function(t){return o.get(t,e,[])}),r=o.flatten(n);return Math.max.apply(Math,r)},e}(r(n(110)).default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=r(n(140)),o=n(0),s=function(t){function e(e){var n=t.call(this,e)||this;return n.type="color",n.names=["color"],(0,o.isString)(n.values)&&(n.linear=!0),n.gradient=a.default.gradient(n.values),n}return(0,i.__extends)(e,t),e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(r(n(103)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=function(t){function e(e){var n=t.call(this,e)||this;return n.type="opacity",n.names=["opacity"],n}return(0,i.__extends)(e,t),e}(r(n(103)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=n(0),o=function(t){function e(e){var n=t.call(this,e)||this;return n.names=["x","y"],n.type="position",n}return(0,i.__extends)(e,t),e.prototype.mapping=function(t,e){var n=this.scales,r=n[0],i=n[1];return(0,a.isNil)(t)||(0,a.isNil)(e)?[]:[(0,a.isArray)(t)?t.map(function(t){return r.scale(t)}):r.scale(t),(0,a.isArray)(e)?e.map(function(t){return i.scale(t)}):i.scale(e)]},e}(r(n(103)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=function(t){function e(e){var n=t.call(this,e)||this;return n.type="shape",n.names=["shape"],n}return(0,i.__extends)(e,t),e.prototype.getLinearValue=function(t){var e=Math.round((this.values.length-1)*t);return this.values[e]},e}(r(n(103)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=function(t){function e(e){var n=t.call(this,e)||this;return n.type="size",n.names=["size"],n}return(0,i.__extends)(e,t),e}(r(n(103)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0});var i={getAttribute:!0,registerAttribute:!0,Attribute:!0};Object.defineProperty(e,"Attribute",{enumerable:!0,get:function(){return a.default}}),e.registerAttribute=e.getAttribute=void 0;var a=r(n(103)),o=n(424);Object.keys(o).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(i,t))&&(t in e&&e[t]===o[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))});var s={},l=function(t){return s[t.toLowerCase()]};e.getAttribute=l,e.registerAttribute=function(t,e){if(l(t))throw Error("Attribute type '"+t+"' existed.");s[t.toLowerCase()]=e}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(175),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return(0,i.__extends)(e,t),e.prototype.translate=function(t){t=(0,o.toTimeStamp)(t);var e=this.values.indexOf(t);return -1===e&&(e=(0,a.isNumber)(t)&&t-1){var r=this.values[n],i=this.formatter;return i?i(r,e):(0,o.timeFormat)(r,this.mask)}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;(0,a.each)(e,function(t,n){e[n]=(0,o.toTimeStamp)(t)}),e.sort(function(t,e){return t-e}),t.prototype.setDomain.call(this)},e}(r(n(426)).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assign=c,e.format=e.defaultI18n=e.default=void 0,e.parse=C,e.setGlobalDateMasks=e.setGlobalDateI18n=void 0;var r=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,i="\\d\\d?",a="\\d\\d",o="[^\\s]+",s=/\[([^]*?)\]/gm;function l(t,e){for(var n=[],r=0,i=t.length;r-1?r:null}};function c(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}};e.defaultI18n=h;var g=c({},h),v=function(t){return g=c(g,t)};e.setGlobalDateI18n=v;var y=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},m=function(t,e){for(void 0===e&&(e=2),t=String(t);t.lengtht.getHours()?e.amPm[0]:e.amPm[1]},A:function(t,e){return 12>t.getHours()?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+m(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+m(Math.floor(Math.abs(e)/60),2)+":"+m(Math.abs(e)%60,2)}},x=function(t){return+t-1},_=[null,i],O=[null,o],P=["isPm",o,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],M=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return"+"===e[0]?n:-n}return 0}],A={D:["day",i],DD:["day",a],Do:["day",i+o,function(t){return parseInt(t,10)}],M:["month",i,x],MM:["month",a,x],YY:["year",a,function(t){var e=+(""+new Date().getFullYear()).substr(0,2);return+(""+(+t>68?e-1:e)+t)}],h:["hour",i,void 0,"isPm"],hh:["hour",a,void 0,"isPm"],H:["hour",i],HH:["hour",a],m:["minute",i],mm:["minute",a],s:["second",i],ss:["second",a],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond",a,function(t){return 10*+t}],SSS:["millisecond","\\d{3}"],d:_,dd:_,ddd:O,dddd:O,MMM:["month",o,u("monthNamesShort")],MMMM:["month",o,u("monthNames")],a:P,A:P,ZZ:M,Z:M},S={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},w=function(t){return c(S,t)};e.setGlobalDateMasks=w;var E=function(t,e,n){if(void 0===e&&(e=S.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw Error("Invalid Date pass to format");e=S[e]||e;var i=[];e=e.replace(s,function(t,e){return i.push(e),"@@@"});var a=c(c({},g),n);return(e=e.replace(r,function(e){return b[e](t,a)})).replace(/@@@/g,function(){return i.shift()})};function C(t,e,n){if(void 0===n&&(n={}),"string"!=typeof e)throw Error("Invalid format in fecha parse");if(e=S[e]||e,t.length>1e3)return null;var i,a={year:new Date().getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},o=[],l=[],u=e.replace(s,function(t,e){return l.push(y(e)),"@@@"}),f={},d={};u=y(u).replace(r,function(t){var e=A[t],n=e[0],r=e[1],i=e[3];if(f[n])throw Error("Invalid format. "+n+" specified twice in format");return f[n]=!0,i&&(d[i]=!0),o.push(e),"("+r+")"}),Object.keys(d).forEach(function(t){if(!f[t])throw Error("Invalid format. "+t+" is required in specified format")}),u=u.replace(/@@@/g,function(){return l.shift()});var p=t.match(RegExp(u,"i"));if(!p)return null;for(var h=c(c({},g),n),v=1;v11||a.month<0||a.day>31||a.day<1||a.hour>23||a.hour<0||a.minute>59||a.minute<0||a.second>59||a.second<0)return null;return i}e.format=E,e.default={format:E,parse:C,defaultI18n:h,setGlobalDateI18n:v,setGlobalDateMasks:w}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(e,n,i,a){for(var o=(0,r.isNil)(i)?0:i,s=(0,r.isNil)(a)?e.length:a;o>>1;t(e[l])>n?s=l:o=l+1}return o}};var r=n(0)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(177),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return(0,i.__extends)(e,t),e.prototype.invert=function(t){var e,n=this.base,r=(0,a.log)(n,this.max),i=this.rangeMin(),o=this.rangeMax()-i,s=this.positiveMin;if(s){if(0===t)return 0;var l=1/(r-(e=(0,a.log)(n,s/n)))*o;if(t=0?1:-1)},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var r=this.exponent;return((0,a.calBase)(r,t)-(0,a.calBase)(r,n))/((0,a.calBase)(r,e)-(0,a.calBase)(r,n))},e}(r(n(176)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(175),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return(0,i.__extends)(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),r=this.formatter;return r?r(n,e):(0,o.timeFormat)(n,this.mask)},e.prototype.scale=function(e){var n=e;return((0,a.isString)(n)||(0,a.isDate)(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return(0,o.toTimeStamp)(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if((0,a.isNil)(e)&&(0,a.isNumber)(e)||(this.min=this.translate(this.min)),(0,a.isNil)(n)&&(0,a.isNumber)(n)||(this.max=this.translate(this.max)),t&&t.length){var r=[],i=1/0,s=1/0,l=0;(0,a.each)(t,function(t){var e=(0,o.toTimeStamp)(t);if(isNaN(e))throw TypeError("Invalid Time: "+t+" in time scale!");i>e?(s=i,i=e):s>e&&(s=e),l1&&(this.minTickInterval=s-i),(0,a.isNil)(e)&&(this.min=i),(0,a.isNil)(n)&&(this.max=l)}},e}(r(n(427)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return(0,i.__extends)(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(r(n(428)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return i.default}}),e.getScale=function(t){return a[t]},e.registerScale=function(t,e){if(a[t])throw Error("type '"+t+"' existed.");a[t]=e};var i=r(n(141)),a={}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return(0,i.__extends)(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&(0,a.isNumber)(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return te[1]?NaN:this.values[0]},e}(r(n(141)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getTickMethod",{enumerable:!0,get:function(){return f.getTickMethod}}),Object.defineProperty(e,"registerTickMethod",{enumerable:!0,get:function(){return f.registerTickMethod}});var i=r(n(429)),a=r(n(837)),o=r(n(839)),s=r(n(841)),l=r(n(842)),u=r(n(843)),c=r(n(844)),f=n(425),d=r(n(845)),p=r(n(846)),h=r(n(847));(0,f.registerTickMethod)("cat",i.default),(0,f.registerTickMethod)("time-cat",p.default),(0,f.registerTickMethod)("wilkinson-extended",o.default),(0,f.registerTickMethod)("r-pretty",c.default),(0,f.registerTickMethod)("time",d.default),(0,f.registerTickMethod)("time-pretty",h.default),(0,f.registerTickMethod)("log",s.default),(0,f.registerTickMethod)("pow",l.default),(0,f.registerTickMethod)("quantile",u.default),(0,f.registerTickMethod)("d3-linear",a.default)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.min,n=t.max,r=t.tickInterval,l=t.minLimit,u=t.maxLimit,c=(0,a.default)(t);return(0,i.isNil)(l)&&(0,i.isNil)(u)?r?(0,o.default)(e,n,r).ticks:c:(0,s.default)(t,(0,i.head)(c),(0,i.last)(c))};var i=n(0),a=r(n(838)),o=r(n(252)),s=r(n(253))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.D3Linear=void 0,e.default=function(t){var e=t.min,n=t.max,r=t.nice,i=t.tickCount,a=new o;return a.domain([e,n]),r&&a.nice(i),a.ticks(i)};var r=Math.sqrt(50),i=Math.sqrt(10),a=Math.sqrt(2),o=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){void 0===t&&(t=5);var e,n,r,i=this._domain.slice(),a=0,o=this._domain.length-1,l=this._domain[a],u=this._domain[o];return u0?r=s(l=Math.floor(l/r)*r,u=Math.ceil(u/r)*r,t):r<0&&(r=s(l=Math.ceil(l*r)/r,u=Math.floor(u*r)/r,t)),r>0?(i[a]=Math.floor(l/r)*r,i[o]=Math.ceil(u/r)*r,this.domain(i)):r<0&&(i[a]=Math.ceil(l*r)/r,i[o]=Math.floor(u*r)/r,this.domain(i)),this},t.prototype.ticks=function(t){return void 0===t&&(t=5),function(t,e,n){var r,i,a,o,l=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e0)for(t=Math.ceil(t/o),a=Array(i=Math.ceil((e=Math.floor(e/o))-t+1));++l=0?(l>=r?10:l>=i?5:l>=a?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(l>=r?10:l>=i?5:l>=a?2:1)}e.D3Linear=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.min,n=t.max,r=t.tickCount,l=t.nice,u=t.tickInterval,c=t.minLimit,f=t.maxLimit,d=(0,a.default)(e,n,r,l).ticks;return(0,i.isNil)(c)&&(0,i.isNil)(f)?u?(0,o.default)(e,n,u).ticks:d:(0,s.default)(t,(0,i.head)(d),(0,i.last)(d))};var i=n(0),a=r(n(840)),o=r(n(252)),s=r(n(253))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_Q=e.ALL_Q=void 0,e.default=function(t,e,n,s,l,u){void 0===n&&(n=5),void 0===s&&(s=!0),void 0===l&&(l=a),void 0===u&&(u=[.25,.2,.5,.05]);var c=n<0?0:Math.round(n);if(Number.isNaN(t)||Number.isNaN(e)||"number"!=typeof t||"number"!=typeof e||!c)return{min:0,max:0,ticks:[]};if(e-t<1e-15||1===c)return{min:t,max:e,ticks:[t]};if(e-t>1e148){var f=n||5,d=(e-t)/f;return{min:t,max:e,ticks:Array(f).fill(null).map(function(e,n){return(0,i.prettyNumber)(t+d*n)})}}for(var p={score:-2,lmin:0,lmax:0,lstep:0},h=1;h<1/0;){for(var g=0;g=c?2-(S-1)/(c-1):1;if(u[0]*y+u[1]+u[2]*b+u[3]r?1-Math.pow((n-r)/2,2)/Math.pow(.1*r,2):1}(t,e,_*(m-1));if(u[0]*y+u[1]*O+u[2]*b+u[3]=0&&(c=1),1-u/(l-1)-n+c}(v,l,h,w,E,_),T=1-.5*(Math.pow(e-E,2)+Math.pow(t-w,2))/Math.pow(.1*(e-t),2),I=function(t,e,n,r,i,a){var o=(t-1)/(a-i),s=(e-1)/(Math.max(a,r)-Math.min(n,i));return 2-Math.max(o/s,s/o)}(m,c,t,e,w,E),j=u[0]*C+u[1]*T+u[2]*I+1*u[3];j>p.score&&(!s||w<=t&&E>=e)&&(p.lmin=w,p.lmax=E,p.lstep=_,p.score=j)}x+=1}m+=1}}h+=1}var F=(0,i.prettyNumber)(p.lmax),L=(0,i.prettyNumber)(p.lmin),D=(0,i.prettyNumber)(p.lstep),k=Math.floor(Math.round(1e12*((F-L)/D))/1e12)+1,R=Array(k);R[0]=(0,i.prettyNumber)(L);for(var g=1;g0)e=Math.floor((0,r.log)(n,a));else{var u=(0,r.getLogPositiveMin)(s,n,o);e=Math.floor((0,r.log)(n,u))}for(var c=Math.ceil((l-e)/i),f=[],d=e;d=0?1:-1)})};var i=n(177),a=r(n(431))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var r=n.slice().sort(function(t,e){return t-e}),i=[],a=0;a1&&(a*=Math.ceil(s)),i&&ar.YEAR)for(var f,d=i(n),p=Math.ceil(l/r.YEAR),h=c;h<=d+p;h+=p)u.push((f=h,new Date(f,0,1).getTime()));else if(l>r.MONTH)for(var g,v,y,m,b=Math.ceil(l/r.MONTH),x=a(e),_=(g=i(e),v=i(n),y=a(e),(v-g)*12+(a(n)-y)%12),h=0;h<=_+b;h+=b)u.push((m=h+x,new Date(c,m,1).getTime()));else if(l>r.DAY)for(var O=new Date(e),P=O.getFullYear(),M=O.getMonth(),A=O.getDate(),S=Math.ceil(l/r.DAY),w=Math.ceil((n-e)/r.DAY),h=0;hr.HOUR)for(var O=new Date(e),P=O.getFullYear(),M=O.getMonth(),S=O.getDate(),E=O.getHours(),C=Math.ceil(l/r.HOUR),T=Math.ceil((n-e)/r.HOUR),h=0;h<=T+C;h+=C)u.push(new Date(P,M,S,E+h).getTime());else if(l>r.MINUTE)for(var I=Math.ceil((n-e)/6e4),j=Math.ceil(l/r.MINUTE),h=0;h<=I+j;h+=j)u.push(e+h*r.MINUTE);else{var F=l;F=512&&console.warn("Notice: current ticks length("+u.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+l+") is too small, increase the value to solve the problem!"),u};var r=n(175);function i(t){return new Date(t).getFullYear()}function a(t){return new Date(t).getMonth()}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Coordinate",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"getCoordinate",{enumerable:!0,get:function(){return l.getCoordinate}}),Object.defineProperty(e,"registerCoordinate",{enumerable:!0,get:function(){return l.registerCoordinate}});var i=r(n(178)),a=r(n(849)),o=r(n(850)),s=r(n(851)),l=n(852);(0,l.registerCoordinate)("rect",a.default),(0,l.registerCoordinate)("cartesian",a.default),(0,l.registerCoordinate)("polar",s.default),(0,l.registerCoordinate)("helix",o.default)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(e){var n=t.call(this,e)||this;return n.isRect=!0,n.type="cartesian",n.initial(),n}return(0,i.__extends)(e,t),e.prototype.initial=function(){t.prototype.initial.call(this);var e=this.start,n=this.end;this.x={start:e.x,end:n.x},this.y={start:e.y,end:n.y}},e.prototype.convertPoint=function(t){var e,n=t.x,r=t.y;return this.isTransposed&&(n=(e=[r,n])[0],r=e[1]),{x:this.convertDim(n,"x"),y:this.convertDim(r,"y")}},e.prototype.invertPoint=function(t){var e,n=this.invertDim(t.x,"x"),r=this.invertDim(t.y,"y");return this.isTransposed&&(n=(e=[r,n])[0],r=e[1]),{x:n,y:r}},e}(r(n(178)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(32),o=n(0),s=function(t){function e(e){var n=t.call(this,e)||this;n.isHelix=!0,n.type="helix";var r=e.startAngle,i=void 0===r?1.25*Math.PI:r,a=e.endAngle,o=void 0===a?7.25*Math.PI:a,s=e.innerRadius,l=e.radius;return n.startAngle=i,n.endAngle=o,n.innerRadius=void 0===s?0:s,n.radius=l,n.initial(),n}return(0,i.__extends)(e,t),e.prototype.initial=function(){t.prototype.initial.call(this);var e=(this.endAngle-this.startAngle)/(2*Math.PI)+1,n=Math.min(this.width,this.height)/2;this.radius&&this.radius>=0&&this.radius<=1&&(n*=this.radius),this.d=Math.floor(n*(1-this.innerRadius)/e),this.a=this.d/(2*Math.PI),this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*n,end:this.innerRadius*n+.99*this.d}},e.prototype.convertPoint=function(t){var e,n=t.x,r=t.y;this.isTransposed&&(n=(e=[r,n])[0],r=e[1]);var i=this.convertDim(n,"x"),a=this.a*i,o=this.convertDim(r,"y");return{x:this.center.x+Math.cos(i)*(a+o),y:this.center.y+Math.sin(i)*(a+o)}},e.prototype.invertPoint=function(t){var e,n=this.d+this.y.start,r=a.vec2.subtract([0,0],[t.x,t.y],[this.center.x,this.center.y]),i=a.ext.angleTo(r,[1,0],!0),s=i*this.a;a.vec2.length(r)this.width/r?(e=this.width/r,this.circleCenter={x:this.center.x-(.5-a)*this.width,y:this.center.y-(.5-o)*e*i}):(e=this.height/i,this.circleCenter={x:this.center.x-(.5-a)*e*r,y:this.center.y-(.5-o)*this.height}),this.polarRadius=this.radius,this.radius?this.radius>0&&this.radius<=1?this.polarRadius=e*this.radius:(this.radius<=0||this.radius>e)&&(this.polarRadius=e):this.polarRadius=e,this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*this.polarRadius,end:this.polarRadius}},e.prototype.getRadius=function(){return this.polarRadius},e.prototype.convertPoint=function(t){var e,n=this.getCenter(),r=t.x,i=t.y;return this.isTransposed&&(r=(e=[i,r])[0],i=e[1]),r=this.convertDim(r,"x"),i=this.convertDim(i,"y"),{x:n.x+Math.cos(r)*i,y:n.y+Math.sin(r)*i}},e.prototype.invertPoint=function(t){var e,n=this.getCenter(),r=[t.x-n.x,t.y-n.y],i=this.startAngle,s=this.endAngle;this.isReflect("x")&&(i=(e=[s,i])[0],s=e[1]);var l=[1,0,0,0,1,0,0,0,1];a.ext.leftRotate(l,l,i);var u=[1,0,0];a.vec3.transformMat3(u,u,l);var c=[u[0],u[1]],f=a.ext.angleTo(c,r,s0?p:-p;var h=this.invertDim(d,"y"),g={x:0,y:0};return g.x=this.isTransposed?h:p,g.y=this.isTransposed?p:h,g},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,e=this.endAngle;if(Math.abs(e-t)>=2*Math.PI)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(t),Math.cos(e)],r=[0,Math.sin(t),Math.sin(e)],i=Math.min(t,e);i1||r<0)&&(r=1),{x:(0,u.getValueByPercent)(t.x,e.x,r),y:(0,u.getValueByPercent)(t.y,e.y,r)}},e.prototype.renderLabel=function(t){var e=this.get("text"),n=this.get("start"),r=this.get("end"),i=e.position,a=e.content,o=e.style,l=e.offsetX,u=e.offsetY,c=e.autoRotate,f=e.maxLength,d=e.autoEllipsis,p=e.ellipsisPosition,h=e.background,g=e.isVertical,v=this.getLabelPoint(n,r,i),y=v.x+l,m=v.y+u,b={id:this.getElementId("line-text"),name:"annotation-line-text",x:y,y:m,content:a,style:o,maxLength:f,autoEllipsis:d,ellipsisPosition:p,background:h,isVertical:void 0!==g&&g};if(c){var x=[r.x-n.x,r.y-n.y];b.rotate=Math.atan2(x[1],x[0])}(0,s.renderTag)(t,b)},e}(o.default);e.default=c},function(t,e,n){"use strict";function r(t,e){return t.charCodeAt(e)>0&&128>t.charCodeAt(e)?1:2}Object.defineProperty(e,"__esModule",{value:!0}),e.charAtLength=r,e.ellipsisString=function(t,e,n){void 0===n&&(n="tail");var i=t.length,a="";if("tail"===n){for(var o=0,s=0;oMath.PI?1:0,u=[["M",a.x,a.y]];if(i-r==2*Math.PI){var c=(0,o.getCirclePoint)(e,n,r+Math.PI);u.push(["A",n,n,0,l,1,c.x,c.y]),u.push(["A",n,n,0,l,1,s.x,s.y])}else u.push(["A",n,n,0,l,1,s.x,s.y]);return u},e.prototype.renderArc=function(t){var e=this.getArcPath(),n=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:(0,i.__assign)({path:e},n)})},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(41)),o=r(n(58)),s=n(42),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:o.default.regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var e=this.get("start"),n=this.get("end"),r=this.get("style"),a=(0,s.regionToBBox)({start:e,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:(0,i.__assign)({x:a.x,y:a.y,width:a.width,height:a.height},r)})},e}(a.default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(41)),o=n(42),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),e=this.get("end"),n=this.get("style"),r=(0,o.regionToBBox)({start:t,end:e}),a=this.get("src");return(0,i.__assign)({x:r.x,y:r.y,img:a,width:r.width,height:r.height},n)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=n(180),l=n(90),u=r(n(58)),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:u.default.lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:u.default.textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:u.default.fontFamily}}}})},e.prototype.renderInner=function(t){(0,a.get)(this.get("line"),"display")&&this.renderLine(t),(0,a.get)(this.get("text"),"display")&&this.renderText(t),(0,a.get)(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var e=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:e})},e.prototype.renderLine=function(t){var e=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:e})},e.prototype.renderText=function(t){var e=this.getShapeAttrs().text,n=e.x,r=e.y,a=e.text,o=(0,i.__rest)(e,["x","y","text"]),l=this.get("text"),u=l.background,c=l.maxLength,f=l.autoEllipsis,d=l.isVertival,p=l.ellipsisPosition,h={x:n,y:r,id:this.getElementId("text"),name:"annotation-text",content:a,style:o,background:u,maxLength:c,autoEllipsis:f,isVertival:d,ellipsisPosition:p};(0,s.renderTag)(t,h)},e.prototype.autoAdjust=function(t){var e=this.get("direction"),n=this.get("x"),r=this.get("y"),i=(0,a.get)(this.get("line"),"length",0),o=this.get("coordinateBBox"),s=t.getBBox(),u=s.minX,c=s.maxX,f=s.minY,d=s.maxY,p=t.findById(this.getElementId("text-group")),h=t.findById(this.getElementId("text")),g=t.findById(this.getElementId("line"));if(o){if(p){if(n+u<=o.minX){var v=o.minX-(n+u);(0,l.applyTranslate)(p,p.attr("x")+v,p.attr("y"))}if(n+c>=o.maxX){var v=n+c-o.maxX;(0,l.applyTranslate)(p,p.attr("x")-v,p.attr("y"))}}if("upward"===e&&r+f<=o.minY||"upward"!==e&&r+d>=o.maxY){var y=void 0,m=void 0;"upward"===e&&r+f<=o.minY?(y="top",m=1):(y="bottom",m=-1),h.attr("textBaseline",y),g&&g.attr("path",[["M",0,0],["L",0,i*m]]),(0,l.applyTranslate)(p,p.attr("x"),(i+2)*m)}}},e.prototype.getShapeAttrs=function(){var t=(0,a.get)(this.get("line"),"display"),e=(0,a.get)(this.get("point"),"style",{}),n=(0,a.get)(this.get("line"),"style",{}),r=(0,a.get)(this.get("text"),"style",{}),o=this.get("direction"),s=t?(0,a.get)(this.get("line"),"length",0):0,l="upward"===o?-1:1;return{point:(0,i.__assign)({x:0,y:0},e),line:(0,i.__assign)({path:[["M",0,0],["L",0,s*l]]},n),text:(0,i.__assign)({x:0,y:(s+2)*l,text:(0,a.get)(this.get("text"),"content",""),textBaseline:"upward"===o?"bottom":"top"},r)}},e}(o.default);e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=r(n(58)),l=n(42),u=n(180),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:s.default.regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:s.default.textColor,fontFamily:s.default.fontFamily}}}})},e.prototype.renderInner=function(t){var e=(0,a.get)(this.get("region"),"style",{});(0,a.get)(this.get("text"),"style",{});var n=this.get("lineLength")||0,r=this.get("points");if(r.length){var o=(0,l.pointsToBBox)(r),s=[];s.push(["M",r[0].x,o.minY-n]),r.forEach(function(t){s.push(["L",t.x,t.y])}),s.push(["L",r[r.length-1].x,r[r.length-1].y-n]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:(0,i.__assign)({path:s},e)});var c=(0,i.__assign)({id:this.getElementId("text"),name:"annotation-text",x:(o.minX+o.maxX)/2,y:o.minY-n},this.get("text"));(0,u.renderTag)(t,c)}},e}(o.default);e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=n(42),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var e=this,n=this.get("start"),r=this.get("end"),i=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});(0,a.each)(this.get("shapes"),function(t,n){var r=t.get("type"),o=(0,a.clone)(t.attr());e.adjustShapeAttrs(o),e.addShape(i,{id:e.getElementId("shape-"+r+"-"+n),capture:!1,type:r,attrs:o})});var o=(0,s.regionToBBox)({start:n,end:r});i.setClip({type:"rect",attrs:{x:o.minX,y:o.minY,width:o.width,height:o.height}})},e.prototype.adjustShapeAttrs=function(t){var e=this.get("color");t.fill&&(t.fill=t.fillStyle=e),t.stroke=t.strokeStyle=e},e}(o.default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"shape",draw:a.noop})},e.prototype.renderInner=function(t){var e=this.get("render");(0,a.isFunction)(e)&&e(t)},e}(r(n(41)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(96),o=n(0),s=r(n(181)),l=n(42),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
    ',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),e=this.get("html");(0,l.clearDom)(t);var n=(0,o.isFunction)(e)?e(t):e;if((0,o.isElement)(n))t.appendChild(n);else if((0,o.isString)(n)||(0,o.isNumber)(n)){var r=(0,a.createDom)(""+n);r&&t.appendChild(r)}this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),e=this.getLocation(),n=e.x,r=e.y,i=this.get("alignX"),o=this.get("alignY"),s=this.get("offsetX"),l=this.get("offsetY"),u=(0,a.getOuterWidth)(t),c=(0,a.getOuterHeight)(t),f={x:n,y:r};"middle"===i?f.x-=Math.round(u/2):"right"===i&&(f.x-=Math.round(u)),"middle"===o?f.y-=Math.round(c/2):"bottom"===o&&(f.y-=Math.round(c)),s&&(f.x+=s),l&&(f.y+=l),(0,a.modifyCSS)(t,{position:"absolute",left:f.x+"px",top:f.y+"px",zIndex:this.get("zIndex")})},e}(s.default);e.default=u},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return i.default}});var i=r(n(867)),a=r(n(871)),o=r(n(255))},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(32),s=n(0),l=r(n(255)),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(434));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,a.__assign)((0,a.__assign)({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),e=this.get("end"),n=[];return n.push(["M",t.x,t.y]),n.push(["L",e.x,e.y]),n},e.prototype.getInnerLayoutBBox=function(){var e=this.get("start"),n=this.get("end"),r=t.prototype.getInnerLayoutBBox.call(this),i=Math.min(e.x,n.x,r.x),a=Math.min(e.y,n.y,r.y),o=Math.max(e.x,n.x,r.maxX),s=Math.max(e.y,n.y,r.maxY);return{x:i,y:a,minX:i,minY:a,maxX:o,maxY:s,width:o-i,height:s-a}},e.prototype.isVertical=function(){var t=this.get("start"),e=this.get("end");return(0,s.isNumberEqual)(t.x,e.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),e=this.get("end");return(0,s.isNumberEqual)(t.y,e.y)},e.prototype.getTickPoint=function(t){var e=this.get("start"),n=this.get("end"),r=n.x-e.x,i=n.y-e.y;return{x:e.x+r*t,y:e.y+i*t}},e.prototype.getSideVector=function(t){var e=this.getAxisVector(),n=o.vec2.normalize([0,0],e),r=this.get("verticalFactor"),i=[n[1],-1*n[0]];return o.vec2.scale([0,0],i,t*r)},e.prototype.getAxisVector=function(){var t=this.get("start"),e=this.get("end");return[e.x-t.x,e.y-t.y]},e.prototype.processOverlap=function(t){var e=this,n=this.isVertical(),r=this.isHorizontal();if(n||r){var i=this.get("label"),a=this.get("title"),o=this.get("verticalLimitLength"),l=i.offset,u=o,c=0,f=0;a&&(c=a.style.fontSize,f=a.spacing),u&&(u=u-l-f-c);var d=this.get("overlapOrder");if((0,s.each)(d,function(n){i[n]&&e.canProcessOverlap(n)&&e.autoProcessOverlap(n,i[n],t,u)}),a&&(0,s.isNil)(a.offset)){var p=t.getCanvasBBox(),h=n?p.width:p.height;a.offset=l+h+f+c/2}}},e.prototype.canProcessOverlap=function(t){var e=this.get("label");return"autoRotate"!==t||(0,s.isNil)(e.rotate)},e.prototype.autoProcessOverlap=function(t,e,n,r){var i=this,a=this.isVertical(),o=!1,l=u[t];if(!0===e?(this.get("label"),o=l.getDefault()(a,n,r)):(0,s.isFunction)(e)?o=e(a,n,r):(0,s.isObject)(e)?l[e.type]&&(o=l[e.type](a,n,r,e.cfg)):l[e]&&(o=l[e](a,n,r)),"autoRotate"===t){if(o){var c=n.getChildren(),f=this.get("verticalFactor");(0,s.each)(c,function(t){"center"===t.attr("textAlign")&&t.attr("textAlign",f>0?"end":"start")})}}else if("autoHide"===t){var d=n.getChildren().slice(0);(0,s.each)(d,function(t){t.get("visible")||(i.get("isRegister")&&i.unregisterElement(t),t.remove())})}},e}(l.default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ellipsisHead=function(t,e,n){return a(t,e,n,"head")},e.ellipsisMiddle=function(t,e,n){return a(t,e,n,"middle")},e.ellipsisTail=o,e.getDefault=function(){return o};var r=n(0),i=n(142);function a(t,e,n,a){var o=e.getChildren(),s=!1;return(0,r.each)(o,function(e){var r=(0,i.ellipsisLabel)(t,e,n,a);s=s||r}),s}function o(t,e,n){return a(t,e,n,"tail")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.equidistance=c,e.equidistanceWithReverseBoth=function(t,e,n,r){var i=e.getChildren().slice(),a=u(t,e,r);if(i.length>2){var o=i[0],s=i[i.length-1];!o.get("visible")&&(o.show(),l(t,e,!1,r)&&(a=!0)),!s.get("visible")&&(s.show(),l(t,e,!0,r)&&(a=!0))}return a},e.getDefault=function(){return c},e.reserveBoth=function(t,e,n,r){var i=(null==r?void 0:r.minGap)||0,a=e.getChildren().slice();if(a.length<=2)return!1;for(var o=!1,l=a.length,u=a[0],c=a[l-1],f=u,d=1;de.attr("y"):n.attr("x")>e.attr("x"))?e.getBBox():n.getBBox();if(t){var c=Math.abs(Math.cos(s));i=(0,a.near)(c,0,Math.PI/180)?u.width+r>l:u.height/c+r>l}else{var c=Math.abs(Math.sin(s));i=(0,a.near)(c,0,Math.PI/180)?u.width+r>l:u.height/c+r>l}return i}function l(t,e,n,r){var i=(null==r?void 0:r.minGap)||0,a=e.getChildren().slice().filter(function(t){return t.get("visible")});if(!a.length)return!1;var o=!1;n&&a.reverse();for(var l=a.length,u=a[0],c=1;c1){g=Math.ceil(g);for(var m=0;mn?r=Math.PI/4:(r=Math.asin(e/n))>Math.PI/4&&(r=Math.PI/4),r})};var i=n(0),a=n(142),o=n(90),s=r(n(58));function l(t,e,n,r){var s=e.getChildren();if(!s.length||!t&&s.length<2)return!1;var l=(0,a.getMaxLabelWidth)(s),u=!1;if(u=t?!!n&&l>n:l>Math.abs(s[1].attr("x")-s[0].attr("x"))){var c=r(n,l);(0,i.each)(s,function(t){var e=t.attr("x"),n=t.attr("y"),r=(0,o.getMatrixByAngle)({x:e,y:n},c);t.attr("matrix",r)})}return u}function u(t,e,n,r){return l(t,e,n,function(){return(0,i.isNumber)(r)?r:t?s.default.verticalAxisRotate:s.default.horizontalAxisRotate})}},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(0),s=n(32),l=r(n(255)),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(434));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,a.__assign)((0,a.__assign)({},e),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getLinePath=function(){var t=this.get("center"),e=t.x,n=t.y,r=this.get("radius"),i=this.get("startAngle"),a=this.get("endAngle"),o=[];if(Math.abs(a-i)===2*Math.PI)o=[["M",e,n-r],["A",r,r,0,1,1,e,n+r],["A",r,r,0,1,1,e,n-r],["Z"]];else{var s=this.getCirclePoint(i),l=this.getCirclePoint(a),u=Math.abs(a-i)>Math.PI?1:0,c=i>a?0:1;o=[["M",e,n],["L",s.x,s.y],["A",r,r,0,u,c,l.x,l.y],["L",e,n]]}return o},e.prototype.getTickPoint=function(t){var e=this.get("startAngle"),n=this.get("endAngle");return this.getCirclePoint(e+(n-e)*t)},e.prototype.getSideVector=function(t,e){var n=this.get("center"),r=[e.x-n.x,e.y-n.y],i=this.get("verticalFactor"),a=s.vec2.length(r);return s.vec2.scale(r,r,i*t/a),r},e.prototype.getAxisVector=function(t){var e=this.get("center"),n=[t.x-e.x,t.y-e.y];return[n[1],-1*n[0]]},e.prototype.getCirclePoint=function(t,e){var n=this.get("center");return e=e||this.get("radius"),{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},e.prototype.canProcessOverlap=function(t){var e=this.get("label");return"autoRotate"!==t||(0,o.isNil)(e.rotate)},e.prototype.processOverlap=function(t){var e=this,n=this.get("label"),r=this.get("title"),i=this.get("verticalLimitLength"),a=n.offset,s=i,l=0,u=0;r&&(l=r.style.fontSize,u=r.spacing),s&&(s=s-a-u-l);var c=this.get("overlapOrder");if((0,o.each)(c,function(r){n[r]&&e.canProcessOverlap(r)&&e.autoProcessOverlap(r,n[r],t,s)}),r&&(0,o.isNil)(r.offset)){var f=t.getCanvasBBox().height;r.offset=a+f+u+l/2}},e.prototype.autoProcessOverlap=function(t,e,n,r){var i=this,a=!1,s=u[t];if(r>0&&(!0===e?a=s.getDefault()(!1,n,r):(0,o.isFunction)(e)?a=e(!1,n,r):(0,o.isObject)(e)?s[e.type]&&(a=s[e.type](!1,n,r,e.cfg)):s[e]&&(a=s[e](!1,n,r))),"autoRotate"===t){if(a){var l=n.getChildren(),c=this.get("verticalFactor");(0,o.each)(l,function(t){"center"===t.attr("textAlign")&&t.attr("textAlign",c>0?"end":"start")})}}else if("autoHide"===t){var f=n.getChildren().slice(0);(0,o.each)(f,function(t){t.get("visible")||(i.get("isRegister")&&i.unregisterElement(t),t.remove())})}},e}(l.default);e.default=f},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Html",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return i.default}});var i=r(n(873)),a=r(n(874)),o=r(n(256)),s=r(n(875))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(42),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text").position,i=Math.atan2(n.y-e.y,n.x-e.x);return"start"===r?i-Math.PI/2:i+Math.PI/2},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,o=r.offset;return(0,a.getTextPoint)(e,n,i,o)},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.start,n=t.end;return[["M",e.x,e.y],["L",n.x,n.y]]},e}(r(n(256)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(42),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.startAngle,n=t.endAngle;return"start"===this.get("text").position?e+Math.PI/2:n-Math.PI/2},e.prototype.getTextPoint=function(){var t=this.get("text"),e=t.position,n=t.offset,r=this.getLocation(),i=r.center,o=r.radius,s=r.startAngle,l=r.endAngle,u=this.getRotateAngle()-Math.PI,c=(0,a.getCirclePoint)(i,o,"start"===e?s:l),f=Math.cos(u)*n,d=Math.sin(u)*n;return{x:c.x+f,y:c.y+d}},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.center,n=t.radius,r=t.startAngle,i=t.endAngle,o=null;if(i-r==2*Math.PI){var s=e.x,l=e.y;o=[["M",s,l-n],["A",n,n,0,1,1,s,l+n],["A",n,n,0,1,1,s,l-n],["Z"]]}else{var u=(0,a.getCirclePoint)(e,n,r),c=(0,a.getCirclePoint)(e,n,i),f=Math.abs(i-r)>Math.PI?1:0,d=r>i?0:1;o=[["M",u.x,u.y],["A",n,n,0,f,d,c.x,c.y]]}return o},e}(r(n(256)).default);e.default=o},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(96),s=n(0),l=n(42),u=r(n(181)),c=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=d(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(435)),f=r(n(876));function d(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(d=function(t){return t?n:e})(t)}var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,a.__assign)((0,a.__assign)({},e),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'
    ',crosshairTpl:'
    ',textTpl:'{content}',domStyles:null,containerClassName:c.CONTAINER_CLASS,defaultStyles:f.default,defaultCfg:{text:{position:"start",content:null,align:"center",offset:10}}})},e.prototype.render=function(){this.resetText(),this.resetPosition()},e.prototype.initCrossHair=function(){var t=this.getContainer(),e=this.get("crosshairTpl"),n=(0,o.createDom)(e);t.appendChild(n),this.applyStyle(c.CROSSHAIR_LINE,n),this.set("crosshairEl",n)},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,a=r.offset;return(0,l.getTextPoint)(e,n,i,a)},e.prototype.resetText=function(){var t=this.get("text"),e=this.get("textEl");if(t){var n=t.content;if(!e){var r=this.getContainer(),i=(0,s.substitute)(this.get("textTpl"),t);e=(0,o.createDom)(i),r.appendChild(e),this.applyStyle(c.CROSSHAIR_TEXT,e),this.set("textEl",e)}e.innerHTML=n}else e&&e.remove()},e.prototype.isVertical=function(t,e){return t.x===e.x},e.prototype.resetPosition=function(){var t=this.get("crosshairEl");t||(this.initCrossHair(),t=this.get("crosshairEl"));var e=this.get("start"),n=this.get("end"),r=Math.min(e.x,n.x),i=Math.min(e.y,n.y);this.isVertical(e,n)?(0,o.modifyCSS)(t,{width:"1px",height:(0,l.toPx)(Math.abs(n.y-e.y))}):(0,o.modifyCSS)(t,{height:"1px",width:(0,l.toPx)(Math.abs(n.x-e.x))}),(0,o.modifyCSS)(t,{top:(0,l.toPx)(i),left:(0,l.toPx)(r)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var e=this.get("text").align,n=t.clientWidth,r=this.getTextPoint();switch(e){case"center":r.x=r.x-n/2;break;case"right":r.x=r.x-n}(0,o.modifyCSS)(t,{top:(0,l.toPx)(r.y),left:(0,l.toPx)(r.x)})}},e.prototype.updateInner=function(e){(0,s.hasKey)(e,"text")&&this.resetText(),t.prototype.updateInner.call(this,e)},e}(u.default);e.default=p},function(t,e,n){"use strict";var r,i=n(2),a=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(58)),s=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==a(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(435));function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=((r={})[""+s.CONTAINER_CLASS]={position:"relative"},r[""+s.CROSSHAIR_LINE]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},r[""+s.CROSSHAIR_TEXT]={position:"absolute",color:o.default.textColor,fontFamily:o.default.fontFamily},r);e.default=u},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return o.default}});var i=r(n(257)),a=r(n(878)),o=r(n(879))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,e){var n=this.getLineType(),r=this.get("closed"),i=[];if(t.length){if("circle"===n){var o,s,l,u,c,f,d=this.get("center"),p=t[0],h=(o=d.x,s=d.y,l=p.x,u=p.y,Math.sqrt((c=l-o)*c+(f=u-s)*f)),g=e?0:1;r?(i.push(["M",d.x,d.y-h]),i.push(["A",h,h,0,0,g,d.x,d.y+h]),i.push(["A",h,h,0,0,g,d.x,d.y-h]),i.push(["Z"])):(0,a.each)(t,function(t,e){0===e?i.push(["M",t.x,t.y]):i.push(["A",h,h,0,0,g,t.x,t.y])})}else(0,a.each)(t,function(t,e){0===e?i.push(["M",t.x,t.y]):i.push(["L",t.x,t.y])}),r&&i.push(["Z"])}return i},e}(r(n(257)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"line"})},e.prototype.getGridPath=function(t){var e=[];return(0,a.each)(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e},e}(r(n(257)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Category",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Continuous",{enumerable:!0,get:function(){return a.default}});var i=r(n(881)),a=r(n(882)),o=r(n(258))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(142),s=n(90),l=n(433),u=r(n(58)),c=r(n(258)),f={marker:{style:{inactiveFill:"#000",inactiveOpacity:.45,fill:"#000",opacity:1,size:12}},text:{style:{fill:"#ccc",fontSize:12}}},d={fill:u.default.textColor,fontSize:12,textAlign:"start",textBaseline:"middle",fontFamily:u.default.fontFamily,fontWeight:"normal",lineHeight:12},p="navigation-arrow-right",h="navigation-arrow-left",g={right:90*Math.PI/180,left:270*Math.PI/180,up:0,down:180*Math.PI/180},v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.currentPageIndex=1,e.totalPagesCnt=1,e.pageWidth=0,e.pageHeight=0,e.startX=0,e.startY=0,e.onNavigationBack=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndex>1){e.currentPageIndex-=1,e.updateNavigation();var n=e.getCurrentNavigationMatrix();e.get("animate")?t.animate({matrix:n},100):t.attr({matrix:n})}},e.onNavigationAfter=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndexg&&(g=m),"horizontal"===d?(v&&vx&&(x=e.width)}),_=x,x+=d,l&&(x=Math.min(l,x),_=Math.min(l,_)),this.pageWidth=x,this.pageHeight=u-Math.max(v.height,p+O);var A=Math.floor(this.pageHeight/(p+O));(0,a.each)(s,function(t,e){0!==e&&e%A==0&&(m+=1,y.x+=x,y.y=i),n.moveElementTo(t,y),t.getParent().setClip({type:"rect",attrs:{x:y.x,y:y.y,width:x,height:p}}),y.y+=p+O}),this.totalPagesCnt=m,this.moveElementTo(g,{x:r+_/2-v.width/2-v.minX,y:u-v.height-v.minY})}this.pageHeight&&this.pageWidth&&e.getParent().setClip({type:"rect",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),"horizontal"===o&&this.get("maxRow")?this.totalPagesCnt=Math.ceil(m/this.get("maxRow")):this.totalPagesCnt=m,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(g),e.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,e,n,r){var o={x:0,y:0},s=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),l=(0,a.get)(r.marker,"style",{}),u=l.size,c=void 0===u?12:u,f=(0,i.__rest)(l,["size"]),d=this.drawArrow(s,o,h,"horizontal"===e?"up":"left",c,f);d.on("click",this.onNavigationBack);var g=d.getBBox();o.x+=g.width+2;var v=this.addShape(s,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:(0,i.__assign)({x:o.x,y:o.y+c/2,text:n,textBaseline:"middle"},(0,a.get)(r.text,"style"))}).getBBox();return o.x+=v.width+2,this.drawArrow(s,o,p,"horizontal"===e?"down":"right",c,f).on("click",this.onNavigationAfter),s},e.prototype.updateNavigation=function(t){var e=(0,a.deepMix)({},f,this.get("pageNavigator")).marker.style,n=e.fill,r=e.opacity,i=e.inactiveFill,o=e.inactiveOpacity,s=this.currentPageIndex+"/"+this.totalPagesCnt,l=t?t.getChildren()[1]:this.getElementByLocalId("navigation-text"),u=t?t.findById(this.getElementId(h)):this.getElementByLocalId(h),c=t?t.findById(this.getElementId(p)):this.getElementByLocalId(p);l.attr("text",s),u.attr("opacity",1===this.currentPageIndex?o:r),u.attr("fill",1===this.currentPageIndex?i:n),u.attr("cursor",1===this.currentPageIndex?"not-allowed":"pointer"),c.attr("opacity",this.currentPageIndex===this.totalPagesCnt?o:r),c.attr("fill",this.currentPageIndex===this.totalPagesCnt?i:n),c.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer");var d=u.getBBox().maxX+2;l.attr("x",d),d+=l.getBBox().width+2,this.updateArrowPath(c,{x:d,y:0})},e.prototype.drawArrow=function(t,e,n,r,a,o){var l=e.x,u=e.y,c=this.addShape(t,{type:"path",id:this.getElementId(n),name:n,attrs:(0,i.__assign)({size:a,direction:r,path:[["M",l+a/2,u],["L",l,u+a],["L",l+a,u+a],["Z"]],cursor:"pointer"},o)});return c.attr("matrix",(0,s.getMatrixByAngle)({x:l+a/2,y:u+a/2},g[r])),c},e.prototype.updateArrowPath=function(t,e){var n=e.x,r=e.y,i=t.attr(),a=i.size,o=i.direction,l=(0,s.getMatrixByAngle)({x:n+a/2,y:r+a/2},g[o]);t.attr("path",[["M",n+a/2,r],["L",n,r+a],["L",n+a,r+a],["Z"]]),t.attr("matrix",l)},e.prototype.getCurrentNavigationMatrix=function(){var t=this.currentPageIndex,e=this.pageWidth,n=this.pageHeight,r=this.get("layout");return(0,s.getMatrixByTranslate)("horizontal"===r?{x:0,y:n*(1-t)}:{x:e*(1-t),y:0})},e.prototype.applyItemStates=function(t,e){if(this.getItemStates(t).length>0){var n=e.getChildren(),r=this.get("itemStates");(0,a.each)(n,function(e){var n=e.get("name").split("-")[2],i=(0,l.getStatesStyle)(t,n,r);i&&(e.attr(i),"marker"===n&&!(e.get("isStroke")&&e.get("isFill"))&&(e.get("isStroke")&&e.attr("fill",null),e.get("isFill")&&e.attr("stroke",null)))})}},e.prototype.getLimitItemWidth=function(){var t=this.get("itemWidth"),e=this.get("maxItemWidth");return e?t&&(e=t<=e?t:e):t&&(e=t),e},e}(c.default);e.default=v},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(58)),s=n(42),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"continue",min:0,max:100,value:null,colors:[],track:{},rail:{},label:{},handler:{},slidable:!0,tip:null,step:null,maxWidth:null,maxHeight:null,defaultCfg:{label:{align:"rail",spacing:5,formatter:null,style:{fontSize:12,fill:o.default.textColor,textBaseline:"middle",fontFamily:o.default.fontFamily}},handler:{size:10,style:{fill:"#fff",stroke:"#333"}},track:{},rail:{type:"color",size:20,defaultLength:100,style:{fill:"#DCDEE2"}},title:{spacing:5,style:{fill:o.default.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}}}})},e.prototype.isSlider=function(){return!0},e.prototype.getValue=function(){return this.getCurrentValue()},e.prototype.getRange=function(){return{min:this.get("min"),max:this.get("max")}},e.prototype.setRange=function(t,e){this.update({min:t,max:e})},e.prototype.setValue=function(t){var e=this.getValue();this.set("value",t);var n=this.get("group");this.resetTrackClip(),this.get("slidable")&&this.resetHandlers(n),this.delegateEmit("valuechanged",{originValue:e,value:t})},e.prototype.initEvent=function(){var t=this.get("group");this.bindSliderEvent(t),this.bindRailEvent(t),this.bindTrackEvent(t)},e.prototype.drawLegendContent=function(t){this.drawRail(t),this.drawLabels(t),this.fixedElements(t),this.resetTrack(t),this.resetTrackClip(t),this.get("slidable")&&this.resetHandlers(t)},e.prototype.bindSliderEvent=function(t){this.bindHandlersEvent(t)},e.prototype.bindHandlersEvent=function(t){var e=this;t.on("legend-handler-min:drag",function(t){var n=e.getValueByCanvasPoint(t.x,t.y),r=e.getCurrentValue()[1];rn&&(r=n),e.setValue([r,n])})},e.prototype.bindRailEvent=function(t){},e.prototype.bindTrackEvent=function(t){var e=this,n=null;t.on("legend-track:dragstart",function(t){n={x:t.x,y:t.y}}),t.on("legend-track:drag",function(t){if(n){var r=e.getValueByCanvasPoint(n.x,n.y),i=e.getValueByCanvasPoint(t.x,t.y),a=e.getCurrentValue(),o=a[1]-a[0],s=e.getRange(),l=i-r;l<0?a[0]+l>s.min?e.setValue([a[0]+l,a[1]+l]):e.setValue([s.min,s.min+o]):l>0&&(l>0&&a[1]+la&&(c=a),c0&&this.changeRailLength(r,i,n[i]-c)}},e.prototype.changeRailLength=function(t,e,n){var r,i=t.getBBox();r="height"===e?this.getRailPath(i.x,i.y,i.width,n):this.getRailPath(i.x,i.y,n,i.height),t.attr("path",r)},e.prototype.changeRailPosition=function(t,e,n){var r=t.getBBox(),i=this.getRailPath(e,n,r.width,r.height);t.attr("path",i)},e.prototype.fixedHorizontal=function(t,e,n,r){var i=this.get("label"),a=i.align,o=i.spacing,s=n.getBBox(),l=t.getBBox(),u=e.getBBox(),c=s.height;this.fitRailLength(l,u,s,n),s=n.getBBox(),"rail"===a?(t.attr({x:r.x,y:r.y+c/2}),this.changeRailPosition(n,r.x+l.width+o,r.y),e.attr({x:r.x+l.width+s.width+2*o,y:r.y+c/2})):"top"===a?(t.attr({x:r.x,y:r.y}),e.attr({x:r.x+s.width,y:r.y}),this.changeRailPosition(n,r.x,r.y+l.height+o)):(this.changeRailPosition(n,r.x,r.y),t.attr({x:r.x,y:r.y+s.height+o}),e.attr({x:r.x+s.width,y:r.y+s.height+o}))},e.prototype.fixedVertail=function(t,e,n,r){var i=this.get("label"),a=i.align,o=i.spacing,s=n.getBBox(),l=t.getBBox(),u=e.getBBox();if(this.fitRailLength(l,u,s,n),s=n.getBBox(),"rail"===a)t.attr({x:r.x,y:r.y}),this.changeRailPosition(n,r.x,r.y+l.height+o),e.attr({x:r.x,y:r.y+l.height+s.height+2*o});else if("right"===a)t.attr({x:r.x+s.width+o,y:r.y}),this.changeRailPosition(n,r.x,r.y),e.attr({x:r.x+s.width+o,y:r.y+s.height});else{var c=Math.max(l.width,u.width);t.attr({x:r.x,y:r.y}),this.changeRailPosition(n,r.x+c+o,r.y),e.attr({x:r.x,y:r.y+s.height})}},e}(r(n(258)).default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Html",{enumerable:!0,get:function(){return i.default}});var i=r(n(884))},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=r(n(140)),s=n(96),l=n(0),u=r(n(181)),c=n(42),f=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=h(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(259)),d=r(n(885)),p=n(886);function h(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(h=function(t){return t?n:e})(t)}var g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,a.__assign)((0,a.__assign)({},e),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'
      ',itemTpl:'
    • \n \n {name}:\n {value}\n
    • ',xCrosshairTpl:'
      ',yCrosshairTpl:'
      ',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:f.CONTAINER_CLASS,crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:d.default})},e.prototype.render=function(){this.get("customContent")?this.renderCustomContent():(this.resetTitle(),this.renderItems()),this.resetPosition()},e.prototype.clear=function(){this.clearCrosshairs(),this.setTitle(""),this.clearItemDoms()},e.prototype.show=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!0),(0,s.modifyCSS)(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!1),(0,s.modifyCSS)(t,{visibility:"hidden"}),this.setCrossHairsVisible(!1))},e.prototype.getLocation=function(){return{x:this.get("x"),y:this.get("y")}},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetPosition()},e.prototype.setCrossHairsVisible=function(t){var e=t?"":"none",n=this.get("xCrosshairDom"),r=this.get("yCrosshairDom");n&&(0,s.modifyCSS)(n,{display:e}),r&&(0,s.modifyCSS)(r,{display:e})},e.prototype.initContainer=function(){if(t.prototype.initContainer.call(this),this.get("customContent")){this.get("container")&&this.get("container").remove();var e=this.getHtmlContentNode();this.get("parent").appendChild(e),this.set("container",e),this.resetStyles(),this.applyStyles()}},e.prototype.updateInner=function(e){if(this.get("customContent"))this.renderCustomContent();else{var n;n=!1,(0,l.each)(["title","showTitle"],function(t){if((0,l.hasKey)(e,t))return n=!0,!1}),n&&this.resetTitle(),(0,l.hasKey)(e,"items")&&this.renderItems()}t.prototype.updateInner.call(this,e)},e.prototype.initDom=function(){this.cacheDoms()},e.prototype.removeDom=function(){t.prototype.removeDom.call(this),this.clearCrosshairs()},e.prototype.resetPosition=function(){var t,e=this.get("x"),n=this.get("y"),r=this.get("offset"),i=this.getOffset(),a=i.offsetX,o=i.offsetY,l=this.get("position"),u=this.get("region"),f=this.getContainer(),d=this.getBBox(),h=d.width,g=d.height;u&&(t=(0,c.regionToBBox)(u));var v=(0,p.getAlignPoint)(e,n,r,h,g,l,t);(0,s.modifyCSS)(f,{left:(0,c.toPx)(v.x+a),top:(0,c.toPx)(v.y+o)}),this.resetCrosshairs()},e.prototype.renderCustomContent=function(){var t=this.getHtmlContentNode(),e=this.get("parent"),n=this.get("container");n&&n.parentNode===e?e.replaceChild(t,n):e.appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()},e.prototype.getHtmlContentNode=function(){var t,e=this.get("customContent");if(e){var n=e(this.get("title"),this.get("items"));t=(0,l.isElement)(n)?n:(0,s.createDom)(n)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),e=t.getElementsByClassName(f.TITLE_CLASS)[0],n=t.getElementsByClassName(f.LIST_CLASS)[0];this.set("titleDom",e),this.set("listDom",n)},e.prototype.resetTitle=function(){var t=this.get("title");this.get("showTitle")&&t?this.setTitle(t):this.setTitle("")},e.prototype.setTitle=function(t){var e=this.get("titleDom");e&&(e.innerText=t)},e.prototype.resetCrosshairs=function(){var t=this.get("crosshairsRegion"),e=this.get("crosshairs");if(t&&e){var n=(0,c.regionToBBox)(t),r=this.get("xCrosshairDom"),i=this.get("yCrosshairDom");"x"===e?(this.resetCrosshair("x",n),i&&(i.remove(),this.set("yCrosshairDom",null))):"y"===e?(this.resetCrosshair("y",n),r&&(r.remove(),this.set("xCrosshairDom",null))):(this.resetCrosshair("x",n),this.resetCrosshair("y",n)),this.setCrossHairsVisible(this.get("visible"))}else this.clearCrosshairs()},e.prototype.resetCrosshair=function(t,e){var n=this.checkCrosshair(t),r=this.get(t);"x"===t?(0,s.modifyCSS)(n,{left:(0,c.toPx)(r),top:(0,c.toPx)(e.y),height:(0,c.toPx)(e.height)}):(0,s.modifyCSS)(n,{top:(0,c.toPx)(r),left:(0,c.toPx)(e.x),width:(0,c.toPx)(e.width)})},e.prototype.checkCrosshair=function(t){var e=t+"CrosshairDom",n=f["CROSSHAIR_"+t.toUpperCase()],r=this.get(e),i=this.get("parent");return r||(r=(0,s.createDom)(this.get(t+"CrosshairTpl")),this.applyStyle(n,r),i.appendChild(r),this.set(e,r)),r},e.prototype.renderItems=function(){this.clearItemDoms();var t=this.get("items"),e=this.get("itemTpl"),n=this.get("listDom");n&&((0,l.each)(t,function(t){var r=o.default.toCSSGradient(t.color),i=(0,a.__assign)((0,a.__assign)({},t),{color:r}),u=(0,l.substitute)(e,i),c=(0,s.createDom)(u);n.appendChild(c)}),this.applyChildrenStyles(n,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&(0,c.clearDom)(this.get("listDom"))},e.prototype.clearCrosshairs=function(){var t=this.get("xCrosshairDom"),e=this.get("yCrosshairDom");t&&t.remove(),e&&e.remove(),this.set("xCrosshairDom",null),this.set("yCrosshairDom",null)},e}(u.default);e.default=g},function(t,e,n){"use strict";var r,i=n(2),a=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(58)),s=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==a(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(259));function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=((r={})[""+s.CONTAINER_CLASS]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:o.default.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},r[""+s.TITLE_CLASS]={marginBottom:"4px"},r[""+s.LIST_CLASS]={margin:"0px",listStyleType:"none",padding:"0px"},r[""+s.LIST_ITEM_CLASS]={listStyleType:"none",marginBottom:"4px"},r[""+s.MARKER_CLASS]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},r[""+s.VALUE_CLASS]={display:"inline-block",float:"right",marginLeft:"30px"},r[""+s.CROSSHAIR_X]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},r[""+s.CROSSHAIR_Y]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},r);e.default=u},function(t,e,n){"use strict";function r(t,e,n,r,i){return{left:ti.x+i.width,top:ei.y+i.height}}function i(t,e,n,r,i,a){var o=t,s=e;switch(a){case"left":o=t-r-n,s=e-i/2;break;case"right":o=t+n,s=e-i/2;break;case"top":o=t-r/2,s=e-i-n;break;case"bottom":o=t-r/2,s=e+n;break;default:o=t+n,s=e-i-n}return{x:o,y:s}}Object.defineProperty(e,"__esModule",{value:!0}),e.getAlignPoint=function(t,e,n,a,o,s,l){var u=i(t,e,n,a,o,s);if(l){var c=r(u.x,u.y,a,o,l);"auto"===s?(c.right&&(u.x=Math.max(0,t-a-n)),c.top&&(u.y=Math.max(0,e-o-n))):"top"===s||"bottom"===s?(c.left&&(u.x=l.x),c.right&&(u.x=l.x+l.width-a),"top"===s&&c.top&&(u.y=e+n),"bottom"===s&&c.bottom&&(u.y=e-o-n)):(c.top&&(u.y=l.y),c.bottom&&(u.y=l.y+l.height-o),"left"===s&&c.left&&(u.x=t+n),"right"===s&&c.right&&(u.x=t-a-n))}return u},e.getOutSides=r,e.getPointByPosition=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return r.Slider}});var r=n(888)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Slider=void 0;var i=n(1),a=n(0),o=r(n(41)),s=n(889),l=n(892),u=n(893),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onMouseDown=function(t){return function(n){e.currentTarget=t;var r=n.originalEvent;r.stopPropagation(),r.preventDefault(),e.prevX=(0,a.get)(r,"touches.0.pageX",r.pageX),e.prevY=(0,a.get)(r,"touches.0.pageY",r.pageY);var i=e.getContainerDOM();i.addEventListener("mousemove",e.onMouseMove),i.addEventListener("mouseup",e.onMouseUp),i.addEventListener("mouseleave",e.onMouseUp),i.addEventListener("touchmove",e.onMouseMove),i.addEventListener("touchend",e.onMouseUp),i.addEventListener("touchcancel",e.onMouseUp)}},e.onMouseMove=function(t){var n=e.cfg.width,r=[e.get("start"),e.get("end")];t.stopPropagation(),t.preventDefault();var i=(0,a.get)(t,"touches.0.pageX",t.pageX),o=(0,a.get)(t,"touches.0.pageY",t.pageY),s=i-e.prevX,l=e.adjustOffsetRange(s/n);e.updateStartEnd(l),e.updateUI(e.getElementByLocalId("foreground"),e.getElementByLocalId("minText"),e.getElementByLocalId("maxText")),e.prevX=i,e.prevY=o,e.draw(),e.emit(u.SLIDER_CHANGE,[e.get("start"),e.get("end")].sort()),e.delegateEmit("valuechanged",{originValue:r,value:[e.get("start"),e.get("end")]})},e.onMouseUp=function(){e.currentTarget&&(e.currentTarget=void 0);var t=e.getContainerDOM();t&&(t.removeEventListener("mousemove",e.onMouseMove),t.removeEventListener("mouseup",e.onMouseUp),t.removeEventListener("mouseleave",e.onMouseUp),t.removeEventListener("touchmove",e.onMouseMove),t.removeEventListener("touchend",e.onMouseUp),t.removeEventListener("touchcancel",e.onMouseUp))},e}return(0,i.__extends)(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.get("start"),r=this.get("end"),i=(0,a.clamp)(n,t,e),o=(0,a.clamp)(r,t,e);this.get("isInit")||n===i&&r===o||this.setValue([i,o])},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var e=this.getRange();if((0,a.isArray)(t)&&2===t.length){var n=[this.get("start"),this.get("end")];this.update({start:(0,a.clamp)(t[0],e.min,e.max),end:(0,a.clamp)(t[1],e.min,e.max)}),this.get("updateAutoRender")||this.render(),this.delegateEmit("valuechanged",{originValue:n,value:t})}},e.prototype.getValue=function(){return[this.get("start"),this.get("end")]},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"slider",x:0,y:0,width:100,height:16,backgroundStyle:{},foregroundStyle:{},handlerStyle:{},textStyle:{},defaultCfg:{backgroundStyle:u.BACKGROUND_STYLE,foregroundStyle:u.FOREGROUND_STYLE,handlerStyle:u.HANDLER_STYLE,textStyle:u.TEXT_STYLE}})},e.prototype.update=function(e){var n=e.start,r=e.end,o=(0,i.__assign)({},e);(0,a.isNil)(n)||(o.start=(0,a.clamp)(n,0,1)),(0,a.isNil)(r)||(o.end=(0,a.clamp)(r,0,1)),t.prototype.update.call(this,o),this.minHandler=this.getChildComponentById(this.getElementId("minHandler")),this.maxHandler=this.getChildComponentById(this.getElementId("maxHandler")),this.trend=this.getChildComponentById(this.getElementId("trend"))},e.prototype.init=function(){this.set("start",(0,a.clamp)(this.get("start"),0,1)),this.set("end",(0,a.clamp)(this.get("end"),0,1)),t.prototype.init.call(this)},e.prototype.render=function(){t.prototype.render.call(this),this.updateUI(this.getElementByLocalId("foreground"),this.getElementByLocalId("minText"),this.getElementByLocalId("maxText"))},e.prototype.renderInner=function(t){var e=this.cfg,n=(e.start,e.end,e.width),r=e.height,o=e.trendCfg,c=void 0===o?{}:o,f=e.minText,d=e.maxText,p=e.backgroundStyle,h=void 0===p?{}:p,g=e.foregroundStyle,v=void 0===g?{}:g,y=e.textStyle,m=void 0===y?{}:y,b=(0,a.deepMix)({},l.DEFAULT_HANDLER_STYLE,this.cfg.handlerStyle);(0,a.size)((0,a.get)(c,"data"))&&(this.trend=this.addComponent(t,(0,i.__assign)({component:s.Trend,id:this.getElementId("trend"),x:0,y:0,width:n,height:r},c))),this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:(0,i.__assign)({x:0,y:0,width:n,height:r},h)}),this.addShape(t,{id:this.getElementId("minText"),type:"text",attrs:(0,i.__assign)({y:r/2,textAlign:"right",text:f,silent:!1},m)}),this.addShape(t,{id:this.getElementId("maxText"),type:"text",attrs:(0,i.__assign)({y:r/2,textAlign:"left",text:d,silent:!1},m)}),this.addShape(t,{id:this.getElementId("foreground"),name:"foreground",type:"rect",attrs:(0,i.__assign)({y:0,height:r},v)});var x=(0,a.get)(b,"width",u.DEFAULT_HANDLER_WIDTH),_=(0,a.get)(b,"height",24);this.minHandler=this.addComponent(t,{component:l.Handler,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(r-_)/2,width:x,height:_,cursor:"ew-resize",style:b}),this.maxHandler=this.addComponent(t,{component:l.Handler,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(r-_)/2,width:x,height:_,cursor:"ew-resize",style:b})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.updateUI=function(t,e,n){var r=this.cfg,i=r.start,o=r.end,s=r.width,l=r.minText,c=r.maxText,f=r.handlerStyle,d=r.height,p=i*s,h=o*s;this.trend&&(this.trend.update({width:s,height:d}),this.get("updateAutoRender")||this.trend.render()),t.attr("x",p),t.attr("width",h-p);var g=(0,a.get)(f,"width",u.DEFAULT_HANDLER_WIDTH);e.attr("text",l),n.attr("text",c);var v=this._dodgeText([p,h],e,n),y=v[0],m=v[1];this.minHandler&&(this.minHandler.update({x:p-g/2}),this.get("updateAutoRender")||this.minHandler.render()),(0,a.each)(y,function(t,n){return e.attr(n,t)}),this.maxHandler&&(this.maxHandler.update({x:h-g/2}),this.get("updateAutoRender")||this.maxHandler.render()),(0,a.each)(m,function(t,e){return n.attr(e,t)})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("handler-min:mousedown",this.onMouseDown("minHandler")),t.on("handler-min:touchstart",this.onMouseDown("minHandler")),t.on("handler-max:mousedown",this.onMouseDown("maxHandler")),t.on("handler-max:touchstart",this.onMouseDown("maxHandler"));var e=t.findById(this.getElementId("foreground"));e.on("mousedown",this.onMouseDown("foreground")),e.on("touchstart",this.onMouseDown("foreground"))},e.prototype.adjustOffsetRange=function(t){var e=this.cfg,n=e.start,r=e.end;switch(this.currentTarget){case"minHandler":var i=0-n,a=1-n;return Math.min(a,Math.max(i,t));case"maxHandler":var i=0-r,a=1-r;return Math.min(a,Math.max(i,t));case"foreground":var i=0-n,a=1-r;return Math.min(a,Math.max(i,t))}},e.prototype.updateStartEnd=function(t){var e=this.cfg,n=e.start,r=e.end;switch(this.currentTarget){case"minHandler":n+=t;break;case"maxHandler":r+=t;break;case"foreground":n+=t,r+=t}this.set("start",n),this.set("end",r)},e.prototype._dodgeText=function(t,e,n){var r,i,o=this.cfg,s=o.handlerStyle,l=o.width,c=(0,a.get)(s,"width",u.DEFAULT_HANDLER_WIDTH),f=t[0],d=t[1],p=!1;f>d&&(f=(r=[d,f])[0],d=r[1],e=(i=[n,e])[0],n=i[1],p=!0);var h=e.getBBox(),g=n.getBBox(),v=h.width>f-2?{x:f+c/2+2,textAlign:"left"}:{x:f-c/2-2,textAlign:"right"},y=g.width>l-d-2?{x:d-c/2-2,textAlign:"right"}:{x:d+c/2+2,textAlign:"left"};return p?[y,v]:[v,y]},e.prototype.draw=function(){var t=this.get("container"),e=t&&t.get("canvas");e&&e.draw()},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e}(o.default);e.Slider=c,e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Trend=void 0;var i=n(1),a=r(n(41)),o=n(890),s=n(891),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"trend",x:0,y:0,width:200,height:16,smooth:!0,isArea:!1,data:[],backgroundStyle:o.BACKGROUND_STYLE,lineStyle:o.LINE_STYLE,areaStyle:o.AREA_STYLE})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,r=e.height,a=e.data,o=e.smooth,l=e.isArea,u=e.backgroundStyle,c=e.lineStyle,f=e.areaStyle;this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:(0,i.__assign)({x:0,y:0,width:n,height:r},u)});var d=(0,s.dataToPath)(a,n,r,o);if(this.addShape(t,{id:this.getElementId("line"),type:"path",attrs:(0,i.__assign)({path:d},c)}),l){var p=(0,s.linePathToAreaPath)(d,n,r,a);this.addShape(t,{id:this.getElementId("area"),type:"path",attrs:(0,i.__assign)({path:p},f)})}},e.prototype.applyOffset=function(){var t=this.cfg,e=t.x,n=t.y;this.moveElementTo(this.get("group"),{x:e,y:n})},e}(a.default);e.Trend=l,e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LINE_STYLE=e.BACKGROUND_STYLE=e.AREA_STYLE=void 0,e.BACKGROUND_STYLE={opacity:0},e.LINE_STYLE={stroke:"#C5C5C5",strokeOpacity:.85},e.AREA_STYLE={fill:"#CACED4",opacity:.85}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dataToPath=function(t,e,n,r){void 0===r&&(r=!0);var i=new a.Linear({values:t}),u=new a.Category({values:(0,o.map)(t,function(t,e){return e})}),c=(0,o.map)(t,function(t,r){return[u.scale(r)*e,n-i.scale(t)*n]});return r?l(c):s(c)},e.getAreaLineY=u,e.getLinePath=s,e.getSmoothLinePath=l,e.linePathToAreaPath=function(t,e,n,i){var a=(0,r.__spreadArrays)(t),o=u(i,n);return a.push(["L",e,o]),a.push(["L",0,o]),a.push(["Z"]),a};var r=n(1),i=n(88),a=n(66),o=n(0);function s(t){return(0,o.map)(t,function(t,e){return[0===e?"M":"L",t[0],t[1]]})}function l(t){if(t.length<=2)return s(t);var e=[];(0,o.each)(t,function(t){(0,o.isEqual)(t,e.slice(e.length-2))||e.push(t[0],t[1])});var n=(0,i.catmullRom2Bezier)(e,!1),r=(0,o.head)(t),a=r[0],l=r[1];return n.unshift(["M",a,l]),n}function u(t,e){var n=new a.Linear({values:t}),r=n.max<0?n.max:Math.max(0,n.min);return e-n.scale(r)*e}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Handler=e.DEFAULT_HANDLER_STYLE=void 0;var i=n(1),a=r(n(41)),o={fill:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"};e.DEFAULT_HANDLER_STYLE=o;var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"handler",x:0,y:0,width:10,height:24,style:o})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,r=e.height,i=e.style,a=i.fill,o=i.stroke,s=i.radius,l=i.opacity,u=i.cursor;this.addShape(t,{type:"rect",id:this.getElementId("background"),attrs:{x:0,y:0,width:n,height:r,fill:a,stroke:o,radius:s,opacity:l,cursor:u}});var c=1/3*n,f=2/3*n,d=1/4*r,p=3/4*r;this.addShape(t,{id:this.getElementId("line-left"),type:"line",attrs:{x1:c,y1:d,x2:c,y2:p,stroke:o,cursor:u}}),this.addShape(t,{id:this.getElementId("line-right"),type:"line",attrs:{x1:f,y1:d,x2:f,y2:p,stroke:o,cursor:u}})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.bindEvents=function(){var t=this;this.get("group").on("mouseenter",function(){var e=t.get("style").highLightFill;t.getElementByLocalId("background").attr("fill",e),t.draw()}),this.get("group").on("mouseleave",function(){var e=t.get("style").fill;t.getElementByLocalId("background").attr("fill",e),t.draw()})},e.prototype.draw=function(){var t=this.get("container").get("canvas");t&&t.draw()},e}(a.default);e.Handler=s,e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TEXT_STYLE=e.SLIDER_CHANGE=e.HANDLER_STYLE=e.FOREGROUND_STYLE=e.DEFAULT_HANDLER_WIDTH=e.BACKGROUND_STYLE=void 0,e.BACKGROUND_STYLE={fill:"#416180",opacity:.05},e.FOREGROUND_STYLE={fill:"#5B8FF9",opacity:.15,cursor:"move"},e.DEFAULT_HANDLER_WIDTH=10,e.HANDLER_STYLE={width:10,height:24},e.TEXT_STYLE={textBaseline:"middle",fill:"#000",opacity:.45},e.SLIDER_CHANGE="sliderchange"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(895);Object.keys(r).forEach(function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}}))})},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbar=e.DEFAULT_THEME=void 0;var i=n(1),a=n(96),o=n(0),s=r(n(41)),l={default:{trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},hover:{thumbColor:"rgba(0,0,0,0.2)"}};e.DEFAULT_THEME=l;var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.clearEvents=o.noop,e.onStartEvent=function(t){return function(n){e.isMobile=t,n.originalEvent.preventDefault();var r=t?(0,o.get)(n.originalEvent,"touches.0.clientX"):n.clientX,i=t?(0,o.get)(n.originalEvent,"touches.0.clientY"):n.clientY;e.startPos=e.cfg.isHorizontal?r:i,e.bindLaterEvent()}},e.bindLaterEvent=function(){var t=e.getContainerDOM(),n=[];n=e.isMobile?[(0,a.addEventListener)(t,"touchmove",e.onMouseMove),(0,a.addEventListener)(t,"touchend",e.onMouseUp),(0,a.addEventListener)(t,"touchcancel",e.onMouseUp)]:[(0,a.addEventListener)(t,"mousemove",e.onMouseMove),(0,a.addEventListener)(t,"mouseup",e.onMouseUp),(0,a.addEventListener)(t,"mouseleave",e.onMouseUp)],e.clearEvents=function(){n.forEach(function(t){t.remove()})}},e.onMouseMove=function(t){var n=e.cfg,r=n.isHorizontal,i=n.thumbOffset;t.preventDefault();var a=e.isMobile?(0,o.get)(t,"touches.0.clientX"):t.clientX,s=e.isMobile?(0,o.get)(t,"touches.0.clientY"):t.clientY,l=r?a:s,u=l-e.startPos;e.startPos=l,e.updateThumbOffset(i+u)},e.onMouseUp=function(t){t.preventDefault(),e.clearEvents()},e.onTrackClick=function(t){var n=e.cfg,r=n.isHorizontal,i=n.x,a=n.y,o=n.thumbLen,s=e.getContainerDOM().getBoundingClientRect(),l=t.clientX,u=t.clientY,c=r?l-s.left-i-o/2:u-s.top-a-o/2,f=e.validateRange(c);e.updateThumbOffset(f)},e.onThumbMouseOver=function(){var t=e.cfg.theme.hover.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e.onThumbMouseOut=function(){var t=e.cfg.theme.default.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e}return(0,i.__extends)(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.getValue(),r=(0,o.clamp)(n,t,e);n===r||this.get("isInit")||this.setValue(r)},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var e=this.getRange(),n=this.getValue();this.update({thumbOffset:(this.get("trackLen")-this.get("thumbLen"))*(0,o.clamp)(t,e.min,e.max)}),this.delegateEmit("valuechange",{originalValue:n,value:this.getValue()})},e.prototype.getValue=function(){return(0,o.clamp)(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:l})},e.prototype.renderInner=function(t){this.renderTrackShape(t),this.renderThumbShape(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.renderTrackShape=function(t){var e=this.cfg,n=e.trackLen,r=e.theme,i=(0,o.deepMix)({},l,void 0===r?{default:{}}:r).default,a=i.lineCap,s=i.trackColor,u=i.size,c=(0,o.get)(this.cfg,"size",u),f=this.get("isHorizontal")?{x1:0+c/2,y1:c/2,x2:n-c/2,y2:c/2,lineWidth:c,stroke:s,lineCap:a}:{x1:c/2,y1:0+c/2,x2:c/2,y2:n-c/2,lineWidth:c,stroke:s,lineCap:a};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:f})},e.prototype.renderThumbShape=function(t){var e=this.cfg,n=e.thumbOffset,r=e.thumbLen,i=e.theme,a=(0,o.deepMix)({},l,i).default,s=a.size,u=a.lineCap,c=a.thumbColor,f=(0,o.get)(this.cfg,"size",s),d=this.get("isHorizontal")?{x1:n+f/2,y1:f/2,x2:n+r-f/2,y2:f/2,lineWidth:f,stroke:c,lineCap:u,cursor:"default"}:{x1:f/2,y1:n+f/2,x2:f/2,y2:n+r-f/2,lineWidth:f,stroke:c,lineCap:u,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:d})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("mousedown",this.onStartEvent(!1)),t.on("mouseup",this.onMouseUp),t.on("touchstart",this.onStartEvent(!0)),t.on("touchend",this.onMouseUp),t.findById(this.getElementId("track")).on("click",this.onTrackClick);var e=t.findById(this.getElementId("thumb"));e.on("mouseover",this.onThumbMouseOver),e.on("mouseout",this.onThumbMouseOut)},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e.prototype.validateRange=function(t){var e=this.cfg,n=e.thumbLen,r=e.trackLen,i=t;return t+n>r?i=r-n:t+n=u-c&&f<=u+c},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()},e}(i.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a,o,s,l,u,c,f=this.attr(),d=i/2,p=f.x,h=f.y,g=f.rx,v=f.ry,y=(t-p)*(t-p),m=(e-h)*(e-h);return r&&n?1>=y/((a=g+d)*a)+m/((o=v+d)*o):r?1>=y/(g*g)+m/(v*v):!!n&&y/((s=g-d)*s)+m/((l=v-d)*l)>=1&&1>=y/((u=g+d)*u)+m/((c=v+d)*c)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.rx,a=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,r,i,a,0,0,2*Math.PI,!1);else{var o=i>a?i:a,s=i>a?1:i/a,l=i>a?a/i:1;t.save(),t.translate(n,r),t.scale(s,l),t.arc(0,0,o,0,2*Math.PI),t.restore(),t.closePath()}},e}(n(71).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(71),a=n(51);function o(t){return t instanceof HTMLElement&&a.isString(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var e=this,n=this.attrs;if(a.isString(t)){var r=new Image;r.onload=function(){if(e.destroyed)return!1;e.attr("img",r),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},r.crossOrigin="Anonymous",r.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):o(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,t.getAttribute("height")))},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"img"===e&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading")){this.set("toDraw",!0),this.set("context",t);return}var e=this.attr(),n=e.x,r=e.y,i=e.width,s=e.height,l=e.sx,u=e.sy,c=e.swidth,f=e.sheight,d=e.img;(d instanceof Image||o(d))&&(a.isNil(l)||a.isNil(u)||a.isNil(c)||a.isNil(f)?t.drawImage(d,n,r,i,s):t.drawImage(d,l,u,c,f,n,r,i,s))},e}(i.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(38),a=n(71),o=n(183),s=n(182),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2,a=t.startArrow,o=t.endArrow;a&&s.addStartArrow(this,t,r,i,e,n),o&&s.addEndArrow(this,t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var a=this.attr(),s=a.x1,l=a.y1,u=a.x2,c=a.y2;return o.default(s,l,u,c,i,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.startArrow,l=e.endArrow,u={dx:0,dy:0},c={dx:0,dy:0};o&&o.d&&(u=s.getShortenOffset(n,r,i,a,e.startArrow.d)),l&&l.d&&(c=s.getShortenOffset(n,r,i,a,e.endArrow.d)),t.beginPath(),t.moveTo(n+u.dx,r+u.dy),t.lineTo(i-c.dx,a-c.dy)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,a=t.y2;return i.Line.length(e,n,r,a)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,a=e.x2,o=e.y2;return i.Line.pointAt(n,r,a,o,t)},e}(a.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(88),o=n(71),s=n(51),l=n(144),u={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return i.isNil(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,r=this.attr(),i=r.x,o=r.y,l=r.symbol||"circle",u=this._getR(r);if(s.isFunction(l))n=(t=l)(i,o,u),n=a.path2Absolute(n);else{if(!(t=e.Symbols[l]))return console.warn(l+" marker is not supported."),null;n=t(i,o,u)}return n},e.prototype.createPath=function(t){var e=this._getPath(),n=this.get("paramsCache");l.drawPath(this,t,{path:e},n)},e.Symbols=u,e}(o.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(38),a=n(0),o=n(71),s=n(88),l=n(144),u=n(439),c=n(440),f=n(906),d=n(182);function p(t,e,n){for(var r=!1,i=0;i=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)});var s=o[n];if(a.isNil(s)||a.isNil(n))return null;var l=s.length,u=o[n+1];return i.Cubic.pointAt(s[l-2],s[l-1],u[1],u[2],u[3],u[4],u[5],u[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",f.default.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r=0,o=0,s=[],l=this.get("curve");if(l){if(a.each(l,function(t,a){e=l[a+1],n=t.length,e&&(r+=i.Cubic.length(t[n-2],t[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0)}),this.set("totalLength",r),0===r){this.set("tCache",[]);return}a.each(l,function(a,u){e=l[u+1],n=a.length,e&&((t=[])[0]=o/r,o+=i.Cubic.length(a[n-2],a[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0,t[1]=o/r,s.push(t))}),this.set("tCache",s)}},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,r=e[1].currentPoint,i=e[1].startTangent;t=[],i?(t.push([n[0]-i[0],n[1]-i[1]]),t.push([n[0],n[1]])):(t.push([r[0],r[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var r=e[n-2].currentPoint,i=e[n-1].currentPoint,a=e[n-1].endTangent;t=[],a?(t.push([i[0]-a[0],i[1]-a[1]]),t.push([i[0],i[1]])):(t.push([r[0],r[1]]),t.push([i[0],i[1]]))}return t},e}(o.default);e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(38),o=n(38),s=n(32),l=n(171),u=n(51),c=n(183),f=n(441),d=s.ext.transform;e.default=r.__assign({hasArc:function(t){for(var e=!1,n=t.length,r=0;r0&&r.push(i),{polygons:n,polylines:r}},isPointInStroke:function(t,e,n,r,i){for(var s=!1,p=e/2,h=0;hM?P:M,T=d(null,[["t",-_,-O],["r",-w],["s",1/(P>M?1:P/M),1/(P>M?M/P:1)]]);l.transformMat3(E,E,T),s=f.default(0,0,C,A,S,e,E[0],E[1])}if(s)break}}return s}},i.PathUtil)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(71),a=n(442),o=n(440),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var s=this.attr().points,l=!1;return n&&(l=a.default(s,i,t,e,!0)),!l&&r&&(l=o.default(s,t,e)),l},e.prototype.createPath=function(t){var e=this.attr().points;if(!(e.length<2)){t.beginPath();for(var n=0;n=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),i.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var r=0,a=[];o.each(e,function(o,s){e[s+1]&&((t=[])[0]=r/n,r+=i.Line.length(o[0],o[1],e[s+1][0],e[s+1][1]),t[1]=r/n,a.push(t))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(s.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(71),a=n(437),o=n(51),s=n(910),l=n(911),u=n(439),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr(),c=a.x,f=a.y,d=a.width,p=a.height,h=a.radius;if(h){var g=!1;return n&&(g=l.default(c,f,d,p,h,i,t,e)),!g&&r&&(g=u.default(this,t,e)),g}var v=i/2;return r&&n?o.inBox(c-v,f-v,d+v,p+v,t,e):r?o.inBox(c,f,d,p,t,e):n?s.default(c,f,d,p,i,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.width,o=e.height,s=e.radius;if(t.beginPath(),0===s)t.rect(n,r,i,o);else{var l=a.parseRadius(s),u=l[0],c=l[1],f=l[2],d=l[3];t.moveTo(n+u,r),t.lineTo(n+i-c,r),0!==c&&t.arc(n+i-c,r+c,c,-Math.PI/2,0),t.lineTo(n+i,r+o-f),0!==f&&t.arc(n+i-f,r+o-f,f,0,Math.PI/2),t.lineTo(n+d,r+o),0!==d&&t.arc(n+d,r+o-d,d,Math.PI/2,Math.PI),t.lineTo(n,r+u),0!==u&&t.arc(n+u,r+u,u,Math.PI,1.5*Math.PI),t.closePath()}},e}(i.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(51);e.default=function(t,e,n,i,a,o,s){var l=a/2;return r.inBox(t-l,e-l,n,a,o,s)||r.inBox(t+n-l,e-l,a,i,o,s)||r.inBox(t+l,e+i-l,n,a,o,s)||r.inBox(t-l,e+l,a,i,o,s)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(183),i=n(441);e.default=function(t,e,n,a,o,s,l,u){return r.default(t+o,e,t+n-o,e,s,l,u)||r.default(t+n,e+o,t+n,e+a-o,s,l,u)||r.default(t+n-o,e+a,t+o,e+a,s,l,u)||r.default(t,e+a-o,t,e+o,s,l,u)||i.default(t+n-o,e+o,o,1.5*Math.PI,2*Math.PI,s,l,u)||i.default(t+n-o,e+a-o,o,0,.5*Math.PI,s,l,u)||i.default(t+o,e+a-o,o,.5*Math.PI,Math.PI,s,l,u)||i.default(t+o,e+o,o,Math.PI,1.5*Math.PI,s,l,u)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(71),a=n(51),o=n(26),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=o.assembleFont(t)},e.prototype._setText=function(t){var e=null;a.isString(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var r,i=this.attrs,s=i.textBaseline,l=i.x,u=i.y,c=1*i.fontSize,f=this._getSpaceingY(),d=o.getTextHeight(i.text,i.fontSize,i.lineHeight);a.each(e,function(e,i){r=u+i*(f+c)-d+c,"middle"===s&&(r+=d-c-(d-c)/2),"top"===s&&(r+=d-c),a.isNil(e)||(n?t.fillText(e,l,r):t.strokeText(e,l,r))})},e.prototype._drawText=function(t,e){var n=this.attr(),r=n.x,i=n.y,o=this.get("textArr");if(o)this._drawTextArr(t,o,e);else{var s=n.text;a.isNil(s)||(e?t.fillText(s,r,i):t.strokeText(s,r,i))}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,o=e.fillOpacity;this.isStroke()&&n>0&&(a.isNil(i)||1===i||(t.globalAlpha=r),this.stroke(t)),this.isFill()&&(a.isNil(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=r)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(i.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(914),o=n(143),s=n(260),l=n(51),u=n(144),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.renderer="canvas",e.autoDraw=!0,e.localRefresh=!0,e.refreshElements=[],e.clipView=!0,e.quickHit=!1,e},e.prototype.onCanvasChange=function(t){("attr"===t||"sort"===t||"changeSize"===t)&&(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return o},e.prototype.getGroupBase=function(){return s.default},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||l.getPixelRatio();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var r=this.get("context"),i=this.get("el"),a=this.getPixelRatio();i.width=a*e,i.height=a*n,a>1&&r.scale(a,a)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){return this.get("quickHit")?a.getShape(this,e,n):t.prototype.getShape.call(this,e,n,null)},e.prototype._getRefreshRegion=function(){var t,e=this.get("refreshElements"),n=this.getViewRange();return e.length&&e[0]===this?t=n:(t=u.getMergedRegion(e))&&(t.minX=Math.floor(t.minX),t.minY=Math.floor(t.minY),t.maxX=Math.ceil(t.maxX),t.maxY=Math.ceil(t.maxY),t.maxY+=1,this.get("clipView")&&(t=u.mergeView(t,n))),t},e.prototype.refreshElement=function(t){this.get("refreshElements").push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&(l.clearAnimationFrame(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),u.applyAttrsToContext(t,this),u.drawChildren(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),e=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(t.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.save(),t.beginPath(),t.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.clip(),u.applyAttrsToContext(t,this),u.checkRefresh(this,n,r),u.drawChildren(t,n,r),t.restore()):e.length&&u.clearChanged(e),l.each(e,function(t){t.get("hasChanged")&&t.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,e=this.get("drawFrame");e||(e=l.requestAnimationFrame(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",e))},e.prototype.skipDraw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.width=0,t.height=0,t.parentNode.removeChild(t)},e}(i.AbstractCanvas);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getShape=void 0;var r=n(26);function i(t,e,n){var i=t.getTotalMatrix();if(i){var a=function(t,e){if(e){var n=r.invert(e);return r.multiplyVec2(n,t)}return t}([e,n,1],i);return[a[0],a[1]]}return[e,n]}function a(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!r.isAllowCapture(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var a=i(t,e,n),o=a[0],s=a[1];if(t.isClipped(o,s))return!1}var l=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=l.minX&&e<=l.maxX&&n>=l.minY&&n<=l.maxY}e.getShape=function t(e,n,r){if(!a(e,n,r))return null;for(var o=null,s=e.getChildren(),l=s.length,u=l-1;u>=0;u--){var c=s[u];if(c.isGroup())o=t(c,n,r);else if(a(c,n,r)){var f=i(c,n,r),d=f[0],p=f[1];c.isInShape(d,p)&&(o=c)}if(o)break}return o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");i.each(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):a.SVG_ATTR_MAP[e]&&r.setAttribute(a.SVG_ATTR_MAP[e],t)})},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}return r.__extends(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");if(i.each(e||n,function(t,e){a.SVG_ATTR_MAP[e]&&r.setAttribute(a.SVG_ATTR_MAP[e],t)}),"function"==typeof n.html){var o=n.html.call(this,n);if(o instanceof Element||o instanceof HTMLDocument){for(var s=r.childNodes,l=s.length-1;l>=0;l--)r.removeChild(s[l]);r.appendChild(o)}else r.innerHTML=o}else r.innerHTML=n.html},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");i.each(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):a.SVG_ATTR_MAP[e]&&r.setAttribute(a.SVG_ATTR_MAP[e],t)})},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),o=this.get("el");i.each(e||r,function(t,e){"img"===e?n._setImage(r.img):a.SVG_ATTR_MAP[e]&&o.setAttribute(a.SVG_ATTR_MAP[e],t)})},e.prototype.setAttr=function(t,e){this.attrs[t]=e,"img"===t&&this._setImage(e)},e.prototype._setImage=function(t){var e=this.attr(),n=this.get("el");if(i.isString(t))n.setAttribute("href",t);else if(t instanceof window.Image)e.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&i.isString(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase())n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var r=document.createElement("canvas");r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.getContext("2d").putImageData(t,0,0),e.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",r.toDataURL())}},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(38),a=n(0),o=n(52),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");a.each(e||n,function(e,i){if("startArrow"===i||"endArrow"===i){if(e){var s=a.isObject(e)?t.addArrow(n,o.SVG_ATTR_MAP[i]):t.getDefaultArrow(n,o.SVG_ATTR_MAP[i]);r.setAttribute(o.SVG_ATTR_MAP[i],"url(#"+s+")")}else r.removeAttribute(o.SVG_ATTR_MAP[i])}else o.SVG_ATTR_MAP[i]&&r.setAttribute(o.SVG_ATTR_MAP[i],e)})},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,a=t.y2;return i.Line.length(e,n,r,a)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,a=e.x2,o=e.y2;return i.Line.pointAt(n,r,a,o,t)},e}(n(62).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(62),o=n(921),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.createPath=function(t){this.get("el").setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return i.isArray(t)?t.map(function(t){return t.join(" ")}).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,r=e.y,a=e.r||e.radius,s=e.symbol||"circle";return(t=i.isFunction(s)?s:o.default.get(s))?t(n,r,a):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=o.default,e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,-(2*n),0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},triangleDown:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}};e.default={get:function(t){return r[t]},register:function(t,e){r[t]=e},remove:function(t){delete r[t]},getAll:function(){return r}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),o=this.get("el");i.each(e||r,function(e,s){if("path"===s&&i.isArray(e))o.setAttribute("d",n._formatPath(e));else if("startArrow"===s||"endArrow"===s){if(e){var l=i.isObject(e)?t.addArrow(r,a.SVG_ATTR_MAP[s]):t.getDefaultArrow(r,a.SVG_ATTR_MAP[s]);o.setAttribute(a.SVG_ATTR_MAP[s],"url(#"+l+")")}else o.removeAttribute(a.SVG_ATTR_MAP[s])}else a.SVG_ATTR_MAP[s]&&o.setAttribute(a.SVG_ATTR_MAP[s],e)})},e.prototype._formatPath=function(t){var e=t.map(function(t){return t.join(" ")}).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var r=e?e.getPointAtLength(t*n):null;return r?{x:r.x,y:r.y}:null},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");i.each(e||n,function(t,e){"points"===e&&i.isArray(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):a.SVG_ATTR_MAP[e]&&r.setAttribute(a.SVG_ATTR_MAP[e],t)})},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(38),a=n(38),o=n(0),s=n(52),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");o.each(e||n,function(t,e){"points"===e&&o.isArray(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):s.SVG_ATTR_MAP[e]&&r.setAttribute(s.SVG_ATTR_MAP[e],t)})},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return o.isNil(e)?(this.set("totalLength",i.Polyline.length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),o.each(i,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),a.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var r=0,i=[];o.each(e,function(o,s){e[s+1]&&((t=[])[0]=r/n,r+=a.Line.length(o[0],o[1],e[s+1][0],e[s+1][1]),t[1]=r/n,i.push(t))}),this.set("tCache",i)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(n(62).default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(62),o=n(52),s=n(926),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),a=this.get("el"),s=!1,l=["x","y","width","height","radius"];i.each(e||r,function(t,e){-1===l.indexOf(e)||s?-1===l.indexOf(e)&&o.SVG_ATTR_MAP[e]&&a.setAttribute(o.SVG_ATTR_MAP[e],t):(a.setAttribute("d",n._assembleRect(r)),s=!0)})},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,r=t.width,a=t.height,o=t.radius;if(!o)return"M "+e+","+n+" l "+r+",0 l 0,"+a+" l"+-r+" 0 z";var l=s.parseRadius(o);return i.isArray(o)?1===o.length?l.r1=l.r2=l.r3=l.r4=o[0]:2===o.length?(l.r1=l.r3=o[0],l.r2=l.r4=o[1]):3===o.length?(l.r1=o[0],l.r2=l.r4=o[1],l.r3=o[2]):(l.r1=o[0],l.r2=o[1],l.r3=o[2],l.r4=o[3]):l.r1=l.r2=l.r3=l.r4=o,[["M "+(e+l.r1)+","+n],["l "+(r-l.r1-l.r2)+",0"],["a "+l.r2+","+l.r2+",0,0,1,"+l.r2+","+l.r2],["l 0,"+(a-l.r2-l.r3)],["a "+l.r3+","+l.r3+",0,0,1,"+-l.r3+","+l.r3],["l "+(l.r3+l.r4-r)+",0"],["a "+l.r4+","+l.r4+",0,0,1,"+-l.r4+","+-l.r4],["l 0,"+(l.r4+l.r1-a)],["a "+l.r1+","+l.r1+",0,0,1,"+l.r1+","+-l.r1],["z"]].join(" ")},e}(a.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePath=e.parseRadius=void 0;var r=n(0),i=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,a=/[^\s,]+/gi;e.parseRadius=function(t){var e=0,n=0,i=0,a=0;return r.isArray(t)?1===t.length?e=n=i=a=t[0]:2===t.length?(e=i=t[0],n=a=t[1]):3===t.length?(e=t[0],n=a=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],a=t[3]):e=n=i=a=t,{r1:e,r2:n,r3:i,r4:a}},e.parsePath=function(t){return(t=t||[],r.isArray(t))?t:r.isString(t)?(t=t.match(i),r.each(t,function(e,n){if((e=e.match(a))[0].length>1){var i=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=i}r.each(e,function(t,n){isNaN(t)||(e[n]=+t)}),t[n]=e}),t):void 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(242),o=n(145),s=n(52),l=n(62),u={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},c={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},f={left:"left",start:"left",center:"middle",right:"end",end:"end"},d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),a=this.get("el");this._setFont(),i.each(e||r,function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?o.setTransform(n):s.SVG_ATTR_MAP[e]&&a.setAttribute(s.SVG_ATTR_MAP[e],t)}),a.setAttribute("paint-order","stroke"),a.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,r=e.textAlign,i=a.detect();i&&"firefox"===i.name?t.setAttribute("dominant-baseline",c[n]||"alphabetic"):t.setAttribute("alignment-baseline",u[n]||"baseline"),t.setAttribute("text-anchor",f[r]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),r=n.x,a=n.textBaseline,o=void 0===a?"bottom":a;if(t){if(~t.indexOf("\n")){var s=t.split("\n"),l=s.length-1,u="";i.each(s,function(t,e){0===e?"alphabetic"===o?u+=''+t+"":"top"===o?u+=''+t+"":"middle"===o?u+=''+t+"":"bottom"===o?u+=''+t+"":"hanging"===o&&(u+=''+t+""):u+=''+t+""}),e.innerHTML=u}else e.innerHTML=t}else e.innerHTML=""},e}(l.default);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(52),o=n(261),s=n(145),l=n(72),u=n(184),c=n(262),f=n(929),d=function(t){function e(e){return t.call(this,r.__assign(r.__assign({},e),{autoDraw:!0,renderer:"svg"}))||this}return r.__extends(e,t),e.prototype.getShapeBase=function(){return u},e.prototype.getGroupBase=function(){return c.default},e.prototype.getShape=function(t,e,n){var r=n.target||n.srcElement;if(!a.SHAPE_TO_TAGS[r.tagName]){for(var i=r.parentNode;i&&!a.SHAPE_TO_TAGS[i.tagName];)i=i.parentNode;r=i}return this.find(function(t){return t.get("el")===r})},e.prototype.createDom=function(){var t=l.createSVGElement("svg"),e=new f.default(t);return t.setAttribute("width",""+this.get("width")),t.setAttribute("height",""+this.get("height")),this.set("context",e),t},e.prototype.onCanvasChange=function(t){var e=this.get("context"),n=this.get("el");if("sort"===t){var r=this.get("children");r&&r.length&&l.sortDom(this,function(t,e){return r.indexOf(t)-r.indexOf(e)?1:0})}else if("clear"===t){if(n){n.innerHTML="";var i=e.el;i.innerHTML="",n.appendChild(i)}}else"matrix"===t?s.setTransform(this):"clip"===t?s.setClip(this,e):"changeSize"===t&&(n.setAttribute("width",""+this.get("width")),n.setAttribute("height",""+this.get("height")))},e.prototype.draw=function(){var t=this.get("context"),e=this.getChildren();s.setClip(this,t),e.length&&o.drawChildren(t,e)},e}(i.AbstractCanvas);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(930),a=n(931),o=n(932),s=n(933),l=n(934),u=n(72),c=function(){function t(t){var e=u.createSVGElement("defs"),n=r.uniqueId("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,r=null,i=0;i'}),n}var u=function(){function t(t){this.cfg={};var e,n,s,u,c,f,d,p,h,g,v,y,m,b,x,_,O=null,P=r.uniqueId("gradient_");return"l"===t.toLowerCase()[0]?(e=O=i.createSVGElement("linearGradient"),u=a.exec(t),c=r.mod(r.toRadian(parseFloat(u[1])),2*Math.PI),f=u[2],c>=0&&c<.5*Math.PI?(n={x:0,y:0},s={x:1,y:1}):.5*Math.PI<=c&&c';e.innerHTML=n},t}();e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(72),a=function(){function t(t,e){this.cfg={};var n=i.createSVGElement("marker"),a=r.uniqueId("marker_");n.setAttribute("id",a);var o=i.createSVGElement("path");o.setAttribute("stroke",t.stroke||"none"),o.setAttribute("fill",t.fill||"none"),n.appendChild(o),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=o,this.id=a;var s=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===s?this._setDefaultPath(e,o):(this.cfg=s,this._setMarker(t.lineWidth,o)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,i=this.cfg.path,a=this.cfg.d;r.isArray(i)&&(i=i.map(function(t){return t.join(" ")}).join("")),e.setAttribute("d",i),n.appendChild(e),a&&n.setAttribute("refX",""+a/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(72),a=function(){function t(t){this.type="clip",this.cfg={};var e=i.createSVGElement("clipPath");this.el=e,this.id=r.uniqueId("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(72),a=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,o=function(){function t(t){this.cfg={};var e=i.createSVGElement("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=i.createSVGElement("image");e.appendChild(n);var o=r.uniqueId("pattern_");e.id=o,this.el=e,this.id=o,this.cfg=t;var s=a.exec(t)[2];n.setAttribute("href",s);var l=new Image;function u(){e.setAttribute("width",""+l.width),e.setAttribute("height",""+l.height)}return s.match(/^data:/i)||(l.crossOrigin="Anonymous"),l.src=s,l.complete?u():(l.onload=u,l.src=l.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(443),s=n(160),l=function(t){function e(e){var n=this,l=e.container,u=e.width,c=e.height,f=e.autoFit,d=void 0!==f&&f,p=e.padding,h=e.appendPadding,g=e.renderer,v=void 0===g?"canvas":g,y=e.pixelRatio,m=e.localRefresh,b=void 0===m||m,x=e.visible,_=e.supportCSSTransform,O=e.defaultInteractions,P=void 0===O?["tooltip","legend-filter","legend-active","continuous-filter","ellipsis-text"]:O,M=e.options,A=e.limitInPlot,S=e.theme,w=e.syncViewPadding,E=(0,i.isString)(l)?document.getElementById(l):l,C=(0,s.createDom)('
      ');E.appendChild(C);var T=(0,s.getChartSize)(E,d,u,c),I=new((0,o.getEngine)(v)).Canvas((0,r.__assign)({container:C,pixelRatio:y,localRefresh:b,supportCSSTransform:void 0!==_&&_},T));return(n=t.call(this,{parent:null,canvas:I,backgroundGroup:I.addGroup({zIndex:a.GROUP_Z_INDEX.BG}),middleGroup:I.addGroup({zIndex:a.GROUP_Z_INDEX.MID}),foregroundGroup:I.addGroup({zIndex:a.GROUP_Z_INDEX.FORE}),padding:p,appendPadding:h,visible:void 0===x||x,options:M,limitInPlot:A,theme:S,syncViewPadding:w})||this).onResize=(0,i.debounce)(function(){n.forceFit()},300),n.ele=E,n.canvas=I,n.width=T.width,n.height=T.height,n.autoFit=d,n.localRefresh=b,n.renderer=v,n.wrapperElement=C,n.updateCanvasStyle(),n.bindAutoFit(),n.initDefaultInteractions(P),n}return(0,r.__extends)(e,t),e.prototype.initDefaultInteractions=function(t){var e=this;(0,i.each)(t,function(t){e.interaction(t)})},e.prototype.aria=function(t){var e="aria-label";!1===t?this.ele.removeAttribute(e):this.ele.setAttribute(e,t.label)},e.prototype.changeSize=function(t,e){return this.width===t&&this.height===e||(this.emit(a.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE),this.width=t,this.height=e,this.canvas.changeSize(t,e),this.render(!0),this.emit(a.VIEW_LIFE_CIRCLE.AFTER_CHANGE_SIZE)),this},e.prototype.clear=function(){t.prototype.clear.call(this),this.aria(!1)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),(0,s.removeDom)(this.wrapperElement),this.wrapperElement=null},e.prototype.changeVisible=function(e){return t.prototype.changeVisible.call(this,e),this.wrapperElement.style.display=e?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=(0,s.getChartSize)(this.ele,!0,this.width,this.height),e=t.width,n=t.height;this.changeSize(e,n)}},e.prototype.updateCanvasStyle=function(){(0,s.modifyCSS)(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}((0,r.__importDefault)(n(444)).default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseAction=void 0;var r=n(1),i=n(0),a=n(203),o=(0,r.__importDefault)(n(938)),s=(0,r.__importDefault)(n(445));function l(t,e,n){var r=t.split(":"),i=r[0],o=e.getAction(i)||(0,a.createAction)(i,e);if(!o)throw Error("There is no action named "+i);return{action:o,methodName:r[1],arg:n}}function u(t){var e=t.action,n=t.methodName,r=t.arg;if(e[n])e[n](r);else throw Error("Action("+e.name+") doesn't have a method called "+n)}e.parseAction=l;var c={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},f=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.callbackCaches={},r.emitCaches={},r.steps=n,r}return(0,r.__extends)(e,t),e.prototype.init=function(){this.initContext(),t.prototype.init.call(this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;(0,i.each)(this.steps,function(e,n){(0,i.each)(e,function(e){var r=t.getActionCallback(n,e);r&&t.bindEvent(e.trigger,r)})})},e.prototype.clearEvents=function(){var t=this;(0,i.each)(this.steps,function(e,n){(0,i.each)(e,function(e){var r=t.getActionCallback(n,e);r&&t.offEvent(e.trigger,r)})})},e.prototype.initContext=function(){var t=this.view,e=new o.default(t);this.context=e;var n=this.steps;(0,i.each)(n,function(t){(0,i.each)(t,function(t){if((0,i.isFunction)(t.action))t.actionObject={action:(0,a.createCallbackAction)(t.action,e),methodName:"execute"};else if((0,i.isString)(t.action))t.actionObject=l(t.action,e,t.arg);else if((0,i.isArray)(t.action)){var n=t.action,r=(0,i.isArray)(t.arg)?t.arg:[t.arg];t.actionObject=[],(0,i.each)(n,function(n,i){t.actionObject.push(l(n,e,r[i]))})}})})},e.prototype.isAllowStep=function(t){var e=this.currentStepName,n=this.steps;if(e===t||t===c.SHOW_ENABLE)return!0;if(t===c.PROCESSING)return e===c.START;if(t===c.START)return e!==c.PROCESSING;if(t===c.END)return e===c.PROCESSING||e===c.START;if(t===c.ROLLBACK){if(n[c.END])return e===c.END;if(e===c.START)return!0}return!1},e.prototype.isAllowExecute=function(t,e){if(this.isAllowStep(t)){var n=this.getKey(t,e);return(!e.once||!this.emitCaches[n])&&(!e.isEnable||e.isEnable(this.context))}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,e){t!==c.SHOW_ENABLE&&this.currentStepName!==t&&this.enterStep(t);var n=this.getKey(t,e);this.emitCaches[n]=!0},e.prototype.getKey=function(t,e){return t+e.trigger+e.action},e.prototype.getActionCallback=function(t,e){var n=this,r=this.context,a=this.callbackCaches,o=e.actionObject;if(e.action&&o){var s=this.getKey(t,e);if(!a[s]){var l=function(a){r.event=a,n.isAllowExecute(t,e)?((0,i.isArray)(o)?(0,i.each)(o,function(t){r.event=a,u(t)}):(r.event=a,u(o)),n.afterExecute(t,e),e.callback&&(r.event=a,e.callback(r))):r.event=null};e.debounce?a[s]=(0,i.debounce)(l,e.debounce.wait,e.debounce.immediate):e.throttle?a[s]=(0,i.throttle)(l,e.throttle.wait,{leading:e.throttle.leading,trailing:e.throttle.trailing}):a[s]=l}return a[s]}return null},e.prototype.bindEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.addEventListener(n[1],e):"document"===n[0]?document.addEventListener(n[1],e):this.view.on(t,e)},e.prototype.offEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.removeEventListener(n[1],e):"document"===n[0]?document.removeEventListener(n[1],e):this.view.off(t,e)},e}(s.default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.callback=null},e}((0,r.__importDefault)(n(44)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(31),a=function(){function t(t){this.actions=[],this.event=null,this.cacheMap={},this.view=t}return t.prototype.cache=function(){for(var t=[],e=0;e=0&&e.splice(n,1)},t.prototype.getCurrentPoint=function(){var t=this.event;return t?t.target instanceof HTMLElement?this.view.getCanvas().getPointByClient(t.clientX,t.clientY):{x:t.x,y:t.y}:null},t.prototype.getCurrentShape=function(){return(0,r.get)(this.event,["gEvent","shape"])},t.prototype.isInPlot=function(){var t=this.getCurrentPoint();return!!t&&this.view.isPointInPlot(t)},t.prototype.isInShape=function(t){var e=this.getCurrentShape();return!!e&&e.get("name")===t},t.prototype.isInComponent=function(t){var e=(0,i.getComponents)(this.view),n=this.getCurrentPoint();return!!n&&!!e.find(function(e){var r=e.getBBox();return t?e.get("name")===t&&(0,i.isInBox)(r,n):(0,i.isInBox)(r,n)})},t.prototype.destroy=function(){(0,r.each)(this.actions.slice(),function(t){t.destroy()}),this.view=null,this.event=null,this.actions=null,this.cacheMap=null},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createTheme=void 0;var r=n(1),i=n(0),a=n(106),o=n(161);e.createTheme=function(t){var e=t.styleSheet,n=(0,r.__rest)(t,["styleSheet"]),s=(0,o.createLightStyleSheet)(void 0===e?{}:e);return(0,i.deepMix)({},(0,a.createThemeByStyleSheet)(s),n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(69),o=function(){function t(t){this.option=this.wrapperOption(t)}return t.prototype.update=function(t){return this.option=this.wrapperOption(t),this},t.prototype.hasAction=function(t){var e=this.option.actions;return(0,i.some)(e,function(e){return e[0]===t})},t.prototype.create=function(t,e){var n=this.option,i=n.type,o=n.cfg,s="theta"===i,l=(0,r.__assign)({start:t,end:e},o),u=(0,a.getCoordinate)(s?"polar":i);return this.coordinate=new u(l),this.coordinate.type=i,s&&!this.hasAction("transpose")&&this.transpose(),this.execActions(),this.coordinate},t.prototype.adjust=function(t,e){return this.coordinate.update({start:t,end:e}),this.coordinate.resetMatrix(),this.execActions(["scale","rotate","translate"]),this.coordinate},t.prototype.rotate=function(t){return this.option.actions.push(["rotate",t]),this},t.prototype.reflect=function(t){return this.option.actions.push(["reflect",t]),this},t.prototype.scale=function(t,e){return this.option.actions.push(["scale",t,e]),this},t.prototype.transpose=function(){return this.option.actions.push(["transpose"]),this},t.prototype.getOption=function(){return this.option},t.prototype.getCoordinate=function(){return this.coordinate},t.prototype.wrapperOption=function(t){return(0,r.__assign)({type:"rect",actions:[],cfg:{}},t)},t.prototype.execActions=function(t){var e=this,n=this.option.actions;(0,i.each)(n,function(n){var r,a=n[0],o=n.slice(1);((0,i.isNil)(t)||t.includes(a))&&(r=e.coordinate)[a].apply(r,o)})},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.getController("axis"),n=t.getController("legend"),r=t.getController("annotation");[e,t.getController("slider"),t.getController("scrollbar"),n,r].forEach(function(t){t&&t.layout()})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScalePool=void 0;var r=n(0),i=n(111),a=function(){function t(){this.scales=new Map,this.syncScales=new Map}return t.prototype.createScale=function(t,e,n,a){var o=n,s=this.getScaleMeta(a);if(0===e.length&&s){var l=s.scale,u={type:l.type};l.isCategory&&(u.values=l.values),o=(0,r.deepMix)(u,s.scaleDef,n)}var c=(0,i.createScaleByField)(t,e,o);return this.cacheScale(c,n,a),c},t.prototype.sync=function(t,e){var n=this;this.syncScales.forEach(function(a,o){var s=Number.MAX_SAFE_INTEGER,l=Number.MIN_SAFE_INTEGER,u=[];(0,r.each)(a,function(t){var e=n.getScale(t);l=(0,r.isNumber)(e.max)?Math.max(l,e.max):l,s=(0,r.isNumber)(e.min)?Math.min(s,e.min):s,(0,r.each)(e.values,function(t){u.includes(t)||u.push(t)})}),(0,r.each)(a,function(a){var o=n.getScale(a);if(o.isContinuous)o.change({min:s,max:l,values:u});else if(o.isCategory){var c=o.range,f=n.getScaleMeta(a);u&&!(0,r.get)(f,["scaleDef","range"])&&(c=(0,i.getDefaultCategoryScaleRange)((0,r.deepMix)({},o,{values:u}),t,e)),o.change({values:u,range:c})}})})},t.prototype.cacheScale=function(t,e,n){var r=this.getScaleMeta(n);r&&r.scale.type===t.type?((0,i.syncScale)(r.scale,t),r.scaleDef=e):(r={key:n,scale:t,scaleDef:e},this.scales.set(n,r));var a=this.getSyncKey(r);if(r.syncKey=a,this.removeFromSyncScales(n),a){var o=this.syncScales.get(a);o||(o=[],this.syncScales.set(a,o)),o.push(n)}},t.prototype.getScale=function(t){var e=this.getScaleMeta(t);if(!e){var n=(0,r.last)(t.split("-")),i=this.syncScales.get(n);i&&i.length&&(e=this.getScaleMeta(i[0]))}return e&&e.scale},t.prototype.deleteScale=function(t){var e=this.getScaleMeta(t);if(e){var n=e.syncKey,r=this.syncScales.get(n);if(r&&r.length){var i=r.indexOf(t);-1!==i&&r.splice(i,1)}}this.scales.delete(t)},t.prototype.clear=function(){this.scales.clear(),this.syncScales.clear()},t.prototype.removeFromSyncScales=function(t){var e=this;this.syncScales.forEach(function(n,r){var i=n.indexOf(t);if(-1!==i)return n.splice(i,1),0===n.length&&e.syncScales.delete(r),!1})},t.prototype.getSyncKey=function(t){var e=t.scale,n=t.scaleDef,i=e.field,a=(0,r.get)(n,["sync"]);return!0===a?i:!1===a?void 0:a},t.prototype.getScaleMeta=function(t){return this.scales.get(t)},t}();e.ScalePool=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.calculatePadding=void 0;var r=n(1),i=n(0),a=n(21),o=n(80),s=n(267),l=n(448);e.calculatePadding=function(t){var e=t.padding;if(!(0,s.isAutoPadding)(e))return new(l.PaddingCal.bind.apply(l.PaddingCal,(0,r.__spreadArray)([void 0],(0,s.parsePadding)(e),!1)));var n=t.viewBBox,u=new l.PaddingCal,c=[],f=[],d=[];return(0,i.each)(t.getComponents(),function(t){var e=t.type;e===a.COMPONENT_TYPE.AXIS?c.push(t):[a.COMPONENT_TYPE.LEGEND,a.COMPONENT_TYPE.SLIDER,a.COMPONENT_TYPE.SCROLLBAR].includes(e)?f.push(t):e!==a.COMPONENT_TYPE.GRID&&e!==a.COMPONENT_TYPE.TOOLTIP&&d.push(t)}),(0,i.each)(c,function(t){var e=t.component.getLayoutBBox(),r=new o.BBox(e.x,e.y,e.width,e.height).exceed(n);u.max(r)}),(0,i.each)(f,function(t){var e=t.component,n=t.direction,r=e.getLayoutBBox(),i=e.get("padding"),a=new o.BBox(r.x,r.y,r.width,r.height).expand(i);u.inc(a,n)}),(0,i.each)(d,function(t){var e=t.component,n=t.direction,r=e.getLayoutBBox(),i=new o.BBox(r.x,r.y,r.width,r.height);u.inc(i,n)}),u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultSyncViewPadding=void 0,e.defaultSyncViewPadding=function(t,e,n){var r=n.instance();e.forEach(function(t){t.autoPadding=r.max(t.autoPadding.getPadding())})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.group=void 0;var r=n(0);e.group=function(t,e,n){if(void 0===n&&(n={}),!e)return[t];var i=(0,r.groupToMap)(t,e),a=[];if(1===e.length&&n[e[0]])for(var o=n[e[0]],s=0;s=e.getCount()&&!t.destroyed&&e.add(t)})}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=r(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(222),i=n(167),a=n(162),o=n(320),s=n(223),l=n(321),u=n(322),c=n(224),f=n(25);Object(f.registerAnimation)("fade-in",r.fadeIn),Object(f.registerAnimation)("fade-out",r.fadeOut),Object(f.registerAnimation)("grow-in-x",i.growInX),Object(f.registerAnimation)("grow-in-xy",i.growInXY),Object(f.registerAnimation)("grow-in-y",i.growInY),Object(f.registerAnimation)("scale-in-x",s.scaleInX),Object(f.registerAnimation)("scale-in-y",s.scaleInY),Object(f.registerAnimation)("wave-in",u.waveIn),Object(f.registerAnimation)("zoom-in",c.zoomIn),Object(f.registerAnimation)("zoom-out",c.zoomOut),Object(f.registerAnimation)("position-update",o.positionUpdate),Object(f.registerAnimation)("sector-path-update",l.sectorPathUpdate),Object(f.registerAnimation)("path-in",a.pathIn)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doScaleAnimate=e.transformShape=void 0;var r=n(32);function i(t,e,n){var i,a=e[0],o=e[1];return t.applyToMatrix([a,o,1]),"x"===n?(t.setMatrix(r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",.01,1],["t",a,o]])),i=r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",100,1],["t",a,o]])):"y"===n?(t.setMatrix(r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",1,.01],["t",a,o]])),i=r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",1,100],["t",a,o]])):"xy"===n&&(t.setMatrix(r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",.01,.01],["t",a,o]])),i=r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",100,100],["t",a,o]])),i}e.transformShape=i,e.doScaleAnimate=function(t,e,n,r,a){var o,s,l=n.start,u=n.end,c=n.getWidth(),f=n.getHeight();"y"===a?(o=l.x+c/2,s=r.yl.x?r.x:l.x,s=l.y+f/2):"xy"===a&&(n.isPolar?(o=n.getCenter().x,s=n.getCenter().y):(o=(l.x+u.x)/2,s=(l.y+u.y)/2));var d=i(t,[o,s],a);t.animate({matrix:d},e)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=n(53),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr(),s=a.x,l=a.y,u=a.r,c=i/2,f=(0,o.distance)(s,l,t,e);return r&&n?f<=u+c:r?f<=u:!!n&&f>=u-c&&f<=u+c},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a,o,s,l,u,c,f=this.attr(),d=i/2,p=f.x,h=f.y,g=f.rx,v=f.ry,y=(t-p)*(t-p),m=(e-h)*(e-h);return r&&n?1>=y/((a=g+d)*a)+m/((o=v+d)*o):r?1>=y/(g*g)+m/(v*v):!!n&&y/((s=g-d)*s)+m/((l=v-d)*l)>=1&&1>=y/((u=g+d)*u)+m/((c=v+d)*c)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.rx,a=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,r,i,a,0,0,2*Math.PI,!1);else{var o=i>a?i:a,s=i>a?1:i/a,l=i>a?a/i:1;t.save(),t.translate(n,r),t.scale(s,l),t.arc(0,0,o,0,2*Math.PI),t.restore(),t.closePath()}},e}(r(n(73)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=n(53);function s(t){return t instanceof HTMLElement&&(0,o.isString)(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var e=this,n=this.attrs;if((0,o.isString)(t)){var r=new Image;r.onload=function(){if(e.destroyed)return!1;e.attr("img",r),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},r.crossOrigin="Anonymous",r.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):s(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,t.getAttribute("height")))},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"img"===e&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading")){this.set("toDraw",!0),this.set("context",t);return}var e=this.attr(),n=e.x,r=e.y,i=e.width,a=e.height,l=e.sx,u=e.sy,c=e.swidth,f=e.sheight,d=e.img;(d instanceof Image||s(d))&&((0,o.isNil)(l)||(0,o.isNil)(u)||(0,o.isNil)(c)||(0,o.isNil)(f)?t.drawImage(d,n,r,i,a):t.drawImage(d,l,u,c,f,n,r,i,a))},e}(a.default);e.default=l},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(38),s=r(n(73)),l=r(n(189)),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(188));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,a.__assign)((0,a.__assign)({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2,a=t.startArrow,o=t.endArrow;a&&u.addStartArrow(this,t,r,i,e,n),o&&u.addEndArrow(this,t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var a=this.attr(),o=a.x1,s=a.y1,u=a.x2,c=a.y2;return(0,l.default)(o,s,u,c,i,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.startArrow,s=e.endArrow,l={dx:0,dy:0},c={dx:0,dy:0};o&&o.d&&(l=u.getShortenOffset(n,r,i,a,e.startArrow.d)),s&&s.d&&(c=u.getShortenOffset(n,r,i,a,e.endArrow.d)),t.beginPath(),t.moveTo(n+l.dx,r+l.dy),t.lineTo(i-c.dx,a-c.dy)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return o.Line.length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,a=e.y2;return o.Line.pointAt(n,r,i,a,t)},e}(s.default);e.default=f},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(88),s=r(n(73)),l=n(53),u=n(148),c={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return(0,a.isNil)(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,r=this.attr(),i=r.x,a=r.y,s=r.symbol||"circle",u=this._getR(r);if((0,l.isFunction)(s))n=(t=s)(i,a,u),n=(0,o.path2Absolute)(n);else{if(!(t=e.Symbols[s]))return console.warn(s+" marker is not supported."),null;n=t(i,a,u)}return n},e.prototype.createPath=function(t){var e=this._getPath(),n=this.get("paramsCache");(0,u.drawPath)(this,t,{path:e},n)},e.Symbols=c,e}(s.default);e.default=f},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(38),s=n(0),l=r(n(73)),u=n(88),c=n(148),f=r(n(455)),d=r(n(456)),p=r(n(958)),h=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=g(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(188));function g(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(g=function(t){return t?n:e})(t)}function v(t,e,n){for(var r=!1,i=0;i=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)});var a=i[n];if((0,s.isNil)(a)||(0,s.isNil)(n))return null;var l=a.length,u=i[n+1];return o.Cubic.pointAt(a[l-2],a[l-1],u[1],u[2],u[3],u[4],u[5],u[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",p.default.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r=0,i=0,a=[],l=this.get("curve");if(l){if((0,s.each)(l,function(t,i){e=l[i+1],n=t.length,e&&(r+=o.Cubic.length(t[n-2],t[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0)}),this.set("totalLength",r),0===r){this.set("tCache",[]);return}(0,s.each)(l,function(s,u){e=l[u+1],n=s.length,e&&((t=[])[0]=i/r,i+=o.Cubic.length(s[n-2],s[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0,t[1]=i/r,a.push(t))}),this.set("tCache",a)}},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,r=e[1].currentPoint,i=e[1].startTangent;t=[],i?(t.push([n[0]-i[0],n[1]-i[1]]),t.push([n[0],n[1]])):(t.push([r[0],r[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var r=e[n-2].currentPoint,i=e[n-1].currentPoint,a=e[n-1].endTangent;t=[],a?(t.push([i[0]-a[0],i[1]-a[1]]),t.push([i[0],i[1]])):(t.push([r[0],r[1]]),t.push([i[0],i[1]]))}return t},e}(l.default);e.default=y},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(26),s=n(38),l=n(32),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=p(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(171)),c=n(53),f=r(n(189)),d=r(n(457));function p(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(p=function(t){return t?n:e})(t)}var h=l.ext.transform,g=(0,a.__assign)({hasArc:function(t){for(var e=!1,n=t.length,r=0;r0&&r.push(i),{polygons:n,polylines:r}},isPointInStroke:function(t,e,n,r,i){for(var a=!1,o=e/2,l=0;lP?O:P,C=h(null,[["t",-x,-_],["r",-S],["s",1/(O>P?1:O/P),1/(O>P?P/O:1)]]);u.transformMat3(w,w,C),a=(0,d.default)(0,0,E,M,A,e,w[0],w[1])}if(a)break}}return a}},o.PathUtil);e.default=g},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=r(n(458)),s=r(n(456)),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr().points,l=!1;return n&&(l=(0,o.default)(a,i,t,e,!0)),!l&&r&&(l=(0,s.default)(a,t,e)),l},e.prototype.createPath=function(t){var e=this.attr().points;if(!(e.length<2)){t.beginPath();for(var n=0;n=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),o.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var r=0,i=[];(0,s.each)(e,function(a,s){e[s+1]&&((t=[])[0]=r/n,r+=o.Line.length(a[0],a[1],e[s+1][0],e[s+1][1]),t[1]=r/n,i.push(t))}),this.set("tCache",i)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(l.default);e.default=d},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=n(453),s=n(53),l=r(n(962)),u=r(n(963)),c=r(n(455)),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr(),o=a.x,f=a.y,d=a.width,p=a.height,h=a.radius;if(h){var g=!1;return n&&(g=(0,u.default)(o,f,d,p,h,i,t,e)),!g&&r&&(g=(0,c.default)(this,t,e)),g}var v=i/2;return r&&n?(0,s.inBox)(o-v,f-v,d+v,p+v,t,e):r?(0,s.inBox)(o,f,d,p,t,e):n?(0,l.default)(o,f,d,p,i,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.width,a=e.height,s=e.radius;if(t.beginPath(),0===s)t.rect(n,r,i,a);else{var l=(0,o.parseRadius)(s),u=l[0],c=l[1],f=l[2],d=l[3];t.moveTo(n+u,r),t.lineTo(n+i-c,r),0!==c&&t.arc(n+i-c,r+c,c,-Math.PI/2,0),t.lineTo(n+i,r+a-f),0!==f&&t.arc(n+i-f,r+a-f,f,0,Math.PI/2),t.lineTo(n+d,r+a),0!==d&&t.arc(n+d,r+a-d,d,Math.PI/2,Math.PI),t.lineTo(n,r+u),0!==u&&t.arc(n+u,r+u,u,Math.PI,1.5*Math.PI),t.closePath()}},e}(a.default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i,a,o,s){var l=a/2;return(0,r.inBox)(t-l,e-l,n,a,o,s)||(0,r.inBox)(t+n-l,e-l,a,i,o,s)||(0,r.inBox)(t+l,e+i-l,n,a,o,s)||(0,r.inBox)(t-l,e+l,a,i,o,s)};var r=n(53)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,o,s,l,u){return(0,i.default)(t+o,e,t+n-o,e,s,l,u)||(0,i.default)(t+n,e+o,t+n,e+r-o,s,l,u)||(0,i.default)(t+n-o,e+r,t+o,e+r,s,l,u)||(0,i.default)(t,e+r-o,t,e+o,s,l,u)||(0,a.default)(t+n-o,e+o,o,1.5*Math.PI,2*Math.PI,s,l,u)||(0,a.default)(t+n-o,e+r-o,o,0,.5*Math.PI,s,l,u)||(0,a.default)(t+o,e+r-o,o,.5*Math.PI,Math.PI,s,l,u)||(0,a.default)(t+o,e+o,o,Math.PI,1.5*Math.PI,s,l,u)};var i=r(n(189)),a=r(n(457))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=n(53),s=n(26),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=(0,s.assembleFont)(t)},e.prototype._setText=function(t){var e=null;(0,o.isString)(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var r,i=this.attrs,a=i.textBaseline,l=i.x,u=i.y,c=1*i.fontSize,f=this._getSpaceingY(),d=(0,s.getTextHeight)(i.text,i.fontSize,i.lineHeight);(0,o.each)(e,function(e,i){r=u+i*(f+c)-d+c,"middle"===a&&(r+=d-c-(d-c)/2),"top"===a&&(r+=d-c),(0,o.isNil)(e)||(n?t.fillText(e,l,r):t.strokeText(e,l,r))})},e.prototype._drawText=function(t,e){var n=this.attr(),r=n.x,i=n.y,a=this.get("textArr");if(a)this._drawTextArr(t,a,e);else{var s=n.text;(0,o.isNil)(s)||(e?t.fillText(s,r,i):t.strokeText(s,r,i))}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,a=e.fillOpacity;this.isStroke()&&n>0&&((0,o.isNil)(i)||1===i||(t.globalAlpha=r),this.stroke(t)),this.isFill()&&((0,o.isNil)(a)||1===a?this.fill(t):(t.globalAlpha=a,this.fill(t),t.globalAlpha=r)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(a.default);e.default=l},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(26),s=n(966),l=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=d(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(147)),u=r(n(273)),c=n(53),f=n(148);function d(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(d=function(t){return t?n:e})(t)}var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.renderer="canvas",e.autoDraw=!0,e.localRefresh=!0,e.refreshElements=[],e.clipView=!0,e.quickHit=!1,e},e.prototype.onCanvasChange=function(t){("attr"===t||"sort"===t||"changeSize"===t)&&(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return l},e.prototype.getGroupBase=function(){return u.default},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||(0,c.getPixelRatio)();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var r=this.get("context"),i=this.get("el"),a=this.getPixelRatio();i.width=a*e,i.height=a*n,a>1&&r.scale(a,a)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){return this.get("quickHit")?(0,s.getShape)(this,e,n):t.prototype.getShape.call(this,e,n,null)},e.prototype._getRefreshRegion=function(){var t,e=this.get("refreshElements"),n=this.getViewRange();return e.length&&e[0]===this?t=n:(t=(0,f.getMergedRegion)(e))&&(t.minX=Math.floor(t.minX),t.minY=Math.floor(t.minY),t.maxX=Math.ceil(t.maxX),t.maxY=Math.ceil(t.maxY),t.maxY+=1,this.get("clipView")&&(t=(0,f.mergeView)(t,n))),t},e.prototype.refreshElement=function(t){this.get("refreshElements").push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&((0,c.clearAnimationFrame)(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),(0,f.applyAttrsToContext)(t,this),(0,f.drawChildren)(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),e=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(t.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.save(),t.beginPath(),t.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.clip(),(0,f.applyAttrsToContext)(t,this),(0,f.checkRefresh)(this,n,r),(0,f.drawChildren)(t,n,r),t.restore()):e.length&&(0,f.clearChanged)(e),(0,c.each)(e,function(t){t.get("hasChanged")&&t.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,e=this.get("drawFrame");e||(e=(0,c.requestAnimationFrame)(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",e))},e.prototype.skipDraw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.width=0,t.height=0,t.parentNode.removeChild(t)},e}(o.AbstractCanvas);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getShape=function t(e,n,r){if(!a(e,n,r))return null;for(var o=null,s=e.getChildren(),l=s.length,u=l-1;u>=0;u--){var c=s[u];if(c.isGroup())o=t(c,n,r);else if(a(c,n,r)){var f=i(c,n,r),d=f[0],p=f[1];c.isInShape(d,p)&&(o=c)}if(o)break}return o};var r=n(26);function i(t,e,n){var i=t.getTotalMatrix();if(i){var a=function(t,e){if(e){var n=(0,r.invert)(e);return(0,r.multiplyVec2)(n,t)}return t}([e,n,1],i);return[a[0],a[1]]}return[e,n]}function a(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!(0,r.isAllowCapture)(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var a=i(t,e,n),o=a[0],s=a[1];if(t.isClipped(o,s))return!1}var l=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=l.minX&&e<=l.maxX&&n>=l.minY&&n<=l.maxY}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,a.each)(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)})},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}return(0,i.__extends)(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");if((0,a.each)(e||n,function(t,e){o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)}),"function"==typeof n.html){var i=n.html.call(this,n);if(i instanceof Element||i instanceof HTMLDocument){for(var s=r.childNodes,l=s.length-1;l>=0;l--)r.removeChild(s[l]);r.appendChild(i)}else r.innerHTML=i}else r.innerHTML=n.html},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,a.each)(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)})},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");(0,a.each)(e||r,function(t,e){"img"===e?n._setImage(r.img):o.SVG_ATTR_MAP[e]&&i.setAttribute(o.SVG_ATTR_MAP[e],t)})},e.prototype.setAttr=function(t,e){this.attrs[t]=e,"img"===t&&this._setImage(e)},e.prototype._setImage=function(t){var e=this.attr(),n=this.get("el");if((0,a.isString)(t))n.setAttribute("href",t);else if(t instanceof window.Image)e.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&(0,a.isString)(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase())n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var r=document.createElement("canvas");r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.getContext("2d").putImageData(t,0,0),e.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",r.toDataURL())}},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(38),o=n(0),s=n(54),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,o.each)(e||n,function(e,i){if("startArrow"===i||"endArrow"===i){if(e){var a=(0,o.isObject)(e)?t.addArrow(n,s.SVG_ATTR_MAP[i]):t.getDefaultArrow(n,s.SVG_ATTR_MAP[i]);r.setAttribute(s.SVG_ATTR_MAP[i],"url(#"+a+")")}else r.removeAttribute(s.SVG_ATTR_MAP[i])}else s.SVG_ATTR_MAP[i]&&r.setAttribute(s.SVG_ATTR_MAP[i],e)})},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return a.Line.length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return a.Line.pointAt(n,r,i,o,t)},e}(r(n(63)).default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(63)),s=r(n(973)),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.createPath=function(t){this.get("el").setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return(0,a.isArray)(t)?t.map(function(t){return t.join(" ")}).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,r=e.y,i=e.r||e.radius,o=e.symbol||"circle";return(t=(0,a.isFunction)(o)?o:s.default.get(o))?t(n,r,i):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=s.default,e}(o.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,-(2*n),0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},triangleDown:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}};e.default={get:function(t){return r[t]},register:function(t,e){r[t]=e},remove:function(t){delete r[t]},getAll:function(){return r}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");(0,a.each)(e||r,function(e,s){if("path"===s&&(0,a.isArray)(e))i.setAttribute("d",n._formatPath(e));else if("startArrow"===s||"endArrow"===s){if(e){var l=(0,a.isObject)(e)?t.addArrow(r,o.SVG_ATTR_MAP[s]):t.getDefaultArrow(r,o.SVG_ATTR_MAP[s]);i.setAttribute(o.SVG_ATTR_MAP[s],"url(#"+l+")")}else i.removeAttribute(o.SVG_ATTR_MAP[s])}else o.SVG_ATTR_MAP[s]&&i.setAttribute(o.SVG_ATTR_MAP[s],e)})},e.prototype._formatPath=function(t){var e=t.map(function(t){return t.join(" ")}).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var r=e?e.getPointAtLength(t*n):null;return r?{x:r.x,y:r.y}:null},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,a.each)(e||n,function(t,e){"points"===e&&(0,a.isArray)(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)})},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(38),o=n(0),s=n(54),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,o.each)(e||n,function(t,e){"points"===e&&(0,o.isArray)(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):s.SVG_ATTR_MAP[e]&&r.setAttribute(s.SVG_ATTR_MAP[e],t)})},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return(0,o.isNil)(e)?(this.set("totalLength",a.Polyline.length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),(0,o.each)(i,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),a.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var r=0,i=[];(0,o.each)(e,function(o,s){e[s+1]&&((t=[])[0]=r/n,r+=a.Line.length(o[0],o[1],e[s+1][0],e[s+1][1]),t[1]=r/n,i.push(t))}),this.set("tCache",i)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(r(n(63)).default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(63)),s=n(54),l=n(978),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el"),o=!1,l=["x","y","width","height","radius"];(0,a.each)(e||r,function(t,e){-1===l.indexOf(e)||o?-1===l.indexOf(e)&&s.SVG_ATTR_MAP[e]&&i.setAttribute(s.SVG_ATTR_MAP[e],t):(i.setAttribute("d",n._assembleRect(r)),o=!0)})},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o=t.radius;if(!o)return"M "+e+","+n+" l "+r+",0 l 0,"+i+" l"+-r+" 0 z";var s=(0,l.parseRadius)(o);return(0,a.isArray)(o)?1===o.length?s.r1=s.r2=s.r3=s.r4=o[0]:2===o.length?(s.r1=s.r3=o[0],s.r2=s.r4=o[1]):3===o.length?(s.r1=o[0],s.r2=s.r4=o[1],s.r3=o[2]):(s.r1=o[0],s.r2=o[1],s.r3=o[2],s.r4=o[3]):s.r1=s.r2=s.r3=s.r4=o,[["M "+(e+s.r1)+","+n],["l "+(r-s.r1-s.r2)+",0"],["a "+s.r2+","+s.r2+",0,0,1,"+s.r2+","+s.r2],["l 0,"+(i-s.r2-s.r3)],["a "+s.r3+","+s.r3+",0,0,1,"+-s.r3+","+s.r3],["l "+(s.r3+s.r4-r)+",0"],["a "+s.r4+","+s.r4+",0,0,1,"+-s.r4+","+-s.r4],["l 0,"+(s.r4+s.r1-i)],["a "+s.r1+","+s.r1+",0,0,1,"+s.r1+","+-s.r1],["z"]].join(" ")},e}(o.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePath=function(t){return(t=t||[],(0,r.isArray)(t))?t:(0,r.isString)(t)?(t=t.match(i),(0,r.each)(t,function(e,n){if((e=e.match(a))[0].length>1){var i=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=i}(0,r.each)(e,function(t,n){isNaN(t)||(e[n]=+t)}),t[n]=e}),t):void 0},e.parseRadius=function(t){var e=0,n=0,i=0,a=0;return(0,r.isArray)(t)?1===t.length?e=n=i=a=t[0]:2===t.length?(e=i=t[0],n=a=t[1]):3===t.length?(e=t[0],n=a=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],a=t[3]):e=n=i=a=t,{r1:e,r2:n,r3:i,r4:a}};var r=n(0),i=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,a=/[^\s,]+/gi},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(242),s=n(149),l=n(54),u=r(n(63)),c={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},f={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},d={left:"left",start:"left",center:"middle",right:"end",end:"end"},p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");this._setFont(),(0,a.each)(e||r,function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?(0,s.setTransform)(n):l.SVG_ATTR_MAP[e]&&i.setAttribute(l.SVG_ATTR_MAP[e],t)}),i.setAttribute("paint-order","stroke"),i.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,r=e.textAlign,i=(0,o.detect)();i&&"firefox"===i.name?t.setAttribute("dominant-baseline",f[n]||"alphabetic"):t.setAttribute("alignment-baseline",c[n]||"baseline"),t.setAttribute("text-anchor",d[r]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),r=n.x,i=n.textBaseline,o=void 0===i?"bottom":i;if(t){if(~t.indexOf("\n")){var s=t.split("\n"),l=s.length-1,u="";(0,a.each)(s,function(t,e){0===e?"alphabetic"===o?u+=''+t+"":"top"===o?u+=''+t+"":"middle"===o?u+=''+t+"":"bottom"===o?u+=''+t+"":"hanging"===o&&(u+=''+t+""):u+=''+t+""}),e.innerHTML=u}else e.innerHTML=t}else e.innerHTML=""},e}(u.default);e.default=p},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(26),s=n(54),l=n(274),u=n(149),c=n(74),f=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=h(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(190)),d=r(n(275)),p=r(n(981));function h(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(h=function(t){return t?n:e})(t)}var g=function(t){function e(e){return t.call(this,(0,a.__assign)((0,a.__assign)({},e),{autoDraw:!0,renderer:"svg"}))||this}return(0,a.__extends)(e,t),e.prototype.getShapeBase=function(){return f},e.prototype.getGroupBase=function(){return d.default},e.prototype.getShape=function(t,e,n){var r=n.target||n.srcElement;if(!s.SHAPE_TO_TAGS[r.tagName]){for(var i=r.parentNode;i&&!s.SHAPE_TO_TAGS[i.tagName];)i=i.parentNode;r=i}return this.find(function(t){return t.get("el")===r})},e.prototype.createDom=function(){var t=(0,c.createSVGElement)("svg"),e=new p.default(t);return t.setAttribute("width",""+this.get("width")),t.setAttribute("height",""+this.get("height")),this.set("context",e),t},e.prototype.onCanvasChange=function(t){var e=this.get("context"),n=this.get("el");if("sort"===t){var r=this.get("children");r&&r.length&&(0,c.sortDom)(this,function(t,e){return r.indexOf(t)-r.indexOf(e)?1:0})}else if("clear"===t){if(n){n.innerHTML="";var i=e.el;i.innerHTML="",n.appendChild(i)}}else"matrix"===t?(0,u.setTransform)(this):"clip"===t?(0,u.setClip)(this,e):"changeSize"===t&&(n.setAttribute("width",""+this.get("width")),n.setAttribute("height",""+this.get("height")))},e.prototype.draw=function(){var t=this.get("context"),e=this.getChildren();(0,u.setClip)(this,t),e.length&&(0,l.drawChildren)(t,e)},e}(o.AbstractCanvas);e.default=g},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(0),a=r(n(982)),o=r(n(983)),s=r(n(984)),l=r(n(985)),u=r(n(986)),c=n(74),f=function(){function t(t){var e=(0,c.createSVGElement)("defs"),n=(0,i.uniqueId)("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,r=null,i=0;i'}),n}var u=function(){function t(t){this.cfg={};var e,n,s,u,c,f,d,p,h,g,v,y,m,b,x,_,O=null,P=(0,r.uniqueId)("gradient_");return"l"===t.toLowerCase()[0]?(e=O=(0,i.createSVGElement)("linearGradient"),u=a.exec(t),c=(0,r.mod)((0,r.toRadian)(parseFloat(u[1])),2*Math.PI),f=u[2],c>=0&&c<.5*Math.PI?(n={x:0,y:0},s={x:1,y:1}):.5*Math.PI<=c&&c';e.innerHTML=n},t}();e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=n(74),a=function(){function t(t,e){this.cfg={};var n=(0,i.createSVGElement)("marker"),a=(0,r.uniqueId)("marker_");n.setAttribute("id",a);var o=(0,i.createSVGElement)("path");o.setAttribute("stroke",t.stroke||"none"),o.setAttribute("fill",t.fill||"none"),n.appendChild(o),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=o,this.id=a;var s=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===s?this._setDefaultPath(e,o):(this.cfg=s,this._setMarker(t.lineWidth,o)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,i=this.cfg.path,a=this.cfg.d;(0,r.isArray)(i)&&(i=i.map(function(t){return t.join(" ")}).join("")),e.setAttribute("d",i),n.appendChild(e),a&&n.setAttribute("refX",""+a/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=n(74),a=function(){function t(t){this.type="clip",this.cfg={};var e=(0,i.createSVGElement)("clipPath");this.el=e,this.id=(0,r.uniqueId)("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=n(74),a=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,o=function(){function t(t){this.cfg={};var e=(0,i.createSVGElement)("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=(0,i.createSVGElement)("image");e.appendChild(n);var o=(0,r.uniqueId)("pattern_");e.id=o,this.el=e,this.id=o,this.cfg=t;var s=a.exec(t)[2];n.setAttribute("href",s);var l=new Image;function u(){e.setAttribute("width",""+l.width),e.setAttribute("height",""+l.height)}return s.match(/^data:/i)||(l.crossOrigin="Anonymous"),l.src=s,l.complete?u():(l.onload=u,l.src=l.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),a=n(270),o=n(33),s=n(150),l=(0,i.registerShapeFactory)("interval",{defaultShapeType:"rect",getDefaultPoints:function(t){return(0,s.getRectPoints)(t)}});(0,i.registerShape)("interval","rect",{draw:function(t,e){var n,i=(0,o.getStyle)(t,!1,!0),l=e,u=null==t?void 0:t.background;if(u){l=e.addGroup();var c=(0,o.getBackgroundRectStyle)(t),f=(0,s.getBackgroundRectPath)(t,this.parsePoints(t.points),this.coordinate);l.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},c),{path:f}),zIndex:-1,name:a.BACKGROUND_SHAPE})}n=i.radius&&this.coordinate.isRect?(0,s.getRectWithCornerRadius)(this.parsePoints(t.points),this.coordinate,i.radius):this.parsePath((0,s.getIntervalRectPath)(t.points,i.lineCap,this.coordinate));var d=l.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},i),{path:n}),name:"interval"});return u?l:d},getMarker:function(t){var e=t.color;return t.isInPolar?{symbol:"circle",style:{r:4.5,fill:e}}:{symbol:"square",style:{r:4,fill:e}}}}),e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(146),a=n(27),o=n(277),s=n(280),l=(0,a.registerShapeFactory)("point",{defaultShapeType:"hollow-circle",getDefaultPoints:function(t){return(0,o.splitPoints)(t)}});(0,r.each)(s.SHAPES,function(t){(0,a.registerShape)("point","hollow-"+t,{draw:function(e,n){return(0,s.drawPoints)(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:i.MarkerSymbols[t]||t,style:{r:4.5,stroke:n,fill:null}}}})}),e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(48),s=n(279),l=(0,r.__importDefault)(n(91));n(990);var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="violin",e.shapeType="violin",e.generatePoints=!0,e}return(0,r.__extends)(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),l=this.getAttribute("size");if(l){n=this.getAttributeValues(l,e)[0];var u=this.coordinate;n/=(0,o.getXDimensionLength)(u)}else this.defaultSize||(this.defaultSize=(0,s.getDefaultSize)(this)),n=this.defaultSize;return r.size=n,r._size=(0,i.get)(e[a.FIELD_ORIGIN],[this._sizeField]),r},e.prototype.initAttributes=function(){var e=this.attributeOption,n=e.size?e.size.fields[0]:this._sizeField?this._sizeField:"size";this._sizeField=n,delete e.size,t.prototype.initAttributes.call(this)},e}(l.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(27),o=n(115),s=n(33),l=(0,a.registerShapeFactory)("violin",{defaultShapeType:"violin",getDefaultPoints:function(t){var e=t.size/2,n=[],r=function(t){if(!(0,i.isArray)(t))return[];var e=(0,i.max)(t);return(0,i.map)(t,function(t){return t/e})}(t._size);return(0,i.each)(t.y,function(i,a){var o=r[a]*e,s=0===a,l=a===t.y.length-1;n.push({isMin:s,isMax:l,x:t.x-o,y:i}),n.unshift({isMin:s,isMax:l,x:t.x+o,y:i})}),n}});(0,a.registerShape)("violin","violin",{draw:function(t,e){var n=(0,s.getStyle)(t,!0,!0),i=this.parsePath((0,o.getViolinPath)(t.points));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},n),{path:i}),name:"violin"})},getMarker:function(t){return{symbol:"circle",style:{r:4,fill:t.color}}}}),e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(27),i=n(101);(0,r.registerShape)("area","line",{draw:function(t,e){var n=(0,i.getShapeAttrs)(t,!0,!1,this);return e.addShape({type:"path",attrs:n,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,stroke:t.color,fill:null}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(27),i=n(101);(0,r.registerShape)("area","smooth",{draw:function(t,e){var n=this.coordinate,r=(0,i.getShapeAttrs)(t,!1,!0,this,(0,i.getConstraint)(n));return e.addShape({type:"path",attrs:r,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(27),i=n(101);(0,r.registerShape)("area","smooth-line",{draw:function(t,e){var n=this.coordinate,r=(0,i.getShapeAttrs)(t,!0,!0,this,(0,i.getConstraint)(n));return e.addShape({type:"path",attrs:r,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,stroke:t.color,fill:null}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(46),a=n(27),o=n(33),s=n(464);(0,a.registerShape)("edge","arc",{draw:function(t,e){var n,a=(0,o.getStyle)(t,!0,!1,"lineWidth"),l=t.points,u=l.length>2?"weight":"normal";if(t.isInCircle){var c,f,d,p,h,g,v,y,m={x:0,y:1};return"normal"===u?(c=l[0],f=l[1],d=(0,s.getQPath)(f,m),(p=[["M",c.x,c.y]]).push(d),n=p):(a.fill=a.stroke,h=l,g=(0,s.getQPath)(h[1],m),v=(0,s.getQPath)(h[3],m),(y=[["M",h[0].x,h[0].y]]).push(v),y.push(["L",h[3].x,h[3].y]),y.push(["L",h[2].x,h[2].y]),y.push(g),y.push(["L",h[1].x,h[1].y]),y.push(["L",h[0].x,h[0].y]),y.push(["Z"]),n=y),n=this.parsePath(n),e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},a),{path:n})})}if("normal"===u)return l=this.parsePoints(l),n=(0,i.getArcPath)((l[1].x+l[0].x)/2,l[0].y,Math.abs(l[1].x-l[0].x)/2,Math.PI,2*Math.PI),e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},a),{path:n})});var b=(0,s.getCPath)(l[1],l[3]),x=(0,s.getCPath)(l[2],l[0]);return n=[["M",l[0].x,l[0].y],["L",l[1].x,l[1].y],b,["L",l[3].x,l[3].y],["L",l[2].x,l[2].y],x,["Z"]],n=this.parsePath(n),a.fill=a.stroke,e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},a),{path:n})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),a=n(33),o=n(464);(0,i.registerShape)("edge","smooth",{draw:function(t,e){var n,i,s,l,u=(0,a.getStyle)(t,!0,!1,"lineWidth"),c=t.points,f=this.parsePath((n=c[0],i=c[1],s=(0,o.getCPath)(n,i),(l=[["M",n.x,n.y]]).push(s),l));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},u),{path:f})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(27),o=n(33),s=1/3;(0,a.registerShape)("edge","vhv",{draw:function(t,e){var n,a,l,u,c=(0,o.getStyle)(t,!0,!1,"lineWidth"),f=t.points,d=this.parsePath((n=f[0],a=f[1],(l=[]).push({x:n.x,y:n.y*(1-s)+a.y*s}),l.push({x:a.x,y:n.y*(1-s)+a.y*s}),l.push(a),u=[["M",n.x,n.y]],(0,i.each)(l,function(t){u.push(["L",t.x,t.y])}),u));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},c),{path:d})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),a=n(115),o=n(33);(0,i.registerShape)("violin","smooth",{draw:function(t,e){var n=(0,o.getStyle)(t,!0,!0),i=this.parsePath((0,a.getSmoothViolinPath)(t.points));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{stroke:null,r:4,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),a=n(115),o=n(33);(0,i.registerShape)("violin","hollow",{draw:function(t,e){var n=(0,o.getStyle)(t,!0,!1),i=this.parsePath((0,a.getViolinPath)(t.points));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4,fill:null,stroke:t.color}}}}),(0,i.registerShape)("violin","hollow-smooth",{draw:function(t,e){var n=(0,o.getStyle)(t,!0,!1),i=this.parsePath((0,a.getSmoothViolinPath)(t.points));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4,fill:null,stroke:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieOuterLabelLayout=void 0;var r=n(0),i=n(46),a=n(476);e.pieOuterLabelLayout=function(t,e,n,o){var s=(0,r.filter)(t,function(t){return!(0,r.isNil)(t)}),l=e[0]&&e[0].get("coordinate");if(l){for(var u=l.getCenter(),c=l.getRadius(),f={},d=0;dn&&(t.sort(function(t,e){return e.percent-t.percent}),(0,r.each)(t,function(t,e){e+1>n&&(f[t.id].set("visible",!1),t.invisible=!0)})),(0,a.antiCollision)(t,h,O)}),(0,r.each)(y,function(t,e){(0,r.each)(t,function(t){var n=e===v,a=f[t.id].getChildByIndex(0);if(a){var o=c+g,s=t.y-u.y,d=Math.pow(o,2),p=Math.pow(s,2),h=Math.sqrt(d-p>0?d-p:0),y=Math.abs(Math.cos(t.angle)*o);n?t.x=u.x+Math.max(h,y):t.x=u.x-Math.max(h,y)}a&&(a.attr("y",t.y),a.attr("x",t.x)),function(t,e){var n=e.getCenter(),a=e.getRadius();if(t&&t.labelLine){var o=t.angle,s=t.offset,l=(0,i.polarToCartesian)(n.x,n.y,a,o),u=t.x+(0,r.get)(t,"offsetX",0)*(Math.cos(o)>0?1:-1),c=t.y+(0,r.get)(t,"offsetY",0)*(Math.sin(o)>0?1:-1),f={x:u-4*Math.cos(o),y:c-4*Math.sin(o)},d=t.labelLine.smooth,p=[],h=f.x-n.x,g=Math.atan((f.y-n.y)/h);if(h<0&&(g+=Math.PI),!1===d){(0,r.isObject)(t.labelLine)||(t.labelLine={});var v=0;(o<0&&o>-Math.PI/2||o>1.5*Math.PI)&&f.y>l.y&&(v=1),o>=0&&ol.y&&(v=1),o>=Math.PI/2&&of.y&&(v=1),(o<-Math.PI/2||o>=Math.PI&&o<1.5*Math.PI)&&l.y>f.y&&(v=1);var y=s/2>4?4:Math.max(s/2-1,0),m=(0,i.polarToCartesian)(n.x,n.y,a+y,o),b=(0,i.polarToCartesian)(n.x,n.y,a+s/2,g);p.push("M "+l.x+" "+l.y),p.push("L "+m.x+" "+m.y),p.push("A "+n.x+" "+n.y+" 0 0 "+v+" "+b.x+" "+b.y),p.push("L "+f.x+" "+f.y)}else{var m=(0,i.polarToCartesian)(n.x,n.y,a+(s/2>4?4:Math.max(s/2-1,0)),o),x=l.x11253517471925921e-23&&p.push.apply(p,["C",f.x+4*x,f.y,2*m.x-l.x,2*m.y-l.y,l.x,l.y]),p.push("L "+l.x+" "+l.y)}t.labelLine.path=p.join(" ")}}(t,l)})})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieSpiderLabelLayout=void 0;var r=n(0),i=n(46),a=n(476),o=n(114);e.pieSpiderLabelLayout=function(t,e,n,s){var l=e[0]&&e[0].get("coordinate");if(l){for(var u=l.getCenter(),c=l.getRadius(),f={},d=0;du.x||t.x===u.x&&t.y>u.y,n=(0,r.isNil)(t.offsetX)?4:t.offsetX,a=(0,i.polarToCartesian)(u.x,u.y,c+4,t.angle);t.x=u.x+(e?1:-1)*(c+(g+n)),t.y=a.y}});var v=l.start,y=l.end,m="right",b=(0,r.groupBy)(t,function(t){return t.xx&&(x=Math.min(e,Math.abs(v.y-y.y)))});var _={minX:v.x,maxX:y.x,minY:u.y-x/2,maxY:u.y+x/2};(0,r.each)(b,function(t,e){var n=x/h;t.length>n&&(t.sort(function(t,e){return e.percent-t.percent}),(0,r.each)(t,function(t,e){e>n&&(f[t.id].set("visible",!1),t.invisible=!0)})),(0,a.antiCollision)(t,h,_)});var O=_.minY,P=_.maxY;(0,r.each)(b,function(t,e){var n=e===m;(0,r.each)(t,function(t){var e=(0,r.get)(f,t&&[t.id]);if(e){if(t.yP){e.set("visible",!1);return}var a=e.getChildByIndex(0),s=a.getCanvasBBox(),u={x:n?s.x:s.maxX,y:s.y+s.height/2};(0,o.translate)(a,t.x-u.x,t.y-u.y),t.labelLine&&function(t,e,n){var a=e.getCenter(),o=e.getRadius(),s={x:t.x-(n?4:-4),y:t.y},l=(0,i.polarToCartesian)(a.x,a.y,o+4,t.angle),u={x:s.x,y:s.y},c={x:l.x,y:l.y},f=(0,i.polarToCartesian)(a.x,a.y,o,t.angle),d="";if(s.y!==l.y){var p=n?4:-4;u.y=s.y,t.angle<0&&t.angle>=-Math.PI/2&&(u.x=Math.max(l.x,s.x-p),s.y0&&t.anglel.y?c.y=u.y:(c.y=l.y,c.x=Math.max(c.x,u.x-p))),t.angle>Math.PI/2&&(u.x=Math.min(l.x,s.x-p),s.y>l.y?c.y=u.y:(c.y=l.y,c.x=Math.min(c.x,u.x-p))),t.angle<-Math.PI/2&&(u.x=Math.min(l.x,s.x-p),s.y4)return[];var e=function(t,e){return[e.x-t.x,e.y-t.y]};return[e(t[0],t[1]),e(t[1],t[2])]}function s(t,e,n){void 0===e&&(e=0),void 0===n&&(n={x:0,y:0});var r=t.x,i=t.y;return{x:(r-n.x)*Math.cos(-e)+(i-n.y)*Math.sin(-e)+n.x,y:(n.x-r)*Math.sin(-e)+(i-n.y)*Math.cos(-e)+n.y}}function l(t){var e=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],n=t.rotation;return n?[s(e[0],n,e[0]),s(e[1],n,e[0]),s(e[2],n,e[0]),s(e[3],n,e[0])]:e}function u(t,e){if(t.length>4)return{min:0,max:0};var n=[];return t.forEach(function(t){n.push(a([t.x,t.y],e))}),{min:Math.min.apply(Math,n),max:Math.max.apply(Math,n)}}function c(t){return(0,i.isNumber)(t)&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0}function f(t){return Object.values(t).every(c)}function d(t,e,n){return void 0===n&&(n=0),!(e.x>t.x+t.width+n||e.x+e.widtht.y+t.height+n||e.y+e.heighth.min)||!(p.min=l.height:u.width>=l.width}))&&n.forEach(function(t,n){var a,o,l,u=e[n];a=s.coordinate,o=r.BBox.fromObject(t.getBBox()),l=(0,i.findLabelTextShape)(u),a.isTransposed?l.attr({x:o.minX+o.width/2,textAlign:"center"}):l.attr({y:o.minY+o.height/2,textBaseline:"middle"})})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.intervalHideOverlap=void 0;var r=n(0),i=n(113);e.intervalHideOverlap=function(t,e,n){if(0!==n.length){var a,o,s,l=null===(s=n[0])||void 0===s?void 0:s.get("element"),u=null==l?void 0:l.geometry;if(u&&"interval"===u.type){var c=(a=[],o=Math.max(Math.floor(e.length/500),1),(0,r.each)(e,function(t,e){e%o==0?a.push(t):t.set("visible",!1)}),a),f=u.getXYFields()[0],d=[],p=[],h=(0,r.groupBy)(c,function(t){return t.get("data")[f]}),g=(0,r.uniq)((0,r.map)(c,function(t){return t.get("data")[f]}));c.forEach(function(t){t.set("visible",!0)});var v=function(t){t&&(t.length&&p.push(t.pop()),p.push.apply(p,t))};for((0,r.size)(g)>0&&v(h[g.shift()]),(0,r.size)(g)>0&&v(h[g.pop()]),(0,r.each)(g.reverse(),function(t){v(h[t])});p.length>0;){var y=p.shift();y.get("visible")&&((0,i.checkShapeOverlap)(y,d)?y.set("visible",!1):d.push(y))}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pointAdjustPosition=void 0;var r=n(0),i=n(113);function a(t,e,n){return t.some(function(t){return n(t,e)})}function o(t,e){return a(t,e,function(t,e){var n,r,a=(0,i.findLabelTextShape)(t),o=(0,i.findLabelTextShape)(e);return n=a.getCanvasBBox(),r=o.getCanvasBBox(),Math.max(0,Math.min(n.x+n.width+2,r.x+r.width+2)-Math.max(n.x-2,r.x-2))*Math.max(0,Math.min(n.y+n.height+2,r.y+r.height+2)-Math.max(n.y-2,r.y-2))>0})}e.pointAdjustPosition=function(t,e,n,s,l){if(0!==n.length){var u,c,f=null===(u=n[0])||void 0===u?void 0:u.get("element"),d=null==f?void 0:f.geometry;if(d&&"point"===d.type){var p=d.getXYFields(),h=p[0],g=p[1],v=(0,r.groupBy)(e,function(t){return t.get("data")[h]}),y=[],m=l&&l.offset||(null===(c=t[0])||void 0===c?void 0:c.offset)||12;(0,r.map)((0,r.keys)(v).reverse(),function(t){for(var e,n,r,s,l=(e=v[t],n=d.getXYFields()[1],r=[],(s=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]})).length>0&&r.push(s.shift()),s.length>0&&r.push(s.pop()),r.push.apply(r,s),r);l.length;){var u=l.shift(),c=(0,i.findLabelTextShape)(u);if(a(y,u,function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[g]===e.get("data")[g]})){c.set("visible",!1);continue}var f=o(y,u),p=!1;if(f&&(c.attr("y",c.attr("y")+2*m),p=o(y,u)),p){c.set("visible",!1);continue}y.push(u)}})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pathAdjustPosition=void 0;var r=n(0),i=n(113);function a(t,e,n){return t.some(function(t){return n(t,e)})}function o(t,e){return a(t,e,function(t,e){var n,r,a=(0,i.findLabelTextShape)(t),o=(0,i.findLabelTextShape)(e);return n=a.getCanvasBBox(),r=o.getCanvasBBox(),Math.max(0,Math.min(n.x+n.width+2,r.x+r.width+2)-Math.max(n.x-2,r.x-2))*Math.max(0,Math.min(n.y+n.height+2,r.y+r.height+2)-Math.max(n.y-2,r.y-2))>0})}e.pathAdjustPosition=function(t,e,n,s,l){if(0!==n.length){var u,c,f=null===(u=n[0])||void 0===u?void 0:u.get("element"),d=null==f?void 0:f.geometry;if(!(!d||0>["path","line","area"].indexOf(d.type))){var p=d.getXYFields(),h=p[0],g=p[1],v=(0,r.groupBy)(e,function(t){return t.get("data")[h]}),y=[],m=l&&l.offset||(null===(c=t[0])||void 0===c?void 0:c.offset)||12;(0,r.map)((0,r.keys)(v).reverse(),function(t){for(var e,n,r,s,l=(e=v[t],n=d.getXYFields()[1],r=[],(s=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]})).length>0&&r.push(s.shift()),s.length>0&&r.push(s.pop()),r.push.apply(r,s),r);l.length;){var u=l.shift(),c=(0,i.findLabelTextShape)(u);if(a(y,u,function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[g]===e.get("data")[g]})){c.set("visible",!1);continue}var f=o(y,u),p=!1;if(f&&(c.attr("y",c.attr("y")+2*m),p=o(y,u)),p){c.set("visible",!1);continue}y.push(u)}})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInPlot=void 0;var r=n(0),i=n(48),a=n(1010),o=n(114);e.limitInPlot=function(t,e,n,s,l){if(!(e.length<=0)){var u=(null==l?void 0:l.direction)||["top","right","bottom","left"],c=(null==l?void 0:l.action)||"translate",f=(null==l?void 0:l.margin)||0,d=e[0].get("coordinate");if(d){var p=(0,i.getCoordinateBBox)(d,f),h=p.minX,g=p.minY,v=p.maxX,y=p.maxY;(0,r.each)(e,function(t){var e=t.getCanvasBBox(),n=e.minX,i=e.minY,s=e.maxX,l=e.maxY,f=e.x,d=e.y,p=e.width,m=e.height,b=f,x=d;if(u.indexOf("left")>=0&&(n=0&&(i=0&&(n>v?b=v-p:s>v&&(b-=s-v)),u.indexOf("bottom")>=0&&(i>y?x=y-m:l>y&&(x-=l-y)),b!==f||x!==d){var _=b-f;"translate"===c?(0,o.translate)(t,_,x-d):"ellipsis"===c?t.findAll(function(t){return"text"===t.get("type")}).forEach(function(t){var e=(0,r.pick)(t.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),n=t.getCanvasBBox(),i=(0,a.getEllipsisText)(t.attr("text"),n.width-Math.abs(_),e);t.attr("text",i)}):t.hide()}})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEllipsisText=e.measureTextWidth=void 0;var r=n(1),i=n(0),a=n(1011);e.measureTextWidth=(0,i.memoize)(function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,o=e.fontWeight,s=e.fontStyle,l=e.fontVariant,u=(0,a.getCanvasContext)();return u.font=[s,l,o,n+"px",r].join(" "),u.measureText((0,i.isString)(t)?t:"").width},function(t,e){return void 0===e&&(e={}),(0,r.__spreadArray)([t],(0,i.values)(e),!0).join("")}),e.getEllipsisText=function(t,n,r){var a,o,s,l=(0,e.measureTextWidth)("...",r);a=(0,i.isString)(t)?t:(0,i.toString)(t);var u=n,c=[];if((0,e.measureTextWidth)(t,r)<=n)return t;for(;o=a.substr(0,16),!((s=(0,e.measureTextWidth)(o,r))+l>u)||!(s>u);)if(c.push(o),u-=s,!(a=a.substr(16)))return c.join("");for(;o=a.substr(0,1),!((s=(0,e.measureTextWidth)(o,r))+l>u);)if(c.push(o),u-=s,!(a=a.substr(1)))return c.join("");return c.join("")+"..."}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.getCanvasContext=void 0,e.getCanvasContext=function(){return r||(r=document.createElement("canvas").getContext("2d")),r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showGrid=e.getCircleGridItems=e.getLineGridItems=e.getGridThemeCfg=void 0;var r=n(0);e.getGridThemeCfg=function(t,e){var n=(0,r.deepMix)({},(0,r.get)(t,["components","axis","common"]),(0,r.get)(t,["components","axis",e]));return(0,r.get)(n,["grid"],{})},e.getLineGridItems=function(t,e,n,r){var i=[],a=e.getTicks();return t.isPolar&&a.push({value:1,text:"",tickValue:""}),a.reduce(function(e,a,o){var s=a.value;if(r)i.push({points:[t.convert("y"===n?{x:0,y:s}:{x:s,y:0}),t.convert("y"===n?{x:1,y:s}:{x:s,y:1})]});else if(o){var l=(e.value+s)/2;i.push({points:[t.convert("y"===n?{x:0,y:l}:{x:l,y:0}),t.convert("y"===n?{x:1,y:l}:{x:l,y:1})]})}return a},a[0]),i},e.getCircleGridItems=function(t,e,n,i,a){var o=e.values.length,s=[],l=n.getTicks();return l.reduce(function(e,n){var l=e?e.value:n.value,u=n.value,c=(l+u)/2;return"x"===a?s.push({points:[t.convert({x:i?u:c,y:0}),t.convert({x:i?u:c,y:1})]}):s.push({points:(0,r.map)(Array(o+1),function(e,n){return t.convert({x:n/o,y:i?u:c})})}),n},l[0]),s},e.showGrid=function(t,e){var n=(0,r.get)(e,"grid");if(null===n)return!1;var i=(0,r.get)(t,"grid");return!(void 0===n&&null===i)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(104),a=n(69),o=n(80),s=n(282),l=n(21),u=n(0),c=n(70),f=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=u.noop,n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t.ratio,r=n.getValidScrollbarCfg().animate;n.ratio=(0,u.clamp)(e,0,1);var i=n.view.getOptions().animate;r||n.view.animate(!1),n.changeViewData(n.getScrollRange(),!0),n.view.animate(i)},n.container=n.view.getLayer(l.LAYER.FORE).addGroup(),n.onChangeFn=(0,u.throttle)(n.onValueChange,20,{leading:!0}),n.trackLen=0,n.thumbLen=0,n.ratio=0,n.view.on(l.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(l.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return(0,r.__extends)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(l.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(l.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)})),this.scrollbar){var e=this.view.coordinateBBox.width,n=this.scrollbar.component.get("padding"),i=this.scrollbar.component.getLayoutBBox(),a=new o.BBox(i.x,i.y,Math.min(i.width,e),i.height).expand(n),u=this.getScrollbarComponentCfg(),c=void 0,f=void 0;if(u.isHorizontal){var d=(0,s.directionToPosition)(this.view.viewBBox,a,l.DIRECTION.BOTTOM),p=d[0],h=d[1],g=(0,s.directionToPosition)(this.view.coordinateBBox,a,l.DIRECTION.BOTTOM),v=g[0],y=g[1];c=v,f=h}else{var m=(0,s.directionToPosition)(this.view.viewBBox,a,l.DIRECTION.RIGHT),p=m[0],h=m[1],b=(0,s.directionToPosition)(this.view.viewBBox,a,l.DIRECTION.RIGHT),v=b[0],y=b[1];c=v,f=h}c+=n[3],f+=n[0],this.trackLen?this.scrollbar.component.update((0,r.__assign)((0,r.__assign)({},u),{x:c,y:f,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update((0,r.__assign)((0,r.__assign)({},u),{x:c,y:f})),this.view.viewBBox=this.view.viewBBox.cut(a,u.isHorizontal?l.DIRECTION.BOTTOM:l.DIRECTION.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.setValue=function(t){this.onValueChange({ratio:t})},e.prototype.getValue=function(){return this.ratio},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return(0,u.get)(t,["components","scrollbar","common"],{})},e.prototype.getScrollbarTheme=function(t){var e=(0,u.get)(this.view.getTheme(),["components","scrollbar"]),n=t||{},i=n.thumbHighlightColor,a=(0,r.__rest)(n,["thumbHighlightColor"]);return{default:(0,u.deepMix)({},(0,u.get)(e,["default","style"],{}),a),hover:(0,u.deepMix)({},(0,u.get)(e,["hover","style"],{}),{thumbColor:i})}},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),e=this.view.getYScales().slice();this.data=this.getScrollbarData(),this.step=this.getStep(),this.cnt=this.getCnt();var n=this.getScrollbarComponentCfg(),r=n.trackLen,i=n.thumbLen;this.trackLen=r,this.thumbLen=i,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=e},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*(0,u.clamp)(this.ratio,0,1)),e=Math.min(t+this.step-1,this.cnt-1);return[t,e]},e.prototype.changeViewData=function(t,e){var n=this,r=t[0],i=t[1],a=this.getValidScrollbarCfg().type,o=(0,u.valuesOfKey)(this.data,this.xScaleCfg.field),s="vertical"!==a?o:o.reverse();this.yScalesCfg.forEach(function(t){n.view.scale(t.field,{formatter:t.formatter,type:t.type,min:t.min,max:t.max})}),this.view.filter(this.xScaleCfg.field,function(t){var e=s.indexOf(t);return!(e>-1)||(0,c.isBetween)(e,r,i)}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,e=new a.Scrollbar((0,r.__assign)((0,r.__assign)({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return e.init(),{component:e,layer:l.LAYER.FORE,direction:"vertical"!==t?l.DIRECTION.BOTTOM:l.DIRECTION.RIGHT,type:l.COMPONENT_TYPE.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),e=this.trackLen?(0,r.__assign)((0,r.__assign)({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):(0,r.__assign)({},t);return this.scrollbar.component.update(e),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,e=this.getValidScrollbarCfg(),n=e.type,r=e.categorySize;return Math.floor(("vertical"!==n?t.width:t.height)/r)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),e=this.getScrollbarData(),n=(0,u.valuesOfKey)(e,t.field);return(0,u.size)(n)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,e=t.coordinateBBox,n=t.viewBBox,i=this.getValidScrollbarCfg(),a=i.type,o=i.padding,s=i.width,l=i.height,c=i.style,f="vertical"!==a,d=o[0],p=o[1],h=o[2],g=o[3],v=f?{x:e.minX+g,y:n.maxY-l-h}:{x:n.maxX-s-p,y:e.minY+d},y=this.getStep(),m=this.getCnt(),b=f?e.width-g-p:e.height-d-h,x=Math.max(b*(0,u.clamp)(y/m,0,1),20);return(0,r.__assign)((0,r.__assign)({},this.getThemeOptions()),{x:v.x,y:v.y,size:f?l:s,isHorizontal:f,trackLen:b,thumbLen:x,thumbOffset:0,theme:this.getScrollbarTheme(c)})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:32,width:8,height:8,padding:[0,0,0,0],animate:!0,style:{}};return(0,u.isObject)(this.option)&&(t=(0,r.__assign)((0,r.__assign)({},t),this.option)),(0,u.isObject)(this.option)&&this.option.padding||(t.padding=(t.type,[0,0,0,0])),t},e.prototype.getScrollbarData=function(){var t=this.view.getCoordinate(),e=this.getValidScrollbarCfg(),n=this.view.getOptions().data||[];return t.isReflect("y")&&"vertical"===e.type&&(n=(0,r.__spreadArray)([],n,!0).reverse()),n},e}(i.Controller);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearList=void 0;var r=n(0),i="inactive",a="active";e.clearList=function(t){var e=t.getItems();(0,r.each)(e,function(e){t.hasState(e,a)&&t.setItemState(e,a,!1),t.hasState(e,i)&&t.setItemState(e,i,!1)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(151)),o="unchecked",s="checked",l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=s,e}return(0,r.__extends)(e,t),e.prototype.setItemState=function(t,e,n){this.setCheckedBy(t,function(t){return t===e},n)},e.prototype.setCheckedBy=function(t,e,n){var r=t.getItems();n&&(0,i.each)(r,function(n){e(n)?(t.hasState(n,o)&&t.setItemState(n,o,!1),t.setItemState(n,s,!0)):t.hasState(n,s)||t.setItemState(n,o,!0)})},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item;!(0,i.some)(e.getItems(),function(t){return e.hasState(t,o)})||e.hasState(n,o)?this.setItemState(e,n,!0):this.reset()}},e.prototype.checked=function(){this.setState()},e.prototype.reset=function(){var t=this.getAllowComponents();(0,i.each)(t,function(t){t.clearItemsState(s),t.clearItemsState(o)})},e}(a.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(31),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="circle",e}return(0,r.__extends)(e,t),e.prototype.getMaskAttrs=function(){var t=this.points,e=(0,i.last)(this.points),n=0,r=0,o=0;if(t.length){var s=t[0];n=(0,a.distance)(s,e)/2,r=(e.x+s.x)/2,o=(e.y+s.y)/2}return{x:r,y:o,r:n}},e}((0,r.__importDefault)(n(288)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0);function a(t){t.x=(0,i.clamp)(t.x,0,1),t.y=(0,i.clamp)(t.y,0,1)}var o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dim="x",e.inPlot=!0,e}return(0,r.__extends)(e,t),e.prototype.getRegion=function(){var t=null,e=null,n=this.points,r=this.dim,o=this.context.view.getCoordinate(),s=o.invert((0,i.head)(n)),l=o.invert((0,i.last)(n));return this.inPlot&&(a(s),a(l)),"x"===r?(t=o.convert({x:s.x,y:0}),e=o.convert({x:l.x,y:1})):(t=o.convert({x:0,y:s.y}),e=o.convert({x:1,y:l.y})),{start:t,end:e}},e}((0,r.__importDefault)(n(477)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(31),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getMaskPath=function(){var t=this.points;return(0,i.getSpline)(t,!0)},e}((0,r.__importDefault)(n(478)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(479)),o=n(31),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.filterView=function(t,e,n){var r=(0,o.getSilbings)(t);(0,i.each)(r,function(t){t.filter(e,n)})},e.prototype.reRender=function(t){var e=(0,o.getSilbings)(t);(0,i.each)(e,function(t){t.render(!0)})},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(44)),o=n(31),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.filter=function(){var t=(0,o.getDelegationObject)(this.context),e=this.context.view,n=(0,o.getElements)(e);if((0,o.isMask)(this.context)){var r=(0,o.getMaskedElements)(this.context,10);r&&(0,i.each)(n,function(t){r.includes(t)?t.show():t.hide()})}else if(t){var a=t.component,s=a.get("field");if((0,o.isList)(t)){if(s){var l=a.getItemsByState("unchecked"),u=(0,o.getScaleByField)(e,s),c=l.map(function(t){return t.name});(0,i.each)(n,function(t){var e=(0,o.getElementValue)(t,s),n=u.getText(e);c.indexOf(n)>=0?t.hide():t.show()})}}else if((0,o.isSlider)(t)){var f=a.getValue(),d=f[0],p=f[1];(0,i.each)(n,function(t){var e=(0,o.getElementValue)(t,s);e>=d&&e<=p?t.show():t.hide()})}}},e.prototype.clear=function(){var t=(0,o.getElements)(this.context.view);(0,i.each)(t,function(t){t.show()})},e.prototype.reset=function(){this.clear()},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(44)),o=n(31),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.byRecord=!1,e}return(0,r.__extends)(e,t),e.prototype.filter=function(){(0,o.isMask)(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,e=(0,o.getMaskedElements)(this.context,10);if(e){var n=t.getXScale().field,r=t.getYScales()[0].field,a=e.map(function(t){return t.getModel().data}),s=(0,o.getSilbings)(t);(0,i.each)(s,function(t){var e=(0,o.getElements)(t);(0,i.each)(e,function(t){var e=t.getModel().data;(0,o.isInRecords)(a,e,n,r)?t.show():t.hide()})})}},e.prototype.filterByBBox=function(){var t=this,e=this.context.view,n=(0,o.getSilbings)(e);(0,i.each)(n,function(e){var n=(0,o.getSiblingMaskElements)(t.context,e,10),r=(0,o.getElements)(e);n&&(0,i.each)(r,function(t){n.includes(t)?t.show():t.hide()})})},e.prototype.reset=function(){var t=(0,o.getSilbings)(this.context.view);(0,i.each)(t,function(t){var e=(0,o.getElements)(t);(0,i.each)(e,function(t){t.show()})})},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(32),a=n(0),o=n(267),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},e}return(0,r.__extends)(e,t),e.prototype.getButtonCfg=function(){return(0,a.deepMix)(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=e.addShape({type:"text",name:"button-text",attrs:(0,r.__assign)({text:t.text},t.textStyle)}).getBBox(),i=(0,o.parsePadding)(t.padding),a=e.addShape({type:"rect",name:"button-rect",attrs:(0,r.__assign)({x:n.x-i[3],y:n.y-i[0],width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},t.style)});a.toBack(),e.on("mouseenter",function(){a.attr(t.activeStyle)}),e.on("mouseleave",function(){a.attr(t.style)}),this.buttonGroup=e},e.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),r=i.ext.transform(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(r)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},e}((0,r.__importDefault)(n(44)).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(0,r.__importDefault)(n(44)),a=n(31),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.dragStart=!1,e}return(0,r.__extends)(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(this.startPoint){var t=this.context.getCurrentPoint(),e=this.context.view,n=this.context.event;this.dragStart?e.emit("drag",{target:n.target,x:n.x,y:n.y}):(0,a.distance)(t,this.startPoint)>4&&(e.emit("dragstart",{target:n.target,x:n.x,y:n.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,e=this.context.event;t.emit("dragend",{target:e.target,x:e.x,y:e.y})}this.starting=!1,this.dragStart=!1},e}(i.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(32),a=n(185),o=n(31),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.isMoving=!1,e.startPoint=null,e.startMatrix=null,e}return(0,r.__extends)(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(this.starting){var t=this.startPoint,e=this.context.getCurrentPoint();if((0,o.distance)(t,e)>5&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var n=this.context.view,r=i.ext.transform(this.startMatrix,[["t",e.x-t.x,e.y-t.y]]);n.backgroundGroup.setMatrix(r),n.foregroundGroup.setMatrix(r),n.middleGroup.setMatrix(r)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(a.Action);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.startPoint=null,e.starting=!1,e.startCache={},e}return(0,r.__extends)(e,t),e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var e=this.dims;(0,i.each)(e,function(e){var n=t.getScale(e),r=n.min,i=n.max,a=n.values;t.startCache[e]={min:r,max:i,values:a}})},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(this.starting){var e=this.startPoint,n=this.context.view.getCoordinate(),r=this.context.getCurrentPoint(),a=n.invert(e),o=n.invert(r),s=o.x-a.x,l=o.y-a.y,u=this.context.view,c=this.dims;(0,i.each)(c,function(e){t.translateDim(e,{x:-1*s,y:-1*l})}),u.render(!0)}},e.prototype.translateDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.translateLinear(t,n,e)}},e.prototype.translateLinear=function(t,e,n){var r=this.context.view,i=this.startCache[t],a=i.min,o=i.max,s=n[t]*(o-a);this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:a,max:o}),r.scale(e.field,{nice:!1,min:a+s,max:o+s})},e.prototype.reset=function(){t.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}((0,r.__importDefault)(n(480)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.zoomRatio=.05,e}return(0,r.__extends)(e,t),e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var e=this,n=this.dims;(0,i.each)(n,function(n){e.zoomDim(n,t)}),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.zoomLinear(t,n,e)}},e.prototype.zoomLinear=function(t,e,n){var r=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:e.min,max:e.max});var i=this.cacheScaleDefs[t],a=i.max-i.min,o=e.min,s=e.max,l=n*a,u=o-l,c=s+l,f=(c-u)/a;c>u&&f<100&&f>.01&&r.scale(e.field,{nice:!1,min:o-l,max:s+l})},e}((0,r.__importDefault)(n(480)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.scroll=function(t){var e=this.context,n=e.view,r=e.event;if(n.getOptions().scrollbar){var a=(null==t?void 0:t.wheelDelta)||1,o=n.getController("scrollbar"),s=n.getXScale(),l=n.getOptions().data,u=(0,i.size)((0,i.valuesOfKey)(l,s.field)),c=(0,i.size)(s.values),f=Math.floor((u-c)*o.getValue())+(r.gEvent.originalEvent.deltaY>0?a:-a),d=a/(u-c)/1e4,p=(0,i.clamp)(f/(u-c)+d,0,1);o.setValue(p)}},e}(n(185).Action);e.default=a},function(t,e,n){"use strict";(function(t){var e=n(2)(n(6));/** @license React v0.25.1 - * react-reconciler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */t.exports=function r(i){var a,o,s,l,u,c=n(1030),f=n(3),d=n(1031);function p(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;ntR||(t.current=tk[tR],tk[tR]=null,tR--)}function tB(t,e){tk[++tR]=t.current,t.current=e}var tG={},tV={current:tG},tz={current:!1},tW=tG;function tY(t,e){var n=t.type.contextTypes;if(!n)return tG;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=e[i];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=a),a}function tH(t){return null!=(t=t.childContextTypes)}function tX(){tN(tz),tN(tV)}function tU(t,e,n){if(tV.current!==tG)throw Error(p(168));tB(tV,e),tB(tz,n)}function tq(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(p(108,j(e)||"Unknown",i));return c({},n,{},r)}function tZ(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||tG,tW=tV.current,tB(tV,t),tB(tz,tz.current),!0}function tK(t,e,n){var r=t.stateNode;if(!r)throw Error(p(169));n?(t=tq(t,e,tW),r.__reactInternalMemoizedMergedChildContext=t,tN(tz),tN(tV),tB(tV,t)):tN(tz),tB(tz,n)}var t$=d.unstable_runWithPriority,tQ=d.unstable_scheduleCallback,tJ=d.unstable_cancelCallback,t0=d.unstable_requestPaint,t1=d.unstable_now,t2=d.unstable_getCurrentPriorityLevel,t3=d.unstable_ImmediatePriority,t5=d.unstable_UserBlockingPriority,t4=d.unstable_NormalPriority,t6=d.unstable_LowPriority,t7=d.unstable_IdlePriority,t8={},t9=d.unstable_shouldYield,et=void 0!==t0?t0:function(){},ee=null,en=null,er=!1,ei=t1(),ea=1e4>ei?t1:function(){return t1()-ei};function eo(){switch(t2()){case t3:return 99;case t5:return 98;case t4:return 97;case t6:return 96;case t7:return 95;default:throw Error(p(332))}}function es(t){switch(t){case 99:return t3;case 98:return t5;case 97:return t4;case 96:return t6;case 95:return t7;default:throw Error(p(332))}}function el(t,e){return t$(t=es(t),e)}function eu(t){return null===ee?(ee=[t],en=tQ(t3,ef)):ee.push(t),t8}function ec(){if(null!==en){var t=en;en=null,tJ(t)}ef()}function ef(){if(!er&&null!==ee){er=!0;var t=0;try{var e=ee;el(99,function(){for(;t=e&&(nz=!0),t.firstContext=null)}function eS(t,e){if(ex!==t&&!1!==e&&0!==e){if(("number"!=typeof e||1073741823===e)&&(ex=t,e=1073741823),e={context:t,observedBits:e,next:null},null===eb){if(null===em)throw Error(p(308));eb=e,em.dependencies={expirationTime:0,firstContext:e,responders:null}}else eb=eb.next=e}return Q?t._currentValue:t._currentValue2}var ew=!1;function eE(t){t.updateQueue={baseState:t.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function eC(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,baseQueue:t.baseQueue,shared:t.shared,effects:t.effects})}function eT(t,e){return(t={expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null}).next=t}function eI(t,e){if(null!==(t=t.updateQueue)){var n=(t=t.shared).pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}}function ej(t,e){var n=t.alternate;null!==n&&eC(n,t),null===(n=(t=t.updateQueue).baseQueue)?(t.baseQueue=e.next=e,e.next=e):(e.next=n.next,n.next=e)}function eF(t,e,n,r){var i=t.updateQueue;ew=!1;var a=i.baseQueue,o=i.shared.pending;if(null!==o){if(null!==a){var s=a.next;a.next=o.next,o.next=s}a=o,i.shared.pending=null,null!==(s=t.alternate)&&null!==(s=s.updateQueue)&&(s.baseQueue=o)}if(null!==a){s=a.next;var l=i.baseState,u=0,f=null,d=null,p=null;if(null!==s)for(var h=s;;){if((o=h.expirationTime)u&&(u=o)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),rJ(o,h.suspenseConfig);e:{var v=t,y=h;switch(o=e,g=n,y.tag){case 1:if("function"==typeof(v=y.payload)){l=v.call(g,l,o);break e}l=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(o="function"==typeof(v=y.payload)?v.call(g,l,o):v))break e;l=c({},l,o);break e;case 2:ew=!0}}null!==h.callback&&(t.effectTag|=32,null===(o=i.effects)?i.effects=[h]:o.push(h))}if(null===(h=h.next)||h===s){if(null===(o=i.shared.pending))break;h=a.next=o.next,o.next=s,i.baseQueue=a=o,i.shared.pending=null}}null===p?f=l:p.next=d,i.baseState=f,i.baseQueue=p,r0(u),t.expirationTime=u,t.memoizedState=l}}function eL(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;ep?(v=f,f=null):v=f.sibling;var y=h(e,f,s[p],l);if(null===y){null===f&&(f=v);break}t&&f&&null===y.alternate&&n(e,f),a=o(y,a,p),null===c?u=y:c.sibling=y,c=y,f=v}if(p===s.length)return r(e,f),u;if(null===f){for(;pv?(y=f,f=null):y=f.sibling;var b=h(e,f,m.value,l);if(null===b){null===f&&(f=y);break}t&&f&&null===b.alternate&&n(e,f),a=o(b,a,v),null===c?u=b:c.sibling=b,c=b,f=y}if(m.done)return r(e,f),u;if(null===f){for(;!m.done;v++,m=s.next())null!==(m=d(e,m.value,l))&&(a=o(m,a,v),null===c?u=m:c.sibling=m,c=m);return u}for(f=i(e,f);!m.done;v++,m=s.next())null!==(m=g(f,e,v,m.value,l))&&(t&&null!==m.alternate&&f.delete(null===m.key?v:m.key),a=o(m,a,v),null===c?u=m:c.sibling=m,c=m);return t&&f.forEach(function(t){return n(e,t)}),u}(l,u,c,f);if(x&&eH(l,c),void 0===c&&!b)switch(l.tag){case 1:case 0:throw Error(p(152,(l=l.type).displayName||l.name||"Component"))}return r(l,u)}}var eU=eX(!0),eq=eX(!1),eZ={},eK={current:eZ},e$={current:eZ},eQ={current:eZ};function eJ(t){if(t===eZ)throw Error(p(174));return t}function e0(t,e){tB(eQ,e),tB(e$,t),tB(eK,eZ),t=N(e),tN(eK),tB(eK,t)}function e1(){tN(eK),tN(e$),tN(eQ)}function e2(t){var e=eJ(eQ.current),n=eJ(eK.current);e=B(n,t.type,e),n!==e&&(tB(e$,t),tB(eK,e))}function e3(t){e$.current===t&&(tN(eK),tN(e$))}var e5={current:0};function e4(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||tA(n)||tS(n)))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!=(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function e6(t,e){return{responder:t,props:e}}var e7=h.ReactCurrentDispatcher,e8=h.ReactCurrentBatchConfig,e9=0,nt=null,ne=null,nn=null,nr=!1;function ni(){throw Error(p(321))}function na(t,e){if(null===e)return!1;for(var n=0;na))throw Error(p(301));a+=1,nn=ne=null,e.updateQueue=null,e7.current=nI,t=n(r,i)}while(e.expirationTime===e9)}if(e7.current=nE,e=null!==ne&&null!==ne.next,e9=0,nn=ne=nt=null,nr=!1,e)throw Error(p(300));return t}function ns(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===nn?nt.memoizedState=nn=t:nn=nn.next=t,nn}function nl(){if(null===ne){var t=nt.alternate;t=null!==t?t.memoizedState:null}else t=ne.next;var e=null===nn?nt.memoizedState:nn.next;if(null!==e)nn=e,ne=t;else{if(null===t)throw Error(p(310));t={memoizedState:(ne=t).memoizedState,baseState:ne.baseState,baseQueue:ne.baseQueue,queue:ne.queue,next:null},null===nn?nt.memoizedState=nn=t:nn=nn.next=t}return nn}function nu(t,e){return"function"==typeof e?e(t):e}function nc(t){var e=nl(),n=e.queue;if(null===n)throw Error(p(311));n.lastRenderedReducer=t;var r=ne,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var o=i.next;i.next=a.next,a.next=o}r.baseQueue=i=a,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var s=o=a=null,l=i;do{var u=l.expirationTime;if(unt.expirationTime&&(nt.expirationTime=u,r0(u))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),rJ(u,l.suspenseConfig),r=l.eagerReducer===t?l.eagerState:t(r,l.action);l=l.next}while(null!==l&&l!==i);null===s?a=r:s.next=o,ep(r,e.memoizedState)||(nz=!0),e.memoizedState=r,e.baseState=a,e.baseQueue=s,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function nf(t){var e=nl(),n=e.queue;if(null===n)throw Error(p(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,a=e.memoizedState;if(null!==i){n.pending=null;var o=i=i.next;do a=t(a,o.action),o=o.next;while(o!==i);ep(a,e.memoizedState)||(nz=!0),e.memoizedState=a,null===e.baseQueue&&(e.baseState=a),n.lastRenderedState=a}return[a,r]}function nd(t){var e=ns();return"function"==typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={pending:null,dispatch:null,lastRenderedReducer:nu,lastRenderedState:t}).dispatch=nw.bind(null,nt,t),[e.memoizedState,t]}function np(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=nt.updateQueue)?(e={lastEffect:null},nt.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function nh(){return nl().memoizedState}function ng(t,e,n,r){var i=ns();nt.effectTag|=t,i.memoizedState=np(1|e,n,void 0,void 0===r?null:r)}function nv(t,e,n,r){var i=nl();r=void 0===r?null:r;var a=void 0;if(null!==ne){var o=ne.memoizedState;if(a=o.destroy,null!==r&&na(r,o.deps)){np(e,n,a,r);return}}nt.effectTag|=t,i.memoizedState=np(1|e,n,a,r)}function ny(t,e){return ng(516,4,t,e)}function nm(t,e){return nv(516,4,t,e)}function nb(t,e){return nv(4,2,t,e)}function nx(t,e){return"function"==typeof e?(e(t=t()),function(){e(null)}):null!=e?(t=t(),e.current=t,function(){e.current=null}):void 0}function n_(t,e,n){return n=null!=n?n.concat([t]):null,nv(4,2,nx.bind(null,e,t),n)}function nO(){}function nP(t,e){return ns().memoizedState=[t,void 0===e?null:e],t}function nM(t,e){var n=nl();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&na(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function nA(t,e){var n=nl();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&na(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function nS(t,e,n){var r=eo();el(98>r?98:r,function(){t(!0)}),el(97e)&&rk.set(t,e))}}function rW(t,e){t.expirationTime=(t=n>t?n:t)&&e!==t?0:t}function rH(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=eu(rU.bind(null,t));else{var e=rY(t),n=t.callbackNode;if(0===e)null!==n&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var r,i,a,o=rG();if(o=1073741823===e?99:1===e||2===e?95:0>=(o=10*(1073741821-e)-10*(1073741821-o))?99:250>=o?98:5250>=o?97:95,null!==n){var s=t.callbackPriority;if(t.callbackExpirationTime===e&&s>=o)return;n!==t8&&tJ(n)}t.callbackExpirationTime=e,t.callbackPriority=o,e=1073741823===e?eu(rU.bind(null,t)):(r=o,i=rX.bind(null,t),a={timeout:10*(1073741821-e)-ea()},tQ(r=es(r),i,a)),t.callbackNode=e}}}function rX(t,e){if(rB=0,e)return ib(t,e=rG()),rH(t),null;var n=rY(t);if(0!==n){if(e=t.callbackNode,(48&ry)!=0)throw Error(p(327));if(r6(),t===rm&&n===rx||rK(t,n),null!==rb){var r=ry;ry|=16;for(var i=rQ();;)try{(function(){for(;null!==rb&&!t9();)rb=r1(rb)})();break}catch(e){r$(t,e)}if(e_(),ry=r,rg.current=i,1===r_)throw e=rO,rK(t,n),iy(t,n),rH(t),e;if(null===rb)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=n,rm=null,r=r_){case 0:case 1:throw Error(p(345));case 2:ib(t,2=n){t.lastPingedTime=n,rK(t,n);break}}if(0!==(a=rY(t))&&a!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}t.timeoutHandle=Z(r5.bind(null,t),i);break}r5(t);break;case 4:if(iy(t,n),r=t.lastSuspendedTime,n===r&&(t.nextKnownPendingLevel=r3(i)),rw&&(0===(i=t.lastPingedTime)||i>=n)){t.lastPingedTime=n,rK(t,n);break}if(0!==(i=rY(t))&&i!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}if(1073741823!==rM?r=10*(1073741821-rM)-ea():1073741823===rP?r=0:(r=10*(1073741821-rP)-5e3,n=10*(1073741821-n)-(i=ea()),0>(r=i-r)&&(r=0),n<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*rh(r/1960))-r)&&(r=n)),10=(r=0|o.busyMinDurationMs)?r=0:(i=0|o.busyDelayMs,r=(a=ea()-(10*(1073741821-a)-(0|o.timeoutMs||5e3)))<=i?0:i+r-a),10 component higher in the tree to provide a loading indicator or placeholder to display."+tD(o))}5!==r_&&(r_=2),s=n7(s,o),d=a;do{switch(d.tag){case 3:u=s,d.effectTag|=4096,d.expirationTime=n;var x=rd(d,u,n);ej(d,x);break e;case 1:u=s;var _=d.type,O=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof _.getDerivedStateFromError||null!==O&&"function"==typeof O.componentDidCatch&&(null===rj||!rj.has(O)))){d.effectTag|=4096,d.expirationTime=n;var P=rp(d,u,n);ej(d,P);break e}}d=d.return}while(null!==d)}rb=r2(rb)}catch(t){n=t;continue}break}}function rQ(){var t=rg.current;return rg.current=nE,null===t?nE:t}function rJ(t,e){trS&&(rS=t)}function r1(t){var e=u(t.alternate,t,rx);return t.memoizedProps=t.pendingProps,null===e&&(e=r2(t)),rv.current=null,e}function r2(t){rb=t;do{var e=rb.alternate;if(t=rb.return,0==(2048&rb.effectTag)){if(e=function(t,e,n){var r=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return tH(e.type)&&tX(),null;case 3:return e1(),tN(tz),tN(tV),(r=e.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===t||null===t.child)&&nB(e)&&n5(e),o(e),null;case 5:e3(e);var i=eJ(eQ.current);if(n=e.type,null!==t&&null!=e.stateNode)s(t,e,n,r,i),t.ref!==e.ref&&(e.effectTag|=128);else{if(!r){if(null===e.stateNode)throw Error(p(166));return null}if(t=eJ(eK.current),nB(e)){if(!te)throw Error(p(175));t=tC(e.stateNode,e.type,e.memoizedProps,i,t,e),e.updateQueue=t,null!==t&&n5(e)}else{var u=z(n,r,i,t,e);a(u,e,!1,!1),e.stateNode=u,Y(u,n,r,i,t)&&n5(e)}null!==e.ref&&(e.effectTag|=128)}return null;case 6:if(t&&null!=e.stateNode)l(t,e,t.memoizedProps,r);else{if("string"!=typeof r&&null===e.stateNode)throw Error(p(166));if(t=eJ(eQ.current),i=eJ(eK.current),nB(e)){if(!te)throw Error(p(176));tT(e.stateNode,e.memoizedProps,e)&&n5(e)}else e.stateNode=q(r,t,i,e)}return null;case 13:if(tN(e5),r=e.memoizedState,0!=(64&e.effectTag))return e.expirationTime=n,e;return r=null!==r,i=!1,null===t?void 0!==e.memoizedProps.fallback&&nB(e):(i=null!==(n=t.memoizedState),r||null===n||null!==(n=t.child.sibling)&&(null!==(u=e.firstEffect)?(e.firstEffect=n,n.nextEffect=u):(e.firstEffect=e.lastEffect=n,n.nextEffect=null),n.effectTag=8)),r&&!i&&0!=(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!=(1&e5.current)?0===r_&&(r_=3):((0===r_||3===r_)&&(r_=4),0!==rS&&null!==rm&&(iy(rm,rx),im(rm,rS)))),tt&&r&&(e.effectTag|=4),J&&(r||i)&&(e.effectTag|=4),null;case 4:return e1(),o(e),null;case 10:return eP(e),null;case 19:if(tN(e5),null===(r=e.memoizedState))return null;if(i=0!=(64&e.effectTag),null===(u=r.rendering)){if(i)n6(r,!1);else if(0!==r_||null!==t&&0!=(64&t.effectTag))for(t=e.child;null!==t;){if(null!==(u=e4(t))){for(e.effectTag|=64,n6(r,!1),null!==(t=u.updateQueue)&&(e.updateQueue=t,e.effectTag|=4),null===r.lastEffect&&(e.firstEffect=null),e.lastEffect=r.lastEffect,t=n,r=e.child;null!==r;)i=r,n=t,i.effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(u=i.alternate)?(i.childExpirationTime=0,i.expirationTime=n,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=u.childExpirationTime,i.expirationTime=u.expirationTime,i.child=u.child,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,n=u.dependencies,i.dependencies=null===n?null:{expirationTime:n.expirationTime,firstContext:n.firstContext,responders:n.responders}),r=r.sibling;return tB(e5,1&e5.current|2),e.child}t=t.sibling}}else{if(!i){if(null!==(t=e4(u))){if(e.effectTag|=64,i=!0,null!==(t=t.updateQueue)&&(e.updateQueue=t,e.effectTag|=4),n6(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate)return null!==(e=e.lastEffect=r.lastEffect)&&(e.nextEffect=null),null}else 2*ea()-r.renderingStartTime>r.tailExpiration&&1n&&(n=i),u>n&&(n=u),r=r.sibling}rb.childExpirationTime=n}if(null!==e)return e;null!==t&&0==(2048&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=rb.firstEffect),null!==rb.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=rb.firstEffect),t.lastEffect=rb.lastEffect),1(t=t.childExpirationTime)?e:t}function r5(t){return el(99,r4.bind(null,t,eo())),null}function r4(t,e){do r6();while(null!==rL);if((48&ry)!=0)throw Error(p(327));var n=t.finishedWork,r=t.finishedExpirationTime;if(null===n)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,n===t.current)throw Error(p(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=r3(n);if(t.firstPendingTime=i,r<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:r<=t.firstSuspendedTime&&(t.firstSuspendedTime=r-1),r<=t.lastPingedTime&&(t.lastPingedTime=0),r<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===rm&&(rb=rm=null,rx=0),1=r)return nJ(t,n,r);return tB(e5,1&e5.current),null!==(n=n3(t,n,r))?n.sibling:null}tB(e5,1&e5.current);break;case 19:if(i=n.childExpirationTime>=r,0!=(64&t.effectTag)){if(i)return n2(t,n,r);n.effectTag|=64}if(null!==(a=n.memoizedState)&&(a.rendering=null,a.tail=null),tB(e5,e5.current),!i)return null}return n3(t,n,r)}nz=!1}}else nz=!1;switch(n.expirationTime=0,n.tag){case 2:if(i=n.type,null!==t&&(t.alternate=null,n.alternate=null,n.effectTag|=2),t=n.pendingProps,a=tY(n,tV.current),eA(n,r),a=no(null,n,i,t,a,r),n.effectTag|=1,"object"===(0,e.default)(a)&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(n.tag=1,n.memoizedState=null,n.updateQueue=null,tH(i)){var o=!0;tZ(n)}else o=!1;n.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,eE(n);var s=i.getDerivedStateFromProps;"function"==typeof s&&eR(n,i,s,t),a.updater=eN,n.stateNode=a,a._reactInternalFiber=n,ez(n,i,t,r),n=nK(null,n,i,!0,o,r)}else n.tag=0,nW(null,n,a,r),n=n.child;return n;case 16:e:{if(a=n.elementType,null!==t&&(t.alternate=null,n.alternate=null,n.effectTag|=2),t=n.pendingProps,function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then(function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)},function(e){0===t._status&&(t._status=2,t._result=e)})}}(a),1!==a._status)throw a._result;switch(a=a._result,n.type=a,o=n.tag=function(t){if("function"==typeof t)return il(t)?1:0;if(null!=t){if((t=t.$$typeof)===M)return 11;if(t===w)return 14}return 2}(a),t=ev(a,t),o){case 0:n=nq(null,n,a,t,r);break e;case 1:n=nZ(null,n,a,t,r);break e;case 11:n=nY(null,n,a,t,r);break e;case 14:n=nH(null,n,a,ev(a.type,t),i,r);break e}throw Error(p(306,a,""))}return n;case 0:return i=n.type,a=n.pendingProps,a=n.elementType===i?a:ev(i,a),nq(t,n,i,a,r);case 1:return i=n.type,a=n.pendingProps,a=n.elementType===i?a:ev(i,a),nZ(t,n,i,a,r);case 3:if(n$(n),i=n.updateQueue,null===t||null===i)throw Error(p(282));if(i=n.pendingProps,a=null!==(a=n.memoizedState)?a.element:null,eC(t,n),eF(n,i,null,r),(i=n.memoizedState.element)===a)nG(),n=n3(t,n,r);else{if((a=n.stateNode.hydrate)&&(te?(nF=tE(n.stateNode.containerInfo),nj=n,a=nL=!0):a=!1),a)for(r=eq(n,null,i,r),n.child=r;r;)r.effectTag=-3&r.effectTag|1024,r=r.sibling;else nW(t,n,i,r),nG();n=n.child}return n;case 5:return e2(n),null===t&&nR(n),i=n.type,a=n.pendingProps,o=null!==t?t.memoizedProps:null,s=a.children,X(i,a)?s=null:null!==o&&X(i,o)&&(n.effectTag|=16),nU(t,n),4&n.mode&&1!==r&&U(i,a)?(n.expirationTime=n.childExpirationTime=1,n=null):(nW(t,n,s,r),n=n.child),n;case 6:return null===t&&nR(n),null;case 13:return nJ(t,n,r);case 4:return e0(n,n.stateNode.containerInfo),i=n.pendingProps,null===t?n.child=eU(n,null,i,r):nW(t,n,i,r),n.child;case 11:return i=n.type,a=n.pendingProps,a=n.elementType===i?a:ev(i,a),nY(t,n,i,a,r);case 7:return nW(t,n,n.pendingProps,r),n.child;case 8:case 12:return nW(t,n,n.pendingProps.children,r),n.child;case 10:e:{if(i=n.type._context,a=n.pendingProps,s=n.memoizedProps,o=a.value,eO(n,o),null!==s){var l=s.value;if(0==(o=ep(l,o)?0:("function"==typeof i._calculateChangedBits?i._calculateChangedBits(l,o):1073741823)|0)){if(s.children===a.children&&!tz.current){n=n3(t,n,r);break e}}else for(null!==(l=n.child)&&(l.return=n);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===i&&0!=(c.observedBits&o)){1===l.tag&&((c=eT(r,null)).tag=2,eI(l,c)),l.expirationTime=e&&t<=e}function iy(t,e){var n=t.firstSuspendedTime,r=t.lastSuspendedTime;ne||0===n)&&(t.lastSuspendedTime=e),e<=t.lastPingedTime&&(t.lastPingedTime=0),e<=t.lastExpiredTime&&(t.lastExpiredTime=0)}function im(t,e){e>t.firstPendingTime&&(t.firstPendingTime=e);var n=t.firstSuspendedTime;0!==n&&(e>=n?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:e>=t.lastSuspendedTime&&(t.lastSuspendedTime=e+1),e>t.nextKnownPendingLevel&&(t.nextKnownPendingLevel=e))}function ib(t,e){var n=t.lastExpiredTime;(0===n||n>e)&&(t.lastExpiredTime=e)}var ix=null;function i_(t){var e=t._reactInternalFiber;if(void 0===e){if("function"==typeof t.render)throw Error(p(188));throw Error(p(268,Object.keys(t)))}return null===(t=k(e))?null:t.stateNode}function iO(t,e){null!==(t=t.memoizedState)&&null!==t.dehydrated&&t.retryTime=P},s=function(){},e.unstable_forceFrameRate=function(t){0>t||125>>1,i=t[r];if(void 0!==i&&0C(o,n))void 0!==l&&0>C(l,o)?(t[r]=l,t[s]=n,r=s):(t[r]=o,t[a]=n,r=a);else if(void 0!==l&&0>C(l,n))t[r]=l,t[s]=n,r=s;else break}}return e}return null}function C(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var T=[],I=[],j=1,F=null,L=3,D=!1,k=!1,R=!1;function N(t){for(var e=w(I);null!==e;){if(null===e.callback)E(I);else if(e.startTime<=t)E(I),e.sortIndex=e.expirationTime,S(T,e);else break;e=w(I)}}function B(t){if(R=!1,N(t),!k){if(null!==w(T))k=!0,r(G);else{var e=w(I);null!==e&&i(B,e.startTime-t)}}}function G(t,n){k=!1,R&&(R=!1,a()),D=!0;var r=L;try{for(N(n),F=w(T);null!==F&&(!(F.expirationTime>n)||t&&!o());){var s=F.callback;if(null!==s){F.callback=null,L=F.priorityLevel;var l=s(F.expirationTime<=n);n=e.unstable_now(),"function"==typeof l?F.callback=l:F===w(T)&&E(T),N(n)}else E(T);F=w(T)}if(null!==F)var u=!0;else{var c=w(I);null!==c&&i(B,c.startTime-n),u=!1}return u}finally{F=null,L=r,D=!1}}function V(t){switch(t){case 1:return -1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=s;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){k||D||(k=!0,r(G))},e.unstable_getCurrentPriorityLevel=function(){return L},e.unstable_getFirstCallbackNode=function(){return w(T)},e.unstable_next=function(t){switch(L){case 1:case 2:case 3:var e=3;break;default:e=L}var n=L;L=e;try{return t()}finally{L=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=z,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=L;L=t;try{return e()}finally{L=n}},e.unstable_scheduleCallback=function(t,n,o){var s=e.unstable_now();if("object"===(0,l.default)(o)&&null!==o){var u=o.delay;u="number"==typeof u&&0s?(t.sortIndex=u,S(I,t),null===w(T)&&t===w(I)&&(R?a():R=!0,i(B,u-s))):(t.sortIndex=o,S(T,t),k||D||(k=!0,r(G))),t},e.unstable_shouldYield=function(){var t=e.unstable_now();N(t);var n=w(T);return n!==F&&null!==F&&null!==n&&null!==n.callback&&n.startTime<=t&&n.expirationTimel(a.observationTargets,e)&&(u&&o.resizeObservers.push(a),a.observationTargets.push(new i.ResizeObservation(e,n&&n.box)),(0,r.updateCount)(1),r.scheduler.schedule())},t.unobserve=function(t,e){var n=s.get(t),i=l(n.observationTargets,e),a=1===n.observationTargets.length;i>=0&&(a&&o.resizeObservers.splice(o.resizeObservers.indexOf(n),1),n.observationTargets.splice(i,1),(0,r.updateCount)(-1))},t.disconnect=function(t){var e=this,n=s.get(t);n.observationTargets.slice().forEach(function(n){return e.unobserve(t,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},t}();e.ResizeObserverController=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.updateCount=e.scheduler=void 0;var r=n(1042),i=n(486),a=n(1049),o=0,s={attributes:!0,characterData:!0,childList:!0,subtree:!0},l=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],u=function(t){return void 0===t&&(t=0),Date.now()+t},c=!1,f=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!c){c=!0;var n=u(t);(0,a.queueResizeObserver)(function(){var i=!1;try{i=(0,r.process)()}finally{if(c=!1,t=n-u(),!o)return;i?e.run(1e3):t>0?e.run(t):e.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,s)};document.body?e():i.global.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),l.forEach(function(e){return i.global.addEventListener(e,t.listener,!0)}))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),l.forEach(function(e){return i.global.removeEventListener(e,t.listener,!0)}),this.stopped=!0)},t}());e.scheduler=f,e.updateCount=function(t){!o&&t>0&&f.start(),(o+=t)||f.stop()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.process=void 0;var r=n(1043),i=n(1044),a=n(1045),o=n(1046),s=n(1048);e.process=function(){var t=0;for((0,s.gatherActiveObservationsAtDepth)(t);(0,r.hasActiveObservations)();)t=(0,o.broadcastActiveObservations)(),(0,s.gatherActiveObservationsAtDepth)(t);return(0,i.hasSkippedObservations)()&&(0,a.deliverResizeLoopError)(),t>0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasActiveObservations=void 0;var r=n(152);e.hasActiveObservations=function(){return r.resizeObservers.some(function(t){return t.activeTargets.length>0})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasSkippedObservations=void 0;var r=n(152);e.hasSkippedObservations=function(){return r.resizeObservers.some(function(t){return t.skippedTargets.length>0})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.deliverResizeLoopError=void 0;var r="ResizeObserver loop completed with undelivered notifications.";e.deliverResizeLoopError=function(){var t;"function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:r}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=r),window.dispatchEvent(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.broadcastActiveObservations=void 0;var r=n(152),i=n(483),a=n(487),o=n(289);e.broadcastActiveObservations=function(){var t=1/0,e=[];r.resizeObservers.forEach(function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach(function(e){var n=new i.ResizeObserverEntry(e.target),s=(0,a.calculateDepthForNode)(e.target);r.push(n),e.lastReportedSize=(0,o.calculateBoxSize)(e.target,e.observedBox),st?e.activeTargets.push(n):e.skippedTargets.push(n))})})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.queueResizeObserver=void 0;var r=n(1050);e.queueResizeObserver=function(t){(0,r.queueMicroTask)(function(){requestAnimationFrame(t)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.queueMicroTask=void 0;var r,i=[];e.queueMicroTask=function(t){if(!r){var e=0,n=document.createTextNode("");new MutationObserver(function(){return i.splice(0).forEach(function(t){return t()})}).observe(n,{characterData:!0}),r=function(){n.textContent="".concat(e?e--:e++)}}i.push(t),r()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizeObservation=void 0;var r=n(484),i=n(289),a=n(192),o=function(){function t(t,e){this.target=t,this.observedBox=e||r.ResizeObserverBoxOptions.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=(0,i.calculateBoxSize)(this.target,this.observedBox,!0);return t=this.target,(0,a.isSVG)(t)||(0,a.isReplacedElement)(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}();e.ResizeObservation=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizeObserverDetail=void 0,e.ResizeObserverDetail=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(488),i=n(117);e.default=function(t){if(!r.default(t)||!i.default(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(117);e.default=function(t){return r.default(t,"Number")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flow=void 0,e.flow=function(){for(var t=[],e=0;e=r.get(e,["views","length"],0)?i(e):r.reduce(e.views,function(e,n){return e.concat(t(n))},i(e))},e.getAllGeometriesRecursively=function(t){return 0>=r.get(t,["views","length"],0)?t.geometries:r.reduce(t.views,function(t,e){return t.concat(e.geometries)},t.geometries)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformLabel=void 0;var r=n(1),i=n(0);e.transformLabel=function(t){if(!i.isType(t,"Object"))return t;var e=r.__assign({},t);return e.formatter&&!e.content&&(e.content=e.formatter),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSplinePath=e.catmullRom2bezier=e.smoothBezier=e.points2Path=void 0;var r=n(32);function i(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var r=1,i=t.length;r
      ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}},e.DEFAULT_OPTIONS={appendPadding:2,tooltip:r.__assign({},e.DEFAULT_TOOLTIP_OPTIONS),animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(1),i=n(154);e.DEFAULT_OPTIONS={appendPadding:2,tooltip:r.__assign({},i.DEFAULT_TOOLTIP_OPTIONS),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(15),i=n(34),a=n(43),o=n(296);Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return o.meta}});var s=n(118),l=n(154);function u(t){var e=t.chart,n=t.options,i=n.data,o=n.color,u=n.lineStyle,c=n.point,f=null==c?void 0:c.state,d=s.getTinyData(i);e.data(d);var p=r.deepAssign({},t,{options:{xField:l.X_FIELD,yField:l.Y_FIELD,line:{color:o,style:u},point:c}}),h=r.deepAssign({},p,{options:{tooltip:!1,state:f}});return a.line(p),a.point(h),e.axis(!1),e.legend(!1),t}e.adaptor=function(t){return r.flow(u,o.meta,i.theme,i.tooltip,i.animation,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left"},isStack:!1})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(1089);r.registerAction("marker-active",i.MarkerActiveAction),r.registerInteraction("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}],end:[{trigger:"tooltip:hide",action:"marker-active:reset"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerActiveAction=void 0;var r=n(1),i=n(0),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.active=function(){var t=this.getView(),e=this.context.event;if(e.data){var n=e.data.items,r=t.geometries.filter(function(t){return"point"===t.type});i.each(r,function(t){i.each(t.elements,function(t){var e=-1!==i.findIndex(n,function(e){return e.data===t.data});t.setState("active",e)})})}},e.prototype.reset=function(){var t=this.getView().geometries.filter(function(t){return"point"===t.type});i.each(t,function(t){i.each(t.elements,function(t){t.setState("active",!1)})})},e.prototype.getView=function(){return this.context.view},e}(n(14).InteractionAction);e.MarkerActiveAction=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.interaction=void 0;var r=n(1),i=n(0),a=n(510),o=n(34),s=n(153),l=n(15),u=n(293),c=n(513);function f(t){var e=t.options.colorField;return l.deepAssign({options:{rawFields:["value"],tooltip:{fields:["name","value",e,"path"],formatter:function(t){return{name:t.name,value:t.value}}}}},t)}function d(t){var e=t.chart,n=t.options,r=n.color,i=n.colorField,o=n.rectStyle,s=n.hierarchyConfig,u=n.rawFields,f=c.transformData({data:n.data,colorField:n.colorField,enableDrillDown:c.enableDrillInteraction(n),hierarchyConfig:s});return e.data(f),a.polygon(l.deepAssign({},t,{options:{xField:"x",yField:"y",seriesField:i,rawFields:u,polygon:{color:r,style:o}}})),e.coordinate().reflect("y"),t}function p(t){return t.chart.axis(!1),t}function h(t){var e,n,a=t.chart,s=t.options,f=s.interactions,d=s.drilldown;o.interaction({chart:a,options:(e=s.drilldown,n=s.interactions,c.enableDrillInteraction(s)?l.deepAssign({},s,{interactions:r.__spreadArrays(void 0===n?[]:n,[{type:"drill-down",cfg:{drillDownConfig:e,transformData:c.transformData}}])}):s)});var p=c.findInteraction(f,"view-zoom");return p&&(!1!==p.enable?a.getCanvas().on("mousewheel",function(t){t.preventDefault()}):a.getCanvas().off("mousewheel")),c.enableDrillInteraction(s)&&(a.appendPadding=u.getAdjustAppendPadding(a.appendPadding,i.get(d,["breadCrumb","position"]))),t}e.interaction=h,e.adaptor=function(t){return l.flow(f,o.theme,s.pattern("rectStyle"),d,p,o.legend,o.tooltip,h,o.animation,o.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.treemap=e.getTileMethod=void 0;var r=n(1).__importStar(n(193)),i=n(0),a=n(1116),o={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(t,e){return e.value-t.value},ratio:.5*(1+Math.sqrt(5))};function s(t,e){return"treemapSquarify"===t?r[t].ratio(e):r[t]}e.getTileMethod=s,e.treemap=function(t,e){var n,l=(e=i.assign({},o,e)).as;if(!i.isArray(l)||2!==l.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=a.getField(e)}catch(t){console.warn(t)}var u=s(e.tile,e.ratio),c=r.treemap().tile(u).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(r.hierarchy(t).sum(function(t){return e.ignoreParentValue&&t.children?0:t[n]}).sort(e.sort)),f=l[0],d=l[1];return c.each(function(t){t[f]=[t.x0,t.x1,t.x1,t.x0],t[d]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(e){-1===l.indexOf(e)&&delete t[e]})}),a.getAllNodes(c)}},function(t,e,n){"use strict";function r(t,e){return t.parent===e.parent?1:2}function i(t,e){return t+e.x}function a(t,e){return Math.max(t,e.y)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=r,e=1,n=1,o=!1;function s(r){var s,l=0;r.eachAfter(function(e){var n=e.children;n?(e.x=n.reduce(i,0)/n.length,e.y=1+n.reduce(a,0)):(e.x=s?l+=t(e,s):0,e.y=0,s=e)});var u=function(t){for(var e;e=t.children;)t=e[0];return t}(r),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(r),f=u.x-t(u,c)/2,d=c.x+t(c,u)/2;return r.eachAfter(o?function(t){t.x=(t.x-r.x)*e,t.y=(r.y-t.y)*n}:function(t){t.x=(t.x-f)/(d-f)*e,t.y=(1-(r.y?t.y/r.y:1))*n})}return s.separation=function(e){return arguments.length?(t=e,s):t},s.size=function(t){return arguments.length?(o=!1,e=+t[0],n=+t[1],s):o?null:[e,n]},s.nodeSize=function(t){return arguments.length?(o=!0,e=+t[0],n=+t[1],s):o?[e,n]:null},s}},function(t,e,n){"use strict";function r(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return this.eachAfter(r)}},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}(this);try{for(a.s();!(n=a.n()).done;){var o=n.value;t.call(e,o,++i,this)}}catch(t){a.e(t)}finally{a.f()}return this}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var n,r,i=this,a=[i],o=-1;i=a.pop();)if(t.call(e,i,++o,this),n=i.children)for(r=n.length-1;r>=0;--r)a.push(n[r]);return this}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var n,r,i,a=this,o=[a],s=[],l=-1;a=o.pop();)if(s.push(a),n=a.children)for(r=0,i=n.length;rt.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}(this);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(t.call(e,o,++i,this))return o}}catch(t){a.e(t)}finally{a.f()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return Array.from(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=r(n(1106)),a=i.default.mark(o);function o(){var t,e,n,r,o,s;return i.default.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:t=this,n=[t];case 1:e=n.reverse(),n=[];case 2:if(!(t=e.pop())){i.next=8;break}return i.next=5,t;case 5:if(r=t.children)for(o=0,s=r.length;o=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(s&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;M(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=null,e=1,n=1,r=o.constantZero;function i(i){return i.x=e/2,i.y=n/2,t?i.eachBefore(u(t)).eachAfter(c(r,.5)).eachBefore(f(1)):i.eachBefore(u(l)).eachAfter(c(o.constantZero,1)).eachAfter(c(r,i.r/Math.min(e,n))).eachBefore(f(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=(0,a.optional)(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:(0,o.default)(+t),i):r},i};var i=n(515),a=n(298),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(518));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}function l(t){return Math.sqrt(t.value)}function u(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function c(t,e){return function(n){if(r=n.children){var r,a,o,s=r.length,l=t(n)*e||0;if(l)for(a=0;a0)throw Error("cycle");return l}return n.id=function(e){return arguments.length?(t=(0,r.required)(e),n):t},n.parentId=function(t){return arguments.length?(e=(0,r.required)(t),n):e},n};var r=n(298),i=n(297),a={depth:-1},o={};function s(t){return t.id}function l(t){return t.parentId}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=i,e=1,n=1,r=null;function l(i){var a=function(t){for(var e,n,r,i,a,o=new s(t,0),l=[o];e=l.pop();)if(r=e._.children)for(e.children=Array(a=r.length),i=a-1;i>=0;--i)l.push(n=e.children[i]=new s(r[i],i)),n.parent=e;return(o.parent=new s(null,0)).children=[o],o}(i);if(a.eachAfter(u),a.parent.m=-a.z,a.eachBefore(c),r)i.eachBefore(f);else{var o=i,l=i,d=i;i.eachBefore(function(t){t.xl.x&&(l=t),t.depth>d.depth&&(d=t)});var p=o===l?1:t(o,l)/2,h=p-o.x,g=e/(l.x+p+h),v=n/(d.depth||1);i.eachBefore(function(t){t.x=(t.x+h)*g,t.y=t.depth*v})}return i}function u(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,a=i.length;--a>=0;)e=i[a],e.z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var s=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-s):e.z=s}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,s,l,u=e,c=e,f=n,d=u.parent.children[0],p=u.m,h=c.m,g=f.m,v=d.m;f=o(f),u=a(u),f&&u;)d=a(d),(c=o(c)).a=e,(l=f.z+g-u.z-p+t(f._,u._))>0&&(function(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}((i=f,s=r,i.a.parent===e.parent?i.a:s),e,l),p+=l,h+=l),g+=f.m,p+=u.m,v+=d.m,h+=c.m;f&&!o(c)&&(c.t=f,c.m+=g-h),u&&!a(d)&&(d.t=u,d.m+=p-v,r=e)}return r}(e,i,e.parent.A||r[0])}function c(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function f(t){t.x*=e,t.y=t.depth*n}return l.separation=function(e){return arguments.length?(t=e,l):t},l.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],l):r?null:[e,n]},l.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],l):r?[e,n]:null},l};var r=n(297);function i(t,e){return t.parent===e.parent?1:2}function a(t){var e=t.children;return e?e[0]:t.t}function o(t){var e=t.children;return e?e[e.length-1]:t.t}function s(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}s.prototype=Object.create(r.Node.prototype)},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=o.default,e=!1,n=1,r=1,i=[0],u=l.constantZero,c=l.constantZero,f=l.constantZero,d=l.constantZero,p=l.constantZero;function h(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(g),i=[0],e&&t.eachBefore(a.default),t}function g(e){var n=i[e.depth],r=e.x0+n,a=e.y0+n,o=e.x1-n,s=e.y1-n;o=n-1){var c=s[e];c.x0=i,c.y0=a,c.x1=o,c.y1=l;return}for(var f=u[e],d=r/2+f,p=e+1,h=n-1;p>>1;u[g]l-a){var m=r?(i*y+o*v)/r:o;t(e,p,v,i,a,m,l),t(p,n,y,m,a,o,l)}else{var b=r?(a*y+l*v)/r:l;t(e,p,v,i,a,o,b),t(p,n,y,i,b,o,l)}})(0,l,t.value,e,n,r,i)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,o){(1&t.depth?a.default:i.default)(t,e,n,r,o)};var i=r(n(155)),a=r(n(194))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(155)),a=r(n(194)),o=n(299),s=function t(e){function n(t,n,r,s,l){if((u=t._squarify)&&u.ratio===e)for(var u,c,f,d,p,h=-1,g=u.length,v=t.value;++h1?e:1)},n}(o.phi);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAllNodes=e.getField=e.NODE_ANCESTORS_FIELD=e.CHILD_NODE_COUNT=e.NODE_INDEX_FIELD=void 0;var r=n(0);e.NODE_INDEX_FIELD="nodeIndex",e.CHILD_NODE_COUNT="childNodeCount",e.NODE_ANCESTORS_FIELD="nodeAncestor";var i="Invalid field: it must be a string!";e.getField=function(t,e){var n=t.field,a=t.fields;if(r.isString(n))return n;if(r.isArray(n))return console.warn(i),n[0];if(console.warn(i+" will try to get fields instead."),r.isString(a))return a;if(r.isArray(a)&&a.length)return a[0];if(e)return e;throw TypeError(i)},e.getAllNodes=function(t){var n,i,a=[];return t&&t.each?t.each(function(t){t.parent!==n?(n=t.parent,i=0):i+=1;var o,s,l=r.filter(((null===(o=t.ancestors)||void 0===o?void 0:o.call(t))||[]).map(function(t){return a.find(function(e){return e.name===t.name})||t}),function(e){var n=e.depth;return n>0&&n0}function s(t){var e=t.view.getCoordinate(),n=e.innerRadius;if(n){var r=t.event,i=r.x,a=r.y,o=e.center;return Math.sqrt(Math.pow(o.x-i,2)+Math.pow(o.y-a,2))0){var n;(function(t,e,n){var i,a=t.view,o=t.geometry,s=t.group,u=t.options,c=t.horizontal,f=u.offset,d=u.size,p=u.arrow,h=a.getCoordinate(),g=l(h,e)[c?3:0],v=l(h,n)[c?0:3],y=v.y-g.y,m=v.x-g.x;if("boolean"!=typeof p){var b=p.headSize,x=u.spacing;c?(m-b)/2_){var P=Math.max(1,Math.ceil(_/(O/y.length))-1),M=y.slice(0,P)+"...";x.attr("text",M)}}}}(h,n,t)}})}})),u}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.connectedArea=void 0;var r=n(14),i={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"},a=function(t,e){return"hover"===t?[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"],arg:[null,{style:e}]}]:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"],arg:[null,null,null,null,{style:e}]}]};r.registerInteraction(i.hover,{start:a(i.hover),end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),r.registerInteraction(i.click,{start:a(i.click),end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]}),e.connectedArea=function(t){return void 0===t&&(t=!1),function(e){var n=e.chart,r=e.options.connectedArea,o=function(){n.removeInteraction(i.hover),n.removeInteraction(i.click)};if(!t&&r){var s=r.trigger||"hover";o(),n.interaction(i[s],{start:a(s,r.style)})}else o();return e}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonAction=e.BUTTON_ACTION_CONFIG=void 0;var r=n(1),i=n(14),a=n(0),o=n(15);e.BUTTON_ACTION_CONFIG={padding:[8,10],text:"reset",textStyle:{default:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"}},buttonStyle:{default:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},active:{fill:"#e6e6e6"}}};var s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.buttonGroup=null,n.buttonCfg=r.__assign({name:"button"},e.BUTTON_ACTION_CONFIG),n}return r.__extends(n,t),n.prototype.getButtonCfg=function(){var t=this.context.view,e=a.get(t,["interactions","filter-action","cfg","buttonConfig"]);return o.deepAssign(this.buttonCfg,e,this.cfg)},n.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=this.drawText(e);this.drawBackground(e,n.getBBox()),this.buttonGroup=e},n.prototype.drawText=function(t){var e,n=this.getButtonCfg();return t.addShape({type:"text",name:"button-text",attrs:r.__assign({text:n.text},null===(e=n.textStyle)||void 0===e?void 0:e.default)})},n.prototype.drawBackground=function(t,e){var n,i=this.getButtonCfg(),a=o.normalPadding(i.padding),s=t.addShape({type:"rect",name:"button-rect",attrs:r.__assign({x:e.x-a[3],y:e.y-a[0],width:e.width+a[1]+a[3],height:e.height+a[0]+a[2]},null===(n=i.buttonStyle)||void 0===n?void 0:n.default)});return s.toBack(),t.on("mouseenter",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.active)}),t.on("mouseleave",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.default)}),s},n.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),r=i.Util.transform(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(r)},n.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},n.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},n.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},n}(i.Action);e.ButtonAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(15),u=n(119),c=n(512);function f(t){var e=t.chart,n=t.options,i=n.data,a=n.areaStyle,o=n.color,c=n.point,f=n.line,d=n.isPercent,p=n.xField,h=n.yField,g=n.tooltip,v=n.seriesField,y=n.startOnZero,m=null==c?void 0:c.state,b=u.getDataWhetherPecentage(i,h,p,h,d);e.data(b);var x=d?r.__assign({formatter:function(t){return{name:t[v]||t[p],value:(100*Number(t[h])).toFixed(2)+"%"}}},g):g,_=l.deepAssign({},t,{options:{area:{color:o,style:a},line:f&&r.__assign({color:o},f),point:c&&r.__assign({color:o},c),tooltip:x,label:void 0,args:{startOnZero:y}}}),O=l.deepAssign({options:{line:{size:2}}},_,{options:{sizeField:v,tooltip:!1}}),P=l.deepAssign({},_,{options:{tooltip:!1,state:m}});return s.area(_),s.line(O),s.point(P),t}function d(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=o.findGeometry(e,"area");if(i){var u=i.callback,c=r.__rest(i,["callback"]);s.label({fields:[a],callback:u,cfg:r.__assign({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},l.transformLabel(c))})}else s.label(!1);return t}function p(t){var e=t.chart,n=t.options,r=n.isStack,a=n.isPercent,o=n.seriesField;return(a||r)&&o&&i.each(e.geometries,function(t){t.adjust("stack")}),t}Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return c.meta}}),e.adaptor=function(t){return l.flow(a.theme,a.pattern("areaStyle"),f,c.meta,p,c.axis,c.legend,a.tooltip,d,a.slider,a.annotation(),a.interaction,a.animation,a.limitInPlot)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},isStack:!0,line:{},legend:{position:"top-left"}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.interaction=e.pieAnnotation=e.transformStatisticOptions=void 0;var r=n(1),i=n(0),a=n(34),o=n(59),s=n(43),l=n(153),u=n(131),c=n(15),f=n(525),d=n(526),p=n(527);function h(t){var e=t.chart,n=t.options,i=n.data,a=n.angleField,o=n.colorField,l=n.color,u=n.pieStyle,f=c.processIllegalData(i,a);if(d.isAllZero(f,a)){var p="$$percentage$$";f=f.map(function(t){var e;return r.__assign(r.__assign({},t),((e={})[p]=1/f.length,e))}),e.data(f);var h=c.deepAssign({},t,{options:{xField:"1",yField:p,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});s.interval(h)}else{e.data(f);var h=c.deepAssign({},t,{options:{xField:"1",yField:a,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});s.interval(h)}return t}function g(t){var e,n=t.chart,r=t.options,i=r.meta,a=r.colorField,o=c.deepAssign({},i);return n.scale(o,((e={})[a]={type:"cat"},e)),t}function v(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"theta",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function y(t){var e=t.chart,n=t.options,a=n.label,o=n.colorField,s=n.angleField,l=e.geometries[0];if(a){var u=a.callback,f=r.__rest(a,["callback"]),p=c.transformLabel(f);if(p.content){var h=p.content;p.content=function(t,n,a){var l=t[o],u=t[s],f=e.getScaleByField(s),d=null==f?void 0:f.scale(u);return i.isFunction(h)?h(r.__assign(r.__assign({},t),{percent:d}),n,a):i.isString(h)?c.template(h,{value:u,name:l,percentage:i.isNumber(d)&&!i.isNil(u)?(100*d).toFixed(2)+"%":null}):h}}var g=p.type?({inner:"",outer:"pie-outer",spider:"pie-spider"})[p.type]:"pie-outer",v=p.layout?i.isArray(p.layout)?p.layout:[p.layout]:[];p.layout=(g?[{type:g}]:[]).concat(v),l.label({fields:o?[s,o]:[s],callback:u,cfg:r.__assign(r.__assign({},p),{offset:d.adaptOffset(p.type,p.offset),type:"pie"})})}else l.label(!1);return t}function m(t){var e=t.innerRadius,n=t.statistic,r=t.angleField,a=t.colorField,o=t.meta,s=t.locale,l=u.getLocale(s);if(e&&n){var p=c.deepAssign({},f.DEFAULT_OPTIONS.statistic,n),h=p.title,g=p.content;return!1!==h&&(h=c.deepAssign({},{formatter:function(t){return t?t[a]:i.isNil(h.content)?l.get(["statistic","total"]):h.content}},h)),!1!==g&&(g=c.deepAssign({},{formatter:function(t,e){var n=t?t[r]:d.getTotalValue(e,r),a=i.get(o,[r,"formatter"])||function(t){return t};return t?a(n):i.isNil(g.content)?a(n):g.content}},g)),c.deepAssign({},{statistic:{title:h,content:g}},t)}return t}function b(t){var e=t.chart,n=m(t.options),r=n.innerRadius,i=n.statistic;return e.getController("annotation").clear(!0),c.flow(a.annotation())(t),r&&i&&c.renderStatistic(e,{statistic:i,plotType:"pie"}),t}function x(t){var e=t.chart,n=t.options,r=n.tooltip,a=n.colorField,s=n.angleField,l=n.data;if(!1===r)e.tooltip(r);else if(e.tooltip(c.deepAssign({},r,{shared:!1})),d.isAllZero(l,s)){var u=i.get(r,"fields"),f=i.get(r,"formatter");i.isEmpty(i.get(r,"fields"))&&(u=[a,s],f=f||function(t){return{name:t[a],value:i.toString(t[s])}}),e.geometries[0].tooltip(u.join("*"),o.getMappingFunction(u,f))}return t}function _(t){var e=t.chart,n=m(t.options),a=n.interactions,o=n.statistic,s=n.annotations;return i.each(a,function(t){var n,a;if(!1===t.enable)e.removeInteraction(t.type);else if("pie-statistic-active"===t.type){var l=[];(null===(n=t.cfg)||void 0===n?void 0:n.start)||(l=[{trigger:"element:mouseenter",action:p.PIE_STATISTIC+":change",arg:{statistic:o,annotations:s}}]),i.each(null===(a=t.cfg)||void 0===a?void 0:a.start,function(t){l.push(r.__assign(r.__assign({},t),{arg:{statistic:o,annotations:s}}))}),e.interaction(t.type,c.deepAssign({},t.cfg,{start:l}))}else e.interaction(t.type,t.cfg||{})}),t}e.transformStatisticOptions=m,e.pieAnnotation=b,e.interaction=_,e.adaptor=function(t){return c.flow(l.pattern("pieStyle"),h,g,a.theme,v,a.legend,x,y,a.state,b,_,a.animation)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieLegendAction=void 0;var r=n(1),i=n(14),a=n(0),o=n(528),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getActiveElements=function(){var t=i.Util.getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,a=n.get("field");if(a)return e.geometries[0].elements.filter(function(t){return t.getModel().data[a]===r.value})}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements();return t.geometries[0].labelsContainer.getChildren().filter(function(t){return e.find(function(e){return a.isEqual(e.getData(),t.get("data"))})})},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach(function(e,r){var a=n[r],s=e.geometry.coordinate;if(s.isPolar&&s.isTransposed){var l=i.Util.getAngle(e.getModel(),s),u=(l.startAngle+l.endAngle)/2,c=t,f=c*Math.cos(u),d=c*Math.sin(u);e.shape.setMatrix(o.transform([["t",f,d]])),a.setMatrix(o.transform([["t",f,d]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(i.Action);e.PieLegendAction=s},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.StatisticAction=void 0;var i=n(1),a=n(14),o=n(0),s=n(503),l=n(1131),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.getAnnotations=function(t){return(t||this.context.view).getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",function(){var n=t.getAnnotations(e);t.initialAnnotation=n})},e.prototype.change=function(t){var e=this.context,n=e.view,i=e.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var u=o.get(i,["data","data"]);if(i.type.match("legend-item")){var c=a.Util.getDelegationObject(this.context),f=n.getGroupedFields()[0];if(c&&f){var d=c.item;u=n.getData().find(function(t){return t[f]===d.value})}}if(u){var p=o.get(t,"annotations",[]),h=o.get(t,"statistic",{});n.getController("annotation").clear(!0),o.each(p,function(t){"object"===(0,r.default)(t)&&n.annotation()[t.type](t)}),s.renderStatistic(n,{statistic:h,plotType:"pie"},u),n.render(!0)}var g=l.getCurrentElement(this.context);g&&g.shape.toFront()},e.prototype.reset=function(){var t=this.context.view;t.getController("annotation").clear(!0);var e=this.getInitialAnnotation();o.each(e,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(a.Action);e.StatisticAction=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentElement=void 0,e.getCurrentElement=function(t){var e,n=t.event.target;return n&&(e=n.get("element")),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(0),a=n(15),o=n(15),s=n(34),l=n(59),u=n(64);function c(t){var e=t.chart,n=t.options,r=n.data,o=n.type,s=n.xField,c=n.yField,f=n.colorField,d=n.sizeField,p=n.sizeRatio,h=n.shape,g=n.color,v=n.tooltip,y=n.heatmapStyle;e.data(r);var m="polygon";"density"===o&&(m="heatmap");var b=u.getTooltipMapping(v,[s,c,f]),x=b.fields,_=b.formatter,O=1;return(p||0===p)&&(h||d?p<0||p>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):O=p:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),l.geometry(a.deepAssign({},t,{options:{type:m,colorField:f,tooltipFields:x,shapeField:d||"",label:void 0,mapping:{tooltip:_,shape:h&&(d?function(t){var e=r.map(function(t){return t[d]}),n=Math.min.apply(Math,e),a=Math.max.apply(Math,e);return[h,(i.get(t,d)-n)/(a-n),O]}:function(){return[h,1,O]}),color:g||f&&e.getTheme().sequenceColors.join("-"),style:y}}})),t}function f(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,l=n.yField;return o.flow(s.scale(((e={})[a]=r,e[l]=i,e)))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function p(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,a=n.sizeField,o=n.sizeLegend,s=!1!==r;return i&&e.legend(i,!!s&&r),a&&e.legend(a,void 0===o?r:o),s||o||e.legend(!1),t}function h(t){var e=t.chart,n=t.options,i=n.label,s=n.colorField,l=n.type,u=a.findGeometry(e,"density"===l?"heatmap":"polygon");if(i){if(s){var c=i.callback,f=r.__rest(i,["callback"]);u.label({fields:[s],callback:c,cfg:o.transformLabel(f)})}}else u.label(!1);return t}function g(t){var e=t.chart,n=t.options,r=n.coordinate,i=n.reflect;return r&&e.coordinate({type:r.type||"rect",cfg:r.cfg}),i&&e.coordinate().reflect(i),t}e.adaptor=function(t){return o.flow(s.theme,s.pattern("heatmapStyle"),f,g,c,d,p,s.tooltip,h,s.annotation(),s.interaction,s.animation,s.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(14).registerShape("polygon","circle",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y))/2,u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("circle",{attrs:r.__assign(r.__assign(r.__assign({x:a,y:o,r:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(14).registerShape("polygon","square",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y)),u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("rect",{attrs:r.__assign(r.__assign(r.__assign({x:a-c/2,y:o-c/2,width:c,height:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.legend=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(529),u=n(530);function c(t){var e=t.chart,n=t.options,a=n.colorField,c=n.color,f=l.transform(t);e.data(f);var d=o.deepAssign({},t,{options:{xField:"x",yField:"y",seriesField:a&&u.WORD_CLOUD_COLOR_FIELD,rawFields:i.isFunction(c)&&r.__spreadArrays(i.get(n,"rawFields",[]),["datum"]),point:{color:c,shape:"word-cloud"}}});return s.point(d).ext.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function f(t){return o.flow(a.scale({x:{nice:!1},y:{nice:!1}}))(t)}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField;return!1===r?e.legend(!1):i&&e.legend(u.WORD_CLOUD_COLOR_FIELD,r),t}e.legend=d,e.adaptor=function(t){o.flow(c,f,a.tooltip,d,a.interaction,a.animation,a.theme,a.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.functor=e.transform=e.wordCloud=void 0;var r=n(0),i={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function a(t,e){var n,i,a,y,m,b,x,_,O,P,M,A=(n=[256,256],i=l,a=c,y=u,m=f,b=d,x=p,_=Math.random,O=[],P=1/0,(M={}).start=function(){var t,e,r,l=n[0],c=n[1],f=((t=document.createElement("canvas")).width=t.height=1,e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2),t.width=2048/e,t.height=2048/e,(r=t.getContext("2d")).fillStyle=r.strokeStyle="red",r.textAlign="center",{context:r,ratio:e}),d=M.board?M.board:h((n[0]>>5)*n[1]),p=O.length,g=[],v=O.map(function(t,e,n){return t.text=s.call(this,t,e,n),t.font=i.call(this,t,e,n),t.style=u.call(this,t,e,n),t.weight=y.call(this,t,e,n),t.rotate=m.call(this,t,e,n),t.size=~~a.call(this,t,e,n),t.padding=b.call(this,t,e,n),t}).sort(function(t,e){return e.size-t.size}),A=-1,S=M.board?[{x:0,y:0},{x:l,y:c}]:null;return function(){for(var t=Date.now();Date.now()-t>1,e.y=c*(_()+.5)>>1,function(t,e,n,r){if(!e.sprite){var i=t.context,a=t.ratio;i.clearRect(0,0,2048/a,2048/a);var s=0,l=0,u=0,c=n.length;for(--r;++r>5<<5,d=~~Math.max(Math.abs(v+y),Math.abs(v-y))}else f=f+31>>5<<5;if(d>u&&(u=d),s+f>=2048&&(s=0,l+=u,u=0),l+d>=2048)break;i.translate((s+(f>>1))/a,(l+(d>>1))/a),e.rotate&&i.rotate(e.rotate*o),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=f,e.height=d,e.xoff=s,e.yoff=l,e.x1=f>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,s+=f}for(var b=i.getImageData(0,0,2048/a,2048/a).data,x=[];--r>=0;)if((e=n[r]).hasText){for(var f=e.width,_=f>>5,d=e.y1-e.y0,O=0;O>5),w=b[(l+A)*2048+(s+O)<<2]?1<<31-O%32:0;x[S]|=w,P|=w}P?M=A:(e.y0++,d--,A--,l++)}e.y1=e.y0+M,e.sprite=x.slice(0,(e.y1-e.y0)*_)}}}(f,e,v,A),e.hasText&&function(t,e,r){for(var i,a,o,s=e.x,l=e.y,u=Math.sqrt(n[0]*n[0]+n[1]*n[1]),c=x(n),f=.5>_()?1:-1,d=-f;(i=c(d+=f))&&!(Math.min(Math.abs(a=~~i[0]),Math.abs(o=~~i[1]))>=u);)if(e.x=s+a,e.y=l+o,!(e.x+e.x0<0)&&!(e.y+e.y0<0)&&!(e.x+e.x1>n[0])&&!(e.y+e.y1>n[1])&&(!r||!function(t,e,n){n>>=5;for(var r,i=t.sprite,a=t.width>>5,o=t.x-(a<<4),s=127&o,l=32-s,u=t.y1-t.y0,c=(t.y+t.y0)*n+(o>>5),f=0;f>>s:0))&e[c+d])return!0;c+=n}return!1}(e,t,n[0]))&&(!r||e.x+e.x1>r[0].x&&e.x+e.x0r[0].y&&e.y+e.y0>5,g=n[0]>>5,v=e.x-(h<<4),y=127&v,m=32-y,b=e.y1-e.y0,O=void 0,P=(e.y+e.y0)*g+(v>>5),M=0;M>>y:0);P+=g}return delete e.sprite,!0}return!1}(d,e,S)&&(g.push(e),S?M.hasImage||function(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}(S,e):S=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=n[0]>>1,e.y-=n[1]>>1)}M._tags=g,M._bounds=S}(),M},M.createMask=function(t){var e=document.createElement("canvas"),r=n[0],i=n[1];if(r&&i){var a=r>>5,o=h((r>>5)*i);e.width=r,e.height=i;var s=e.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,r,i);for(var l=s.getImageData(0,0,r,i).data,u=0;u>5),d=u*r+c<<2,p=l[d]>=250&&l[d+1]>=250&&l[d+2]>=250?1<<31-c%32:0;o[f]|=p}M.board=o,M.hasImage=!0}},M.timeInterval=function(t){P=null==t?1/0:t},M.words=function(t){O=t},M.size=function(t){n=[+t[0],+t[1]]},M.font=function(t){i=g(t)},M.fontWeight=function(t){y=g(t)},M.rotate=function(t){m=g(t)},M.spiral=function(t){x=v[t]||t},M.fontSize=function(t){a=g(t)},M.padding=function(t){b=g(t)},M.random=function(t){_=g(t)},M);["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(t){r.isNil(e[t])||A[t](e[t])}),A.words(t),e.imageMask&&A.createMask(e.imageMask);var S=A.start()._tags;S.forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2});var w=e.size,E=w[0],C=w[1];return S.push({text:"",value:0,x:0,y:0,opacity:0}),S.push({text:"",value:0,x:E,y:C,opacity:0}),S}e.wordCloud=function(t,e){return a(t,e=r.assign({},i,e))},e.transform=a;var o=Math.PI/180;function s(t){return t.text}function l(){return"serif"}function u(){return"normal"}function c(t){return t.value}function f(){return 90*~~(2*Math.random())}function d(){return 1}function p(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function h(t){for(var e=[],n=-1;++n=0)&&(p=p?i.isArray(p)?p:[p]:[],f.layout=i.filter(p,function(t){return"limit-in-shape"!==t.type}),f.layout.length||delete f.layout),l.label({fields:c||[s],callback:u,cfg:a.transformLabel(f)})}else a.log(a.LEVEL.WARN,null===o,"the label option must be an Object."),l.label({fields:[s]});return t}function c(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function d(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,l=n.yField;return a.flow(o.scale(((e={})[s]=r,e[l]=i,e)))(t)}function p(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return r?e.axis(a,r):e.axis(a,!1),i?e.axis(o,i):e.axis(o,!1),t}e.legend=c,e.adaptor=function(t){a.flow(o.pattern("sectorStyle"),l,d,u,f,p,c,o.tooltip,o.interaction,o.animation,o.theme,o.annotation(),o.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right"},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(0),i=n(34),a=n(131),o=n(15),s=n(521),l=n(531),u=n(1142),c=n(1143),f=n(1144),d=n(120);function p(t){var e,n=t.options,i=n.compareField,l=n.xField,u=n.yField,c=n.locale,f=n.funnelStyle,p=n.data,h=a.getLocale(c),g={label:i?{fields:[l,u,i,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],formatter:function(t){return""+t[u]}}:{fields:[l,u,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],offset:0,position:"middle",formatter:function(t){return t[l]+" "+t[u]}},tooltip:{title:l,formatter:function(t){return{name:t[l],value:t[u]}}},conversionTag:{formatter:function(t){return h.get(["conversionTag","label"])+": "+s.conversionTagFormatter.apply(void 0,t[d.FUNNEL_CONVERSATION])}}};return(i||f)&&(e=function(t){return o.deepAssign({},i&&{lineWidth:1,stroke:"#fff"},r.isFunction(f)?f(t):f)}),o.deepAssign({options:g},t,{options:{funnelStyle:e,data:r.clone(p)}})}function h(t){var e=t.options,n=e.compareField,r=e.dynamicHeight;return e.seriesField?c.facetFunnel(t):n?u.compareFunnel(t):r?f.dynamicHeightFunnel(t):l.basicFunnel(t)}function g(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return o.flow(i.scale(((e={})[s]=r,e[l]=a,e)))(t)}function v(t){return t.chart.axis(!1),t}function y(t){var e=t.chart,n=t.options.legend;return!1===n?e.legend(!1):e.legend(n),t}e.meta=g,e.adaptor=function(t){return o.flow(p,h,g,v,i.tooltip,i.interaction,y,i.animation,i.theme,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compareFunnel=void 0;var r=n(0),i=n(15),a=n(64),o=n(59),s=n(120),l=n(300);function u(t){var e,n=t.chart,r=t.options,i=r.data,a=void 0===i?[]:i,o=r.yField;return n.data(a),n.scale(((e={})[o]={sync:!0},e)),t}function c(t){var e=t.chart,n=t.options,u=n.data,c=n.xField,f=n.yField,d=n.color,p=n.compareField,h=n.isTransposed,g=n.tooltip,v=n.maxSize,y=n.minSize,m=n.label,b=n.funnelStyle,x=n.state;return e.facet("mirror",{fields:[p],transpose:!h,padding:h?0:[32,0,0,0],eachView:function(t,e){var n=h?e.rowIndex:e.columnIndex;h||t.coordinate({type:"rect",actions:[["transpose"],["scale",0===n?-1:1,-1]]});var _=l.transformData(e.data,u,{yField:f,maxSize:v,minSize:y});t.data(_);var O=a.getTooltipMapping(g,[c,f,p]),P=O.fields,M=O.formatter;o.geometry({chart:t,options:{type:"interval",xField:c,yField:s.FUNNEL_MAPPING_VALUE,colorField:c,tooltipFields:r.isArray(P)&&P.concat([s.FUNNEL_PERCENT,s.FUNNEL_CONVERSATION]),mapping:{shape:"funnel",tooltip:M,color:d,style:b},label:!1!==m&&i.deepAssign({},h?{offset:0===n?10:-23,position:0===n?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:0===n?"end":"start"}},m),state:x}})}}),t}function f(t){var e=t.chart,n=t.options,r=n.conversionTag,a=n.isTransposed;return e.once("beforepaint",function(){e.views.forEach(function(t,e){l.conversionTagComponent(function(t,n,o,l){return i.deepAssign({},l,{start:[n-.5,t[s.FUNNEL_MAPPING_VALUE]],end:[n-.5,t[s.FUNNEL_MAPPING_VALUE]+.05],text:a?{style:{textAlign:"start"}}:{offsetX:!1!==r?(0===e?-1:1)*r.offsetX:0,style:{textAlign:0===e?"end":"start"}}})})(i.deepAssign({},{chart:t,options:n}))})}),t}e.compareFunnel=function(t){return i.flow(u,c,f)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.facetFunnel=void 0;var r=n(15),i=n(531);function a(t){var e,n=t.chart,r=t.options,i=r.data,a=void 0===i?[]:i,o=r.yField;return n.data(a),n.scale(((e={})[o]={sync:!0},e)),t}function o(t){var e=t.chart,n=t.options,a=n.seriesField,o=n.isTransposed;return e.facet("rect",{fields:[a],padding:[o?0:32,10,0,10],eachView:function(e,n){i.basicFunnel(r.deepAssign({},t,{chart:e,options:{data:n.data}}))}}),t}e.facetFunnel=function(t){return r.flow(a,o)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dynamicHeightFunnel=void 0;var r=n(1),i=n(0),a=n(15),o=n(120),s=n(59),l=n(64),u=n(300);function c(t){var e=t.chart,n=t.options,r=n.data,a=void 0===r?[]:r,s=n.yField,l=i.reduce(a,function(t,e){return t+(e[s]||0)},0),u=i.maxBy(a,s)[s],c=i.map(a,function(t,e){var n=[],r=[];if(t[o.FUNNEL_TOTAL_PERCENT]=(t[s]||0)/l,e){var c=a[e-1][o.PLOYGON_X],f=a[e-1][o.PLOYGON_Y];n[0]=c[3],r[0]=f[3],n[1]=c[2],r[1]=f[2]}else n[0]=-.5,r[0]=1,n[1]=.5,r[1]=1;return r[2]=r[1]-t[o.FUNNEL_TOTAL_PERCENT],n[2]=(r[2]+1)/4,r[3]=r[2],n[3]=-n[2],t[o.PLOYGON_X]=n,t[o.PLOYGON_Y]=r,t[o.FUNNEL_PERCENT]=(t[s]||0)/u,t[o.FUNNEL_CONVERSATION]=[i.get(a,[e-1,s]),t[s]],t});return e.data(c),t}function f(t){var e=t.chart,n=t.options,r=n.xField,a=n.yField,u=n.color,c=n.tooltip,f=n.label,d=n.funnelStyle,p=n.state,h=l.getTooltipMapping(c,[r,a]),g=h.fields,v=h.formatter;return s.geometry({chart:e,options:{type:"polygon",xField:o.PLOYGON_X,yField:o.PLOYGON_Y,colorField:r,tooltipFields:i.isArray(g)&&g.concat([o.FUNNEL_PERCENT,o.FUNNEL_CONVERSATION]),label:f,state:p,mapping:{tooltip:v,color:u,style:d}}}),t}function d(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[["transpose"],["reflect","x"]]:[]}),t}function p(t){return u.conversionTagComponent(function(t,e,n,i){return r.__assign(r.__assign({},i),{start:[t[o.PLOYGON_X][1],t[o.PLOYGON_Y][1]],end:[t[o.PLOYGON_X][1]+.05,t[o.PLOYGON_Y][1]]})})(t),t}e.dynamicHeightFunnel=function(t){return a.flow(c,f,d,p)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(34),a=n(43),o=n(15);function s(t){var e=t.chart,n=t.options,i=n.data,s=n.lineStyle,l=n.color,u=n.point,c=n.area;e.data(i);var f=o.deepAssign({},t,{options:{line:{style:s,color:l},point:u?r.__assign({color:l},u):u,area:c?r.__assign({color:l},c):c,label:void 0}}),d=o.deepAssign({},f,{options:{tooltip:!1}}),p=(null==u?void 0:u.state)||n.state,h=o.deepAssign({},f,{options:{tooltip:!1,state:p}});return a.line(f),a.point(h),a.area(d),t}function l(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return o.flow(i.scale(((e={})[s]=r,e[l]=a,e)))(t)}function u(t){var e=t.chart,n=t.options,r=n.radius,i=n.startAngle,a=n.endAngle;return e.coordinate("polar",{radius:r,startAngle:i,endAngle:a}),t}function c(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,a=n.yField,o=n.yAxis;return e.axis(r,i),e.axis(a,o),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=o.findGeometry(e,"line");if(i){var l=i.callback,u=r.__rest(i,["callback"]);s.label({fields:[a],callback:l,cfg:o.transformLabel(u)})}else s.label(!1);return t}e.adaptor=function(t){return o.flow(s,l,i.theme,u,c,i.legend,i.tooltip,f,i.interaction,i.animation,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(1147);r.registerAction("radar-tooltip",i.RadarTooltipAction),r.registerInteraction("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RadarTooltipAction=e.RadarTooltipController=void 0;var r=n(1),i=n(14),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),o=n.shared,s=n.title,l=t.prototype.getTooltipItems.call(this,e);if(l.length>0){var u=this.view.geometries[0],c=u.dataArray,f=l[0].name,d=[];return c.forEach(function(t){t.forEach(function(t){var e=i.Util.getTooltipItems(t,u)[0];if(!o&&e&&e.name===f){var n=a.isNil(s)?f:s;d.push(r.__assign(r.__assign({},e),{name:e.title,title:n}))}else if(o&&e){var n=a.isNil(s)?e.name||f:s;d.push(r.__assign(r.__assign({},e),{name:e.title,title:n}))}})}),d}return[]},e}(i.TooltipController);e.RadarTooltipController=o,i.registerComponentController("radar-tooltip",o);var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.init=function(){this.context.view.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event;this.getTooltipController().showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){this.getTooltipController().hideTooltip()},e.prototype.getTooltipController=function(){return this.context.view.getController("radar-tooltip")},e}(i.Action);e.RadarTooltipAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.statistic=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(532);function u(t){var e=t.chart,n=t.options,r=n.percent,i=n.liquidStyle,a=n.radius,u=n.outline,c=n.wave,f=n.shape;e.scale({percent:{min:0,max:1}}),e.data(l.getLiquidData(r));var d=n.color||e.getTheme().defaultColor,p=o.deepAssign({},t,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:d,style:i,shape:"liquid-fill-gauge"}}}),h=s.interval(p).ext.geometry,g=e.getTheme().background;return h.customInfo({radius:a,outline:u,wave:c,shape:f,background:g}),e.legend(!1),e.axis(!1),e.tooltip(!1),t}function c(t,e){var n=t.chart,a=t.options,s=a.statistic,l=a.percent,u=a.meta;n.getController("annotation").clear(!0);var c=i.get(u,["percent","formatter"])||function(t){return(100*t).toFixed(2)+"%"},f=s.content;return f&&(f=o.deepAssign({},f,{content:i.isNil(f.content)?c(l):f.content})),o.renderStatistic(n,{statistic:r.__assign(r.__assign({},s),{content:f}),plotType:"liquid"},{percent:l}),e&&n.render(!0),t}e.statistic=c,e.adaptor=function(t){return o.flow(a.theme,a.pattern("liquidStyle"),u,c,a.scale({}),a.animation,a.interaction)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0,e.DEFAULT_OPTIONS={radius:.9,statistic:{title:!1,content:{style:{opacity:.75,fontSize:"30px",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192},shape:"circle"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(14),a=n(0),o=n(528);function s(t,e,n,r){var i=2*n/3,a=Math.max(i,r),o=i/2,s=o+e-a/2,l=Math.asin(o/((a-o)*.85)),u=Math.sin(l)*o,c=Math.cos(l)*o,f=t-c,d=s+u,p=s+o/Math.sin(l);return"\n M "+f+" "+d+"\n A "+o+" "+o+" 0 1 1 "+(f+2*c)+" "+d+"\n Q "+t+" "+p+" "+t+" "+(e+a/2)+"\n Q "+t+" "+p+" "+f+" "+d+"\n Z \n "}function l(t,e,n,r){var i=n/2,a=r/2;return"\n M "+t+" "+(e-a)+" \n a "+i+" "+a+" 0 1 0 0 "+2*a+"\n a "+i+" "+a+" 0 1 0 0 "+-(2*a)+"\n Z\n "}function u(t,e,n,r){var i=r/2,a=n/2;return"\n M "+t+" "+(e-i)+"\n L "+(t+a)+" "+e+"\n L "+t+" "+(e+i)+"\n L "+(t-a)+" "+e+"\n Z\n "}function c(t,e,n,r){var i=r/2,a=n/2;return"\n M "+t+" "+(e-i)+"\n L "+(t+a)+" "+(e+i)+"\n L "+(t-a)+" "+(e+i)+"\n Z\n "}function f(t,e,n,r){var i=r/2,a=n/2*.618;return"\n M "+(t-a)+" "+(e-i)+"\n L "+(t+a)+" "+(e-i)+"\n L "+(t+a)+" "+(e+i)+"\n L "+(t-a)+" "+(e+i)+"\n Z\n "}i.registerShape("interval","liquid-fill-gauge",{draw:function(t,e){var n,i,d,p=t.customInfo,h=p.radius,g=p.shape,v=p.background,y=p.outline,m=p.wave,b=y.border,x=y.distance,_=m.count,O=m.length,P=a.reduce(t.points,function(t,e){return Math.min(t,e.x)},1/0),M=this.parsePoint({x:.5,y:.5}),A=this.parsePoint({x:P,y:.5}),S=Math.min(M.x-A.x,A.y*h),w=(n=r.__assign({opacity:1},t.style),t.color&&!n.fill&&(n.fill=t.color),n),E=(i=a.mix({},t,y),d=a.mix({},{fill:"#fff",fillOpacity:0,lineWidth:4},i.style),i.color&&!d.stroke&&(d.stroke=i.color),a.isNumber(i.opacity)&&(d.opacity=d.strokeOpacity=i.opacity),d),C=S-b/2,T={pin:s,circle:l,diamond:u,triangle:c,rect:f},I=("function"==typeof g?g:T[g]||T.circle)(M.x,M.y,2*C,2*C),j=e.addGroup({name:"waves"}),F=j.setClip({type:"path",attrs:{path:I}});return function(t,e,n,r,i,a,s,l,u){for(var c=i.fill,f=i.opacity,d=s.getBBox(),p=d.maxX-d.minX,h=d.maxY-d.minY,g=0;g0;)u-=2*Math.PI;var c=a-t+(u=u/Math.PI/2*n)-2*t;l.push(["M",c,e]);for(var f=0,d=0;d0?g:v},b=l.deepAssign({},t,{options:{xField:a,yField:u.Y_FIELD,seriesField:a,rawFields:[s,u.DIFF_FIELD,u.IS_TOTAL,u.Y_FIELD],widthRatio:p,interval:{style:h,shape:"waterfall",color:m}}});return o.interval(b).ext.geometry.customInfo({leaderLine:d}),t}function p(t){var e,n,r=t.options,o=r.xAxis,s=r.yAxis,c=r.xField,f=r.yField,d=r.meta,p=l.deepAssign({},{alias:f},i.get(d,f));return l.flow(a.scale(((e={})[c]=o,e[f]=s,e[u.Y_FIELD]=s,e),l.deepAssign({},d,((n={})[u.Y_FIELD]=p,n[u.DIFF_FIELD]=p,n[u.ABSOLUTE_FIELD]=p,n))))(t)}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?(e.axis(o,!1),e.axis(u.Y_FIELD,!1)):(e.axis(o,i),e.axis(u.Y_FIELD,i)),t}function g(t){var e=t.chart,n=t.options,r=n.legend,a=n.total,o=n.risingFill,u=n.fallingFill,c=n.locale,f=s.getLocale(c);if(!1===r)e.legend(!1);else{var d=[{name:f.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:o}}},{name:f.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:u}}}];a&&d.push({name:a.label||"",value:"total",marker:{symbol:"square",style:l.deepAssign({},{r:5},i.get(a,"style"))}}),e.legend(l.deepAssign({},{custom:!0,position:"top",items:d},r)),e.removeInteraction("legend-filter")}return t}function v(t){var e=t.chart,n=t.options,i=n.label,a=n.labelMode,o=n.xField,s=l.findGeometry(e,"interval");if(i){var c=i.callback,f=r.__rest(i,["callback"]);s.label({fields:"absolute"===a?[u.ABSOLUTE_FIELD,o]:[u.DIFF_FIELD,o],callback:c,cfg:l.transformLabel(f)})}else s.label(!1);return t}function y(t){var e=t.chart,n=t.options,i=n.tooltip,a=n.xField,o=n.yField;if(!1!==i){e.tooltip(r.__assign({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i));var s=e.geometries[0];(null==i?void 0:i.formatter)?s.tooltip(a+"*"+o,i.formatter):s.tooltip(o)}else e.tooltip(!1);return t}n(1153),e.tooltip=y,e.adaptor=function(t){return l.flow(f,a.theme,d,p,h,g,y,v,a.state,a.interaction,a.animation,a.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(14),a=n(0),o=n(15);i.registerShape("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,s=t.nextPoints,l=e.addGroup(),u=this.parsePath(function(t){for(var e=[],n=0;n0,d=c>0;function p(t,e){var n=a.get(i,[t]);function r(t){return a.get(n,t)}var o={};return"x"===e?(a.isNumber(u)&&(a.isNumber(r("min"))||(o.min=f?0:2*u),a.isNumber(r("max"))||(o.max=f?2*u:0)),o):(a.isNumber(c)&&(a.isNumber(r("min"))||(o.min=d?0:2*c),a.isNumber(r("max"))||(o.max=d?2*c:0)),o)}return r.__assign(r.__assign({},i),((e={})[o]=r.__assign(r.__assign({},i[o]),p(o,"x")),e[s]=r.__assign(r.__assign({},i[s]),p(s,"y")),e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(520)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(537);function u(t){var e=t.chart,n=t.options,a=n.bulletStyle,u=n.targetField,c=n.rangeField,f=n.measureField,d=n.xField,p=n.color,h=n.layout,g=n.size,v=n.label,y=l.transformData(n),m=y.min,b=y.max,x=y.ds;e.data(x);var _=o.deepAssign({},t,{options:{xField:d,yField:c,seriesField:"rKey",isStack:!0,label:i.get(v,"range"),interval:{color:i.get(p,"range"),style:i.get(a,"range"),size:i.get(g,"range")}}});s.interval(_),e.geometries[0].tooltip(!1);var O=o.deepAssign({},t,{options:{xField:d,yField:f,seriesField:"mKey",isStack:!0,label:i.get(v,"measure"),interval:{color:i.get(p,"measure"),style:i.get(a,"measure"),size:i.get(g,"measure")}}});s.interval(O);var P=o.deepAssign({},t,{options:{xField:d,yField:u,seriesField:"tKey",label:i.get(v,"target"),point:{color:i.get(p,"target"),style:i.get(a,"target"),size:i.isFunction(i.get(g,"target"))?function(t){return i.get(g,"target")(t)/2}:i.get(g,"target")/2,shape:"horizontal"===h?"line":"hyphen"}}});return s.point(P),"horizontal"===h&&e.coordinate().transpose(),r.__assign(r.__assign({},t),{ext:{data:{min:m,max:b}}})}function c(t){var e,n,r=t.options,i=t.ext,s=r.xAxis,l=r.yAxis,u=r.targetField,c=r.rangeField,f=r.measureField,d=r.xField,p=i.data;return o.flow(a.scale(((e={})[d]=s,e[f]=l,e),((n={})[f]={min:null==p?void 0:p.min,max:null==p?void 0:p.max,sync:!0},n[u]={sync:""+f},n[c]={sync:""+f},n)))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.measureField,s=n.rangeField,l=n.targetField;return e.axis(""+s,!1),e.axis(""+l,!1),!1===r?e.axis(""+a,!1):e.axis(""+a,r),!1===i?e.axis(""+o,!1):e.axis(""+o,i),t}function d(t){var e=t.chart,n=t.options.legend;return e.removeInteraction("legend-filter"),e.legend(n),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),t}function p(t){var e=t.chart,n=t.options,a=n.label,s=n.measureField,l=n.targetField,u=n.rangeField,c=e.geometries,f=c[0],d=c[1],p=c[2];return i.get(a,"range")?f.label(""+u,r.__assign({layout:[{type:"limit-in-plot"}]},o.transformLabel(a.range))):f.label(!1),i.get(a,"measure")?d.label(""+s,r.__assign({layout:[{type:"limit-in-plot"}]},o.transformLabel(a.measure))):d.label(!1),i.get(a,"target")?p.label(""+l,r.__assign({layout:[{type:"limit-in-plot"}]},o.transformLabel(a.target))):p.label(!1),t}e.meta=c,e.adaptor=function(t){o.flow(u,c,f,d,a.theme,p,a.tooltip,a.interaction,a.animation)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flow=function(){for(var t=[],e=0;e=(0,r.get)(e,["views","length"],0)?i(e):(0,r.reduce)(e.views,function(e,n){return e.concat(t(n))},i(e))},e.getAllGeometriesRecursively=function(t){return 0>=(0,r.get)(t,["views","length"],0)?t.geometries:(0,r.reduce)(t.views,function(t,e){return t.concat(e.geometries)},t.geometries)};var r=n(0);function i(t){return(0,r.reduce)(t.geometries,function(t,e){return t.concat(e.elements)},[])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformLabel=function(t){if(!(0,i.isType)(t,"Object"))return t;var e=(0,r.__assign)({},t);return e.formatter&&!e.content&&(e.content=e.formatter),e};var r=n(1),i=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.catmullRom2bezier=o,e.getSplinePath=function(t,e,n){var r=[],a=t[0],s=null;if(t.length<=2)return i(t,e);for(var l=0,u=t.length;l0){var n;(function(t,e,n){var i,a=t.view,o=t.geometry,s=t.group,u=t.options,c=t.horizontal,f=u.offset,d=u.size,p=u.arrow,h=a.getCoordinate(),g=l(h,e)[c?3:0],v=l(h,n)[c?0:3],y=v.y-g.y,m=v.x-g.x;if("boolean"!=typeof p){var b=p.headSize,x=u.spacing;c?(m-b)/2_){var P=Math.max(1,Math.ceil(_/(O/y.length))-1),M=y.slice(0,P)+"...";x.attr("text",M)}}}}(h,n,t)}})}})),u}};var r=n(1),i=n(0),a=n(14),o=n(7),s=n(551);function l(t,e){return(0,i.map)(e.getModel().points,function(e){return t.convertPoint(e)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.connectedArea=function(t){return void 0===t&&(t=!1),function(e){var n=e.chart,r=e.options.connectedArea,o=function(){n.removeInteraction(i.hover),n.removeInteraction(i.click)};if(!t&&r){var s=r.trigger||"hover";o(),n.interaction(i[s],{start:a(s,r.style)})}else o();return e}};var r=n(14),i={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"},a=function(t,e){return"hover"===t?[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"],arg:[null,{style:e}]}]:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"],arg:[null,null,null,null,{style:e}]}]};(0,r.registerInteraction)(i.hover,{start:a(i.hover),end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),(0,r.registerInteraction)(i.click,{start:a(i.click),end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getInteractionCfg=o;var r=n(14),i=n(1199);function a(t){return t.isInPlot()}function o(t,e,n){var r=e||"rect";switch(t){case"brush":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:a,action:["brush:start",r+"-mask:start",r+"-mask:show"],arg:[null,{maskStyle:null==n?void 0:n.style}]}],processing:[{trigger:"mousemove",isEnable:a,action:[r+"-mask:resize"]}],end:[{trigger:"mouseup",isEnable:a,action:["brush:filter","brush:end",r+"-mask:end",r+"-mask:hide","brush-reset-button:show"]}],rollback:[{trigger:"brush-reset-button:click",action:["brush:reset","brush-reset-button:hide","cursor:crosshair"]}]};case"brush-highlight":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:[r+"-mask:start",r+"-mask:show"],arg:[{maskStyle:null==n?void 0:n.style}]},{trigger:"mask:dragstart",action:[r+"-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:[r+"-mask:resize"]},{trigger:"mask:drag",action:[r+"-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:[r+"-mask:end"]},{trigger:"mask:dragend",action:[r+"-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear",r+"-mask:hide"]}]};case"brush-x":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:a,action:["brush-x:start",r+"-mask:start",r+"-mask:show"],arg:[null,{maskStyle:null==n?void 0:n.style}]}],processing:[{trigger:"mousemove",isEnable:a,action:[r+"-mask:resize"]}],end:[{trigger:"mouseup",isEnable:a,action:["brush-x:filter","brush-x:end",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]};case"brush-x-highlight":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:[r+"-mask:start",r+"-mask:show"],arg:[{maskStyle:null==n?void 0:n.style}]},{trigger:"mask:dragstart",action:[r+"-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:[r+"-mask:resize"]},{trigger:"mask:drag",action:[r+"-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:[r+"-mask:end"]},{trigger:"mask:dragend",action:[r+"-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear",r+"-mask:hide"]}]};case"brush-y":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:a,action:["brush-y:start",r+"-mask:start",r+"-mask:show"],arg:[null,{maskStyle:null==n?void 0:n.style}]}],processing:[{trigger:"mousemove",isEnable:a,action:[r+"-mask:resize"]}],end:[{trigger:"mouseup",isEnable:a,action:["brush-y:filter","brush-y:end",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-y:reset"]}]};case"brush-y-highlight":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:[r+"-mask:start",r+"-mask:show"],arg:[{maskStyle:null==n?void 0:n.style}]},{trigger:"mask:dragstart",action:[r+"-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:[r+"-mask:resize"]},{trigger:"mask:drag",action:[r+"-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:[r+"-mask:end"]},{trigger:"mask:dragend",action:[r+"-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear",r+"-mask:hide"]}]};default:return{}}}(0,r.registerAction)("brush-reset-button",i.ButtonAction,{name:"brush-reset-button"}),(0,r.registerInteraction)("filter-action",{}),(0,r.registerInteraction)("brush",o("brush")),(0,r.registerInteraction)("brush-highlight",o("brush-highlight")),(0,r.registerInteraction)("brush-x",o("brush-x","x-rect")),(0,r.registerInteraction)("brush-y",o("brush-y","y-rect")),(0,r.registerInteraction)("brush-x-highlight",o("brush-x-highlight","x-rect")),(0,r.registerInteraction)("brush-y-highlight",o("brush-y-highlight","y-rect"))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonAction=e.BUTTON_ACTION_CONFIG=void 0;var r=n(1),i=n(14),a=n(0),o=n(7),s={padding:[8,10],text:"reset",textStyle:{default:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"}},buttonStyle:{default:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},active:{fill:"#e6e6e6"}}};e.BUTTON_ACTION_CONFIG=s;var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg=(0,r.__assign)({name:"button"},s),e}return(0,r.__extends)(e,t),e.prototype.getButtonCfg=function(){var t=this.context.view,e=(0,a.get)(t,["interactions","filter-action","cfg","buttonConfig"]);return(0,o.deepAssign)(this.buttonCfg,e,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=this.drawText(e);this.drawBackground(e,n.getBBox()),this.buttonGroup=e},e.prototype.drawText=function(t){var e,n=this.getButtonCfg();return t.addShape({type:"text",name:"button-text",attrs:(0,r.__assign)({text:n.text},null===(e=n.textStyle)||void 0===e?void 0:e.default)})},e.prototype.drawBackground=function(t,e){var n,i=this.getButtonCfg(),a=(0,o.normalPadding)(i.padding),s=t.addShape({type:"rect",name:"button-rect",attrs:(0,r.__assign)({x:e.x-a[3],y:e.y-a[0],width:e.width+a[1]+a[3],height:e.height+a[0]+a[2]},null===(n=i.buttonStyle)||void 0===n?void 0:n.default)});return s.toBack(),t.on("mouseenter",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.active)}),t.on("mouseleave",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.default)}),s},e.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),r=i.Util.transform(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(r)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},e}(i.Action);e.ButtonAction=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieLegendAction=void 0;var r=n(1),i=n(14),a=n(0),o=n(561),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getActiveElements=function(){var t=i.Util.getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,a=n.get("field");if(a)return e.geometries[0].elements.filter(function(t){return t.getModel().data[a]===r.value})}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements();return t.geometries[0].labelsContainer.getChildren().filter(function(t){return e.find(function(e){return(0,a.isEqual)(e.getData(),t.get("data"))})})},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach(function(e,r){var a=n[r],s=e.geometry.coordinate;if(s.isPolar&&s.isTransposed){var l=i.Util.getAngle(e.getModel(),s),u=(l.startAngle+l.endAngle)/2,c=t,f=c*Math.cos(u),d=c*Math.sin(u);e.shape.setMatrix((0,o.transform)([["t",f,d]])),a.setMatrix((0,o.transform)([["t",f,d]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(i.Action);e.PieLegendAction=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.StatisticAction=void 0;var i=r(n(6)),a=n(1),o=n(14),s=n(0),l=n(542),u=n(1204),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getAnnotations=function(t){return(t||this.context.view).getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",function(){var n=t.getAnnotations(e);t.initialAnnotation=n})},e.prototype.change=function(t){var e=this.context,n=e.view,r=e.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var a=(0,s.get)(r,["data","data"]);if(r.type.match("legend-item")){var c=o.Util.getDelegationObject(this.context),f=n.getGroupedFields()[0];if(c&&f){var d=c.item;a=n.getData().find(function(t){return t[f]===d.value})}}if(a){var p=(0,s.get)(t,"annotations",[]),h=(0,s.get)(t,"statistic",{});n.getController("annotation").clear(!0),(0,s.each)(p,function(t){"object"===(0,i.default)(t)&&n.annotation()[t.type](t)}),(0,l.renderStatistic)(n,{statistic:h,plotType:"pie"},a),n.render(!0)}var g=(0,u.getCurrentElement)(this.context);g&&g.shape.toFront()},e.prototype.reset=function(){var t=this.context.view;t.getController("annotation").clear(!0);var e=this.getInitialAnnotation();(0,s.each)(e,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(o.Action);e.StatisticAction=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentElement=function(t){var e,n=t.event.target;return n&&(e=n.get("element")),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Rose=void 0;var r=n(1),i=n(19),a=n(1206),o=n(1207),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Rose=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){(0,a.flow)((0,o.pattern)("sectorStyle"),l,d,u,f,p,c,o.tooltip,o.interaction,o.animation,o.theme,(0,o.annotation)(),o.state)(t)},e.legend=c;var r=n(1),i=n(0),a=n(7),o=n(22),s=n(30);function l(t){var e=t.chart,n=t.options,r=n.data,i=n.sectorStyle,o=n.color;return e.data(r),(0,a.flow)(s.interval)((0,a.deepAssign)({},t,{options:{marginRatio:1,interval:{style:i,color:o}}})),t}function u(t){var e=t.chart,n=t.options,o=n.label,s=n.xField,l=(0,a.findGeometry)(e,"interval");if(!1===o)l.label(!1);else if((0,i.isObject)(o)){var u=o.callback,c=o.fields,f=(0,r.__rest)(o,["callback","fields"]),d=f.offset,p=f.layout;(void 0===d||d>=0)&&(p=p?(0,i.isArray)(p)?p:[p]:[],f.layout=(0,i.filter)(p,function(t){return"limit-in-shape"!==t.type}),f.layout.length||delete f.layout),l.label({fields:c||[s],callback:u,cfg:(0,a.transformLabel)(f)})}else(0,a.log)(a.LEVEL.WARN,null===o,"the label option must be an Object."),l.label({fields:[s]});return t}function c(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function d(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,l=n.yField;return(0,a.flow)((0,o.scale)(((e={})[s]=r,e[l]=i,e)))(t)}function p(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return r?e.axis(a,r):e.axis(a,!1),i?e.axis(o,i):e.axis(o,!1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right"},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordCloud=void 0;var r=n(1),i=n(19),a=n(1209),o=n(563),s=n(562);n(1211);var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="word-cloud",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData((0,s.transform)({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){var e=this;return new Promise(function(n){var i=e.options.imageMask;if(!i){t.prototype.render.call(e),n();return}var a=function(i){e.options=(0,r.__assign)((0,r.__assign)({},e.options),{imageMask:i||null}),t.prototype.render.call(e),n()};(0,s.processImageMask)(i).then(a).catch(a)})},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.triggerResize=function(){var e=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){t.prototype.triggerResize.call(e)}))},e}(i.Plot);e.WordCloud=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){(0,o.flow)(c,f,a.tooltip,d,a.interaction,a.animation,a.theme,a.state)(t)},e.legend=d;var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(562),u=n(563);function c(t){var e=t.chart,n=t.options,a=n.colorField,c=n.color,f=(0,l.transform)(t);e.data(f);var d=(0,o.deepAssign)({},t,{options:{xField:"x",yField:"y",seriesField:a&&u.WORD_CLOUD_COLOR_FIELD,rawFields:(0,i.isFunction)(c)&&(0,r.__spreadArrays)((0,i.get)(n,"rawFields",[]),["datum"]),point:{color:c,shape:"word-cloud"}}});return(0,s.point)(d).ext.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function f(t){return(0,o.flow)((0,a.scale)({x:{nice:!1},y:{nice:!1}}))(t)}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField;return!1===r?e.legend(!1):i&&e.legend(u.WORD_CLOUD_COLOR_FIELD,r),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.functor=g,e.transform=a,e.wordCloud=function(t,e){return a(t,e=(0,r.assign)({},i,e))};var r=n(0),i={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function a(t,e){var n,i,a,y,m,b,x,_,O,P,M,A=(n=[256,256],i=l,a=c,y=u,m=f,b=d,x=p,_=Math.random,O=[],P=1/0,(M={}).start=function(){var t,e,r,l=n[0],c=n[1],f=((t=document.createElement("canvas")).width=t.height=1,e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2),t.width=2048/e,t.height=2048/e,(r=t.getContext("2d")).fillStyle=r.strokeStyle="red",r.textAlign="center",{context:r,ratio:e}),d=M.board?M.board:h((n[0]>>5)*n[1]),p=O.length,g=[],v=O.map(function(t,e,n){return t.text=s.call(this,t,e,n),t.font=i.call(this,t,e,n),t.style=u.call(this,t,e,n),t.weight=y.call(this,t,e,n),t.rotate=m.call(this,t,e,n),t.size=~~a.call(this,t,e,n),t.padding=b.call(this,t,e,n),t}).sort(function(t,e){return e.size-t.size}),A=-1,S=M.board?[{x:0,y:0},{x:l,y:c}]:null;return function(){for(var t=Date.now();Date.now()-t>1,e.y=c*(_()+.5)>>1,function(t,e,n,r){if(!e.sprite){var i=t.context,a=t.ratio;i.clearRect(0,0,2048/a,2048/a);var s=0,l=0,u=0,c=n.length;for(--r;++r>5<<5,d=~~Math.max(Math.abs(v+y),Math.abs(v-y))}else f=f+31>>5<<5;if(d>u&&(u=d),s+f>=2048&&(s=0,l+=u,u=0),l+d>=2048)break;i.translate((s+(f>>1))/a,(l+(d>>1))/a),e.rotate&&i.rotate(e.rotate*o),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=f,e.height=d,e.xoff=s,e.yoff=l,e.x1=f>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,s+=f}for(var b=i.getImageData(0,0,2048/a,2048/a).data,x=[];--r>=0;)if((e=n[r]).hasText){for(var f=e.width,_=f>>5,d=e.y1-e.y0,O=0;O>5),w=b[(l+A)*2048+(s+O)<<2]?1<<31-O%32:0;x[S]|=w,P|=w}P?M=A:(e.y0++,d--,A--,l++)}e.y1=e.y0+M,e.sprite=x.slice(0,(e.y1-e.y0)*_)}}}(f,e,v,A),e.hasText&&function(t,e,r){for(var i,a,o,s=e.x,l=e.y,u=Math.sqrt(n[0]*n[0]+n[1]*n[1]),c=x(n),f=.5>_()?1:-1,d=-f;(i=c(d+=f))&&!(Math.min(Math.abs(a=~~i[0]),Math.abs(o=~~i[1]))>=u);)if(e.x=s+a,e.y=l+o,!(e.x+e.x0<0)&&!(e.y+e.y0<0)&&!(e.x+e.x1>n[0])&&!(e.y+e.y1>n[1])&&(!r||!function(t,e,n){n>>=5;for(var r,i=t.sprite,a=t.width>>5,o=t.x-(a<<4),s=127&o,l=32-s,u=t.y1-t.y0,c=(t.y+t.y0)*n+(o>>5),f=0;f>>s:0))&e[c+d])return!0;c+=n}return!1}(e,t,n[0]))&&(!r||e.x+e.x1>r[0].x&&e.x+e.x0r[0].y&&e.y+e.y0>5,g=n[0]>>5,v=e.x-(h<<4),y=127&v,m=32-y,b=e.y1-e.y0,O=void 0,P=(e.y+e.y0)*g+(v>>5),M=0;M>>y:0);P+=g}return delete e.sprite,!0}return!1}(d,e,S)&&(g.push(e),S?M.hasImage||function(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}(S,e):S=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=n[0]>>1,e.y-=n[1]>>1)}M._tags=g,M._bounds=S}(),M},M.createMask=function(t){var e=document.createElement("canvas"),r=n[0],i=n[1];if(r&&i){var a=r>>5,o=h((r>>5)*i);e.width=r,e.height=i;var s=e.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,r,i);for(var l=s.getImageData(0,0,r,i).data,u=0;u>5),d=u*r+c<<2,p=l[d]>=250&&l[d+1]>=250&&l[d+2]>=250?1<<31-c%32:0;o[f]|=p}M.board=o,M.hasImage=!0}},M.timeInterval=function(t){P=null==t?1/0:t},M.words=function(t){O=t},M.size=function(t){n=[+t[0],+t[1]]},M.font=function(t){i=g(t)},M.fontWeight=function(t){y=g(t)},M.rotate=function(t){m=g(t)},M.spiral=function(t){x=v[t]||t},M.fontSize=function(t){a=g(t)},M.padding=function(t){b=g(t)},M.random=function(t){_=g(t)},M);["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(t){(0,r.isNil)(e[t])||A[t](e[t])}),A.words(t),e.imageMask&&A.createMask(e.imageMask);var S=A.start()._tags;S.forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2});var w=e.size,E=w[0],C=w[1];return S.push({text:"",value:0,x:0,y:0,opacity:0}),S.push({text:"",value:0,x:E,y:C,opacity:0}),S}var o=Math.PI/180;function s(t){return t.text}function l(){return"serif"}function u(){return"normal"}function c(t){return t.value}function f(){return 90*~~(2*Math.random())}function d(){return 1}function p(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function h(t){for(var e=[],n=-1;++n0,d=c>0;function p(t,e){var n=(0,a.get)(i,[t]);function r(t){return(0,a.get)(n,t)}var o={};return"x"===e?((0,a.isNumber)(u)&&((0,a.isNumber)(r("min"))||(o.min=f?0:2*u),(0,a.isNumber)(r("max"))||(o.max=f?2*u:0)),o):((0,a.isNumber)(c)&&((0,a.isNumber)(r("min"))||(o.min=d?0:2*c),(0,a.isNumber)(r("max"))||(o.max=d?2*c:0)),o)}return(0,r.__assign)((0,r.__assign)({},i),((e={})[o]=(0,r.__assign)((0,r.__assign)({},i[o]),p(o,"x")),e[s]=(0,r.__assign)((0,r.__assign)({},i[s]),p(s,"y")),e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";n(566)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Radar=void 0;var r=n(1),i=n(19),a=n(7),o=n(1216);n(1217);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radar",e}return(0,r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return(0,a.deepAssign)({},t.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Radar=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(s,l,i.theme,u,c,i.legend,i.tooltip,f,i.interaction,i.animation,(0,i.annotation)())(t)};var r=n(1),i=n(22),a=n(30),o=n(7);function s(t){var e=t.chart,n=t.options,i=n.data,s=n.lineStyle,l=n.color,u=n.point,c=n.area;e.data(i);var f=(0,o.deepAssign)({},t,{options:{line:{style:s,color:l},point:u?(0,r.__assign)({color:l},u):u,area:c?(0,r.__assign)({color:l},c):c,label:void 0}}),d=(0,o.deepAssign)({},f,{options:{tooltip:!1}}),p=(null==u?void 0:u.state)||n.state,h=(0,o.deepAssign)({},f,{options:{tooltip:!1,state:p}});return(0,a.line)(f),(0,a.point)(h),(0,a.area)(d),t}function l(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return(0,o.flow)((0,i.scale)(((e={})[s]=r,e[l]=a,e)))(t)}function u(t){var e=t.chart,n=t.options,r=n.radius,i=n.startAngle,a=n.endAngle;return e.coordinate("polar",{radius:r,startAngle:i,endAngle:a}),t}function c(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,a=n.yField,o=n.yAxis;return e.axis(r,i),e.axis(a,o),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=(0,o.findGeometry)(e,"line");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,o.transformLabel)(u)})}else s.label(!1);return t}},function(t,e,n){"use strict";var r=n(14),i=n(1218);(0,r.registerAction)("radar-tooltip",i.RadarTooltipAction),(0,r.registerInteraction)("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RadarTooltipController=e.RadarTooltipAction=void 0;var r=n(1),i=n(14),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),o=n.shared,s=n.title,l=t.prototype.getTooltipItems.call(this,e);if(l.length>0){var u=this.view.geometries[0],c=u.dataArray,f=l[0].name,d=[];return c.forEach(function(t){t.forEach(function(t){var e=i.Util.getTooltipItems(t,u)[0];if(!o&&e&&e.name===f){var n=(0,a.isNil)(s)?f:s;d.push((0,r.__assign)((0,r.__assign)({},e),{name:e.title,title:n}))}else if(o&&e){var n=(0,a.isNil)(s)?e.name||f:s;d.push((0,r.__assign)((0,r.__assign)({},e),{name:e.title,title:n}))}})}),d}return[]},e}(i.TooltipController);e.RadarTooltipController=o,(0,i.registerComponentController)("radar-tooltip",o);var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.init=function(){this.context.view.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event;this.getTooltipController().showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){this.getTooltipController().hideTooltip()},e.prototype.getTooltipController=function(){return this.context.view.getController("radar-tooltip")},e}(i.Action);e.RadarTooltipAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DualAxes=void 0;var r=n(1),i=n(19),a=n(7),o=n(1220),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dual-axes",e}return(0,r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return(0,a.deepAssign)({},t.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.DualAxes=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(g,v,M,y,b,x,S,_,O,P,A,m,w,E)(t)},e.animation=A,e.annotation=P,e.axis=x,e.color=m,e.interaction=O,e.legend=w,e.limitInPlot=S,e.meta=b,e.slider=E,e.theme=M,e.tooltip=_,e.transformOptions=g;var r=n(1),i=n(0),a=n(22),o=n(123),s=n(7),l=n(540),u=n(305),c=n(1221),f=n(1222),d=n(1223),p=n(567),h=n(568);function g(t){var e,n=t.options,r=n.geometryOptions,a=void 0===r?[]:r,o=n.xField,l=n.yField,c=(0,i.every)(a,function(t){var e=t.geometry;return e===p.DualAxesGeometry.Line||void 0===e});return(0,s.deepAssign)({},{options:{geometryOptions:[],meta:((e={})[o]={type:"cat",sync:!0,range:c?[0,1]:void 0},e),tooltip:{showMarkers:c,showCrosshairs:c,shared:!0,crosshairs:{type:"x"}},interactions:c?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},t,{options:{yAxis:(0,u.transformObjectToArray)(l,n.yAxis),geometryOptions:[(0,u.getGeometryOption)(o,l[0],a[0]),(0,u.getGeometryOption)(o,l[1],a[1])],annotations:(0,u.transformObjectToArray)(l,n.annotations)}})}function v(t){var e,n,r=t.chart,i=t.options.geometryOptions,a={line:0,column:1};return[{type:null===(e=i[0])||void 0===e?void 0:e.geometry,id:h.LEFT_AXES_VIEW},{type:null===(n=i[1])||void 0===n?void 0:n.geometry,id:h.RIGHT_AXES_VIEW}].sort(function(t,e){return-a[t.type]+a[e.type]}).forEach(function(t){return r.createView({id:t.id})}),t}function y(t){var e=t.chart,n=t.options,i=n.xField,a=n.yField,s=n.geometryOptions,c=n.data,d=n.tooltip;return[(0,r.__assign)((0,r.__assign)({},s[0]),{id:h.LEFT_AXES_VIEW,data:c[0],yField:a[0]}),(0,r.__assign)((0,r.__assign)({},s[1]),{id:h.RIGHT_AXES_VIEW,data:c[1],yField:a[1]})].forEach(function(t){var n=t.id,a=t.data,s=t.yField,c=(0,u.isColumn)(t)&&t.isPercent,p=c?(0,o.percent)(a,s,i,s):a,h=(0,l.findViewById)(e,n).data(p),g=c?(0,r.__assign)({formatter:function(e){return{name:e[t.seriesField]||s,value:(100*Number(e[s])).toFixed(2)+"%"}}},d):d;(0,f.drawSingleGeometry)({chart:h,options:{xField:i,yField:s,tooltip:g,geometryOption:t}})}),t}function m(t){var e,n=t.chart,r=t.options.geometryOptions,a=(null===(e=n.getTheme())||void 0===e?void 0:e.colors10)||[],o=0;return n.once("beforepaint",function(){(0,i.each)(r,function(t,e){var r=(0,l.findViewById)(n,0===e?h.LEFT_AXES_VIEW:h.RIGHT_AXES_VIEW);if(!t.color){var s=r.getGroupScales(),u=(0,i.get)(s,[0,"values","length"],1),c=a.slice(o,o+u).concat(0===e?[]:a);r.geometries.forEach(function(e){t.seriesField?e.color(t.seriesField,c):e.color(c[0])}),o+=u}}),n.render(!0)}),t}function b(t){var e,n,r=t.chart,i=t.options,o=i.xAxis,u=i.yAxis,c=i.xField,f=i.yField;return(0,a.scale)(((e={})[c]=o,e[f[0]]=u[0],e))((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(r,h.LEFT_AXES_VIEW)})),(0,a.scale)(((n={})[c]=o,n[f[1]]=u[1],n))((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(r,h.RIGHT_AXES_VIEW)})),t}function x(t){var e=t.chart,n=t.options,r=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),i=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW),a=n.xField,o=n.yField,s=n.xAxis,c=n.yAxis;return e.axis(a,!1),e.axis(o[0],!1),e.axis(o[1],!1),r.axis(a,s),r.axis(o[0],(0,u.getYAxisWithDefault)(c[0],p.AxisType.Left)),i.axis(a,!1),i.axis(o[1],(0,u.getYAxisWithDefault)(c[1],p.AxisType.Right)),t}function _(t){var e=t.chart,n=t.options.tooltip,r=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),i=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW);return e.tooltip(n),r.tooltip({shared:!0}),i.tooltip({shared:!0}),t}function O(t){var e=t.chart;return(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW)})),(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW)})),t}function P(t){var e=t.chart,n=t.options.annotations,r=(0,i.get)(n,[0]),o=(0,i.get)(n,[1]);return(0,a.annotation)(r)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW),options:{annotations:r}})),(0,a.annotation)(o)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW),options:{annotations:o}})),t}function M(t){var e=t.chart;return(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW)})),(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW)})),(0,a.theme)(t),t}function A(t){var e=t.chart;return(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW)})),(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW)})),t}function S(t){var e=t.chart,n=t.options.yAxis;return(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW),options:{yAxis:n[0]}})),(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW),options:{yAxis:n[1]}})),t}function w(t){var e=t.chart,n=t.options,r=n.legend,a=n.geometryOptions,o=n.yField,u=n.data,f=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),d=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW);if(!1===r)e.legend(!1);else if((0,i.isObject)(r)&&!0===r.custom)e.legend(r);else{var p=(0,i.get)(a,[0,"legend"],r),g=(0,i.get)(a,[1,"legend"],r);e.once("beforepaint",function(){var t=u[0].length?(0,c.getViewLegendItems)({view:f,geometryOption:a[0],yField:o[0],legend:p}):[],n=u[1].length?(0,c.getViewLegendItems)({view:d,geometryOption:a[1],yField:o[1],legend:g}):[];e.legend((0,s.deepAssign)({},r,{custom:!0,items:t.concat(n)}))}),a[0].seriesField&&f.legend(a[0].seriesField,p),a[1].seriesField&&d.legend(a[1].seriesField,g),e.on("legend-item:click",function(t){var n=(0,i.get)(t,"gEvent.delegateObject",{});if(n&&n.item){var r=n.item,a=r.value,s=r.isGeometry,u=r.viewId;if(s){if((0,i.findIndex)(o,function(t){return t===a})>-1){var c=(0,i.get)((0,l.findViewById)(e,u),"geometries");(0,i.each)(c,function(t){t.changeVisible(!n.item.unchecked)})}}else{var f=(0,i.get)(e.getController("legend"),"option.items",[]);(0,i.each)(e.views,function(t){var n=t.getGroupScales();(0,i.each)(n,function(e){e.values&&e.values.indexOf(a)>-1&&t.filter(e.field,function(t){return!(0,i.find)(f,function(e){return e.value===t}).unchecked})}),e.render(!0)})}}})}return t}function E(t){var e=t.chart,n=t.options.slider,r=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),a=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW);return n&&(r.option("slider",n),r.on("slider:valuechanged",function(t){var e=t.event,n=e.value,r=e.originValue;(0,i.isEqual)(n,r)||(0,d.doSliderFilter)(a,n)}),e.once("afterpaint",function(){if(!(0,i.isBoolean)(n)){var t=n.start,e=n.end;(t||e)&&(0,d.doSliderFilter)(a,[t,e])}})),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getViewLegendItems=function(t){var e=t.view,n=t.geometryOption,s=t.yField,l=t.legend,u=(0,r.get)(l,"marker"),c=(0,a.findGeometry)(e,(0,o.isLine)(n)?"line":"interval");if(!n.seriesField){var f=(0,r.get)(e,"options.scales."+s+".alias")||s,d=c.getAttribute("color"),p=e.getTheme().defaultColor;d&&(p=i.Util.getMappingValue(d,f,(0,r.get)(d,["values",0],p)));var h=((0,r.isFunction)(u)?u:!(0,r.isEmpty)(u)&&(0,a.deepAssign)({},{style:{stroke:p,fill:p}},u))||((0,o.isLine)(n)?{symbol:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},style:{lineWidth:2,r:6,stroke:p}}:{symbol:"square",style:{fill:p}});return[{value:s,name:f,marker:h,isGeometry:!0,viewId:e.id}]}var g=c.getGroupAttributes();return(0,r.reduce)(g,function(t,n){var r=i.Util.getLegendItems(e,c,n,e.getTheme(),u);return t.concat(r)},[])};var r=n(0),i=n(14),a=n(7),o=n(305)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.drawSingleGeometry=function(t){var e=t.options,n=t.chart,u=e.geometryOption,c=u.isStack,f=u.color,d=u.seriesField,p=u.groupField,h=u.isGroup,g=["xField","yField"];if((0,l.isLine)(u)){(0,a.line)((0,o.deepAssign)({},t,{options:(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(e,g)),u),{line:{color:u.color,style:u.lineStyle}})})),(0,a.point)((0,o.deepAssign)({},t,{options:(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(e,g)),u),{point:u.point&&(0,r.__assign)({color:f,shape:"circle"},u.point)})}));var v=[];h&&v.push({type:"dodge",dodgeBy:p||d,customOffset:0}),c&&v.push({type:"stack"}),v.length&&(0,i.each)(n.geometries,function(t){t.adjust(v)})}return(0,l.isColumn)(u)&&(0,s.adaptor)((0,o.deepAssign)({},t,{options:(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(e,g)),u),{widthRatio:u.columnWidthRatio,interval:(0,r.__assign)((0,r.__assign)({},(0,o.pick)(u,["color"])),{style:u.columnStyle})})})),t};var r=n(1),i=n(0),a=n(30),o=n(7),s=n(198),l=n(305)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doSliderFilter=void 0;var r=n(0),i=n(7);e.doSliderFilter=function(t,e){var n=e[0],a=e[1],o=t.getOptions().data,s=t.getXScale(),l=(0,r.size)(o);if(s&&l){var u=(0,r.valuesOfKey)(o,s.field),c=(0,r.size)(u),f=Math.floor(n*(c-1)),d=Math.floor(a*(c-1));t.filter(s.field,function(t){var e=u.indexOf(t);return!(e>-1)||(0,i.isBetween)(e,f,d)}),t.render(!0)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_TOOLTIP_OPTIONS=e.DEFAULT_OPTIONS=void 0;var r=n(1),i=n(0),a={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return""+(0,i.get)(e,[0,"data","y"],0)},containerTpl:'
      ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}};e.DEFAULT_TOOLTIP_OPTIONS=a;var o={appendPadding:2,tooltip:(0,r.__assign)({},a),animation:{}};e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(1),i=n(156),a={appendPadding:2,tooltip:(0,r.__assign)({},i.DEFAULT_TOOLTIP_OPTIONS),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}};e.DEFAULT_OPTIONS=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0,e.DEFAULT_OPTIONS={percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"}}},animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Heatmap=void 0;var r=n(1),i=n(19),a=n(1228),o=n(1229);n(1230),n(1231);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(i.Plot);e.Heatmap=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,a.flow)(o.theme,(0,o.pattern)("heatmapStyle"),c,h,u,f,d,o.tooltip,p,(0,o.annotation)(),o.interaction,o.animation,o.state)(t)};var r=n(1),i=n(0),a=n(7),o=n(22),s=n(49),l=n(65);function u(t){var e=t.chart,n=t.options,r=n.data,o=n.type,u=n.xField,c=n.yField,f=n.colorField,d=n.sizeField,p=n.sizeRatio,h=n.shape,g=n.color,v=n.tooltip,y=n.heatmapStyle;e.data(r);var m="polygon";"density"===o&&(m="heatmap");var b=(0,l.getTooltipMapping)(v,[u,c,f]),x=b.fields,_=b.formatter,O=1;return(p||0===p)&&(h||d?p<0||p>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):O=p:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),(0,s.geometry)((0,a.deepAssign)({},t,{options:{type:m,colorField:f,tooltipFields:x,shapeField:d||"",label:void 0,mapping:{tooltip:_,shape:h&&(d?function(t){var e=r.map(function(t){return t[d]}),n=Math.min.apply(Math,e),a=Math.max.apply(Math,e);return[h,((0,i.get)(t,d)-n)/(a-n),O]}:function(){return[h,1,O]}),color:g||f&&e.getTheme().sequenceColors.join("-"),style:y}}})),t}function c(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,l=n.yField;return(0,a.flow)((0,o.scale)(((e={})[s]=r,e[l]=i,e)))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,a=n.sizeField,o=n.sizeLegend,s=!1!==r;return i&&e.legend(i,!!s&&r),a&&e.legend(a,void 0===o?r:o),s||o||e.legend(!1),t}function p(t){var e=t.chart,n=t.options,i=n.label,o=n.colorField,s=n.type,l=(0,a.findGeometry)(e,"density"===s?"heatmap":"polygon");if(i){if(o){var u=i.callback,c=(0,r.__rest)(i,["callback"]);l.label({fields:[o],callback:u,cfg:(0,a.transformLabel)(c)})}}else l.label(!1);return t}function h(t){var e=t.chart,n=t.options,r=n.coordinate,i=n.reflect;return r&&e.coordinate({type:r.type||"rect",cfg:r.cfg}),i&&e.coordinate().reflect(i),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";var r=n(1);(0,n(14).registerShape)("polygon","circle",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y))/2,u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("circle",{attrs:(0,r.__assign)((0,r.__assign)((0,r.__assign)({x:a,y:o,r:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";var r=n(1);(0,n(14).registerShape)("polygon","square",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y)),u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("rect",{attrs:(0,r.__assign)((0,r.__assign)((0,r.__assign)({x:a-c/2,y:o-c/2,width:c,height:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Box=void 0;var r=n(1),i=n(19),a=n(1233),o=n(582),s=n(308),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="box",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options.yField,n=this.chart.views.find(function(t){return t.id===s.OUTLIERS_VIEW_ID});n&&n.data(t),this.chart.changeData((0,o.transformData)(t,e))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Box=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(f,d,p,h,g,a.tooltip,a.interaction,a.animation,a.theme)(t)},e.legend=g;var r=n(1),i=n(0),a=n(22),o=n(30),s=n(7),l=n(99),u=n(308),c=n(582);function f(t){var e=t.chart,n=t.options,r=n.xField,a=n.yField,l=n.groupField,f=n.color,d=n.tooltip,p=n.boxStyle;e.data((0,c.transformData)(n.data,a));var h=(0,i.isArray)(a)?u.BOX_RANGE:a,g=a?(0,i.isArray)(a)?a:[a]:[],v=d;!1!==v&&(v=(0,s.deepAssign)({},{fields:(0,i.isArray)(a)?a:[]},v));var y=(0,o.schema)((0,s.deepAssign)({},t,{options:{xField:r,yField:h,seriesField:l,tooltip:v,rawFields:g,label:!1,schema:{shape:"box",color:f,style:p}}})).ext;return l&&y.geometry.adjust("dodge"),t}function d(t){var e=t.chart,n=t.options,i=n.xField,a=n.data,s=n.outliersField,l=n.outliersStyle,c=n.padding,f=n.label;if(!s)return t;var d=e.createView({padding:c,id:u.OUTLIERS_VIEW_ID}),p=a.reduce(function(t,e){return e[s].forEach(function(n){var i;return t.push((0,r.__assign)((0,r.__assign)({},e),((i={})[s]=n,i)))}),t},[]);return d.data(p),(0,o.point)({chart:d,options:{xField:i,yField:s,point:{shape:"circle",style:l},label:f}}),d.axis(!1),t}function p(t){var e,n,r=t.chart,i=t.options,a=i.meta,o=i.xAxis,c=i.yAxis,f=i.xField,d=i.yField,p=i.outliersField,h=Array.isArray(d)?u.BOX_RANGE:d,g={};if(p){var v=u.BOX_SYNC_NAME;(e={})[p]={sync:v,nice:!0},e[h]={sync:v,nice:!0},g=e}var y=(0,s.deepAssign)(g,a,((n={})[f]=(0,s.pick)(o,l.AXIS_META_CONFIG_KEYS),n[h]=(0,s.pick)(c,l.AXIS_META_CONFIG_KEYS),n));return r.scale(y),t}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField,s=Array.isArray(o)?u.BOX_RANGE:o;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(u.BOX_RANGE,!1):e.axis(s,i),t}function g(t){var e=t.chart,n=t.options,r=n.legend,i=n.groupField;return i?r?e.legend(i,r):e.legend(i,{position:"bottom"}):e.legend(!1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Violin=void 0;var r=n(1),i=n(19),a=n(1235),o=n(584),s=n(583),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="violin",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData((0,s.transformViolinData)(this.options))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Violin=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,u.flow)(s.theme,g,v,y,m,s.tooltip,b,x,s.interaction,_,O)(t)},e.animation=O;var i=r(n(6)),a=n(1),o=n(0),s=n(22),l=n(30),u=n(7),c=n(99),f=n(583),d=n(584),p=["low","high","q1","q3","median"],h=[{type:"dodge",marginRatio:1/32}];function g(t){var e=t.chart,n=t.options;return e.data((0,f.transformViolinData)(n)),t}function v(t){var e=t.chart,n=t.options,r=n.seriesField,i=n.color,o=n.shape,s=n.violinStyle,u=n.tooltip,c=n.state,f=e.createView({id:d.VIOLIN_VIEW_ID});return(0,l.violin)({chart:f,options:{xField:d.X_FIELD,yField:d.VIOLIN_Y_FIELD,seriesField:r||d.X_FIELD,sizeField:d.VIOLIN_SIZE_FIELD,tooltip:(0,a.__assign)({fields:p},u),violin:{style:s,color:i,shape:void 0===o?"violin":o},state:c}}),f.geometries[0].adjust(h),t}function y(t){var e=t.chart,n=t.options,r=n.seriesField,o=n.color,s=n.tooltip,u=n.box;if(!1===u)return t;var c=e.createView({id:d.MIN_MAX_VIEW_ID});(0,l.interval)({chart:c,options:{xField:d.X_FIELD,yField:d.MIN_MAX_FIELD,seriesField:r||d.X_FIELD,tooltip:(0,a.__assign)({fields:p},s),state:"object"===(0,i.default)(u)?u.state:{},interval:{color:o,size:1,style:{lineWidth:0}}}}),c.geometries[0].adjust(h);var f=e.createView({id:d.QUANTILE_VIEW_ID});(0,l.interval)({chart:f,options:{xField:d.X_FIELD,yField:d.QUANTILE_FIELD,seriesField:r||d.X_FIELD,tooltip:(0,a.__assign)({fields:p},s),state:"object"===(0,i.default)(u)?u.state:{},interval:{color:o,size:8,style:{fillOpacity:1}}}}),f.geometries[0].adjust(h);var g=e.createView({id:d.MEDIAN_VIEW_ID});return(0,l.point)({chart:g,options:{xField:d.X_FIELD,yField:d.MEDIAN_FIELD,seriesField:r||d.X_FIELD,tooltip:(0,a.__assign)({fields:p},s),state:"object"===(0,i.default)(u)?u.state:{},point:{color:o,size:1,style:{fill:"white",lineWidth:0}}}}),g.geometries[0].adjust(h),f.axis(!1),c.axis(!1),g.axis(!1),g.legend(!1),c.legend(!1),f.legend(!1),t}function m(t){var e,n=t.chart,r=t.options,i=r.meta,o=r.xAxis,s=r.yAxis,l=(0,u.deepAssign)({},i,((e={})[d.X_FIELD]=(0,a.__assign)((0,a.__assign)({sync:!0},(0,u.pick)(o,c.AXIS_META_CONFIG_KEYS)),{type:"cat"}),e[d.VIOLIN_Y_FIELD]=(0,a.__assign)({sync:!0},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e[d.MIN_MAX_FIELD]=(0,a.__assign)({sync:d.VIOLIN_Y_FIELD},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e[d.QUANTILE_FIELD]=(0,a.__assign)({sync:d.VIOLIN_Y_FIELD},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e[d.MEDIAN_FIELD]=(0,a.__assign)({sync:d.VIOLIN_Y_FIELD},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e));return n.scale(l),t}function b(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=(0,u.findViewById)(e,d.VIOLIN_VIEW_ID);return!1===r?a.axis(d.X_FIELD,!1):a.axis(d.X_FIELD,r),!1===i?a.axis(d.VIOLIN_Y_FIELD,!1):a.axis(d.VIOLIN_Y_FIELD,i),e.axis(!1),t}function x(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField,a=n.shape;if(!1===r)e.legend(!1);else{var s=i||d.X_FIELD,l=(0,o.omit)(r,["selected"]);a&&a.startsWith("hollow")||(0,o.get)(l,["marker","style","lineWidth"])||(0,o.set)(l,["marker","style","lineWidth"],0),e.legend(s,l),(0,o.get)(r,"selected")&&(0,o.each)(e.views,function(t){return t.legend(s,r)})}return t}function _(t){var e=t.chart,n=(0,u.findViewById)(e,d.VIOLIN_VIEW_ID);return(0,s.annotation)()((0,a.__assign)((0,a.__assign)({},t),{chart:n})),t}function O(t){var e=t.chart,n=t.options.animation;return(0,o.each)(e.views,function(t){"boolean"==typeof n?t.animate(n):t.animate(!0),(0,o.each)(t.geometries,function(t){t.animate(n)})}),t}},function(t,e,n){"use strict";var r=Math.log(2),i=t.exports,a=n(1237);function o(t){return 1-Math.abs(t)}t.exports.getUnifiedMinMax=function(t,e){return i.getUnifiedMinMaxMulti([t],e)},t.exports.getUnifiedMinMaxMulti=function(t,e){e=e||{};var n=!1,r=!1,i=a.isNumber(e.width)?e.width:2,o=a.isNumber(e.size)?e.size:50,s=a.isNumber(e.min)?e.min:(n=!0,a.findMinMulti(t)),l=a.isNumber(e.max)?e.max:(r=!0,a.findMaxMulti(t)),u=(l-s)/(o-1);return n&&(s-=2*i*u),r&&(l+=2*i*u),{min:s,max:l}},t.exports.create=function(t,e){if(e=e||{},!t||0===t.length)return[];var n=a.isNumber(e.size)?e.size:50,r=a.isNumber(e.width)?e.width:2,s=i.getUnifiedMinMax(t,{size:n,width:r,min:e.min,max:e.max}),l=s.min,u=s.max-l,c=u/(n-1);if(0===u)return[{x:l,y:1}];for(var f=[],d=0;d=f.length)){var n=Math.max(e-r,0),i=Math.min(e+r,f.length-1),o=n-(e-r),s=e+r-i,u=h/(h-(p[-r-1+o]||0)-(p[-r-1+s]||0));o>0&&(v+=u*(o-1)*g);var d=Math.max(0,e-r+1);a.inside(0,f.length-1,d)&&(f[d].y+=1*u*g),a.inside(0,f.length-1,e+1)&&(f[e+1].y-=2*u*g),a.inside(0,f.length-1,i+1)&&(f[i+1].y+=1*u*g)}});var y=v,m=0,b=0;return f.forEach(function(t){m+=t.y,y+=m,t.y=y,b+=y}),b>0&&f.forEach(function(t){t.y/=b}),f},t.exports.getExpectedValueFromPdf=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){e+=t.x*t.y}),e}},t.exports.getXWithLeftTailArea=function(t,e){if(t&&0!==t.length){for(var n=0,r=0,i=0;i=e));i++);return t[r].x}},t.exports.getPerplexity=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){var n=Math.log(t.y);isFinite(n)&&(e+=t.y*n)}),Math.pow(2,e=-e/r)}}},function(t,e,n){"use strict";var r=t.exports;t.exports.isNumber=function(t){return"number"==typeof t},t.exports.findMin=function(t){if(0===t.length)return 1/0;for(var e=t[0],n=1;n1)throw Error("quantiles must be between 0 and 1");return 1===e?t[t.length-1]:0===e?t[0]:n%1!=0?t[Math.ceil(n)-1]:t.length%2==0?(t[n-1]+t[n])/2:t[n]}function i(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function a(t,e,n,r){for(n=n||0,r=r||t.length-1;r>n;){if(r-n>600){var o=r-n+1,s=e-n+1,l=Math.log(o),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(o-u)/o);s-o/2<0&&(c*=-1);var f=Math.max(n,Math.floor(e-s*u/o+c)),d=Math.min(r,Math.floor(e+(o-s)*u/o+c));a(t,e,f,d)}var p=t[e],h=n,g=r;for(i(t,n,e),t[r]>p&&i(t,n,r);hp;)g--}t[n]===p?i(t,n,g):i(t,++g,r),g<=e&&(n=g+1),e<=g&&(r=g-1)}}function o(t,e,n,r){e%1==0?a(t,e,n,r):(a(t,e=Math.floor(e),n,r),a(t,e+1,e+1,r))}function s(t,e){return t-e}function l(t,e){var n=t*e;return 1===e?t-1:0===e?0:n%1!=0?Math.ceil(n)-1:t%2==0?n-.5:n}Object.defineProperty(e,"__esModule",{value:!0}),e.quantile=function(t,e){var n=t.slice();if(Array.isArray(e)){(function(t,e){for(var n=[0],r=0;re?e:t},lighten:function(t,e){return t>e?t:e},dodge:function(t,e){return 255===t?255:(t=255*(e/255)/(1-t/255))>255?255:t},burn:function(t,e){return 255===e?255:0===t?0:255*(1-Math.min(1,(1-e/255)/(t/255)))}},o=function(t){if(!a[t])throw Error("unknown blend mode "+t);return a[t]};function s(t){var e,n=t.replace("/s+/g","");return"string"!=typeof n||n.startsWith("rgba")||n.startsWith("#")?(n.startsWith("rgba")&&(e=n.replace("rgba(","").replace(")","").split(",")),n.startsWith("#")&&(e=i.default.rgb2arr(n).concat([1])),e.map(function(t,e){return 3===e?Number(t):0|t})):i.default.rgb2arr(i.default.toRGB(n)).concat([1])}e.innerBlend=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.bestInitialLayout=s,e.constrainedMDSLayout=l,e.disjointCluster=f,e.distanceFromIntersectArea=a,e.getDistanceMatrices=o,e.greedyLayout=u,e.lossFunction=c,e.normalizeSolution=function(t,e,n){null===e&&(e=Math.PI/2);var r,a,o=[];for(a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push({x:s.x,y:s.y,radius:s.radius,setid:a})}var l=f(o);for(r=0;r0){var r,a=t[0].x,o=t[0].y;for(r=0;r1){var s=Math.atan2(t[1].x,t[1].y)-e,l=void 0,u=void 0,c=Math.cos(s),f=Math.sin(s);for(r=0;r2){for(var d=Math.atan2(t[2].x,t[2].y)-e;d<0;)d+=2*Math.PI;for(;d>2*Math.PI;)d-=2*Math.PI;if(d>Math.PI){var p=t[1].y/(1e-10+t[1].x);for(r=0;re?1:-1}),e=0;e=Math.min(e[r].size,e[s].size)?u=1:t.size<=1e-10&&(u=-1),o[r][s]=o[s][r]=u}),{distances:i,constraints:o}}function s(t,e){var n=u(t,e),r=e.lossFunction||c;if(t.length>=8){var i=l(t,e);r(i,t)+1e-80&&h<=f||d<0&&h>=f||(a+=2*g*g,e[2*i]+=4*g*(o-u),e[2*i+1]+=4*g*(s-c),e[2*l]+=4*g*(u-o),e[2*l+1]+=4*g*(c-s))}return a}(t,e,d,p)};for(n=0;n=Math.min(o[p].size,o[h].size)&&(d=0),s[p].push({set:h,size:f.size,weight:d}),s[h].push({set:p,size:f.size,weight:d})}var g=[];for(n in s)if(s.hasOwnProperty(n)){for(var v=0,l=0;l0&&console.log("WARNING: area "+s+" not represented on screen")}return n},e.intersectionAreaPath=function(t){var e={};(0,i.intersectionArea)(t,e);var n=e.arcs;if(0===n.length)return"M 0 0";if(1==n.length){var r=n[0].circle;return s(r.x,r.y,r.radius)}for(var a=["\nM",n[0].p2.x,n[0].p2.y],o=0;ou;a.push("\nA",u,u,0,c?1:0,1,l.p1.x,l.p1.y)}return a.join(" ")};var r=n(585),i=n(586);function a(t,e,n){var r,a,o=e[0].radius-(0,i.distance)(e[0],t);for(r=1;r=c&&(u=s[n],c=f)}var d=(0,r.nelderMead)(function(n){return -1*a({x:n[0],y:n[1]},t,e)},[u.x,u.y],{maxIterations:500,minErrorDelta:1e-10}).x,p={x:d[0],y:d[1]},h=!0;for(n=0;nt[n].radius){h=!1;break}for(n=0;n0;)u-=2*Math.PI;var c=a-t+(u=u/Math.PI/2*n)-2*t;l.push(["M",c,e]);for(var f=0,d=0;d0&&t.depth>p)return null;for(var e,i,s,l,f,h,v=t.data.name,y=(0,r.__assign)({},t);y.depth>1;)v=(null===(i=y.parent.data)||void 0===i?void 0:i.name)+" / "+v,y=y.parent;var b=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(t.data,(0,r.__spreadArrays)(c||[],[d.field]))),((e={})[u.SUNBURST_PATH_FIELD]=v,e[u.SUNBURST_ANCESTOR_FIELD]=y.data.name,e)),t);g&&(b[g]=t.data[g]||(null===(l=null===(s=t.parent)||void 0===s?void 0:s.data)||void 0===l?void 0:l[g])),n&&(b[n]=t.data[n]||(null===(h=null===(f=t.parent)||void 0===f?void 0:f.data)||void 0===h?void 0:h[n])),b.ext=d,b[a.HIERARCHY_DATA_TRANSFORM_PARAMS]={hierarchyConfig:d,colorField:n,rawFields:c},m.push(b)}),m};var r=n(1),i=n(0),a=n(201),o=n(7),s=n(1266),l=n(593),u=n(312)},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.partition=function(t,e){var n,r=(e=(0,a.assign)({},l,e)).as;if(!(0,a.isArray)(r)||2!==r.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=(0,o.getField)(e)}catch(t){console.warn(t)}var s=i.partition().size(e.size).round(e.round).padding(e.padding)(i.hierarchy(t).sum(function(t){return(0,a.size)(t.children)?e.ignoreParentValue?0:t[n]-(0,a.reduce)(t.children,function(t,e){return t+e[n]},0):t[n]}).sort(e.sort)),u=r[0],c=r[1];return s.each(function(t){var e,n;t[u]=[t.x0,t.x1,t.x1,t.x0],t[c]=[t.y1,t.y1,t.y0,t.y0],t.name=t.name||(null===(e=t.data)||void 0===e?void 0:e.name)||(null===(n=t.data)||void 0===n?void 0:n.label),t.data.name=t.name,["x0","x1","y0","y1"].forEach(function(e){-1===r.indexOf(e)&&delete t[e]})}),(0,o.getAllNodes)(s)};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(193)),a=n(0),o=n(157);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l={field:"value",size:[1,1],round:!1,padding:0,sort:function(t,e){return e.value-t.value},as:["x","y"],ignoreParentValue:!0}},function(t,e,n){"use strict";n(313)},function(t,e,n){"use strict";var r=n(1);(0,n(14).registerShape)("point","gauge-indicator",{draw:function(t,e){var n=t.customInfo,i=n.indicator,a=n.defaultColor,o=i.pointer,s=i.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:(0,r.__assign)({x1:u.x,y1:u.y,x2:t.x,y2:t.y,stroke:a},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:(0,r.__assign)({x:u.x,y:u.y,stroke:a},s.style)}),l}})},function(t,e,n){"use strict";var r=n(14),i=n(0);(0,r.registerShape)("interval","meter-gauge",{draw:function(t,e){var n=t.customInfo.meter,a=void 0===n?{}:n,o=a.steps,s=void 0===o?50:o,l=a.stepRatio,u=void 0===l?.5:l;s=s<1?1:s,u=(0,i.clamp)(u,0,1);var c=this.coordinate,f=c.startAngle,d=c.endAngle,p=0;u>0&&u<1&&(p=(d-f)/s/(u/(1-u)+1-1/s));for(var h=p/(1-u)*u,g=e.addGroup(),v=this.coordinate.getCenter(),y=this.coordinate.getRadius(),m=r.Util.getAngle(t,this.coordinate),b=m.startAngle,x=m.endAngle,_=b;_0?g:v},b=(0,l.deepAssign)({},t,{options:{xField:a,yField:u.Y_FIELD,seriesField:a,rawFields:[s,u.DIFF_FIELD,u.IS_TOTAL,u.Y_FIELD],widthRatio:p,interval:{style:h,shape:"waterfall",color:m}}});return(0,o.interval)(b).ext.geometry.customInfo({leaderLine:d}),t}function p(t){var e,n,r=t.options,o=r.xAxis,s=r.yAxis,c=r.xField,f=r.yField,d=r.meta,p=(0,l.deepAssign)({},{alias:f},(0,i.get)(d,f));return(0,l.flow)((0,a.scale)(((e={})[c]=o,e[f]=s,e[u.Y_FIELD]=s,e),(0,l.deepAssign)({},d,((n={})[u.Y_FIELD]=p,n[u.DIFF_FIELD]=p,n[u.ABSOLUTE_FIELD]=p,n))))(t)}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?(e.axis(o,!1),e.axis(u.Y_FIELD,!1)):(e.axis(o,i),e.axis(u.Y_FIELD,i)),t}function g(t){var e=t.chart,n=t.options,r=n.legend,a=n.total,o=n.risingFill,u=n.fallingFill,c=n.locale,f=(0,s.getLocale)(c);if(!1===r)e.legend(!1);else{var d=[{name:f.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:o}}},{name:f.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:u}}}];a&&d.push({name:a.label||"",value:"total",marker:{symbol:"square",style:(0,l.deepAssign)({},{r:5},(0,i.get)(a,"style"))}}),e.legend((0,l.deepAssign)({},{custom:!0,position:"top",items:d},r)),e.removeInteraction("legend-filter")}return t}function v(t){var e=t.chart,n=t.options,i=n.label,a=n.labelMode,o=n.xField,s=(0,l.findGeometry)(e,"interval");if(i){var c=i.callback,f=(0,r.__rest)(i,["callback"]);s.label({fields:"absolute"===a?[u.ABSOLUTE_FIELD,o]:[u.DIFF_FIELD,o],callback:c,cfg:(0,l.transformLabel)(f)})}else s.label(!1);return t}function y(t){var e=t.chart,n=t.options,i=n.tooltip,a=n.xField,o=n.yField;if(!1!==i){e.tooltip((0,r.__assign)({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i));var s=e.geometries[0];(null==i?void 0:i.formatter)?s.tooltip(a+"*"+o,i.formatter):s.tooltip(o)}else e.tooltip(!1);return t}n(1272)},function(t,e,n){"use strict";var r=n(1),i=n(14),a=n(0),o=n(7);(0,i.registerShape)("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,s=t.nextPoints,l=e.addGroup(),u=this.parsePath(function(t){for(var e=[],n=0;n0?Math.max.apply(Math,r):0,a=Math.abs(t)%360;return a?360*i/a:i},e.getStackedData=function(t,e,n){var i=[];return t.forEach(function(t){var a=i.find(function(n){return n[e]===t[e]});a?a[n]+=t[n]||null:i.push((0,r.__assign)({},t))}),i};var r=n(1)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BidirectionalBar=void 0;var r=n(1),i=n(14),a=n(19),o=n(7),s=n(1278),l=n(599),u=n(598),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bidirectional-bar",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return(0,o.deepAssign)({},t.getDefaultOptions.call(this),{syncViewPadding:l.syncViewPadding})},e.prototype.changeData=function(t){void 0===t&&(t=[]),this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null)),this.updateOption({data:t});var e=this.options,n=e.xField,r=e.yField,a=e.layout,s=(0,l.transformData)(n,r,u.SERIES_FIELD_KEY,t,(0,l.isHorizontal)(a)),c=s[0],f=s[1],d=(0,o.findViewById)(this.chart,u.FIRST_AXES_VIEW),p=(0,o.findViewById)(this.chart,u.SECOND_AXES_VIEW);d.data(c),p.data(f),this.chart.render(!0),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.SERIES_FIELD_KEY=u.SERIES_FIELD_KEY,e}(a.Plot);e.BidirectionalBar=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(c,f,d,h,g,y,a.tooltip,p,v)(t)},e.animation=v,e.interaction=p,e.limitInPlot=h,e.theme=g;var r=n(1),i=n(0),a=n(22),o=n(30),s=n(7),l=n(598),u=n(599);function c(t){var e,n,r=t.chart,i=t.options,a=i.data,c=i.xField,f=i.yField,d=i.color,p=i.barStyle,h=i.widthRatio,g=i.legend,v=i.layout,y=(0,u.transformData)(c,f,l.SERIES_FIELD_KEY,a,(0,u.isHorizontal)(v));g?r.legend(l.SERIES_FIELD_KEY,g):!1===g&&r.legend(!1);var m=y[0],b=y[1];(0,u.isHorizontal)(v)?((e=r.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:l.FIRST_AXES_VIEW})).coordinate().transpose().reflect("x"),(n=r.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:l.SECOND_AXES_VIEW})).coordinate().transpose(),e.data(m),n.data(b)):(e=r.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:l.FIRST_AXES_VIEW}),(n=r.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:l.SECOND_AXES_VIEW})).coordinate().reflect("y"),e.data(m),n.data(b));var x=(0,s.deepAssign)({},t,{chart:e,options:{widthRatio:h,xField:c,yField:f[0],seriesField:l.SERIES_FIELD_KEY,interval:{color:d,style:p}}});(0,o.interval)(x);var _=(0,s.deepAssign)({},t,{chart:n,options:{xField:c,yField:f[1],seriesField:l.SERIES_FIELD_KEY,widthRatio:h,interval:{color:d,style:p}}});return(0,o.interval)(_),t}function f(t){var e,n,r,o=t.options,u=t.chart,c=o.xAxis,f=o.yAxis,d=o.xField,p=o.yField,h=(0,s.findViewById)(u,l.FIRST_AXES_VIEW),g=(0,s.findViewById)(u,l.SECOND_AXES_VIEW),v={};return(0,i.keys)((null==o?void 0:o.meta)||{}).map(function(t){(0,i.get)(null==o?void 0:o.meta,[t,"alias"])&&(v[t]=o.meta[t].alias)}),u.scale(((e={})[l.SERIES_FIELD_KEY]={sync:!0,formatter:function(t){return(0,i.get)(v,t,t)}},e)),(0,a.scale)(((n={})[d]=c,n[p[0]]=f[p[0]],n))((0,s.deepAssign)({},t,{chart:h})),(0,a.scale)(((r={})[d]=c,r[p[1]]=f[p[1]],r))((0,s.deepAssign)({},t,{chart:g})),t}function d(t){var e=t.chart,n=t.options,i=n.xAxis,a=n.yAxis,o=n.xField,c=n.yField,f=n.layout,d=(0,s.findViewById)(e,l.FIRST_AXES_VIEW),p=(0,s.findViewById)(e,l.SECOND_AXES_VIEW);return(null==i?void 0:i.position)==="bottom"?p.axis(o,(0,r.__assign)((0,r.__assign)({},i),{label:{formatter:function(){return""}}})):p.axis(o,!1),!1===i?d.axis(o,!1):d.axis(o,(0,r.__assign)({position:(0,u.isHorizontal)(f)?"top":"bottom"},i)),!1===a?(d.axis(c[0],!1),p.axis(c[1],!1)):(d.axis(c[0],a[c[0]]),p.axis(c[1],a[c[1]])),e.__axisPosition={position:d.getOptions().axes[o].position,layout:f},t}function p(t){var e=t.chart;return(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW)})),(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW)})),t}function h(t){var e=t.chart,n=t.options,r=n.yField,i=n.yAxis;return(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW),options:{yAxis:i[r[0]]}})),(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW),options:{yAxis:i[r[1]]}})),t}function g(t){var e=t.chart;return(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW)})),(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW)})),t}function v(t){var e=t.chart;return(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW)})),(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW)})),t}function y(t){var e,n,i=this,a=t.chart,o=t.options,c=o.label,f=o.yField,d=o.layout,p=(0,s.findViewById)(a,l.FIRST_AXES_VIEW),h=(0,s.findViewById)(a,l.SECOND_AXES_VIEW),g=(0,s.findGeometry)(p,"interval"),v=(0,s.findGeometry)(h,"interval");if(c){var y=c.callback,m=(0,r.__rest)(c,["callback"]);m.position||(m.position="middle"),void 0===m.offset&&(m.offset=2);var b=(0,r.__assign)({},m);if((0,u.isHorizontal)(d)){var x=(null===(e=b.style)||void 0===e?void 0:e.textAlign)||("middle"===m.position?"center":"left");m.style=(0,s.deepAssign)({},m.style,{textAlign:x}),b.style=(0,s.deepAssign)({},b.style,{textAlign:{left:"right",right:"left",center:"center"}[x]})}else{var _={top:"bottom",bottom:"top",middle:"middle"};"string"==typeof m.position?m.position=_[m.position]:"function"==typeof m.position&&(m.position=function(){for(var t=[],e=0;e "+t.target,value:t.value}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:"wave-in"},enter:{animation:"wave-in"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var e=(0,l.transformToViewsData)(this.options,this.chart.width,this.chart.height),n=e.nodes,r=e.edges,i=(0,o.findViewById)(this.chart,u.NODES_VIEW_ID),a=(0,o.findViewById)(this.chart,u.EDGES_VIEW_ID);i.changeData(n),a.changeData(r)},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(a.Plot);e.Sankey=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(c,f,a.interaction,p,d,a.theme)(t)},e.animation=d,e.nodeDraggable=p;var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(601),u=n(316);function c(t){var e=t.options.rawFields,n=void 0===e?[]:e;return(0,o.deepAssign)({},{options:{tooltip:{fields:(0,i.uniq)((0,r.__spreadArrays)(["name","source","target","value","isNode"],n))},label:{fields:(0,i.uniq)((0,r.__spreadArrays)(["x","name"],n))}}},t)}function f(t){var e=t.chart,n=t.options,r=n.color,i=n.nodeStyle,a=n.edgeStyle,o=n.label,c=n.tooltip,f=n.nodeState,d=n.edgeState;e.legend(!1),e.tooltip(c),e.axis(!1),e.coordinate().reflect("y");var p=(0,l.transformToViewsData)(n,e.width,e.height),h=p.nodes,g=p.edges,v=e.createView({id:u.EDGES_VIEW_ID});v.data(g),(0,s.edge)({chart:v,options:{xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.COLOR_FIELD,edge:{color:r,style:a,shape:"arc"},tooltip:c,state:d}});var y=e.createView({id:u.NODES_VIEW_ID});return y.data(h),(0,s.polygon)({chart:y,options:{xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.COLOR_FIELD,polygon:{color:r,style:i},label:o,tooltip:c,state:f}}),e.interaction("element-active"),e.scale({x:{sync:!0,nice:!0,min:0,max:1,minLimit:0,maxLimit:1},y:{sync:!0,nice:!0,min:0,max:1,minLimit:0,maxLimit:1},name:{sync:"color",type:"cat"}}),t}function d(t){var e=t.chart,n=t.options.animation;return"boolean"==typeof n?e.animate(n):e.animate(!0),(0,r.__spreadArrays)(e.views[0].geometries,e.views[1].geometries).forEach(function(t){t.animate(n)}),t}function p(t){var e=t.chart,n=t.options.nodeDraggable,r="sankey-node-draggable";return n?e.interaction(r):e.removeInteraction(r),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultOptions=l,e.getNodeAlignFunction=s,e.sankeyLayout=function(t,e){var n=l(t),r=n.nodeId,a=n.nodeSort,o=n.nodeAlign,u=n.nodeWidth,c=n.nodePadding,f=n.nodeDepth,d=(0,i.sankey)().nodeSort(a).nodeWidth(u).nodePadding(c).nodeDepth(f).nodeAlign(s(o)).extent([[0,0],[1,1]]).nodeId(r)(e);return d.nodes.forEach(function(t){var e=t.x0,n=t.x1,r=t.y0,i=t.y1;t.x=[e,n,n,e],t.y=[r,r,i,i]}),d.links.forEach(function(t){var e=t.source,n=t.target,r=e.x1,i=n.x0;t.x=[r,r,i,i];var a=t.width/2;t.y=[t.y0+a,t.y0-a,t.y1+a,t.y1-a]}),d};var r=n(0),i=n(1286),a={left:i.left,right:i.right,center:i.center,justify:i.justify},o={nodeId:function(t){return t.index},nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodeSort:void 0};function s(t){return((0,r.isString)(t)?a[t]:(0,r.isFunction)(t)?t:null)||i.justify}function l(t){return(0,r.assign)({},o,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"center",{enumerable:!0,get:function(){return i.center}}),Object.defineProperty(e,"justify",{enumerable:!0,get:function(){return i.justify}}),Object.defineProperty(e,"left",{enumerable:!0,get:function(){return i.left}}),Object.defineProperty(e,"right",{enumerable:!0,get:function(){return i.right}}),Object.defineProperty(e,"sankey",{enumerable:!0,get:function(){return r.Sankey}});var r=n(1287),i=n(602)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.Sankey=function(){var t,e,n,r,v=0,y=0,m=1,b=1,x=24,_=8,O=f,P=a.justify,M=d,A=p,S=6;function w(a){var f={nodes:M(a),links:A(a)};return function(t){var e=t.nodes,r=t.links;e.forEach(function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]});var a=new Map(e.map(function(t){return[O(t),t]}));if(r.forEach(function(t,e){t.index=e;var n=t.source,r=t.target;"object"!==(0,i.default)(n)&&(n=t.source=h(a,n)),"object"!==(0,i.default)(r)&&(r=t.target=h(a,r)),n.sourceLinks.push(t),r.targetLinks.push(t)}),null!=n)for(var o=0;or)throw Error("circular link");i=a,a=new Set}if(t)for(var l=Math.max((0,o.maxValueBy)(n,function(t){return t.depth})+1,0),u=void 0,c=0;cn)throw Error("circular link");r=i,i=new Set}}(f),function(t){var i=function(t){for(var n=t.nodes,r=Math.max((0,o.maxValueBy)(n,function(t){return t.depth})+1,0),i=(m-v-x)/(r-1),a=Array(r).fill(0).map(function(){return[]}),s=0;s=0;--o){for(var s=t[o],l=0;l0){var m=(f/d-c.y0)*n;c.y0+=m,c.y1+=m,I(c)}}void 0===e&&s.sort(u),s.length&&E(s,i)}})(i,f,d),function(t,n,i){for(var a=1,o=t.length;a0){var m=(f/d-c.y0)*n;c.y0+=m,c.y1+=m,I(c)}}void 0===e&&s.sort(u),s.length&&E(s,i)}}(i,f,d)}}(f),g(f),f}function E(t,e){var n=t.length>>1,i=t[n];T(t,i.y0-r,n-1,e),C(t,i.y1+r,n+1,e),T(t,b,t.length-1,e),C(t,y,0,e)}function C(t,e,n,i){for(;n1e-6&&(a.y0+=o,a.y1+=o),e=a.y1+r}}function T(t,e,n,i){for(;n>=0;--n){var a=t[n],o=(a.y1-e)*i;o>1e-6&&(a.y0-=o,a.y1-=o),e=a.y0-r}}function I(t){var e=t.sourceLinks,r=t.targetLinks;if(void 0===n){for(var i=0;io.findIndex(function(r){return r===t[e]+"_"+t[n]})})},e.getMatrix=a,e.getNodes=i;var r=n(0);function i(t,e,n){var r=[];return t.forEach(function(t){var i=t[e],a=t[n];r.includes(i)||r.push(i),r.includes(a)||r.push(a)}),r}function a(t,e,n,r){var i={};return e.forEach(function(t){i[t]={},e.forEach(function(e){i[t][e]=0})}),t.forEach(function(t){i[t[n]][t[r]]=1}),i}},function(t,e,n){"use strict";n(1291)},function(t,e,n){"use strict";var r=n(14),i=n(1292);(0,r.registerAction)("sankey-node-drag",i.SankeyNodeDragAction),(0,r.registerInteraction)("sankey-node-draggable",{showEnable:[{trigger:"polygon:mouseenter",action:"cursor:pointer"},{trigger:"polygon:mouseleave",action:"cursor:default"}],start:[{trigger:"polygon:mousedown",action:"sankey-node-drag:start"}],processing:[{trigger:"plot:mousemove",action:"sankey-node-drag:translate"},{isEnable:function(t){return t.isDragging},trigger:"plot:mousemove",action:"cursor:move"}],end:[{trigger:"plot:mouseup",action:"sankey-node-drag:end"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SankeyNodeDragAction=void 0;var r=n(1),i=n(14),a=n(0),o=n(7),s=n(316),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isDragging=!1,e}return(0,r.__extends)(e,t),e.prototype.isNodeElement=function(){var t=(0,a.get)(this.context,"event.target");if(t){var e=t.get("element");return e&&e.getModel().data.isNode}return!1},e.prototype.getNodeView=function(){return(0,o.findViewById)(this.context.view,s.NODES_VIEW_ID)},e.prototype.getEdgeView=function(){return(0,o.findViewById)(this.context.view,s.EDGES_VIEW_ID)},e.prototype.getCurrentDatumIdx=function(t){return this.getNodeView().geometries[0].elements.indexOf(t)},e.prototype.start=function(){if(this.isNodeElement()){this.prevPoint={x:(0,a.get)(this.context,"event.x"),y:(0,a.get)(this.context,"event.y")};var t=this.context.event.target.get("element"),e=this.getCurrentDatumIdx(t);-1!==e&&(this.currentElementIdx=e,this.context.isDragging=!0,this.isDragging=!0,this.prevNodeAnimateCfg=this.getNodeView().getOptions().animate,this.prevEdgeAnimateCfg=this.getEdgeView().getOptions().animate,this.getNodeView().animate(!1),this.getEdgeView().animate(!1))}},e.prototype.translate=function(){if(this.isDragging){var t=this.context.view,e={x:(0,a.get)(this.context,"event.x"),y:(0,a.get)(this.context,"event.y")},n=e.x-this.prevPoint.x,i=e.y-this.prevPoint.y,o=this.getNodeView(),s=o.geometries[0].elements[this.currentElementIdx];if(s&&s.getModel()){var l=s.getModel().data,u=o.getOptions().data,c=o.getCoordinate(),f={x:n/c.getWidth(),y:i/c.getHeight()},d=(0,r.__assign)((0,r.__assign)({},l),{x:l.x.map(function(t){return t+f.x}),y:l.y.map(function(t){return t+f.y})}),p=(0,r.__spreadArrays)(u);p[this.currentElementIdx]=d,o.data(p);var h=l.name,g=this.getEdgeView(),v=g.getOptions().data;v.forEach(function(t){t.source===h&&(t.x[0]+=f.x,t.x[1]+=f.x,t.y[0]+=f.y,t.y[1]+=f.y),t.target===h&&(t.x[2]+=f.x,t.x[3]+=f.x,t.y[2]+=f.y,t.y[3]+=f.y)}),g.data(v),this.prevPoint=e,t.render(!0)}}},e.prototype.end=function(){this.isDragging=!1,this.context.isDragging=!1,this.prevPoint=null,this.currentElementIdx=null,this.getNodeView().animate(this.prevNodeAnimateCfg),this.getEdgeView().animate(this.prevEdgeAnimateCfg)},e}(i.Action);e.SankeyNodeDragAction=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Chord=void 0;var r=n(1),i=n(19),a=n(1294),o=n(603),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="chord",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Chord=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(a.theme,c,g,f,d,p,h,y,v,a.interaction,a.state,m)(t)};var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(1295),u=n(603);function c(t){var e=t.options,n=e.data,i=e.sourceField,a=e.targetField,s=e.weightField,u=e.nodePaddingRatio,c=e.nodeWidthRatio,f=e.rawFields,d=void 0===f?[]:f,p=(0,o.transformDataToNodeLinkData)(n,i,a,s),h=(0,l.chordLayout)({weight:!0,nodePaddingRatio:u,nodeWidthRatio:c},p),g=h.nodes,v=h.links,y=g.map(function(t){return(0,r.__assign)((0,r.__assign)({},(0,o.pick)(t,(0,r.__spreadArrays)(["id","x","y","name"],d))),{isNode:!0})}),m=v.map(function(t){return(0,r.__assign)((0,r.__assign)({source:t.source.name,target:t.target.name,name:t.source.name||t.target.name},(0,o.pick)(t,(0,r.__spreadArrays)(["x","y","value"],d))),{isNode:!1})});return(0,r.__assign)((0,r.__assign)({},t),{ext:(0,r.__assign)((0,r.__assign)({},t.ext),{chordData:{nodesData:y,edgesData:m}})})}function f(t){var e;return t.chart.scale(((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}})[u.NODE_COLOR_FIELD]={sync:"color"},e[u.EDGE_COLOR_FIELD]={sync:"color"},e)),t}function d(t){return t.chart.axis(!1),t}function p(t){return t.chart.legend(!1),t}function h(t){var e=t.chart,n=t.options.tooltip;return e.tooltip(n),t}function g(t){return t.chart.coordinate("polar").reflect("y"),t}function v(t){var e=t.chart,n=t.options,r=t.ext.chordData.nodesData,i=n.nodeStyle,a=n.label,o=n.tooltip,l=e.createView();return l.data(r),(0,s.polygon)({chart:l,options:{xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.NODE_COLOR_FIELD,polygon:{style:i},label:a,tooltip:o}}),t}function y(t){var e=t.chart,n=t.options,r=t.ext.chordData.edgesData,i=n.edgeStyle,a=n.tooltip,o=e.createView();o.data(r);var l={xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.EDGE_COLOR_FIELD,edge:{style:i,shape:"arc"},tooltip:a};return(0,s.edge)({chart:o,options:l}),t}function m(t){var e=t.chart,n=t.options.animation;return"boolean"==typeof n?e.animate(n):e.animate(!0),(0,i.each)((0,o.getAllGeometriesRecursively)(e),function(t){t.animate(n)}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.chordLayout=function(t,e){var n,i,o=a(t),s={},l=e.nodes,u=e.links;return l.forEach(function(t){s[o.id(t)]=t}),(0,r.forIn)(s,function(t,e){t.inEdges=u.filter(function(t){return""+o.target(t)==""+e}),t.outEdges=u.filter(function(t){return""+o.source(t)==""+e}),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach(function(e){t.value+=o.targetWeight(e)}),t.outEdges.forEach(function(e){t.value+=o.sourceWeight(e)})}),!(i=({weight:function(t,e){return e.value-t.value},frequency:function(t,e){return e.frequency-t.frequency},id:function(t,e){return(""+n.id(t)).localeCompare(""+n.id(e))}})[(n=o).sortBy])&&(0,r.isFunction)(n.sortBy)&&(i=n.sortBy),i&&l.sort(i),{nodes:function(t,e){var n=t.length;if(!n)throw TypeError("Invalid nodes: it's empty!");if(e.weight){var r=e.nodePaddingRatio;if(r<0||r>=1)throw TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var i=r/(2*n),a=e.nodeWidthRatio;if(a<=0||a>=1)throw TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var o=0;t.forEach(function(t){o+=t.value}),t.forEach(function(t){t.weight=t.value/o,t.width=t.weight*(1-r),t.height=a}),t.forEach(function(n,r){for(var o=0,s=r-1;s>=0;s--)o+=t[s].width+2*i;var l=n.minX=i+o,u=n.maxX=n.minX+n.width,c=n.minY=e.y-a/2,f=n.maxY=c+a;n.x=[l,u,u,l],n.y=[c,c,f,f]})}else{var s=1/n;t.forEach(function(t,n){t.x=(n+.5)*s,t.y=e.y})}return t}(l,o),links:function(t,e,n){if(n.weight){var i={};(0,r.forIn)(t,function(t,e){i[e]=t.value}),e.forEach(function(e){var r=n.source(e),a=n.target(e),o=t[r],s=t[a];if(o&&s){var l=i[r],u=n.sourceWeight(e),c=o.minX+(o.value-l)/o.value*o.width,f=c+u/o.value*o.width;i[r]-=u;var d=i[a],p=n.targetWeight(e),h=s.minX+(s.value-d)/s.value*s.width,g=h+p/s.value*s.width;i[a]-=p;var v=n.y;e.x=[c,f,h,g],e.y=[v,v,v,v],e.source=o,e.target=s}})}else e.forEach(function(e){var r=t[n.source(e)],i=t[n.target(e)];r&&i&&(e.x=[r.x,i.x],e.y=[r.y,i.y],e.source=r,e.target=i)});return e}(s,u,o)}},e.getDefaultOptions=a;var r=n(0),i={y:0,nodeWidthRatio:.05,weight:!1,nodePaddingRatio:.1,id:function(t){return t.id},source:function(t){return t.source},target:function(t){return t.target},sourceWeight:function(t){return t.value||1},targetWeight:function(t){return t.value||1},sortBy:null};function a(t){return(0,r.assign)({},i,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CirclePacking=void 0;var r=n(1),i=n(19),a=n(1297),o=n(604);n(1300);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle-packing",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.triggerResize=function(){this.chart.destroyed||(this.chart.forceFit(),this.chart.clear(),this.execAdaptor(),this.chart.render(!0))},e}(i.Plot);e.CirclePacking=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)((0,o.pattern)("pointStyle"),f,d,o.theme,h,p,v,o.legend,g,y,o.animation,(0,o.annotation)())(t)},e.meta=h;var r=n(1),i=n(0),a=n(546),o=n(22),s=n(7),l=n(121),u=n(1298),c=n(604);function f(t){var e=t.chart,n=Math.min(e.viewBBox.width,e.viewBBox.height);return(0,s.deepAssign)({options:{size:function(t){return t.r*n}}},t)}function d(t){var e=t.options,n=t.chart,r=n.viewBBox,a=e.padding,o=e.appendPadding,s=e.drilldown,c=o;if(null==s?void 0:s.enabled){var f=(0,l.getAdjustAppendPadding)(n.appendPadding,(0,i.get)(s,["breadCrumb","position"]));c=(0,l.resolveAllPadding)([f,o])}var d=(0,u.resolvePaddingForCircle)(a,c,r).finalPadding;return n.padding=d,n.appendPadding=0,t}function p(t){var e=t.chart,n=t.options,i=e.padding,o=e.appendPadding,l=n.color,f=n.colorField,d=n.pointStyle,p=n.hierarchyConfig,h=n.sizeField,g=n.rawFields,v=void 0===g?[]:g,y=n.drilldown,m=(0,u.transformData)({data:n.data,hierarchyConfig:p,enableDrillDown:null==y?void 0:y.enabled,rawFields:v});e.data(m);var b=e.viewBBox,x=(0,u.resolvePaddingForCircle)(i,o,b).finalSize,_=function(t){return t.r*x};return h&&(_=function(t){return t[h]*x}),(0,a.point)((0,s.deepAssign)({},t,{options:{xField:"x",yField:"y",seriesField:f,sizeField:h,rawFields:(0,r.__spreadArrays)(c.RAW_FIELDS,v),point:{color:l,style:d,shape:"circle",size:_}}})),t}function h(t){return(0,s.flow)((0,o.scale)({},{x:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0},y:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0}}))(t)}function g(t){var e=t.chart,n=t.options.tooltip;if(!1===n)e.tooltip(!1);else{var a=n;(0,i.get)(n,"fields")||(a=(0,s.deepAssign)({},{customItems:function(t){return t.map(function(t){var n=(0,i.get)(e.getOptions(),"scales"),a=(0,i.get)(n,["name","formatter"],function(t){return t}),o=(0,i.get)(n,["value","formatter"],function(t){return t});return(0,r.__assign)((0,r.__assign)({},t),{name:a(t.data.name),value:o(t.data.value)})})}},a)),e.tooltip(a)}return t}function v(t){return t.chart.axis(!1),t}function y(t){var e,n,i=t.chart,a=t.options;return(0,o.interaction)({chart:i,options:(e=a.drilldown,n=a.interactions,(null==e?void 0:e.enabled)?(0,s.deepAssign)({},a,{interactions:(0,r.__spreadArrays)(void 0===n?[]:n,[{type:"drill-down",cfg:{drillDownConfig:e,transformData:u.transformData,enableDrillDown:!0}}])}):a)}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolvePaddingForCircle=function(t,e,n){var r=(0,s.resolveAllPadding)([t,e]),i=r[0],a=r[1],o=r[2],l=r[3],u=n.width,c=n.height,f=u-(l+a),d=c-(i+o),p=Math.min(f,d),h=(f-p)/2,g=(d-p)/2;return{finalPadding:[i+g,a+h,o+g,l+h],finalSize:p<0?0:p}},e.transformData=function(t){var e=t.data,n=t.hierarchyConfig,s=t.rawFields,l=void 0===s?[]:s,u=t.enableDrillDown,c=(0,i.pack)(e,(0,r.__assign)((0,r.__assign)({},n),{field:"value",as:["x","y","r"]})),f=[];return c.forEach(function(t){for(var e,i=t.data.name,s=(0,r.__assign)({},t);s.depth>1;)i=(null===(e=s.parent.data)||void 0===e?void 0:e.name)+" / "+i,s=s.parent;if(u&&t.depth>2)return null;var c=(0,a.deepAssign)({},t.data,(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,a.pick)(t.data,l)),{path:i}),t));c.ext=n,c[o.HIERARCHY_DATA_TRANSFORM_PARAMS]={hierarchyConfig:n,rawFields:l,enableDrillDown:u},f.push(c)}),f};var r=n(1),i=n(1299),a=n(7),o=n(201),s=n(121)},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.pack=function(t,e){var n,r=(e=(0,a.assign)({},l,e)).as;if(!(0,a.isArray)(r)||3!==r.length)throw TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "r" ])!');try{n=(0,o.getField)(e)}catch(t){console.warn(t)}var s=i.pack().size(e.size).padding(e.padding)(i.hierarchy(t).sum(function(t){return t[n]}).sort(e.sort)),u=r[0],c=r[1],f=r[2];return s.each(function(t){t[u]=t.x,t[c]=t.y,t[f]=t.r}),(0,o.getAllNodes)(s)};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(193)),a=n(0),o=n(157);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l={field:"value",as:["x","y","r"],sort:function(t,e){return e.value-t.value}}},function(t,e,n){"use strict";n(313)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.P=void 0;var r=n(1),i=n(7),a=function(t){function e(e,n,r,a){var o=t.call(this,e,(0,i.deepAssign)({},a,n))||this;return o.type="g2-plot",o.defaultOptions=a,o.adaptor=r,o}return(0,r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor},e}(n(19).Plot);e.P=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,u.flow)(o.animation,f,d,o.interaction,o.animation,o.theme,o.tooltip)(t)};var r=n(1),i=n(0),a=n(49),o=n(22),s=n(19),l=n(99),u=n(7),c=n(606);function f(t){var e=t.chart,n=t.options,o=n.views,s=n.legend;return(0,i.each)(o,function(t){var n=t.region,o=t.data,s=t.meta,c=t.axes,f=t.coordinate,d=t.interactions,p=t.annotations,h=t.tooltip,g=t.geometries,v=e.createView({region:n});v.data(o);var y={};c&&(0,i.each)(c,function(t,e){y[e]=(0,u.pick)(t,l.AXIS_META_CONFIG_KEYS)}),y=(0,u.deepAssign)({},s,y),v.scale(y),c?(0,i.each)(c,function(t,e){v.axis(e,t)}):v.axis(!1),v.coordinate(f),(0,i.each)(g,function(t){var e=(0,a.geometry)({chart:v,options:t}).ext,n=t.adjust;n&&e.geometry.adjust(n)}),(0,i.each)(d,function(t){!1===t.enable?v.removeInteraction(t.type):v.interaction(t.type,t.cfg)}),(0,i.each)(p,function(t){v.annotation()[t.type]((0,r.__assign)({},t))}),"boolean"==typeof t.animation?v.animate(!1):(v.animate(!0),(0,i.each)(v.geometries,function(e){e.animate(t.animation)})),h&&(v.interaction("tooltip"),v.tooltip(h))}),s?(0,i.each)(s,function(t,n){e.legend(n,t)}):e.legend(!1),e.tooltip(n.tooltip),t}function d(t){var e=t.chart,n=t.options.plots;return(0,i.each)(n,function(t){var n=t.type,i=t.region,a=t.options,o=void 0===a?{}:a,l=o.tooltip,f=e.createView((0,r.__assign)({region:i},(0,u.pick)(o,s.PLOT_CONTAINER_OPTIONS)));l&&f.interaction("tooltip"),(0,c.execPlotAdaptor)(n,f,o)}),t}},function(t,e,n){"use strict";n(1304)},function(t,e,n){"use strict";var r=n(1),i=n(0),a=n(14),o=n(7),s=n(1305),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getAssociationItems=function(t,e){var n,r=this.context.event,a=e||{},l=a.linkField,u=a.dim,c=[];if(null===(n=r.data)||void 0===n?void 0:n.data){var f=r.data.data;(0,i.each)(t,function(t){var e,n,r=l;if("x"===u?r=t.getXScale().field:"y"===u?r=null===(e=t.getYScales().find(function(t){return t.field===r}))||void 0===e?void 0:e.field:r||(r=null===(n=t.getGroupScales()[0])||void 0===n?void 0:n.field),r){var a=(0,i.map)((0,o.getAllElements)(t),function(e){var n=!1,a=!1,o=(0,i.isArray)(f)?(0,i.get)(f[0],r):(0,i.get)(f,r);return(0,s.getElementValue)(e,r)===o?n=!0:a=!0,{element:e,view:t,active:n,inactive:a}});c.push.apply(c,a)}})}return c},e.prototype.showTooltip=function(t){var e=(0,o.getSiblingViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){if(t.active){var e=t.element.shape.getCanvasBBox();t.view.showTooltip({x:e.minX+e.width/2,y:e.minY+e.height/2})}})},e.prototype.hideTooltip=function(){var t=(0,o.getSiblingViews)(this.context.view);(0,i.each)(t,function(t){t.hideTooltip()})},e.prototype.active=function(t){var e=(0,o.getViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){var e=t.active,n=t.element;e&&n.setState("active",!0)})},e.prototype.selected=function(t){var e=(0,o.getViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){var e=t.active,n=t.element;e&&n.setState("selected",!0)})},e.prototype.highlight=function(t){var e=(0,o.getViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){var e=t.inactive,n=t.element;e&&n.setState("inactive",!0)})},e.prototype.reset=function(){var t=(0,o.getViews)(this.context.view);(0,i.each)(t,function(t){(0,s.clearHighlight)(t)})},e}(a.Action);(0,a.registerAction)("association",l),(0,a.registerInteraction)("association-active",{start:[{trigger:"element:mouseenter",action:"association:active"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),(0,a.registerInteraction)("association-selected",{start:[{trigger:"element:mouseenter",action:"association:selected"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),(0,a.registerInteraction)("association-highlight",{start:[{trigger:"element:mouseenter",action:"association:highlight"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),(0,a.registerInteraction)("association-tooltip",{start:[{trigger:"element:mousemove",action:"association:showTooltip"}],end:[{trigger:"element:mouseleave",action:"association:hideTooltip"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearHighlight=function(t){var e=(0,i.getAllElements)(t);(0,r.each)(e,function(t){t.hasState("active")&&t.setState("active",!1),t.hasState("selected")&&t.setState("selected",!1),t.hasState("inactive")&&t.setState("inactive",!1)})},e.getElementValue=function(t,e){var n=t.getModel().data;return(0,r.isArray)(n)?n[0][e]:n[e]};var r=n(0),i=n(7)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Facet=void 0;var r=n(1),i=n(19),a=n(1307),o=n(1309),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Facet=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(a.theme,c,f)(t)};var r=n(1),i=n(0),a=n(22),o=n(99),s=n(7),l=n(606),u=n(1308);function c(t){var e=t.chart,n=t.options,a=n.type,o=n.data,s=n.fields,c=n.eachView,f=(0,i.omit)(n,["type","data","fields","eachView","axes","meta","tooltip","coordinate","theme","legend","interactions","annotations"]);return e.data(o),e.facet(a,(0,r.__assign)((0,r.__assign)({},f),{fields:s,eachView:function(t,e){var n=c(t,e);if(n.geometries)(0,u.execViewAdaptor)(t,n);else{var r=n.options;r.tooltip&&t.interaction("tooltip"),(0,l.execPlotAdaptor)(n.type,t,r)}}})),t}function f(t){var e=t.chart,n=t.options,a=n.axes,l=n.meta,u=n.tooltip,c=n.coordinate,f=n.theme,d=n.legend,p=n.interactions,h=n.annotations,g={};return a&&(0,i.each)(a,function(t,e){g[e]=(0,s.pick)(t,o.AXIS_META_CONFIG_KEYS)}),g=(0,s.deepAssign)({},l,g),e.scale(g),e.coordinate(c),a?(0,i.each)(a,function(t,n){e.axis(n,t)}):e.axis(!1),u?(e.interaction("tooltip"),e.tooltip(u)):!1===u&&e.removeInteraction("tooltip"),e.legend(d),f&&e.theme(f),(0,i.each)(p,function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg)}),(0,i.each)(h,function(t){e.annotation()[t.type]((0,r.__assign)({},t))}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.execViewAdaptor=function(t,e){var n=e.data,l=e.coordinate,u=e.interactions,c=e.annotations,f=e.animation,d=e.tooltip,p=e.axes,h=e.meta,g=e.geometries;n&&t.data(n);var v={};p&&(0,i.each)(p,function(t,e){v[e]=(0,s.pick)(t,o.AXIS_META_CONFIG_KEYS)}),v=(0,s.deepAssign)({},h,v),t.scale(v),l&&t.coordinate(l),!1===p?t.axis(!1):(0,i.each)(p,function(e,n){t.axis(n,e)}),(0,i.each)(g,function(e){var n=(0,a.geometry)({chart:t,options:e}).ext,r=e.adjust;r&&n.geometry.adjust(r)}),(0,i.each)(u,function(e){!1===e.enable?t.removeInteraction(e.type):t.interaction(e.type,e.cfg)}),(0,i.each)(c,function(e){t.annotation()[e.type]((0,r.__assign)({},e))}),"boolean"==typeof f?t.animate(!1):(t.animate(!0),(0,i.each)(t.geometries,function(t){t.animate(f)})),d?(t.interaction("tooltip"),t.tooltip(d)):!1===d&&t.removeInteraction("tooltip")};var r=n(1),i=n(0),a=n(49),o=n(99),s=n(7)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0,e.DEFAULT_OPTIONS={title:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},rowTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},columnTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Stage=e.Lab=void 0,e.notice=o;var r,i,a=n(605);function o(t,e){console.warn(t===i.DEV?"Plot '"+e+"' is in DEV stage, just give us issues.":t===i.BETA?"Plot '"+e+"' is in BETA stage, DO NOT use it in production env.":t===i.STABLE?"Plot '"+e+"' is in STABLE stage, import it by \"import { "+e+" } from '@antv/g2plot'\".":"invalid Stage type.")}e.Stage=i,(r=i||(e.Stage=i={})).DEV="DEV",r.BETA="BETA",r.STABLE="STABLE";var s=function(){function t(){}return Object.defineProperty(t,"MultiView",{get:function(){return o(i.STABLE,"MultiView"),a.Mix},enumerable:!1,configurable:!0}),t}();e.Lab=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.statistic=void 0;var r=n(1),i=n(0),a=n(34),o=n(43),s=n(509),l=n(15),u=n(317),c=n(607);function f(t){var e=t.chart,n=t.options,r=n.percent,a=n.range,f=n.radius,d=n.innerRadius,p=n.startAngle,h=n.endAngle,g=n.axis,v=n.indicator,y=n.gaugeStyle,m=n.type,b=n.meter,x=a.color,_=a.width;if(v){var O=c.getIndicatorData(r),P=e.createView({id:u.INDICATEOR_VIEW_ID});P.data(O),P.point().position(u.PERCENT+"*1").shape(v.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:v}),P.coordinate("polar",{startAngle:p,endAngle:h,radius:d*f}),P.axis(u.PERCENT,g),P.scale(u.PERCENT,l.pick(g,s.AXIS_META_CONFIG_KEYS))}var M=c.getRangeData(r,n.range),A=e.createView({id:u.RANGE_VIEW_ID});A.data(M);var S=i.isString(x)?[x,u.DEFAULT_COLOR]:x;return o.interval({chart:A,options:{xField:"1",yField:u.RANGE_VALUE,seriesField:u.RANGE_TYPE,rawFields:[u.PERCENT],isStack:!0,interval:{color:S,style:y,shape:"meter"===m?"meter-gauge":null},args:{zIndexReversed:!0},minColumnWidth:_,maxColumnWidth:_}}).ext.geometry.customInfo({meter:b}),A.coordinate("polar",{innerRadius:d,radius:f,startAngle:p,endAngle:h}).transpose(),t}function d(t){var e;return l.flow(a.scale(((e={range:{min:0,max:1,maxLimit:1,minLimit:0}})[u.PERCENT]={},e)))(t)}function p(t,e){var n=t.chart,i=t.options,a=i.statistic,o=i.percent;if(n.getController("annotation").clear(!0),a){var s=a.content,u=void 0;s&&(u=l.deepAssign({},{content:(100*o).toFixed(2)+"%",style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},s)),l.renderGaugeStatistic(n,{statistic:r.__assign(r.__assign({},a),{content:u})},{percent:o})}return e&&n.render(!0),t}function h(t){var e=t.chart;return e.legend(!1),e.tooltip(!1),t}e.statistic=p,e.adaptor=function(t){return l.flow(a.theme,a.animation,f,d,p,a.interaction,a.annotation(),h)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(14).registerShape("point","gauge-indicator",{draw:function(t,e){var n=t.customInfo,i=n.indicator,a=n.defaultColor,o=i.pointer,s=i.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:r.__assign({x1:u.x,y1:u.y,x2:t.x,y2:t.y,stroke:a},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:r.__assign({x:u.x,y:u.y,stroke:a},s.style)}),l}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(0);r.registerShape("interval","meter-gauge",{draw:function(t,e){var n=t.customInfo.meter,a=void 0===n?{}:n,o=a.steps,s=void 0===o?50:o,l=a.stepRatio,u=void 0===l?.5:l;s=s<1?1:s,u=i.clamp(u,0,1);var c=this.coordinate,f=c.startAngle,d=c.endAngle,p=0;u>0&&u<1&&(p=(d-f)/s/(u/(1-u)+1-1/s));for(var h=p/(1-u)*u,g=e.addGroup(),v=this.coordinate.getCenter(),y=this.coordinate.getRadius(),m=r.Util.getAngle(t,this.coordinate),b=m.startAngle,x=m.endAngle,_=b;_-1){var c=i.get(l.findViewById(e,u),"geometries");i.each(c,function(t){t.changeVisible(!n.item.unchecked)})}}else{var f=i.get(e.getController("legend"),"option.items",[]);i.each(e.views,function(t){var n=t.getGroupScales();i.each(n,function(e){e.values&&e.values.indexOf(a)>-1&&t.filter(e.field,function(t){return!i.find(f,function(e){return e.value===t}).unchecked})}),e.render(!0)})}}})}return t}function E(t){var e=t.chart,n=t.options.slider,r=l.findViewById(e,h.LEFT_AXES_VIEW),a=l.findViewById(e,h.RIGHT_AXES_VIEW);return n&&(r.option("slider",n),r.on("slider:valuechanged",function(t){var e=t.event,n=e.value,r=e.originValue;i.isEqual(n,r)||d.doSliderFilter(a,n)}),e.once("afterpaint",function(){if(!i.isBoolean(n)){var t=n.start,e=n.end;(t||e)&&d.doSliderFilter(a,[t,e])}})),t}e.transformOptions=g,e.color=m,e.meta=b,e.axis=x,e.tooltip=_,e.interaction=O,e.annotation=P,e.theme=M,e.animation=A,e.limitInPlot=S,e.legend=w,e.slider=E,e.adaptor=function(t){return s.flow(g,v,M,y,b,x,S,_,O,P,A,m,w,E)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getViewLegendItems=void 0;var r=n(0),i=n(14),a=n(15),o=n(318);e.getViewLegendItems=function(t){var e=t.view,n=t.geometryOption,s=t.yField,l=t.legend,u=r.get(l,"marker"),c=a.findGeometry(e,o.isLine(n)?"line":"interval");if(!n.seriesField){var f=r.get(e,"options.scales."+s+".alias")||s,d=c.getAttribute("color"),p=e.getTheme().defaultColor;d&&(p=i.Util.getMappingValue(d,f,r.get(d,["values",0],p)));var h=(r.isFunction(u)?u:!r.isEmpty(u)&&a.deepAssign({},{style:{stroke:p,fill:p}},u))||(o.isLine(n)?{symbol:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},style:{lineWidth:2,r:6,stroke:p}}:{symbol:"square",style:{fill:p}});return[{value:s,name:f,marker:h,isGeometry:!0,viewId:e.id}]}var g=c.getGroupAttributes();return r.reduce(g,function(t,n){var r=i.Util.getLegendItems(e,c,n,e.getTheme(),u);return t.concat(r)},[])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.drawSingleGeometry=void 0;var r=n(1),i=n(0),a=n(43),o=n(15),s=n(195),l=n(318);e.drawSingleGeometry=function(t){var e=t.options,n=t.chart,u=e.geometryOption,c=u.isStack,f=u.color,d=u.seriesField,p=u.groupField,h=u.isGroup,g=["xField","yField"];if(l.isLine(u)){a.line(o.deepAssign({},t,{options:r.__assign(r.__assign(r.__assign({},o.pick(e,g)),u),{line:{color:u.color,style:u.lineStyle}})})),a.point(o.deepAssign({},t,{options:r.__assign(r.__assign(r.__assign({},o.pick(e,g)),u),{point:u.point&&r.__assign({color:f,shape:"circle"},u.point)})}));var v=[];h&&v.push({type:"dodge",dodgeBy:p||d,customOffset:0}),c&&v.push({type:"stack"}),v.length&&i.each(n.geometries,function(t){t.adjust(v)})}return l.isColumn(u)&&s.adaptor(o.deepAssign({},t,{options:r.__assign(r.__assign(r.__assign({},o.pick(e,g)),u),{widthRatio:u.columnWidthRatio,interval:r.__assign(r.__assign({},o.pick(u,["color"])),{style:u.columnStyle})})})),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doSliderFilter=void 0;var r=n(0),i=n(15);e.doSliderFilter=function(t,e){var n=e[0],a=e[1],o=t.getOptions().data,s=t.getXScale(),l=r.size(o);if(s&&l){var u=r.valuesOfKey(o,s.field),c=r.size(u),f=Math.floor(n*(c-1)),d=Math.floor(a*(c-1));t.filter(s.field,function(t){var e=u.indexOf(t);return!(e>-1)||i.isBetween(e,f,d)}),t.render(!0)}}},function(t,e,n){"use strict";var r=n(9),i=n.n(r),a=n(10),o=n.n(a),s=n(363),l=n.n(s),u=n(12),c=n.n(u),f=n(13),d=n.n(f),p=n(5),h=n.n(p),g=n(66),v=[1,1.2,1.5,2,2.2,2.4,2.5,3,4,5,6,7.5,8,10];function y(t){var e=1;if(0===(t=Math.abs(t)))return e;if(t<1){for(var n=0;t<1;)e/=10,t*=10,n++;return e.toString().length>12&&(e=parseFloat(e.toFixed(n))),e}for(;t>10;)e*=10,t/=10;return e}function m(t){var e=t.toString(),n=e.indexOf("."),r=e.indexOf("e-"),i=r>=0?parseInt(e.substr(r+2),10):e.substr(n+1).length;return i>20&&(i=20),i}function b(t,e){return parseFloat(t.toFixed(e))}Object(g.registerTickMethod)("linear-strict-tick-method",function(t){var e=t||{},n=e.tickCount,r=e.tickInterval,i=t||{},a=i.min,o=i.max;a=isNaN(a)?0:a,o=isNaN(o)?0:o;var s=n&&n>=2?n:5,l=r||function(t){var e=t.tickCount,n=t.min,r=t.max;if(n===r)return 1*y(r);for(var i=(r-n)/(e-1),a=y(i),o=i/a,s=r/a,l=n/a,u=0,c=0;c=r}({interval:v[s],tickCount:n,max:i,min:r})){o=v[s],a=!0;break}return a?o:10*t(0,n,r/10,i/10)}(u,e,l,s),d=m(f)+m(a);return b(f*a,d)}({tickCount:s,max:o,min:a}),u=Math.floor(a/l)*l;r&&(s=Math.max(s,Math.abs(Math.ceil((o-u)/r))+1));for(var c=[],f=0,d=m(l);f{let r=new Map(t);return r.delete(e),r})},[]),i=l.useCallback(function(e,l){let i;return i="function"==typeof e?e(r.current):e,r.current.add(i),t(e=>{let t=new Map(e);return t.set(i,l),t}),{id:i,deregister:()=>n(i)}},[n]),a=l.useMemo(()=>(function(e){let t=Array.from(e.keys()).map(t=>{let r=e.get(t);return{key:t,subitem:r}});return t.sort((e,t)=>{let r=e.subitem.ref.current,l=t.subitem.ref.current;return null===r||null===l||r===l?0:r.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}),new Map(t.map(e=>[e.key,e.subitem]))})(e),[e]),o=l.useCallback(function(e){return Array.from(a.keys()).indexOf(e)},[a]),s=l.useMemo(()=>({getItemIndex:o,registerItem:i,totalSubitemCount:e.size}),[o,i,e.size]);return{contextValue:s,subitems:a}}n.displayName="CompoundComponentContext"},24339:function(e,t,r){var l=r(64836);t.Z=void 0;var n=l(r(64938)),i=r(85893),a=(0,n.default)((0,i.jsx)("path",{d:"m3.4 20.4 17.45-7.48c.81-.35.81-1.49 0-1.84L3.4 3.6c-.66-.29-1.39.2-1.39.91L2 9.12c0 .5.37.93.87.99L17 12 2.87 13.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z"}),"SendRounded");t.Z=a},30322:function(e,t,r){r.d(t,{Z:function(){return D}});var l=r(87462),n=r(63366),i=r(67294),a=r(94780),o=r(92996),s=r(33703),u=r(73546),c=r(22644),d=r(26558),f=r(12247),h=r(30220),v=r(16079),g=r(74312),m=r(20407),p=r(78653),b=r(26821);function y(e){return(0,b.d6)("MuiOption",e)}let S=(0,b.sI)("MuiOption",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","highlighted","variantPlain","variantSoft","variantOutlined","variantSolid"]);var x=r(40780),k=r(85893);let C=["component","children","disabled","value","label","variant","color","slots","slotProps"],V=e=>{let{disabled:t,highlighted:r,selected:l}=e;return(0,a.Z)({root:["root",t&&"disabled",r&&"highlighted",l&&"selected"]},y,{})},w=(0,g.Z)(v.r,{name:"JoyOption",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r;let l=null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color];return{[`&.${S.highlighted}`]:{backgroundColor:null==l?void 0:l.backgroundColor}}}),Z=i.forwardRef(function(e,t){var r;let a=(0,m.Z)({props:e,name:"JoyOption"}),{component:v="li",children:g,disabled:b=!1,value:y,label:S,variant:Z="plain",color:D="neutral",slots:A={},slotProps:F={}}=a,_=(0,n.Z)(a,C),I=i.useContext(x.Z),R=i.useRef(null),z=(0,s.Z)(R,t),O=null!=S?S:"string"==typeof g?g:null==(r=R.current)?void 0:r.innerText,{getRootProps:M,selected:P,highlighted:E,index:L}=function(e){let{value:t,label:r,disabled:n,rootRef:a,id:h}=e,{getRootProps:v,rootRef:g,highlighted:m,selected:p}=function(e){let t;let{handlePointerOverEvents:r=!1,item:n,rootRef:a}=e,o=i.useRef(null),f=(0,s.Z)(o,a),h=i.useContext(d.Z);if(!h)throw Error("useListItem must be used within a ListProvider");let{dispatch:v,getItemState:g,registerHighlightChangeHandler:m,registerSelectionChangeHandler:p}=h,{highlighted:b,selected:y,focusable:S}=g(n),x=function(){let[,e]=i.useState({});return i.useCallback(()=>{e({})},[])}();(0,u.Z)(()=>m(function(e){e!==n||b?e!==n&&b&&x():x()})),(0,u.Z)(()=>p(function(e){y?e.includes(n)||x():e.includes(n)&&x()}),[p,x,y,n]);let k=i.useCallback(e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultPrevented||v({type:c.F.itemClick,item:n,event:t})},[v,n]),C=i.useCallback(e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t),t.defaultPrevented||v({type:c.F.itemHover,item:n,event:t})},[v,n]);return S&&(t=b?0:-1),{getRootProps:(e={})=>(0,l.Z)({},e,{onClick:k(e),onPointerOver:r?C(e):void 0,ref:f,tabIndex:t}),highlighted:b,rootRef:f,selected:y}}({item:t}),b=(0,o.Z)(h),y=i.useRef(null),S=i.useMemo(()=>({disabled:n,label:r,value:t,ref:y,id:b}),[n,r,t,b]),{index:x}=function(e,t){let r=i.useContext(f.s);if(null===r)throw Error("useCompoundItem must be used within a useCompoundParent");let{registerItem:l}=r,[n,a]=i.useState("function"==typeof e?void 0:e);return(0,u.Z)(()=>{let{id:r,deregister:n}=l(e,t);return a(r),n},[l,t,e]),{id:n,index:void 0!==n?r.getItemIndex(n):-1,totalItemCount:r.totalSubitemCount}}(t,S),k=(0,s.Z)(a,y,g);return{getRootProps:(e={})=>(0,l.Z)({},e,v(e),{id:b,ref:k,role:"option","aria-selected":p}),highlighted:m,index:x,selected:p,rootRef:k}}({disabled:b,label:O,value:y,rootRef:z}),{getColor:T}=(0,p.VT)(Z),N=T(e.color,P?"primary":D),H=(0,l.Z)({},a,{disabled:b,selected:P,highlighted:E,index:L,component:v,variant:Z,color:N,row:I}),j=V(H),B=(0,l.Z)({},_,{component:v,slots:A,slotProps:F}),[U,$]=(0,h.Z)("root",{ref:t,getSlotProps:M,elementType:w,externalForwardedProps:B,className:j.root,ownerState:H});return(0,k.jsx)(U,(0,l.Z)({},$,{children:g}))});var D=Z},14986:function(e,t,r){r.d(t,{Z:function(){return ey}});var l,n=r(63366),i=r(87462),a=r(67294),o=r(86010),s=r(14142),u=r(33703),c=r(60769),d=r(92996),f=r(73546),h=r(70758);let v={buttonClick:"buttonClick"};var g=r(22644);function m(e,t,r){var l;let n,i;let{items:a,isItemDisabled:o,disableListWrap:s,disabledItemsFocusable:u,itemComparer:c,focusManagement:d}=r,f=a.length-1,h=null==e?-1:a.findIndex(t=>c(t,e)),v=!s;switch(t){case"reset":if(-1==("DOM"===d?0:-1))return null;n=0,i="next",v=!1;break;case"start":n=0,i="next",v=!1;break;case"end":n=f,i="previous",v=!1;break;default:{let e=h+t;e<0?!v&&-1!==h||Math.abs(t)>1?(n=0,i="next"):(n=f,i="previous"):e>f?!v||Math.abs(t)>1?(n=f,i="previous"):(n=0,i="next"):(n=e,i=t>=0?"next":"previous")}}let g=function(e,t,r,l,n,i){if(0===r.length||!l&&r.every((e,t)=>n(e,t)))return -1;let a=e;for(;;){if(!i&&"next"===t&&a===r.length||!i&&"previous"===t&&-1===a)return -1;let e=!l&&n(r[a],a);if(!e)return a;a+="next"===t?1:-1,i&&(a=(a+r.length)%r.length)}}(n,i,a,u,o,v);return -1!==g||null===e||o(e,h)?null!=(l=a[g])?l:null:e}function p(e,t,r){let{itemComparer:l,isItemDisabled:n,selectionMode:a,items:o}=r,{selectedValues:s}=t,u=o.findIndex(t=>l(e,t));if(n(e,u))return t;let c="none"===a?[]:"single"===a?l(s[0],e)?s:[e]:s.some(t=>l(t,e))?s.filter(t=>!l(t,e)):[...s,e];return(0,i.Z)({},t,{selectedValues:c,highlightedValue:e})}function b(e,t){let{type:r,context:l}=t;switch(r){case g.F.keyDown:return function(e,t,r){let l=t.highlightedValue,{orientation:n,pageSize:a}=r;switch(e){case"Home":return(0,i.Z)({},t,{highlightedValue:m(l,"start",r)});case"End":return(0,i.Z)({},t,{highlightedValue:m(l,"end",r)});case"PageUp":return(0,i.Z)({},t,{highlightedValue:m(l,-a,r)});case"PageDown":return(0,i.Z)({},t,{highlightedValue:m(l,a,r)});case"ArrowUp":if("vertical"!==n)break;return(0,i.Z)({},t,{highlightedValue:m(l,-1,r)});case"ArrowDown":if("vertical"!==n)break;return(0,i.Z)({},t,{highlightedValue:m(l,1,r)});case"ArrowLeft":if("vertical"===n)break;return(0,i.Z)({},t,{highlightedValue:m(l,"horizontal-ltr"===n?-1:1,r)});case"ArrowRight":if("vertical"===n)break;return(0,i.Z)({},t,{highlightedValue:m(l,"horizontal-ltr"===n?1:-1,r)});case"Enter":case" ":if(null===t.highlightedValue)break;return p(t.highlightedValue,t,r)}return t}(t.key,e,l);case g.F.itemClick:return p(t.item,e,l);case g.F.blur:return"DOM"===l.focusManagement?e:(0,i.Z)({},e,{highlightedValue:null});case g.F.textNavigation:return function(e,t,r){let{items:l,isItemDisabled:n,disabledItemsFocusable:a,getItemAsString:o}=r,s=t.length>1,u=s?e.highlightedValue:m(e.highlightedValue,1,r);for(let c=0;co(e,r.highlightedValue)))?a:null:"DOM"===s&&0===t.length&&(u=m(null,"reset",l));let c=null!=(n=r.selectedValues)?n:[],d=c.filter(t=>e.some(e=>o(e,t)));return(0,i.Z)({},r,{highlightedValue:u,selectedValues:d})}(t.items,t.previousItems,e,l);case g.F.resetHighlight:return(0,i.Z)({},e,{highlightedValue:m(null,"reset",l)});default:return e}}let y="select:change-selection",S="select:change-highlight";function x(e,t){return e===t}let k={},C=()=>{};function V(e,t){let r=(0,i.Z)({},e);return Object.keys(t).forEach(e=>{void 0!==t[e]&&(r[e]=t[e])}),r}function w(e,t,r=(e,t)=>e===t){return e.length===t.length&&e.every((e,l)=>r(e,t[l]))}function Z(e,t){let r=a.useRef(e);return a.useEffect(()=>{r.current=e},null!=t?t:[e]),r}let D={},A=()=>{},F=(e,t)=>e===t,_=()=>!1,I=e=>"string"==typeof e?e:String(e),R=()=>({highlightedValue:null,selectedValues:[]});var z=function(e){let{controlledProps:t=D,disabledItemsFocusable:r=!1,disableListWrap:l=!1,focusManagement:n="activeDescendant",getInitialState:o=R,getItemDomElement:s,getItemId:c,isItemDisabled:d=_,rootRef:f,onStateChange:h=A,items:v,itemComparer:m=F,getItemAsString:p=I,onChange:z,onHighlightChange:O,onItemsChange:M,orientation:P="vertical",pageSize:E=5,reducerActionContext:L=D,selectionMode:T="single",stateReducer:N}=e,H=a.useRef(null),j=(0,u.Z)(f,H),B=a.useCallback((e,t,r)=>{if(null==O||O(e,t,r),"DOM"===n&&null!=t&&(r===g.F.itemClick||r===g.F.keyDown||r===g.F.textNavigation)){var l;null==s||null==(l=s(t))||l.focus()}},[s,O,n]),U=a.useMemo(()=>({highlightedValue:m,selectedValues:(e,t)=>w(e,t,m)}),[m]),$=a.useCallback((e,t,r,l,n)=>{switch(null==h||h(e,t,r,l,n),t){case"highlightedValue":B(e,r,l);break;case"selectedValues":null==z||z(e,r,l)}},[B,z,h]),W=a.useMemo(()=>({disabledItemsFocusable:r,disableListWrap:l,focusManagement:n,isItemDisabled:d,itemComparer:m,items:v,getItemAsString:p,onHighlightChange:B,orientation:P,pageSize:E,selectionMode:T,stateComparers:U}),[r,l,n,d,m,v,p,B,P,E,T,U]),J=o(),q=a.useMemo(()=>(0,i.Z)({},L,W),[L,W]),[X,G]=function(e){let t=a.useRef(null),{reducer:r,initialState:l,controlledProps:n=k,stateComparers:o=k,onStateChange:s=C,actionContext:u}=e,c=a.useCallback((e,l)=>{t.current=l;let i=V(e,n),a=r(i,l);return a},[n,r]),[d,f]=a.useReducer(c,l),h=a.useCallback(e=>{f((0,i.Z)({},e,{context:u}))},[u]);return!function(e){let{nextState:t,initialState:r,stateComparers:l,onStateChange:n,controlledProps:i,lastActionRef:o}=e,s=a.useRef(r);a.useEffect(()=>{if(null===o.current)return;let e=V(s.current,i);Object.keys(t).forEach(r=>{var i,a,s;let u=null!=(i=l[r])?i:x,c=t[r],d=e[r];(null!=d||null==c)&&(null==d||null!=c)&&(null==d||null==c||u(c,d))||null==n||n(null!=(a=o.current.event)?a:null,r,c,null!=(s=o.current.type)?s:"",t)}),s.current=t,o.current=null},[s,t,o,n,l,i])}({nextState:d,initialState:l,stateComparers:null!=o?o:k,onStateChange:null!=s?s:C,controlledProps:n,lastActionRef:t}),[V(d,n),h]}({reducer:null!=N?N:b,actionContext:q,initialState:J,controlledProps:t,stateComparers:U,onStateChange:$}),{highlightedValue:K,selectedValues:Y}=X,Q=function(e){let t=a.useRef({searchString:"",lastTime:null});return a.useCallback(r=>{if(1===r.key.length&&" "!==r.key){let l=t.current,n=r.key.toLowerCase(),i=performance.now();l.searchString.length>0&&l.lastTime&&i-l.lastTime>500?l.searchString=n:(1!==l.searchString.length||n!==l.searchString)&&(l.searchString+=n),l.lastTime=i,e(l.searchString,r)}},[e])}((e,t)=>G({type:g.F.textNavigation,event:t,searchString:e})),ee=Z(Y),et=Z(K),er=a.useRef([]);a.useEffect(()=>{w(er.current,v,m)||(G({type:g.F.itemsChange,event:null,items:v,previousItems:er.current}),er.current=v,null==M||M(v))},[v,m,G,M]);let{notifySelectionChanged:el,notifyHighlightChanged:en,registerHighlightChangeHandler:ei,registerSelectionChangeHandler:ea}=function(){let e=function(){let e=a.useRef();return e.current||(e.current=function(){let e=new Map;return{subscribe:function(t,r){let l=e.get(t);return l?l.add(r):(l=new Set([r]),e.set(t,l)),()=>{l.delete(r),0===l.size&&e.delete(t)}},publish:function(t,...r){let l=e.get(t);l&&l.forEach(e=>e(...r))}}}()),e.current}(),t=a.useCallback(t=>{e.publish(y,t)},[e]),r=a.useCallback(t=>{e.publish(S,t)},[e]),l=a.useCallback(t=>e.subscribe(y,t),[e]),n=a.useCallback(t=>e.subscribe(S,t),[e]);return{notifySelectionChanged:t,notifyHighlightChanged:r,registerSelectionChangeHandler:l,registerHighlightChangeHandler:n}}();a.useEffect(()=>{el(Y)},[Y,el]),a.useEffect(()=>{en(K)},[K,en]);let eo=e=>t=>{var r;if(null==(r=e.onKeyDown)||r.call(e,t),t.defaultMuiPrevented)return;let l=["Home","End","PageUp","PageDown"];"vertical"===P?l.push("ArrowUp","ArrowDown"):l.push("ArrowLeft","ArrowRight"),"activeDescendant"===n&&l.push(" ","Enter"),l.includes(t.key)&&t.preventDefault(),G({type:g.F.keyDown,key:t.key,event:t}),Q(t)},es=e=>t=>{var r,l;null==(r=e.onBlur)||r.call(e,t),t.defaultMuiPrevented||null!=(l=H.current)&&l.contains(t.relatedTarget)||G({type:g.F.blur,event:t})},eu=a.useCallback(e=>{var t;let r=v.findIndex(t=>m(t,e)),l=(null!=(t=ee.current)?t:[]).some(t=>null!=t&&m(e,t)),i=d(e,r),a=null!=et.current&&m(e,et.current),o="DOM"===n;return{disabled:i,focusable:o,highlighted:a,index:r,selected:l}},[v,d,m,ee,et,n]),ec=a.useMemo(()=>({dispatch:G,getItemState:eu,registerHighlightChangeHandler:ei,registerSelectionChangeHandler:ea}),[G,eu,ei,ea]);return a.useDebugValue({state:X}),{contextValue:ec,dispatch:G,getRootProps:(e={})=>(0,i.Z)({},e,{"aria-activedescendant":"activeDescendant"===n&&null!=K?c(K):void 0,onBlur:es(e),onKeyDown:eo(e),tabIndex:"DOM"===n?-1:0,ref:j}),rootRef:j,state:X}},O=e=>{let{label:t,value:r}=e;return"string"==typeof t?t:"string"==typeof r?r:String(e)},M=r(12247);function P(e,t){var r,l,n;let{open:a}=e,{context:{selectionMode:o}}=t;if(t.type===v.buttonClick){let l=null!=(r=e.selectedValues[0])?r:m(null,"start",t.context);return(0,i.Z)({},e,{open:!a,highlightedValue:a?null:l})}let s=b(e,t);switch(t.type){case g.F.keyDown:if(e.open){if("Escape"===t.event.key||"single"===o&&("Enter"===t.event.key||" "===t.event.key))return(0,i.Z)({},s,{open:!1})}else{if("Enter"===t.event.key||" "===t.event.key||"ArrowDown"===t.event.key)return(0,i.Z)({},e,{open:!0,highlightedValue:null!=(l=e.selectedValues[0])?l:m(null,"start",t.context)});if("ArrowUp"===t.event.key)return(0,i.Z)({},e,{open:!0,highlightedValue:null!=(n=e.selectedValues[0])?n:m(null,"end",t.context)})}break;case g.F.itemClick:if("single"===o)return(0,i.Z)({},s,{open:!1});break;case g.F.blur:return(0,i.Z)({},s,{open:!1})}return s}function E(e,t){return r=>{let l=(0,i.Z)({},r,e(r)),n=(0,i.Z)({},l,t(l));return n}}function L(e){e.preventDefault()}var T=function(e){let t;let{areOptionsEqual:r,buttonRef:l,defaultOpen:n=!1,defaultValue:o,disabled:s=!1,listboxId:c,listboxRef:g,multiple:m=!1,onChange:p,onHighlightChange:b,onOpenChange:y,open:S,options:x,getOptionAsString:k=O,value:C}=e,V=a.useRef(null),w=(0,u.Z)(l,V),Z=a.useRef(null),D=(0,d.Z)(c);void 0===C&&void 0===o?t=[]:void 0!==o&&(t=m?o:null==o?[]:[o]);let A=a.useMemo(()=>{if(void 0!==C)return m?C:null==C?[]:[C]},[C,m]),{subitems:F,contextValue:_}=(0,M.Y)(),I=a.useMemo(()=>null!=x?new Map(x.map((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:a.createRef(),id:`${D}_${t}`}])):F,[x,F,D]),R=(0,u.Z)(g,Z),{getRootProps:T,active:N,focusVisible:H,rootRef:j}=(0,h.Z)({disabled:s,rootRef:w}),B=a.useMemo(()=>Array.from(I.keys()),[I]),U=a.useCallback(e=>{if(void 0!==r){let t=B.find(t=>r(t,e));return I.get(t)}return I.get(e)},[I,r,B]),$=a.useCallback(e=>{var t;let r=U(e);return null!=(t=null==r?void 0:r.disabled)&&t},[U]),W=a.useCallback(e=>{let t=U(e);return t?k(t):""},[U,k]),J=a.useMemo(()=>({selectedValues:A,open:S}),[A,S]),q=a.useCallback(e=>{var t;return null==(t=I.get(e))?void 0:t.id},[I]),X=a.useCallback((e,t)=>{if(m)null==p||p(e,t);else{var r;null==p||p(e,null!=(r=t[0])?r:null)}},[m,p]),G=a.useCallback((e,t)=>{null==b||b(e,null!=t?t:null)},[b]),K=a.useCallback((e,t,r)=>{if("open"===t&&(null==y||y(r),!1===r&&(null==e?void 0:e.type)!=="blur")){var l;null==(l=V.current)||l.focus()}},[y]),Y={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=t)?e:[],open:n}},getItemId:q,controlledProps:J,itemComparer:r,isItemDisabled:$,rootRef:j,onChange:X,onHighlightChange:G,onStateChange:K,reducerActionContext:a.useMemo(()=>({multiple:m}),[m]),items:B,getItemAsString:W,selectionMode:m?"multiple":"single",stateReducer:P},{dispatch:Q,getRootProps:ee,contextValue:et,state:{open:er,highlightedValue:el,selectedValues:en},rootRef:ei}=z(Y),ea=e=>t=>{var r;if(null==e||null==(r=e.onClick)||r.call(e,t),!t.defaultMuiPrevented){let e={type:v.buttonClick,event:t};Q(e)}};(0,f.Z)(()=>{if(null!=el){var e;let t=null==(e=U(el))?void 0:e.ref;if(!Z.current||!(null!=t&&t.current))return;let r=Z.current.getBoundingClientRect(),l=t.current.getBoundingClientRect();l.topr.bottom&&(Z.current.scrollTop+=l.bottom-r.bottom)}},[el,U]);let eo=a.useCallback(e=>U(e),[U]),es=(e={})=>(0,i.Z)({},e,{onClick:ea(e),ref:ei,role:"combobox","aria-expanded":er,"aria-controls":D});a.useDebugValue({selectedOptions:en,highlightedOption:el,open:er});let eu=a.useMemo(()=>(0,i.Z)({},et,_),[et,_]);return{buttonActive:N,buttonFocusVisible:H,buttonRef:j,contextValue:eu,disabled:s,dispatch:Q,getButtonProps:(e={})=>{let t=E(T,ee),r=E(t,es);return r(e)},getListboxProps:(e={})=>(0,i.Z)({},e,{id:D,role:"listbox","aria-multiselectable":m?"true":void 0,ref:R,onMouseDown:L}),getOptionMetadata:eo,listboxRef:ei,open:er,options:B,value:e.multiple?en:en.length>0?en[0]:null,highlightedOption:el}},N=r(26558),H=r(85893);function j(e){let{value:t,children:r}=e,{dispatch:l,getItemIndex:n,getItemState:i,registerHighlightChangeHandler:o,registerSelectionChangeHandler:s,registerItem:u,totalSubitemCount:c}=t,d=a.useMemo(()=>({dispatch:l,getItemState:i,getItemIndex:n,registerHighlightChangeHandler:o,registerSelectionChangeHandler:s}),[l,n,i,o,s]),f=a.useMemo(()=>({getItemIndex:n,registerItem:u,totalSubitemCount:c}),[u,n,c]);return(0,H.jsx)(M.s.Provider,{value:f,children:(0,H.jsx)(N.Z.Provider,{value:d,children:r})})}var B=r(94780),U=r(11772),$=r(51712),W=r(43614),J=r(74312),q=r(20407),X=r(30220),G=r(26821);function K(e){return(0,G.d6)("MuiSvgIcon",e)}(0,G.sI)("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","fontSizeXl5","fontSizeXl6"]);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","slots","slotProps"],Q=e=>{let{color:t,fontSize:r}=e,l={root:["root",t&&`color${(0,s.Z)(t)}`,r&&`fontSize${(0,s.Z)(r)}`]};return(0,B.Z)(l,K,{})},ee=(0,J.Z)("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r;return(0,i.Z)({},t.instanceFontSize&&"inherit"!==t.instanceFontSize&&{"--Icon-fontSize":e.vars.fontSize[t.instanceFontSize]},{userSelect:"none",margin:"var(--Icon-margin)",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},{color:"var(--Icon-color)"},"inherit"!==t.color&&"context"!==t.color&&e.vars.palette[t.color]&&{color:e.vars.palette[t.color].plainColor},"context"===t.color&&{color:null==(r=e.variants.plain)||null==(r=r[t.color])?void 0:r.color})}),et=a.forwardRef(function(e,t){let r=(0,q.Z)({props:e,name:"JoySvgIcon"}),{children:l,className:s,color:u="inherit",component:c="svg",fontSize:d="xl",htmlColor:f,inheritViewBox:h=!1,titleAccess:v,viewBox:g="0 0 24 24",slots:m={},slotProps:p={}}=r,b=(0,n.Z)(r,Y),y=a.isValidElement(l)&&"svg"===l.type,S=(0,i.Z)({},r,{color:u,component:c,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:y}),x=Q(S),k=(0,i.Z)({},b,{component:c,slots:m,slotProps:p}),[C,V]=(0,X.Z)("root",{ref:t,className:(0,o.Z)(x.root,s),elementType:ee,externalForwardedProps:k,ownerState:S,additionalProps:(0,i.Z)({color:f,focusable:!1},v&&{role:"img"},!v&&{"aria-hidden":!0},!h&&{viewBox:g},y&&l.props)});return(0,H.jsxs)(C,(0,i.Z)({},V,{children:[y?l.props.children:l,v?(0,H.jsx)("title",{children:v}):null]}))});var er=function(e,t){function r(r,l){return(0,H.jsx)(et,(0,i.Z)({"data-testid":`${t}Icon`,ref:l},r,{children:e}))}return r.muiName=et.muiName,a.memo(a.forwardRef(r))}((0,H.jsx)("path",{d:"m12 5.83 2.46 2.46c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L12.7 3.7a.9959.9959 0 0 0-1.41 0L8.12 6.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 5.83zm0 12.34-2.46-2.46a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l3.17 3.18c.39.39 1.02.39 1.41 0l3.17-3.17c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0L12 18.17z"}),"Unfold"),el=r(78653);function en(e){return(0,G.d6)("MuiSelect",e)}let ei=(0,G.sI)("MuiSelect",["root","button","indicator","startDecorator","endDecorator","popper","listbox","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","focusVisible","disabled","expanded"]);var ea=r(76043);let eo=["action","autoFocus","children","defaultValue","defaultListboxOpen","disabled","getSerializedValue","placeholder","listboxId","listboxOpen","onChange","onListboxOpenChange","onClose","renderValue","value","size","variant","color","startDecorator","endDecorator","indicator","aria-describedby","aria-label","aria-labelledby","id","name","slots","slotProps"];function es(e){var t;return null!=(t=null==e?void 0:e.label)?t:""}function eu(e){return(null==e?void 0:e.value)==null?"":"string"==typeof e.value||"number"==typeof e.value?e.value:JSON.stringify(e.value)}let ec=[{name:"offset",options:{offset:[0,4]}},{name:"equalWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`}}],ed=e=>{let{color:t,disabled:r,focusVisible:l,size:n,variant:i,open:a}=e,o={root:["root",r&&"disabled",l&&"focusVisible",a&&"expanded",i&&`variant${(0,s.Z)(i)}`,t&&`color${(0,s.Z)(t)}`,n&&`size${(0,s.Z)(n)}`],button:["button"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],indicator:["indicator",a&&"expanded"],listbox:["listbox",a&&"expanded",r&&"disabled"]};return(0,B.Z)(o,en,{})},ef=(0,J.Z)("div",{name:"JoySelect",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,l,n,a;let o=null==(r=e.variants[`${t.variant}`])?void 0:r[t.color];return[(0,i.Z)({"--Select-radius":e.vars.radius.sm,"--Select-gap":"0.5rem","--Select-placeholderOpacity":.5,"--Select-focusedThickness":e.vars.focus.thickness},"context"===t.color?{"--Select-focusedHighlight":e.vars.palette.focusVisible}:{"--Select-focusedHighlight":null==(l=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:l[500]},{"--Select-indicatorColor":null!=o&&o.backgroundColor?null==o?void 0:o.color:e.vars.palette.text.tertiary},"sm"===t.size&&{"--Select-minHeight":"2rem","--Select-paddingInline":"0.5rem","--Select-decoratorChildHeight":"min(1.5rem, var(--Select-minHeight))","--Icon-fontSize":"1.25rem"},"md"===t.size&&{"--Select-minHeight":"2.5rem","--Select-paddingInline":"0.75rem","--Select-decoratorChildHeight":"min(2rem, var(--Select-minHeight))","--Icon-fontSize":"1.5rem"},"lg"===t.size&&{"--Select-minHeight":"3rem","--Select-paddingInline":"1rem","--Select-decoratorChildHeight":"min(2.375rem, var(--Select-minHeight))","--Icon-fontSize":"1.75rem"},{"--Select-decoratorChildOffset":"min(calc(var(--Select-paddingInline) - (var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2), var(--Select-paddingInline))","--_Select-paddingBlock":"max((var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2, 0px)","--Select-decoratorChildRadius":"max(var(--Select-radius) - var(--variant-borderWidth, 0px) - var(--_Select-paddingBlock), min(var(--_Select-paddingBlock) + var(--variant-borderWidth, 0px), var(--Select-radius) / 2))","--Button-minHeight":"var(--Select-decoratorChildHeight)","--IconButton-size":"var(--Select-decoratorChildHeight)","--Button-radius":"var(--Select-decoratorChildRadius)","--IconButton-radius":"var(--Select-decoratorChildRadius)",boxSizing:"border-box",minWidth:0,minHeight:"var(--Select-minHeight)",position:"relative",display:"flex",alignItems:"center",borderRadius:"var(--Select-radius)",cursor:"pointer"},!(null!=o&&o.backgroundColor)&&{backgroundColor:e.vars.palette.background.surface},t.size&&{paddingBlock:({sm:2,md:3,lg:4})[t.size]},{paddingInline:"var(--Select-paddingInline)",fontFamily:e.vars.fontFamily.body,fontSize:e.vars.fontSize.md},"sm"===t.size&&{fontSize:e.vars.fontSize.sm},{"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)"},[`&.${ei.focusVisible}`]:{"--Select-indicatorColor":null==o?void 0:o.color,"&::before":{boxShadow:"inset 0 0 0 var(--Select-focusedThickness) var(--Select-focusedHighlight)"}},[`&.${ei.disabled}`]:{"--Select-indicatorColor":"inherit"}}),(0,i.Z)({},o,{"&:hover":null==(n=e.variants[`${t.variant}Hover`])?void 0:n[t.color],[`&.${ei.disabled}`]:null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]})]}),eh=(0,J.Z)("button",{name:"JoySelect",slot:"Button",overridesResolver:(e,t)=>t.button})(({ownerState:e})=>(0,i.Z)({border:0,outline:0,background:"none",padding:0,fontSize:"inherit",color:"inherit",alignSelf:"stretch",display:"flex",alignItems:"center",flex:1,fontFamily:"inherit",cursor:"pointer",whiteSpace:"nowrap",overflow:"hidden"},(null===e.value||void 0===e.value)&&{opacity:"var(--Select-placeholderOpacity)"},{"&::before":{content:'""',display:"block",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))",right:"calc(-1 * var(--variant-borderWidth, 0px))",bottom:"calc(-1 * var(--variant-borderWidth, 0px))",borderRadius:"var(--Select-radius)"}})),ev=(0,J.Z)(U.C,{name:"JoySelect",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e,ownerState:t})=>{var r;let l="context"===t.color?void 0:null==(r=e.variants[t.variant])?void 0:r[t.color];return(0,i.Z)({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--List-radius":e.vars.radius.sm,"--ListItem-stickyBackground":(null==l?void 0:l.backgroundColor)||(null==l?void 0:l.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},$.M,{minWidth:"max-content",maxHeight:"44vh",overflow:"auto",outline:0,boxShadow:e.shadow.md,zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`},!(null!=l&&l.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup})}),eg=(0,J.Z)("span",{name:"JoySelect",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})(({theme:e,ownerState:t})=>(0,i.Z)({"--Button-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Select-paddingInline) / -4)",display:"inherit",alignItems:"center",marginInlineEnd:"var(--Select-gap)",color:e.vars.palette.text.tertiary},t.focusVisible&&{color:"var(--Select-focusedHighlight)"})),em=(0,J.Z)("span",{name:"JoySelect",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})(({theme:e,ownerState:t})=>{var r;let l=null==(r=e.variants[t.variant])?void 0:r[t.color];return{"--Button-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Select-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",marginInlineStart:"var(--Select-gap)",color:null==l?void 0:l.color}}),ep=(0,J.Z)("span",{name:"JoySelect",slot:"Indicator"})(({ownerState:e})=>(0,i.Z)({},"sm"===e.size&&{"--Icon-fontSize":"1.125rem"},"md"===e.size&&{"--Icon-fontSize":"1.25rem"},"lg"===e.size&&{"--Icon-fontSize":"1.5rem"},{color:"var(--Select-indicatorColor)",display:"inherit",alignItems:"center",marginInlineStart:"var(--Select-gap)",marginInlineEnd:"calc(var(--Select-paddingInline) / -4)",[`.${ei.endDecorator} + &`]:{marginInlineStart:"calc(var(--Select-gap) / 2)"}})),eb=a.forwardRef(function(e,t){var r,s,d,f,h,v,g;let m=(0,q.Z)({props:e,name:"JoySelect"}),{action:p,autoFocus:b,children:y,defaultValue:S,defaultListboxOpen:x=!1,disabled:k,getSerializedValue:C=eu,placeholder:V,listboxId:w,listboxOpen:Z,onChange:D,onListboxOpenChange:A,onClose:F,renderValue:_,value:I,size:R="md",variant:z="outlined",color:O="neutral",startDecorator:M,endDecorator:P,indicator:E=l||(l=(0,H.jsx)(er,{})),"aria-describedby":L,"aria-label":N,"aria-labelledby":B,id:U,name:J,slots:G={},slotProps:K={}}=m,Y=(0,n.Z)(m,eo),Q=a.useContext(ea.Z),ee=null!=(r=null!=(s=e.disabled)?s:null==Q?void 0:Q.disabled)?r:k,et=null!=(d=null!=(f=e.size)?f:null==Q?void 0:Q.size)?d:R,{getColor:en}=(0,el.VT)(z),eb=en(e.color,null!=Q&&Q.error?"danger":null!=(h=null==Q?void 0:Q.color)?h:O),ey=null!=_?_:es,[eS,ex]=a.useState(null),ek=a.useRef(null),eC=a.useRef(null),eV=a.useRef(null),ew=(0,u.Z)(t,ek);a.useImperativeHandle(p,()=>({focusVisible:()=>{var e;null==(e=eC.current)||e.focus()}}),[]),a.useEffect(()=>{ex(ek.current)},[]),a.useEffect(()=>{b&&eC.current.focus()},[b]);let eZ=a.useCallback(e=>{null==A||A(e),e||null==F||F()},[F,A]),{buttonActive:eD,buttonFocusVisible:eA,contextValue:eF,disabled:e_,getButtonProps:eI,getListboxProps:eR,getOptionMetadata:ez,open:eO,value:eM}=T({buttonRef:eC,defaultOpen:x,defaultValue:S,disabled:ee,listboxId:w,multiple:!1,onChange:D,onOpenChange:eZ,open:Z,value:I}),eP=(0,i.Z)({},m,{active:eD,defaultListboxOpen:x,disabled:e_,focusVisible:eA,open:eO,renderValue:ey,value:eM,size:et,variant:z,color:eb}),eE=ed(eP),eL=(0,i.Z)({},Y,{slots:G,slotProps:K}),eT=a.useMemo(()=>{var e;return null!=(e=ez(eM))?e:null},[ez,eM]),[eN,eH]=(0,X.Z)("root",{ref:ew,className:eE.root,elementType:ef,externalForwardedProps:eL,ownerState:eP}),[ej,eB]=(0,X.Z)("button",{additionalProps:{"aria-describedby":null!=L?L:null==Q?void 0:Q["aria-describedby"],"aria-label":N,"aria-labelledby":null!=B?B:null==Q?void 0:Q.labelId,id:null!=U?U:null==Q?void 0:Q.htmlFor,name:J},className:eE.button,elementType:eh,externalForwardedProps:eL,getSlotProps:eI,ownerState:eP}),[eU,e$]=(0,X.Z)("listbox",{additionalProps:{ref:eV,anchorEl:eS,open:eO,placement:"bottom",keepMounted:!0},className:eE.listbox,elementType:ev,externalForwardedProps:eL,getSlotProps:eR,ownerState:(0,i.Z)({},eP,{nesting:!1,row:!1,wrap:!1}),getSlotOwnerState:e=>({size:e.size||et,variant:e.variant||"outlined",color:e.color||"neutral",disableColorInversion:!e.disablePortal})}),[eW,eJ]=(0,X.Z)("startDecorator",{className:eE.startDecorator,elementType:eg,externalForwardedProps:eL,ownerState:eP}),[eq,eX]=(0,X.Z)("endDecorator",{className:eE.endDecorator,elementType:em,externalForwardedProps:eL,ownerState:eP}),[eG,eK]=(0,X.Z)("indicator",{className:eE.indicator,elementType:ep,externalForwardedProps:eL,ownerState:eP}),eY=a.useMemo(()=>(0,i.Z)({},eF,{color:eb}),[eb,eF]),eQ=a.useMemo(()=>[...ec,...e$.modifiers||[]],[e$.modifiers]),e0=null;return eS&&(e0=(0,H.jsx)(eU,(0,i.Z)({},e$,{className:(0,o.Z)(e$.className,(null==(v=e$.ownerState)?void 0:v.color)==="context"&&ei.colorContext),modifiers:eQ},!(null!=(g=m.slots)&&g.listbox)&&{as:c.Z,slots:{root:e$.as||"ul"}},{children:(0,H.jsx)(j,{value:eY,children:(0,H.jsx)(W.Z.Provider,{value:"select",children:(0,H.jsx)($.Z,{nested:!0,children:y})})})})),e$.disablePortal||(e0=(0,H.jsx)(el.ZP.Provider,{value:void 0,children:e0}))),(0,H.jsxs)(a.Fragment,{children:[(0,H.jsxs)(eN,(0,i.Z)({},eH,{children:[M&&(0,H.jsx)(eW,(0,i.Z)({},eJ,{children:M})),(0,H.jsx)(ej,(0,i.Z)({},eB,{children:eT?ey(eT):V})),P&&(0,H.jsx)(eq,(0,i.Z)({},eX,{children:P})),E&&(0,H.jsx)(eG,(0,i.Z)({},eK,{children:E}))]})),e0,J&&(0,H.jsx)("input",{type:"hidden",name:J,value:C(eT)})]})});var ey=eb},87536:function(e,t,r){r.d(t,{cI:function(){return eg}});var l=r(67294),n=e=>"checkbox"===e.type,i=e=>e instanceof Date,a=e=>null==e;let o=e=>"object"==typeof e;var s=e=>!a(e)&&!Array.isArray(e)&&o(e)&&!i(e),u=e=>s(e)&&e.target?n(e.target)?e.target.checked:e.target.value:e,c=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,d=(e,t)=>e.has(c(t)),f=e=>{let t=e.constructor&&e.constructor.prototype;return s(t)&&t.hasOwnProperty("isPrototypeOf")},h="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function v(e){let t;let r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(h&&(e instanceof Blob||e instanceof FileList))&&(r||s(e))))return e;else if(t=r?[]:{},r||f(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=v(e[r]));else t=e;return t}var g=e=>Array.isArray(e)?e.filter(Boolean):[],m=e=>void 0===e,p=(e,t,r)=>{if(!t||!s(e))return r;let l=g(t.split(/[,[\].]+?/)).reduce((e,t)=>a(e)?e:e[t],e);return m(l)||l===e?m(e[t])?r:e[t]:l};let b={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},y={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},S={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};l.createContext(null);var x=(e,t,r,l=!0)=>{let n={defaultValues:t._defaultValues};for(let i in e)Object.defineProperty(n,i,{get:()=>(t._proxyFormState[i]!==y.all&&(t._proxyFormState[i]=!l||y.all),r&&(r[i]=!0),e[i])});return n},k=e=>s(e)&&!Object.keys(e).length,C=(e,t,r,l)=>{r(e);let{name:n,...i}=e;return k(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!l||y.all))},V=e=>Array.isArray(e)?e:[e],w=e=>"string"==typeof e,Z=(e,t,r,l,n)=>w(e)?(l&&t.watch.add(e),p(r,e,n)):Array.isArray(e)?e.map(e=>(l&&t.watch.add(e),p(r,e))):(l&&(t.watchAll=!0),r),D=e=>/^\w*$/.test(e),A=e=>g(e.replace(/["|']|\]/g,"").split(/\.|\[/));function F(e,t,r){let l=-1,n=D(t)?[t]:A(t),i=n.length,a=i-1;for(;++lt?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[l]:n||!0}}:{};let I=(e,t,r)=>{for(let l of r||Object.keys(e)){let r=p(e,l);if(r){let{_f:e,...l}=r;if(e&&t(e.name)){if(e.ref.focus){e.ref.focus();break}if(e.refs&&e.refs[0].focus){e.refs[0].focus();break}}else s(l)&&I(l,t)}}};var R=e=>({isOnSubmit:!e||e===y.onSubmit,isOnBlur:e===y.onBlur,isOnChange:e===y.onChange,isOnAll:e===y.all,isOnTouch:e===y.onTouched}),z=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),O=(e,t,r)=>{let l=g(p(e,r));return F(l,"root",t[r]),F(e,r,l),e},M=e=>"boolean"==typeof e,P=e=>"file"===e.type,E=e=>"function"==typeof e,L=e=>{if(!h)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},T=e=>w(e),N=e=>"radio"===e.type,H=e=>e instanceof RegExp;let j={value:!1,isValid:!1},B={value:!0,isValid:!0};var U=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!m(e[0].attributes.value)?m(e[0].value)||""===e[0].value?B:{value:e[0].value,isValid:!0}:B:j}return j};let $={isValid:!1,value:null};var W=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,$):$;function J(e,t,r="validate"){if(T(e)||Array.isArray(e)&&e.every(T)||M(e)&&!e)return{type:r,message:T(e)?e:"",ref:t}}var q=e=>s(e)&&!H(e)?e:{value:e,message:""},X=async(e,t,r,l,i)=>{let{ref:o,refs:u,required:c,maxLength:d,minLength:f,min:h,max:v,pattern:g,validate:b,name:y,valueAsNumber:x,mount:C,disabled:V}=e._f,Z=p(t,y);if(!C||V)return{};let D=u?u[0]:o,A=e=>{l&&D.reportValidity&&(D.setCustomValidity(M(e)?"":e||""),D.reportValidity())},F={},I=N(o),R=n(o),z=(x||P(o))&&m(o.value)&&m(Z)||L(o)&&""===o.value||""===Z||Array.isArray(Z)&&!Z.length,O=_.bind(null,y,r,F),j=(e,t,r,l=S.maxLength,n=S.minLength)=>{let i=e?t:r;F[y]={type:e?l:n,message:i,ref:o,...O(e?l:n,i)}};if(i?!Array.isArray(Z)||!Z.length:c&&(!(I||R)&&(z||a(Z))||M(Z)&&!Z||R&&!U(u).isValid||I&&!W(u).isValid)){let{value:e,message:t}=T(c)?{value:!!c,message:c}:q(c);if(e&&(F[y]={type:S.required,message:t,ref:D,...O(S.required,t)},!r))return A(t),F}if(!z&&(!a(h)||!a(v))){let e,t;let l=q(v),n=q(h);if(a(Z)||isNaN(Z)){let r=o.valueAsDate||new Date(Z),i=e=>new Date(new Date().toDateString()+" "+e),a="time"==o.type,s="week"==o.type;w(l.value)&&Z&&(e=a?i(Z)>i(l.value):s?Z>l.value:r>new Date(l.value)),w(n.value)&&Z&&(t=a?i(Z)l.value),a(n.value)||(t=r+e.value,n=!a(t.value)&&Z.length<+t.value;if((l||n)&&(j(l,e.message,t.message),!r))return A(F[y].message),F}if(g&&!z&&w(Z)){let{value:e,message:t}=q(g);if(H(e)&&!Z.match(e)&&(F[y]={type:S.pattern,message:t,ref:o,...O(S.pattern,t)},!r))return A(t),F}if(b){if(E(b)){let e=await b(Z,t),l=J(e,D);if(l&&(F[y]={...l,...O(S.validate,l.message)},!r))return A(l.message),F}else if(s(b)){let e={};for(let l in b){if(!k(e)&&!r)break;let n=J(await b[l](Z,t),D,l);n&&(e={...n,...O(l,n.message)},A(n.message),r&&(F[y]=e))}if(!k(e)&&(F[y]={ref:D,...e},!r))return F}}return A(!0),F};function G(e,t){let r=Array.isArray(t)?t:D(t)?[t]:A(t),l=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,l=0;for(;l{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}}var Y=e=>a(e)||!o(e);function Q(e,t){if(Y(e)||Y(t))return e===t;if(i(e)&&i(t))return e.getTime()===t.getTime();let r=Object.keys(e),l=Object.keys(t);if(r.length!==l.length)return!1;for(let n of r){let r=e[n];if(!l.includes(n))return!1;if("ref"!==n){let e=t[n];if(i(r)&&i(e)||s(r)&&s(e)||Array.isArray(r)&&Array.isArray(e)?!Q(r,e):r!==e)return!1}}return!0}var ee=e=>"select-multiple"===e.type,et=e=>N(e)||n(e),er=e=>L(e)&&e.isConnected,el=e=>{for(let t in e)if(E(e[t]))return!0;return!1};function en(e,t={}){let r=Array.isArray(e);if(s(e)||r)for(let r in e)Array.isArray(e[r])||s(e[r])&&!el(e[r])?(t[r]=Array.isArray(e[r])?[]:{},en(e[r],t[r])):a(e[r])||(t[r]=!0);return t}var ei=(e,t)=>(function e(t,r,l){let n=Array.isArray(t);if(s(t)||n)for(let n in t)Array.isArray(t[n])||s(t[n])&&!el(t[n])?m(r)||Y(l[n])?l[n]=Array.isArray(t[n])?en(t[n],[]):{...en(t[n])}:e(t[n],a(r)?{}:r[n],l[n]):l[n]=!Q(t[n],r[n]);return l})(e,t,en(t)),ea=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:l})=>m(e)?e:t?""===e?NaN:e?+e:e:r&&w(e)?new Date(e):l?l(e):e;function eo(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:P(t)?t.files:N(t)?W(e.refs).value:ee(t)?[...t.selectedOptions].map(({value:e})=>e):n(t)?U(e.refs).value:ea(m(t.value)?e.ref.value:t.value,e)}var es=(e,t,r,l)=>{let n={};for(let r of e){let e=p(t,r);e&&F(n,r,e._f)}return{criteriaMode:r,names:[...e],fields:n,shouldUseNativeValidation:l}},eu=e=>m(e)?e:H(e)?e.source:s(e)?H(e.value)?e.value.source:e.value:e,ec=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ed(e,t,r){let l=p(e,r);if(l||D(r))return{error:l,name:r};let n=r.split(".");for(;n.length;){let l=n.join("."),i=p(t,l),a=p(e,l);if(i&&!Array.isArray(i)&&r!==l)break;if(a&&a.type)return{name:l,error:a};n.pop()}return{name:r}}var ef=(e,t,r,l,n)=>!n.isOnAll&&(!r&&n.isOnTouch?!(t||e):(r?l.isOnBlur:n.isOnBlur)?!e:(r?!l.isOnChange:!n.isOnChange)||e),eh=(e,t)=>!g(p(e,t)).length&&G(e,t);let ev={mode:y.onSubmit,reValidateMode:y.onChange,shouldFocusError:!0};function eg(e={}){let t=l.useRef(),r=l.useRef(),[o,c]=l.useState({isDirty:!1,isValidating:!1,isLoading:E(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:E(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let r,l={...ev,...e},o={submitCount:0,isDirty:!1,isLoading:E(l.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},c={},f=(s(l.defaultValues)||s(l.values))&&v(l.defaultValues||l.values)||{},S=l.shouldUnregister?{}:v(f),x={action:!1,mount:!1,watch:!1},C={mount:new Set,unMount:new Set,array:new Set,watch:new Set},D=0,A={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},_={values:K(),array:K(),state:K()},T=e.resetOptions&&e.resetOptions.keepDirtyValues,N=R(l.mode),H=R(l.reValidateMode),j=l.criteriaMode===y.all,B=e=>t=>{clearTimeout(D),D=setTimeout(e,t)},U=async e=>{if(A.isValid||e){let e=l.resolver?k((await en()).errors):await em(c,!0);e!==o.isValid&&_.state.next({isValid:e})}},$=e=>A.isValidating&&_.state.next({isValidating:e}),W=(e,t)=>{F(o.errors,e,t),_.state.next({errors:o.errors})},J=(e,t,r,l)=>{let n=p(c,e);if(n){let i=p(S,e,m(r)?p(f,e):r);m(i)||l&&l.defaultChecked||t?F(S,e,t?i:eo(n._f)):ey(e,i),x.mount&&U()}},q=(e,t,r,l,n)=>{let i=!1,a=!1,s={name:e};if(!r||l){A.isDirty&&(a=o.isDirty,o.isDirty=s.isDirty=ep(),i=a!==s.isDirty);let r=Q(p(f,e),t);a=p(o.dirtyFields,e),r?G(o.dirtyFields,e):F(o.dirtyFields,e,!0),s.dirtyFields=o.dirtyFields,i=i||A.dirtyFields&&!r!==a}if(r){let t=p(o.touchedFields,e);t||(F(o.touchedFields,e,r),s.touchedFields=o.touchedFields,i=i||A.touchedFields&&t!==r)}return i&&n&&_.state.next(s),i?s:{}},el=(t,l,n,i)=>{let a=p(o.errors,t),s=A.isValid&&M(l)&&o.isValid!==l;if(e.delayError&&n?(r=B(()=>W(t,n)))(e.delayError):(clearTimeout(D),r=null,n?F(o.errors,t,n):G(o.errors,t)),(n?!Q(a,n):a)||!k(i)||s){let e={...i,...s&&M(l)?{isValid:l}:{},errors:o.errors,name:t};o={...o,...e},_.state.next(e)}$(!1)},en=async e=>l.resolver(S,l.context,es(e||C.mount,c,l.criteriaMode,l.shouldUseNativeValidation)),eg=async e=>{let{errors:t}=await en();if(e)for(let r of e){let e=p(t,r);e?F(o.errors,r,e):G(o.errors,r)}else o.errors=t;return t},em=async(e,t,r={valid:!0})=>{for(let n in e){let i=e[n];if(i){let{_f:e,...n}=i;if(e){let n=C.array.has(e.name),a=await X(i,S,j,l.shouldUseNativeValidation&&!t,n);if(a[e.name]&&(r.valid=!1,t))break;t||(p(a,e.name)?n?O(o.errors,a,e.name):F(o.errors,e.name,a[e.name]):G(o.errors,e.name))}n&&await em(n,t,r)}}return r.valid},ep=(e,t)=>(e&&t&&F(S,e,t),!Q(eV(),f)),eb=(e,t,r)=>Z(e,C,{...x.mount?S:m(t)?f:w(e)?{[e]:t}:t},r,t),ey=(e,t,r={})=>{let l=p(c,e),i=t;if(l){let r=l._f;r&&(r.disabled||F(S,e,ea(t,r)),i=L(r.ref)&&a(t)?"":t,ee(r.ref)?[...r.ref.options].forEach(e=>e.selected=i.includes(e.value)):r.refs?n(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find(t=>t===e.value):i===e.value)):r.refs[0]&&(r.refs[0].checked=!!i):r.refs.forEach(e=>e.checked=e.value===i):P(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||_.values.next({name:e,values:{...S}})))}(r.shouldDirty||r.shouldTouch)&&q(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&eC(e)},eS=(e,t,r)=>{for(let l in t){let n=t[l],a=`${e}.${l}`,o=p(c,a);!C.array.has(e)&&Y(n)&&(!o||o._f)||i(n)?ey(a,n,r):eS(a,n,r)}},ex=(e,r,l={})=>{let n=p(c,e),i=C.array.has(e),s=v(r);F(S,e,s),i?(_.array.next({name:e,values:{...S}}),(A.isDirty||A.dirtyFields)&&l.shouldDirty&&_.state.next({name:e,dirtyFields:ei(f,S),isDirty:ep(e,s)})):!n||n._f||a(s)?ey(e,s,l):eS(e,s,l),z(e,C)&&_.state.next({...o}),_.values.next({name:e,values:{...S}}),x.mount||t()},ek=async e=>{let t=e.target,n=t.name,i=!0,a=p(c,n);if(a){let s,d;let f=t.type?eo(a._f):u(e),h=e.type===b.BLUR||e.type===b.FOCUS_OUT,v=!ec(a._f)&&!l.resolver&&!p(o.errors,n)&&!a._f.deps||ef(h,p(o.touchedFields,n),o.isSubmitted,H,N),g=z(n,C,h);F(S,n,f),h?(a._f.onBlur&&a._f.onBlur(e),r&&r(0)):a._f.onChange&&a._f.onChange(e);let m=q(n,f,h,!1),y=!k(m)||g;if(h||_.values.next({name:n,type:e.type,values:{...S}}),v)return A.isValid&&U(),y&&_.state.next({name:n,...g?{}:m});if(!h&&g&&_.state.next({...o}),$(!0),l.resolver){let{errors:e}=await en([n]),t=ed(o.errors,c,n),r=ed(e,c,t.name||n);s=r.error,n=r.name,d=k(e)}else s=(await X(a,S,j,l.shouldUseNativeValidation))[n],(i=isNaN(f)||f===p(S,n,f))&&(s?d=!1:A.isValid&&(d=await em(c,!0)));i&&(a._f.deps&&eC(a._f.deps),el(n,d,s,m))}},eC=async(e,t={})=>{let r,n;let i=V(e);if($(!0),l.resolver){let t=await eg(m(e)?e:i);r=k(t),n=e?!i.some(e=>p(t,e)):r}else e?((n=(await Promise.all(i.map(async e=>{let t=p(c,e);return await em(t&&t._f?{[e]:t}:t)}))).every(Boolean))||o.isValid)&&U():n=r=await em(c);return _.state.next({...!w(e)||A.isValid&&r!==o.isValid?{}:{name:e},...l.resolver||!e?{isValid:r}:{},errors:o.errors,isValidating:!1}),t.shouldFocus&&!n&&I(c,e=>e&&p(o.errors,e),e?i:C.mount),n},eV=e=>{let t={...f,...x.mount?S:{}};return m(e)?t:w(e)?p(t,e):e.map(e=>p(t,e))},ew=(e,t)=>({invalid:!!p((t||o).errors,e),isDirty:!!p((t||o).dirtyFields,e),isTouched:!!p((t||o).touchedFields,e),error:p((t||o).errors,e)}),eZ=(e,t,r)=>{let l=(p(c,e,{_f:{}})._f||{}).ref;F(o.errors,e,{...t,ref:l}),_.state.next({name:e,errors:o.errors,isValid:!1}),r&&r.shouldFocus&&l&&l.focus&&l.focus()},eD=(e,t={})=>{for(let r of e?V(e):C.mount)C.mount.delete(r),C.array.delete(r),t.keepValue||(G(c,r),G(S,r)),t.keepError||G(o.errors,r),t.keepDirty||G(o.dirtyFields,r),t.keepTouched||G(o.touchedFields,r),l.shouldUnregister||t.keepDefaultValue||G(f,r);_.values.next({values:{...S}}),_.state.next({...o,...t.keepDirty?{isDirty:ep()}:{}}),t.keepIsValid||U()},eA=(e,t={})=>{let r=p(c,e),n=M(t.disabled);return F(c,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),C.mount.add(e),r?n&&F(S,e,t.disabled?void 0:p(S,e,eo(r._f))):J(e,!0,t.value),{...n?{disabled:t.disabled}:{},...l.progressive?{required:!!t.required,min:eu(t.min),max:eu(t.max),minLength:eu(t.minLength),maxLength:eu(t.maxLength),pattern:eu(t.pattern)}:{},name:e,onChange:ek,onBlur:ek,ref:n=>{if(n){eA(e,t),r=p(c,e);let l=m(n.value)&&n.querySelectorAll&&n.querySelectorAll("input,select,textarea")[0]||n,i=et(l),a=r._f.refs||[];(i?a.find(e=>e===l):l===r._f.ref)||(F(c,e,{_f:{...r._f,...i?{refs:[...a.filter(er),l,...Array.isArray(p(f,e))?[{}]:[]],ref:{type:l.type,name:e}}:{ref:l}}}),J(e,!1,void 0,l))}else(r=p(c,e,{}))._f&&(r._f.mount=!1),(l.shouldUnregister||t.shouldUnregister)&&!(d(C.array,e)&&x.action)&&C.unMount.add(e)}}},eF=()=>l.shouldFocusError&&I(c,e=>e&&p(o.errors,e),C.mount),e_=(e,t)=>async r=>{r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let n=v(S);if(_.state.next({isSubmitting:!0}),l.resolver){let{errors:e,values:t}=await en();o.errors=e,n=t}else await em(c);G(o.errors,"root"),k(o.errors)?(_.state.next({errors:{}}),await e(n,r)):(t&&await t({...o.errors},r),eF(),setTimeout(eF)),_.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:k(o.errors),submitCount:o.submitCount+1,errors:o.errors})},eI=(r,l={})=>{let n=r||f,i=v(n),a=r&&!k(r)?i:f;if(l.keepDefaultValues||(f=n),!l.keepValues){if(l.keepDirtyValues||T)for(let e of C.mount)p(o.dirtyFields,e)?F(a,e,p(S,e)):ex(e,p(a,e));else{if(h&&m(r))for(let e of C.mount){let t=p(c,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(L(e)){let t=e.closest("form");if(t){t.reset();break}}}}c={}}S=e.shouldUnregister?l.keepDefaultValues?v(f):{}:v(a),_.array.next({values:{...a}}),_.values.next({values:{...a}})}C={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},x.mount||t(),x.mount=!A.isValid||!!l.keepIsValid,x.watch=!!e.shouldUnregister,_.state.next({submitCount:l.keepSubmitCount?o.submitCount:0,isDirty:l.keepDirty?o.isDirty:!!(l.keepDefaultValues&&!Q(r,f)),isSubmitted:!!l.keepIsSubmitted&&o.isSubmitted,dirtyFields:l.keepDirtyValues?o.dirtyFields:l.keepDefaultValues&&r?ei(f,r):{},touchedFields:l.keepTouched?o.touchedFields:{},errors:l.keepErrors?o.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},eR=(e,t)=>eI(E(e)?e(S):e,t);return{control:{register:eA,unregister:eD,getFieldState:ew,handleSubmit:e_,setError:eZ,_executeSchema:en,_getWatch:eb,_getDirty:ep,_updateValid:U,_removeUnmounted:()=>{for(let e of C.unMount){let t=p(c,e);t&&(t._f.refs?t._f.refs.every(e=>!er(e)):!er(t._f.ref))&&eD(e)}C.unMount=new Set},_updateFieldArray:(e,t=[],r,l,n=!0,i=!0)=>{if(l&&r){if(x.action=!0,i&&Array.isArray(p(c,e))){let t=r(p(c,e),l.argA,l.argB);n&&F(c,e,t)}if(i&&Array.isArray(p(o.errors,e))){let t=r(p(o.errors,e),l.argA,l.argB);n&&F(o.errors,e,t),eh(o.errors,e)}if(A.touchedFields&&i&&Array.isArray(p(o.touchedFields,e))){let t=r(p(o.touchedFields,e),l.argA,l.argB);n&&F(o.touchedFields,e,t)}A.dirtyFields&&(o.dirtyFields=ei(f,S)),_.state.next({name:e,isDirty:ep(e,t),dirtyFields:o.dirtyFields,errors:o.errors,isValid:o.isValid})}else F(S,e,t)},_getFieldArray:t=>g(p(x.mount?S:f,t,e.shouldUnregister?p(f,t,[]):[])),_reset:eI,_resetDefaultValues:()=>E(l.defaultValues)&&l.defaultValues().then(e=>{eR(e,l.resetOptions),_.state.next({isLoading:!1})}),_updateFormState:e=>{o={...o,...e}},_subjects:_,_proxyFormState:A,get _fields(){return c},get _formValues(){return S},get _state(){return x},set _state(value){x=value},get _defaultValues(){return f},get _names(){return C},set _names(value){C=value},get _formState(){return o},set _formState(value){o=value},get _options(){return l},set _options(value){l={...l,...value}}},trigger:eC,register:eA,handleSubmit:e_,watch:(e,t)=>E(e)?_.values.subscribe({next:r=>e(eb(void 0,t),r)}):eb(e,t,!0),setValue:ex,getValues:eV,reset:eR,resetField:(e,t={})=>{p(c,e)&&(m(t.defaultValue)?ex(e,p(f,e)):(ex(e,t.defaultValue),F(f,e,t.defaultValue)),t.keepTouched||G(o.touchedFields,e),t.keepDirty||(G(o.dirtyFields,e),o.isDirty=t.defaultValue?ep(e,p(f,e)):ep()),!t.keepError&&(G(o.errors,e),A.isValid&&U()),_.state.next({...o}))},clearErrors:e=>{e&&V(e).forEach(e=>G(o.errors,e)),_.state.next({errors:e?o.errors:{}})},unregister:eD,setError:eZ,setFocus:(e,t={})=>{let r=p(c,e),l=r&&r._f;if(l){let e=l.refs?l.refs[0]:l.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:ew}}(e,()=>c(e=>({...e}))),formState:o});let f=t.current.control;return f._options=e,!function(e){let t=l.useRef(e);t.current=e,l.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}({subject:f._subjects.state,next:e=>{C(e,f._proxyFormState,f._updateFormState,!0)&&c({...f._formState})}}),l.useEffect(()=>{e.values&&!Q(e.values,r.current)?(f._reset(e.values,f._options.resetOptions),r.current=e.values):f._resetDefaultValues()},[e.values,f]),l.useEffect(()=>{f._state.mount||(f._updateValid(),f._state.mount=!0),f._state.watch&&(f._state.watch=!1,f._subjects.state.next({...f._formState})),f._removeUnmounted()}),t.current.formState=x(o,f),t.current}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/707-109d4fec9e26030d.js b/pilot/server/static/_next/static/chunks/707-109d4fec9e26030d.js new file mode 100644 index 000000000..d7aefa4d4 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/707-109d4fec9e26030d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[707],{24339:function(e,t,r){var a=r(64836);t.Z=void 0;var s=a(r(64938)),i=r(85893),l=(0,s.default)((0,i.jsx)("path",{d:"m3.4 20.4 17.45-7.48c.81-.35.81-1.49 0-1.84L3.4 3.6c-.66-.29-1.39.2-1.39.91L2 9.12c0 .5.37.93.87.99L17 12 2.87 13.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z"}),"SendRounded");t.Z=l},87536:function(e,t,r){r.d(t,{cI:function(){return eh}});var a=r(67294),s=e=>"checkbox"===e.type,i=e=>e instanceof Date,l=e=>null==e;let u=e=>"object"==typeof e;var n=e=>!l(e)&&!Array.isArray(e)&&u(e)&&!i(e),o=e=>n(e)&&e.target?s(e.target)?e.target.checked:e.target.value:e,d=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,f=(e,t)=>e.has(d(t)),c=e=>{let t=e.constructor&&e.constructor.prototype;return n(t)&&t.hasOwnProperty("isPrototypeOf")},y="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function m(e){let t;let r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(y&&(e instanceof Blob||e instanceof FileList))&&(r||n(e))))return e;else if(t=r?[]:{},r||c(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=m(e[r]));else t=e;return t}var h=e=>Array.isArray(e)?e.filter(Boolean):[],v=e=>void 0===e,p=(e,t,r)=>{if(!t||!n(e))return r;let a=h(t.split(/[,[\].]+?/)).reduce((e,t)=>l(e)?e:e[t],e);return v(a)||a===e?v(e[t])?r:e[t]:a};let g={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},b={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},_={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};a.createContext(null);var V=(e,t,r,a=!0)=>{let s={defaultValues:t._defaultValues};for(let i in e)Object.defineProperty(s,i,{get:()=>(t._proxyFormState[i]!==b.all&&(t._proxyFormState[i]=!a||b.all),r&&(r[i]=!0),e[i])});return s},A=e=>n(e)&&!Object.keys(e).length,w=(e,t,r,a)=>{r(e);let{name:s,...i}=e;return A(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!a||b.all))},x=e=>Array.isArray(e)?e:[e],F=e=>"string"==typeof e,S=(e,t,r,a,s)=>F(e)?(a&&t.watch.add(e),p(r,e,s)):Array.isArray(e)?e.map(e=>(a&&t.watch.add(e),p(r,e))):(a&&(t.watchAll=!0),r),k=e=>/^\w*$/.test(e),D=e=>h(e.replace(/["|']|\]/g,"").split(/\.|\[/));function O(e,t,r){let a=-1,s=k(t)?[t]:D(t),i=s.length,l=i-1;for(;++at?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[a]:s||!0}}:{};let L=(e,t,r)=>{for(let a of r||Object.keys(e)){let r=p(e,a);if(r){let{_f:e,...a}=r;if(e&&t(e.name)){if(e.ref.focus){e.ref.focus();break}if(e.refs&&e.refs[0].focus){e.refs[0].focus();break}}else n(a)&&L(a,t)}}};var E=e=>({isOnSubmit:!e||e===b.onSubmit,isOnBlur:e===b.onBlur,isOnChange:e===b.onChange,isOnAll:e===b.all,isOnTouch:e===b.onTouched}),T=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),U=(e,t,r)=>{let a=h(p(e,r));return O(a,"root",t[r]),O(e,r,a),e},B=e=>"boolean"==typeof e,j=e=>"file"===e.type,N=e=>"function"==typeof e,M=e=>{if(!y)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},q=e=>F(e),R=e=>"radio"===e.type,P=e=>e instanceof RegExp;let H={value:!1,isValid:!1},I={value:!0,isValid:!0};var $=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!v(e[0].attributes.value)?v(e[0].value)||""===e[0].value?I:{value:e[0].value,isValid:!0}:I:H}return H};let Z={isValid:!1,value:null};var z=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Z):Z;function G(e,t,r="validate"){if(q(e)||Array.isArray(e)&&e.every(q)||B(e)&&!e)return{type:r,message:q(e)?e:"",ref:t}}var W=e=>n(e)&&!P(e)?e:{value:e,message:""},J=async(e,t,r,a,i)=>{let{ref:u,refs:o,required:d,maxLength:f,minLength:c,min:y,max:m,pattern:h,validate:g,name:b,valueAsNumber:V,mount:w,disabled:x}=e._f,S=p(t,b);if(!w||x)return{};let k=o?o[0]:u,D=e=>{a&&k.reportValidity&&(k.setCustomValidity(B(e)?"":e||""),k.reportValidity())},O={},L=R(u),E=s(u),T=(V||j(u))&&v(u.value)&&v(S)||M(u)&&""===u.value||""===S||Array.isArray(S)&&!S.length,U=C.bind(null,b,r,O),H=(e,t,r,a=_.maxLength,s=_.minLength)=>{let i=e?t:r;O[b]={type:e?a:s,message:i,ref:u,...U(e?a:s,i)}};if(i?!Array.isArray(S)||!S.length:d&&(!(L||E)&&(T||l(S))||B(S)&&!S||E&&!$(o).isValid||L&&!z(o).isValid)){let{value:e,message:t}=q(d)?{value:!!d,message:d}:W(d);if(e&&(O[b]={type:_.required,message:t,ref:k,...U(_.required,t)},!r))return D(t),O}if(!T&&(!l(y)||!l(m))){let e,t;let a=W(m),s=W(y);if(l(S)||isNaN(S)){let r=u.valueAsDate||new Date(S),i=e=>new Date(new Date().toDateString()+" "+e),l="time"==u.type,n="week"==u.type;F(a.value)&&S&&(e=l?i(S)>i(a.value):n?S>a.value:r>new Date(a.value)),F(s.value)&&S&&(t=l?i(S)a.value),l(s.value)||(t=r+e.value,s=!l(t.value)&&S.length<+t.value;if((a||s)&&(H(a,e.message,t.message),!r))return D(O[b].message),O}if(h&&!T&&F(S)){let{value:e,message:t}=W(h);if(P(e)&&!S.match(e)&&(O[b]={type:_.pattern,message:t,ref:u,...U(_.pattern,t)},!r))return D(t),O}if(g){if(N(g)){let e=await g(S,t),a=G(e,k);if(a&&(O[b]={...a,...U(_.validate,a.message)},!r))return D(a.message),O}else if(n(g)){let e={};for(let a in g){if(!A(e)&&!r)break;let s=G(await g[a](S,t),k,a);s&&(e={...s,...U(a,s.message)},D(s.message),r&&(O[b]=e))}if(!A(e)&&(O[b]={ref:k,...e},!r))return O}}return D(!0),O};function K(e,t){let r=Array.isArray(t)?t:k(t)?[t]:D(t),a=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,a=0;for(;a{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}}var X=e=>l(e)||!u(e);function Y(e,t){if(X(e)||X(t))return e===t;if(i(e)&&i(t))return e.getTime()===t.getTime();let r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(let s of r){let r=e[s];if(!a.includes(s))return!1;if("ref"!==s){let e=t[s];if(i(r)&&i(e)||n(r)&&n(e)||Array.isArray(r)&&Array.isArray(e)?!Y(r,e):r!==e)return!1}}return!0}var ee=e=>"select-multiple"===e.type,et=e=>R(e)||s(e),er=e=>M(e)&&e.isConnected,ea=e=>{for(let t in e)if(N(e[t]))return!0;return!1};function es(e,t={}){let r=Array.isArray(e);if(n(e)||r)for(let r in e)Array.isArray(e[r])||n(e[r])&&!ea(e[r])?(t[r]=Array.isArray(e[r])?[]:{},es(e[r],t[r])):l(e[r])||(t[r]=!0);return t}var ei=(e,t)=>(function e(t,r,a){let s=Array.isArray(t);if(n(t)||s)for(let s in t)Array.isArray(t[s])||n(t[s])&&!ea(t[s])?v(r)||X(a[s])?a[s]=Array.isArray(t[s])?es(t[s],[]):{...es(t[s])}:e(t[s],l(r)?{}:r[s],a[s]):a[s]=!Y(t[s],r[s]);return a})(e,t,es(t)),el=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:a})=>v(e)?e:t?""===e?NaN:e?+e:e:r&&F(e)?new Date(e):a?a(e):e;function eu(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:j(t)?t.files:R(t)?z(e.refs).value:ee(t)?[...t.selectedOptions].map(({value:e})=>e):s(t)?$(e.refs).value:el(v(t.value)?e.ref.value:t.value,e)}var en=(e,t,r,a)=>{let s={};for(let r of e){let e=p(t,r);e&&O(s,r,e._f)}return{criteriaMode:r,names:[...e],fields:s,shouldUseNativeValidation:a}},eo=e=>v(e)?e:P(e)?e.source:n(e)?P(e.value)?e.value.source:e.value:e,ed=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ef(e,t,r){let a=p(e,r);if(a||k(r))return{error:a,name:r};let s=r.split(".");for(;s.length;){let a=s.join("."),i=p(t,a),l=p(e,a);if(i&&!Array.isArray(i)&&r!==a)break;if(l&&l.type)return{name:a,error:l};s.pop()}return{name:r}}var ec=(e,t,r,a,s)=>!s.isOnAll&&(!r&&s.isOnTouch?!(t||e):(r?a.isOnBlur:s.isOnBlur)?!e:(r?!a.isOnChange:!s.isOnChange)||e),ey=(e,t)=>!h(p(e,t)).length&&K(e,t);let em={mode:b.onSubmit,reValidateMode:b.onChange,shouldFocusError:!0};function eh(e={}){let t=a.useRef(),r=a.useRef(),[u,d]=a.useState({isDirty:!1,isValidating:!1,isLoading:N(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:N(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let r,a={...em,...e},u={submitCount:0,isDirty:!1,isLoading:N(a.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},d={},c=(n(a.defaultValues)||n(a.values))&&m(a.defaultValues||a.values)||{},_=a.shouldUnregister?{}:m(c),V={action:!1,mount:!1,watch:!1},w={mount:new Set,unMount:new Set,array:new Set,watch:new Set},k=0,D={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},C={values:Q(),array:Q(),state:Q()},q=e.resetOptions&&e.resetOptions.keepDirtyValues,R=E(a.mode),P=E(a.reValidateMode),H=a.criteriaMode===b.all,I=e=>t=>{clearTimeout(k),k=setTimeout(e,t)},$=async e=>{if(D.isValid||e){let e=a.resolver?A((await es()).errors):await ev(d,!0);e!==u.isValid&&C.state.next({isValid:e})}},Z=e=>D.isValidating&&C.state.next({isValidating:e}),z=(e,t)=>{O(u.errors,e,t),C.state.next({errors:u.errors})},G=(e,t,r,a)=>{let s=p(d,e);if(s){let i=p(_,e,v(r)?p(c,e):r);v(i)||a&&a.defaultChecked||t?O(_,e,t?i:eu(s._f)):eb(e,i),V.mount&&$()}},W=(e,t,r,a,s)=>{let i=!1,l=!1,n={name:e};if(!r||a){D.isDirty&&(l=u.isDirty,u.isDirty=n.isDirty=ep(),i=l!==n.isDirty);let r=Y(p(c,e),t);l=p(u.dirtyFields,e),r?K(u.dirtyFields,e):O(u.dirtyFields,e,!0),n.dirtyFields=u.dirtyFields,i=i||D.dirtyFields&&!r!==l}if(r){let t=p(u.touchedFields,e);t||(O(u.touchedFields,e,r),n.touchedFields=u.touchedFields,i=i||D.touchedFields&&t!==r)}return i&&s&&C.state.next(n),i?n:{}},ea=(t,a,s,i)=>{let l=p(u.errors,t),n=D.isValid&&B(a)&&u.isValid!==a;if(e.delayError&&s?(r=I(()=>z(t,s)))(e.delayError):(clearTimeout(k),r=null,s?O(u.errors,t,s):K(u.errors,t)),(s?!Y(l,s):l)||!A(i)||n){let e={...i,...n&&B(a)?{isValid:a}:{},errors:u.errors,name:t};u={...u,...e},C.state.next(e)}Z(!1)},es=async e=>a.resolver(_,a.context,en(e||w.mount,d,a.criteriaMode,a.shouldUseNativeValidation)),eh=async e=>{let{errors:t}=await es(e);if(e)for(let r of e){let e=p(t,r);e?O(u.errors,r,e):K(u.errors,r)}else u.errors=t;return t},ev=async(e,t,r={valid:!0})=>{for(let s in e){let i=e[s];if(i){let{_f:e,...s}=i;if(e){let s=w.array.has(e.name),l=await J(i,_,H,a.shouldUseNativeValidation&&!t,s);if(l[e.name]&&(r.valid=!1,t))break;t||(p(l,e.name)?s?U(u.errors,l,e.name):O(u.errors,e.name,l[e.name]):K(u.errors,e.name))}s&&await ev(s,t,r)}}return r.valid},ep=(e,t)=>(e&&t&&O(_,e,t),!Y(ex(),c)),eg=(e,t,r)=>S(e,w,{...V.mount?_:v(t)?c:F(e)?{[e]:t}:t},r,t),eb=(e,t,r={})=>{let a=p(d,e),i=t;if(a){let r=a._f;r&&(r.disabled||O(_,e,el(t,r)),i=M(r.ref)&&l(t)?"":t,ee(r.ref)?[...r.ref.options].forEach(e=>e.selected=i.includes(e.value)):r.refs?s(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find(t=>t===e.value):i===e.value)):r.refs[0]&&(r.refs[0].checked=!!i):r.refs.forEach(e=>e.checked=e.value===i):j(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||C.values.next({name:e,values:{..._}})))}(r.shouldDirty||r.shouldTouch)&&W(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&ew(e)},e_=(e,t,r)=>{for(let a in t){let s=t[a],l=`${e}.${a}`,u=p(d,l);!w.array.has(e)&&X(s)&&(!u||u._f)||i(s)?eb(l,s,r):e_(l,s,r)}},eV=(e,r,a={})=>{let s=p(d,e),i=w.array.has(e),n=m(r);O(_,e,n),i?(C.array.next({name:e,values:{..._}}),(D.isDirty||D.dirtyFields)&&a.shouldDirty&&C.state.next({name:e,dirtyFields:ei(c,_),isDirty:ep(e,n)})):!s||s._f||l(n)?eb(e,n,a):e_(e,n,a),T(e,w)&&C.state.next({...u}),C.values.next({name:e,values:{..._}}),V.mount||t()},eA=async e=>{let t=e.target,s=t.name,i=!0,l=p(d,s);if(l){let n,f;let c=t.type?eu(l._f):o(e),y=e.type===g.BLUR||e.type===g.FOCUS_OUT,m=!ed(l._f)&&!a.resolver&&!p(u.errors,s)&&!l._f.deps||ec(y,p(u.touchedFields,s),u.isSubmitted,P,R),h=T(s,w,y);O(_,s,c),y?(l._f.onBlur&&l._f.onBlur(e),r&&r(0)):l._f.onChange&&l._f.onChange(e);let v=W(s,c,y,!1),b=!A(v)||h;if(y||C.values.next({name:s,type:e.type,values:{..._}}),m)return D.isValid&&$(),b&&C.state.next({name:s,...h?{}:v});if(!y&&h&&C.state.next({...u}),Z(!0),a.resolver){let{errors:e}=await es([s]),t=ef(u.errors,d,s),r=ef(e,d,t.name||s);n=r.error,s=r.name,f=A(e)}else n=(await J(l,_,H,a.shouldUseNativeValidation))[s],(i=isNaN(c)||c===p(_,s,c))&&(n?f=!1:D.isValid&&(f=await ev(d,!0)));i&&(l._f.deps&&ew(l._f.deps),ea(s,f,n,v))}},ew=async(e,t={})=>{let r,s;let i=x(e);if(Z(!0),a.resolver){let t=await eh(v(e)?e:i);r=A(t),s=e?!i.some(e=>p(t,e)):r}else e?((s=(await Promise.all(i.map(async e=>{let t=p(d,e);return await ev(t&&t._f?{[e]:t}:t)}))).every(Boolean))||u.isValid)&&$():s=r=await ev(d);return C.state.next({...!F(e)||D.isValid&&r!==u.isValid?{}:{name:e},...a.resolver||!e?{isValid:r}:{},errors:u.errors,isValidating:!1}),t.shouldFocus&&!s&&L(d,e=>e&&p(u.errors,e),e?i:w.mount),s},ex=e=>{let t={...c,...V.mount?_:{}};return v(e)?t:F(e)?p(t,e):e.map(e=>p(t,e))},eF=(e,t)=>({invalid:!!p((t||u).errors,e),isDirty:!!p((t||u).dirtyFields,e),isTouched:!!p((t||u).touchedFields,e),error:p((t||u).errors,e)}),eS=(e,t,r)=>{let a=(p(d,e,{_f:{}})._f||{}).ref;O(u.errors,e,{...t,ref:a}),C.state.next({name:e,errors:u.errors,isValid:!1}),r&&r.shouldFocus&&a&&a.focus&&a.focus()},ek=(e,t={})=>{for(let r of e?x(e):w.mount)w.mount.delete(r),w.array.delete(r),t.keepValue||(K(d,r),K(_,r)),t.keepError||K(u.errors,r),t.keepDirty||K(u.dirtyFields,r),t.keepTouched||K(u.touchedFields,r),a.shouldUnregister||t.keepDefaultValue||K(c,r);C.values.next({values:{..._}}),C.state.next({...u,...t.keepDirty?{isDirty:ep()}:{}}),t.keepIsValid||$()},eD=({disabled:e,name:t,field:r,fields:a})=>{if(B(e)){let s=e?void 0:p(_,t,eu(r?r._f:p(a,t)._f));O(_,t,s),W(t,s,!1,!1,!0)}},eO=(e,t={})=>{let r=p(d,e),s=B(t.disabled);return O(d,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),w.mount.add(e),r?eD({field:r,disabled:t.disabled,name:e}):G(e,!0,t.value),{...s?{disabled:t.disabled}:{},...a.progressive?{required:!!t.required,min:eo(t.min),max:eo(t.max),minLength:eo(t.minLength),maxLength:eo(t.maxLength),pattern:eo(t.pattern)}:{},name:e,onChange:eA,onBlur:eA,ref:s=>{if(s){eO(e,t),r=p(d,e);let a=v(s.value)&&s.querySelectorAll&&s.querySelectorAll("input,select,textarea")[0]||s,i=et(a),l=r._f.refs||[];(i?l.find(e=>e===a):a===r._f.ref)||(O(d,e,{_f:{...r._f,...i?{refs:[...l.filter(er),a,...Array.isArray(p(c,e))?[{}]:[]],ref:{type:a.type,name:e}}:{ref:a}}}),G(e,!1,void 0,a))}else(r=p(d,e,{}))._f&&(r._f.mount=!1),(a.shouldUnregister||t.shouldUnregister)&&!(f(w.array,e)&&V.action)&&w.unMount.add(e)}}},eC=()=>a.shouldFocusError&&L(d,e=>e&&p(u.errors,e),w.mount),eL=(e,t)=>async r=>{r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let s=m(_);if(C.state.next({isSubmitting:!0}),a.resolver){let{errors:e,values:t}=await es();u.errors=e,s=t}else await ev(d);K(u.errors,"root"),A(u.errors)?(C.state.next({errors:{}}),await e(s,r)):(t&&await t({...u.errors},r),eC(),setTimeout(eC)),C.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:A(u.errors),submitCount:u.submitCount+1,errors:u.errors})},eE=(r,a={})=>{let s=r?m(r):c,i=m(s),l=r&&!A(r)?i:c;if(a.keepDefaultValues||(c=s),!a.keepValues){if(a.keepDirtyValues||q)for(let e of w.mount)p(u.dirtyFields,e)?O(l,e,p(_,e)):eV(e,p(l,e));else{if(y&&v(r))for(let e of w.mount){let t=p(d,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(M(e)){let t=e.closest("form");if(t){t.reset();break}}}}d={}}_=e.shouldUnregister?a.keepDefaultValues?m(c):{}:m(l),C.array.next({values:{...l}}),C.values.next({values:{...l}})}w={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},V.mount||t(),V.mount=!D.isValid||!!a.keepIsValid,V.watch=!!e.shouldUnregister,C.state.next({submitCount:a.keepSubmitCount?u.submitCount:0,isDirty:a.keepDirty?u.isDirty:!!(a.keepDefaultValues&&!Y(r,c)),isSubmitted:!!a.keepIsSubmitted&&u.isSubmitted,dirtyFields:a.keepDirtyValues?u.dirtyFields:a.keepDefaultValues&&r?ei(c,r):{},touchedFields:a.keepTouched?u.touchedFields:{},errors:a.keepErrors?u.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},eT=(e,t)=>eE(N(e)?e(_):e,t);return{control:{register:eO,unregister:ek,getFieldState:eF,handleSubmit:eL,setError:eS,_executeSchema:es,_getWatch:eg,_getDirty:ep,_updateValid:$,_removeUnmounted:()=>{for(let e of w.unMount){let t=p(d,e);t&&(t._f.refs?t._f.refs.every(e=>!er(e)):!er(t._f.ref))&&ek(e)}w.unMount=new Set},_updateFieldArray:(e,t=[],r,a,s=!0,i=!0)=>{if(a&&r){if(V.action=!0,i&&Array.isArray(p(d,e))){let t=r(p(d,e),a.argA,a.argB);s&&O(d,e,t)}if(i&&Array.isArray(p(u.errors,e))){let t=r(p(u.errors,e),a.argA,a.argB);s&&O(u.errors,e,t),ey(u.errors,e)}if(D.touchedFields&&i&&Array.isArray(p(u.touchedFields,e))){let t=r(p(u.touchedFields,e),a.argA,a.argB);s&&O(u.touchedFields,e,t)}D.dirtyFields&&(u.dirtyFields=ei(c,_)),C.state.next({name:e,isDirty:ep(e,t),dirtyFields:u.dirtyFields,errors:u.errors,isValid:u.isValid})}else O(_,e,t)},_updateDisabledField:eD,_getFieldArray:t=>h(p(V.mount?_:c,t,e.shouldUnregister?p(c,t,[]):[])),_reset:eE,_resetDefaultValues:()=>N(a.defaultValues)&&a.defaultValues().then(e=>{eT(e,a.resetOptions),C.state.next({isLoading:!1})}),_updateFormState:e=>{u={...u,...e}},_subjects:C,_proxyFormState:D,get _fields(){return d},get _formValues(){return _},get _state(){return V},set _state(value){V=value},get _defaultValues(){return c},get _names(){return w},set _names(value){w=value},get _formState(){return u},set _formState(value){u=value},get _options(){return a},set _options(value){a={...a,...value}}},trigger:ew,register:eO,handleSubmit:eL,watch:(e,t)=>N(e)?C.values.subscribe({next:r=>e(eg(void 0,t),r)}):eg(e,t,!0),setValue:eV,getValues:ex,reset:eT,resetField:(e,t={})=>{p(d,e)&&(v(t.defaultValue)?eV(e,p(c,e)):(eV(e,t.defaultValue),O(c,e,t.defaultValue)),t.keepTouched||K(u.touchedFields,e),t.keepDirty||(K(u.dirtyFields,e),u.isDirty=t.defaultValue?ep(e,p(c,e)):ep()),!t.keepError&&(K(u.errors,e),D.isValid&&$()),C.state.next({...u}))},clearErrors:e=>{e&&x(e).forEach(e=>K(u.errors,e)),C.state.next({errors:e?u.errors:{}})},unregister:ek,setError:eS,setFocus:(e,t={})=>{let r=p(d,e),a=r&&r._f;if(a){let e=a.refs?a.refs[0]:a.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:eF}}(e,()=>d(e=>({...e}))),formState:u});let c=t.current.control;return c._options=e,!function(e){let t=a.useRef(e);t.current=e,a.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}({subject:c._subjects.state,next:e=>{w(e,c._proxyFormState,c._updateFormState,!0)&&d({...c._formState})}}),a.useEffect(()=>{e.values&&!Y(e.values,r.current)?(c._reset(e.values,c._options.resetOptions),r.current=e.values):c._resetDefaultValues()},[e.values,c]),a.useEffect(()=>{c._state.mount||(c._updateValid(),c._state.mount=!0),c._state.watch&&(c._state.watch=!1,c._subjects.state.next({...c._formState})),c._removeUnmounted()}),t.current.formState=V(u,c),t.current}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/718-8b4a2d7a281bb0c4.js b/pilot/server/static/_next/static/chunks/718-8b4a2d7a281bb0c4.js deleted file mode 100644 index 100ecdba8..000000000 --- a/pilot/server/static/_next/static/chunks/718-8b4a2d7a281bb0c4.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[718],{99611:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},a=r(42135),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},13245:function(e,t,r){r.d(t,{Z:function(){return D}});var n=r(63366),o=r(87462),i=r(67294),a=r(33703),l=r(82690),s=r(59948),c=r(94780),u=r(78385),d=r(85893);function p(e){let t=[],r=[];return Array.from(e.querySelectorAll('input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])')).forEach((e,n)=>{let o=function(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1===o||e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e)||(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function f(){return!0}var m=function(e){let{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:s=p,isEnabled:c=f,open:u}=e,m=i.useRef(!1),g=i.useRef(null),h=i.useRef(null),v=i.useRef(null),b=i.useRef(null),y=i.useRef(!1),$=i.useRef(null),w=(0,a.Z)(t.ref,$),E=i.useRef(null);i.useEffect(()=>{u&&$.current&&(y.current=!r)},[r,u]),i.useEffect(()=>{if(!u||!$.current)return;let e=(0,l.Z)($.current);return!$.current.contains(e.activeElement)&&($.current.hasAttribute("tabIndex")||$.current.setAttribute("tabIndex","-1"),y.current&&$.current.focus()),()=>{o||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}},[u]),i.useEffect(()=>{if(!u||!$.current)return;let e=(0,l.Z)($.current),t=t=>{let{current:r}=$;if(null!==r){if(!e.hasFocus()||n||!c()||m.current){m.current=!1;return}if(!r.contains(e.activeElement)){if(t&&b.current!==t.target||e.activeElement!==b.current)b.current=null;else if(null!==b.current)return;if(!y.current)return;let n=[];if((e.activeElement===g.current||e.activeElement===h.current)&&(n=s($.current)),n.length>0){var o,i;let e=!!((null==(o=E.current)?void 0:o.shiftKey)&&(null==(i=E.current)?void 0:i.key)==="Tab"),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else r.focus()}}},r=t=>{E.current=t,!n&&c()&&"Tab"===t.key&&e.activeElement===$.current&&t.shiftKey&&(m.current=!0,h.current&&h.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",r,!0);let o=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)},50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",r,!0)}},[r,n,o,c,u,s]);let k=e=>{null===v.current&&(v.current=e.relatedTarget),y.current=!0};return(0,d.jsxs)(i.Fragment,{children:[(0,d.jsx)("div",{tabIndex:u?0:-1,onFocus:k,ref:g,"data-testid":"sentinelStart"}),i.cloneElement(t,{ref:w,onFocus:e=>{null===v.current&&(v.current=e.relatedTarget),y.current=!0,b.current=e.target;let r=t.props.onFocus;r&&r(e)}}),(0,d.jsx)("div",{tabIndex:u?0:-1,onFocus:k,ref:h,"data-testid":"sentinelEnd"})]})},g=r(74161);function h(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function v(e){return parseInt((0,g.Z)(e).getComputedStyle(e).paddingRight,10)||0}function b(e,t,r,n,o){let i=[t,r,...n];[].forEach.call(e.children,e=>{let t=-1===i.indexOf(e),r=!function(e){let t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&h(e,o)})}function y(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}var $=r(74312),w=r(20407),E=r(30220),k=r(26821);function x(e){return(0,k.d6)("MuiModal",e)}(0,k.sI)("MuiModal",["root","backdrop"]);let C=i.createContext(void 0),S=["children","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onKeyDown","open","component","slots","slotProps"],O=e=>{let{open:t}=e;return(0,c.Z)({root:["root",!t&&"hidden"],backdrop:["backdrop"]},x,{})},Z=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&h(e.modalRef,!1);let n=function(e){let t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);b(t,e.mount,e.modalRef,n,!0);let o=y(this.containers,e=>e.container===t);return -1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){let r=y(this.containers,t=>-1!==t.modals.indexOf(e)),n=this.containers[r];n.restore||(n.restore=function(e,t){let r=[],n=e.container;if(!t.disableScrollLock){let e;if(function(e){let t=(0,l.Z)(e);return t.body===e?(0,g.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){let e=function(e){let t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}((0,l.Z)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${v(n)+e}px`;let t=(0,l.Z)(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${v(t)+e}px`})}if(n.parentNode instanceof DocumentFragment)e=(0,l.Z)(n).body;else{let t=n.parentElement,r=(0,g.Z)(n);e=(null==t?void 0:t.nodeName)==="HTML"&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach(({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)})}}(n,t))}remove(e,t=!0){let r=this.modals.indexOf(e);if(-1===r)return r;let n=y(this.containers,t=>-1!==t.modals.indexOf(e)),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&h(e.modalRef,t),b(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{let e=o.modals[o.modals.length-1];e.modalRef&&h(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},I=(0,$.Z)("div",{name:"JoyModal",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>(0,o.Z)({"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`,'& ~ [role="listbox"]':{"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`},position:"fixed",zIndex:t.vars.zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&{visibility:"hidden"})),R=(0,$.Z)("div",{name:"JoyModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})(({theme:e,ownerState:t})=>(0,o.Z)({zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:e.vars.palette.background.backdrop,WebkitTapHighlightColor:"transparent"},t.open&&{backdropFilter:"blur(8px)"})),j=i.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"JoyModal"}),{children:c,container:p,disableAutoFocus:f=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:h=!1,disablePortal:v=!1,disableRestoreFocus:b=!1,disableScrollLock:y=!1,hideBackdrop:$=!1,keepMounted:k=!1,onClose:x,onKeyDown:j,open:D,component:N,slots:P={},slotProps:M={}}=r,A=(0,n.Z)(r,S),F=i.useRef({}),z=i.useRef(null),T=i.useRef(null),L=(0,a.Z)(T,t),H=!0;"false"!==r["aria-hidden"]&&("boolean"!=typeof r["aria-hidden"]||r["aria-hidden"])||(H=!1);let W=()=>(0,l.Z)(z.current),X=()=>(F.current.modalRef=T.current,F.current.mount=z.current,F.current),U=()=>{Z.mount(X(),{disableScrollLock:y}),T.current&&(T.current.scrollTop=0)},_=(0,s.Z)(()=>{let e=("function"==typeof p?p():p)||W().body;Z.add(X(),e),T.current&&U()}),B=()=>Z.isTopModal(X()),V=(0,s.Z)(e=>{if(z.current=e,e){if(D&&B())U();else if(T.current){var t;t=T.current,H?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}}}),q=i.useCallback(()=>{Z.remove(X(),H)},[H]);i.useEffect(()=>()=>{q()},[q]),i.useEffect(()=>{D?_():q()},[D,q,_]);let K=(0,o.Z)({},r,{disableAutoFocus:f,disableEnforceFocus:g,disableEscapeKeyDown:h,disablePortal:v,disableRestoreFocus:b,disableScrollLock:y,hideBackdrop:$,keepMounted:k}),G=O(K),J=(0,o.Z)({},A,{component:N,slots:P,slotProps:M}),[Y,Q]=(0,E.Z)("root",{additionalProps:{role:"presentation",onKeyDown:e=>{j&&j(e),"Escape"===e.key&&B()&&!h&&(e.stopPropagation(),x&&x(e,"escapeKeyDown"))}},ref:L,className:G.root,elementType:I,externalForwardedProps:J,ownerState:K}),[ee,et]=(0,E.Z)("backdrop",{additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&x&&x(e,"backdropClick")},open:D},className:G.backdrop,elementType:R,externalForwardedProps:J,ownerState:K});return k||D?(0,d.jsx)(C.Provider,{value:x,children:(0,d.jsx)(u.Z,{ref:V,container:p,disablePortal:v,children:(0,d.jsxs)(Y,(0,o.Z)({},Q,{children:[$?null:(0,d.jsx)(ee,(0,o.Z)({},et)),(0,d.jsx)(m,{disableEnforceFocus:g,disableAutoFocus:f,disableRestoreFocus:b,isEnabled:B,open:D,children:i.Children.only(c)&&i.cloneElement(c,(0,o.Z)({},void 0===c.props.tabIndex&&{tabIndex:-1}))})]}))})}):null});var D=j},3414:function(e,t,r){r.d(t,{U:function(){return $},Z:function(){return E}});var n=r(63366),o=r(87462),i=r(67294),a=r(86010),l=r(94780),s=r(14142),c=r(54844),u=r(20407),d=r(74312),p=r(58859),f=r(26821);function m(e){return(0,f.d6)("MuiSheet",e)}(0,f.sI)("MuiSheet",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var g=r(78653),h=r(30220),v=r(85893);let b=["className","color","component","variant","invertedColors","slots","slotProps"],y=e=>{let{variant:t,color:r}=e,n={root:["root",t&&`variant${(0,s.Z)(t)}`,r&&`color${(0,s.Z)(r)}`]};return(0,l.Z)(n,m,{})},$=(0,d.Z)("div",{name:"JoySheet",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n;let i=null==(r=e.variants[t.variant])?void 0:r[t.color],a=(0,p.V)({theme:e,ownerState:t},"borderRadius"),l=(0,p.V)({theme:e,ownerState:t},"bgcolor"),s=(0,p.V)({theme:e,ownerState:t},"backgroundColor"),u=(0,p.V)({theme:e,ownerState:t},"background"),d=(0,c.DW)(e,`palette.${l}`)||l||(0,c.DW)(e,`palette.${s}`)||s||u||(null==i?void 0:i.backgroundColor)||(null==i?void 0:i.background)||e.vars.palette.background.surface;return[(0,o.Z)({"--ListItem-stickyBackground":d,"--Sheet-background":d},void 0!==a&&{"--List-radius":`calc(${a} - var(--variant-borderWidth, 0px))`,"--unstable_actionRadius":`calc(${a} - var(--variant-borderWidth, 0px))`},{backgroundColor:e.vars.palette.background.surface,position:"relative"}),i,"context"!==t.color&&t.invertedColors&&(null==(n=e.colorInversion[t.variant])?void 0:n[t.color])]}),w=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"JoySheet"}),{className:i,color:l="neutral",component:s="div",variant:c="plain",invertedColors:d=!1,slots:p={},slotProps:f={}}=r,m=(0,n.Z)(r,b),{getColor:w}=(0,g.VT)(c),E=w(e.color,l),k=(0,o.Z)({},r,{color:E,component:s,invertedColors:d,variant:c}),x=y(k),C=(0,o.Z)({},m,{component:s,slots:p,slotProps:f}),[S,O]=(0,h.Z)("root",{ref:t,className:(0,a.Z)(x.root,i),elementType:$,externalForwardedProps:C,ownerState:k}),Z=(0,v.jsx)(S,(0,o.Z)({},O));return d?(0,v.jsx)(g.do,{variant:c,children:Z}):Z});var E=w},58859:function(e,t,r){r.d(t,{V:function(){return o}});var n=r(87462);let o=({theme:e,ownerState:t},r,o)=>{let i;let a={};if(t.sx){!function t(r){if("function"==typeof r){let n=r(e);t(n)}else Array.isArray(r)?r.forEach(e=>{"boolean"!=typeof e&&t(e)}):"object"==typeof r&&(a=(0,n.Z)({},a,r))}(t.sx);let o=a[r];if("string"==typeof o||"number"==typeof o){if("borderRadius"===r){var l;if("number"==typeof o)return`${o}px`;i=(null==(l=e.vars)?void 0:l.radius[o])||o}else i=o}"function"==typeof o&&(i=o(e))}return i||o}},13264:function(e,t,r){var n=r(70182);let o=(0,n.ZP)();t.Z=o},57838:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(67294);function o(){let[,e]=n.useReducer(e=>e+1,0);return e}},69814:function(e,t,r){r.d(t,{Z:function(){return et}});var n=r(89739),o=r(63606),i=r(4340),a=r(97937),l=r(94184),s=r.n(l),c=r(98423),u=r(67294),d=r(53124),p=r(87462),f=r(1413),m=r(45987),g={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},h=function(){var e=(0,u.useRef)([]),t=(0,u.useRef)(null);return(0,u.useEffect)(function(){var r=Date.now(),n=!1;e.current.forEach(function(e){if(e){n=!0;var o=e.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(o.transitionDuration="0s, 0s")}}),n&&(t.current=Date.now())}),e.current},v=r(71002),b=r(97685),y=r(98924),$=0,w=(0,y.Z)(),E=function(e){var t=u.useState(),r=(0,b.Z)(t,2),n=r[0],o=r[1];return u.useEffect(function(){var e;o("rc_progress_".concat((w?(e=$,$+=1):e="TEST_OR_SSR",e)))},[]),e||n},k=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function x(e){return+e.replace("%","")}function C(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var S=function(e,t,r,n,o,i,a,l,s,c){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=(100-n)/100*t;return"round"===s&&100!==n&&(d+=c/2)>=t&&(d=t-.01),{stroke:"string"==typeof l?l:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:d+u,transform:"rotate(".concat(o+r/100*360*((360-i)/360)+(0===i?0:({bottom:0,top:180,left:90,right:-90})[a]),"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},O=function(e){var t,r,n,o,i=(0,f.Z)((0,f.Z)({},g),e),a=i.id,l=i.prefixCls,c=i.steps,d=i.strokeWidth,b=i.trailWidth,y=i.gapDegree,$=void 0===y?0:y,w=i.gapPosition,O=i.trailColor,Z=i.strokeLinecap,I=i.style,R=i.className,j=i.strokeColor,D=i.percent,N=(0,m.Z)(i,k),P=E(a),M="".concat(P,"-gradient"),A=50-d/2,F=2*Math.PI*A,z=$>0?90+$/2:-90,T=F*((360-$)/360),L="object"===(0,v.Z)(c)?c:{count:c,space:2},H=L.count,W=L.space,X=S(F,T,0,100,z,$,w,O,Z,d),U=C(D),_=C(j),B=_.find(function(e){return e&&"object"===(0,v.Z)(e)}),V=h();return u.createElement("svg",(0,p.Z)({className:s()("".concat(l,"-circle"),R),viewBox:"".concat(-50," ").concat(-50," ").concat(100," ").concat(100),style:I,id:a,role:"presentation"},N),B&&u.createElement("defs",null,u.createElement("linearGradient",{id:M,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(B).sort(function(e,t){return x(e)-x(t)}).map(function(e,t){return u.createElement("stop",{key:t,offset:e,stopColor:B[e]})}))),!H&&u.createElement("circle",{className:"".concat(l,"-circle-trail"),r:A,cx:0,cy:0,stroke:O,strokeLinecap:Z,strokeWidth:b||d,style:X}),H?(t=Math.round(H*(U[0]/100)),r=100/H,n=0,Array(H).fill(null).map(function(e,o){var i=o<=t-1?_[0]:O,a=i&&"object"===(0,v.Z)(i)?"url(#".concat(M,")"):void 0,s=S(F,T,n,r,z,$,w,i,"butt",d,W);return n+=(T-s.strokeDashoffset+W)*100/T,u.createElement("circle",{key:o,className:"".concat(l,"-circle-path"),r:A,cx:0,cy:0,stroke:a,strokeWidth:d,opacity:1,style:s,ref:function(e){V[o]=e}})})):(o=0,U.map(function(e,t){var r=_[t]||_[_.length-1],n=r&&"object"===(0,v.Z)(r)?"url(#".concat(M,")"):void 0,i=S(F,T,o,e,z,$,w,r,Z,d);return o+=e,u.createElement("circle",{key:t,className:"".concat(l,"-circle-path"),r:A,cx:0,cy:0,stroke:n,strokeLinecap:Z,strokeWidth:d,opacity:0===e?0:1,style:i,ref:function(e){V[t]=e}})}).reverse()))},Z=r(94139),I=r(16397);function R(e){return!e||e<0?0:e>100?100:e}function j(e){let{success:t,successPercent:r}=e,n=r;return t&&"progress"in t&&(n=t.progress),t&&"percent"in t&&(n=t.percent),n}let D=e=>{let{percent:t,success:r,successPercent:n}=e,o=R(j({success:r,successPercent:n}));return[o,R(R(t)-o)]},N=e=>{let{success:t={},strokeColor:r}=e,{strokeColor:n}=t;return[n||I.ez.green,r||null]},P=(e,t,r)=>{var n,o,i,a;let l=-1,s=-1;if("step"===t){let t=r.steps,n=r.strokeWidth;"string"==typeof e||void 0===e?(l="small"===e?2:14,s=null!=n?n:8):"number"==typeof e?[l,s]=[e,e]:[l=14,s=8]=e,l*=t}else if("line"===t){let t=null==r?void 0:r.strokeWidth;"string"==typeof e||void 0===e?s=t||("small"===e?6:8):"number"==typeof e?[l,s]=[e,e]:[l=-1,s=8]=e}else("circle"===t||"dashboard"===t)&&("string"==typeof e||void 0===e?[l,s]="small"===e?[60,60]:[120,120]:"number"==typeof e?[l,s]=[e,e]:(l=null!==(o=null!==(n=e[0])&&void 0!==n?n:e[1])&&void 0!==o?o:120,s=null!==(a=null!==(i=e[0])&&void 0!==i?i:e[1])&&void 0!==a?a:120));return[l,s]},M=e=>3/e*100;var A=e=>{let{prefixCls:t,trailColor:r=null,strokeLinecap:n="round",gapPosition:o,gapDegree:i,width:a=120,type:l,children:c,success:d,size:p=a}=e,[f,m]=P(p,"circle"),{strokeWidth:g}=e;void 0===g&&(g=Math.max(M(f),6));let h=u.useMemo(()=>i||0===i?i:"dashboard"===l?75:void 0,[i,l]),v=o||"dashboard"===l&&"bottom"||void 0,b="[object Object]"===Object.prototype.toString.call(e.strokeColor),y=N({success:d,strokeColor:e.strokeColor}),$=s()(`${t}-inner`,{[`${t}-circle-gradient`]:b}),w=u.createElement(O,{percent:D(e),strokeWidth:g,trailWidth:g,strokeColor:y,strokeLinecap:n,trailColor:r,prefixCls:t,gapDegree:h,gapPosition:v});return u.createElement("div",{className:$,style:{width:f,height:m,fontSize:.15*f+6}},f<=20?u.createElement(Z.Z,{title:c},u.createElement("span",null,w)):u.createElement(u.Fragment,null,w,c))},F=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let z=e=>{let t=[];return Object.keys(e).forEach(r=>{let n=parseFloat(r.replace(/%/g,""));isNaN(n)||t.push({key:n,value:e[r]})}),(t=t.sort((e,t)=>e.key-t.key)).map(e=>{let{key:t,value:r}=e;return`${r} ${t}%`}).join(", ")},T=(e,t)=>{let{from:r=I.ez.blue,to:n=I.ez.blue,direction:o="rtl"===t?"to left":"to right"}=e,i=F(e,["from","to","direction"]);if(0!==Object.keys(i).length){let e=z(i);return{backgroundImage:`linear-gradient(${o}, ${e})`}}return{backgroundImage:`linear-gradient(${o}, ${r}, ${n})`}};var L=e=>{let{prefixCls:t,direction:r,percent:n,size:o,strokeWidth:i,strokeColor:a,strokeLinecap:l="round",children:s,trailColor:c=null,success:d}=e,p=a&&"string"!=typeof a?T(a,r):{backgroundColor:a},f="square"===l||"butt"===l?0:void 0,m=null!=o?o:[-1,i||("small"===o?6:8)],[g,h]=P(m,"line",{strokeWidth:i}),v=Object.assign({width:`${R(n)}%`,height:h,borderRadius:f},p),b=j(e),y={width:`${R(b)}%`,height:h,borderRadius:f,backgroundColor:null==d?void 0:d.strokeColor};return u.createElement(u.Fragment,null,u.createElement("div",{className:`${t}-outer`,style:{width:g<0?"100%":g,height:h}},u.createElement("div",{className:`${t}-inner`,style:{backgroundColor:c||void 0,borderRadius:f}},u.createElement("div",{className:`${t}-bg`,style:v}),void 0!==b?u.createElement("div",{className:`${t}-success-bg`,style:y}):null)),s)},H=e=>{let{size:t,steps:r,percent:n=0,strokeWidth:o=8,strokeColor:i,trailColor:a=null,prefixCls:l,children:c}=e,d=Math.round(r*(n/100)),p=null!=t?t:["small"===t?2:14,o],[f,m]=P(p,"step",{steps:r,strokeWidth:o}),g=f/r,h=Array(r);for(let e=0;e{let t=e?"100%":"-100%";return new W.E4(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},V=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,X.Wf)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.progressRemainingColor,borderRadius:e.progressLineRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorInfo}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.colorInfo,borderRadius:e.progressLineRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.progressLineRadius,opacity:0,animationName:B(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:B(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},q=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.progressRemainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},K=e=>{let{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.progressRemainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.colorInfo}}}}}},G=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}};var J=(0,U.Z)("Progress",e=>{let t=e.marginXXS/2,r=(0,_.TS)(e,{progressLineRadius:100,progressInfoTextColor:e.colorText,progressDefaultColor:e.colorInfo,progressRemainingColor:e.colorFillSecondary,progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[V(r),q(r),K(r),G(r)]}),Y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let Q=["normal","exception","active","success"],ee=u.forwardRef((e,t)=>{let r;let{prefixCls:l,className:p,rootClassName:f,steps:m,strokeColor:g,percent:h=0,size:v="default",showInfo:b=!0,type:y="line",status:$,format:w,style:E}=e,k=Y(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),x=u.useMemo(()=>{var t,r;let n=j(e);return parseInt(void 0!==n?null===(t=null!=n?n:0)||void 0===t?void 0:t.toString():null===(r=null!=h?h:0)||void 0===r?void 0:r.toString(),10)},[h,e.success,e.successPercent]),C=u.useMemo(()=>!Q.includes($)&&x>=100?"success":$||"normal",[$,x]),{getPrefixCls:S,direction:O,progress:Z}=u.useContext(d.E_),I=S("progress",l),[D,N]=J(I),M=u.useMemo(()=>{let t;if(!b)return null;let r=j(e),l=w||(e=>`${e}%`),s="line"===y;return w||"exception"!==C&&"success"!==C?t=l(R(h),R(r)):"exception"===C?t=s?u.createElement(i.Z,null):u.createElement(a.Z,null):"success"===C&&(t=s?u.createElement(n.Z,null):u.createElement(o.Z,null)),u.createElement("span",{className:`${I}-text`,title:"string"==typeof t?t:void 0},t)},[b,h,x,C,y,I,w]),F=Array.isArray(g)?g[0]:g,z="string"==typeof g||Array.isArray(g)?g:void 0;"line"===y?r=m?u.createElement(H,Object.assign({},e,{strokeColor:z,prefixCls:I,steps:m}),M):u.createElement(L,Object.assign({},e,{strokeColor:F,prefixCls:I,direction:O}),M):("circle"===y||"dashboard"===y)&&(r=u.createElement(A,Object.assign({},e,{strokeColor:F,prefixCls:I,progressStatus:C}),M));let T=s()(I,`${I}-status-${C}`,`${I}-${"dashboard"===y&&"circle"||m&&"steps"||y}`,{[`${I}-inline-circle`]:"circle"===y&&P(v,"circle")[0]<=20,[`${I}-show-info`]:b,[`${I}-${v}`]:"string"==typeof v,[`${I}-rtl`]:"rtl"===O},null==Z?void 0:Z.className,p,f,N);return D(u.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==Z?void 0:Z.style),E),className:T,role:"progressbar","aria-valuenow":x},(0,c.Z)(k,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),r))});var et=ee},33507:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},65170:function(e,t,r){r.d(t,{default:function(){return eN}});var n=r(67294),o=r(74902),i=r(94184),a=r.n(i),l=r(87462),s=r(15671),c=r(43144),u=r(32531),d=r(73568),p=r(4942),f=r(45987),m=r(74165),g=r(71002),h=r(15861),v=r(64217);function b(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function y(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var r=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var n=e.data[t];if(Array.isArray(n)){n.forEach(function(e){r.append("".concat(t,"[]"),e)});return}r.append(t,n)}),e.file instanceof Blob?r.append(e.filename,e.file,e.file.name):r.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300){var r;return e.onError(((r=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"))).status=t.status,r.method=e.method,r.url=e.action,r),b(t))}return e.onSuccess(b(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var n=e.headers||{};return null!==n["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(n).forEach(function(e){null!==n[e]&&t.setRequestHeader(e,n[e])}),t.send(r),{abort:function(){t.abort()}}}var $=+new Date,w=0;function E(){return"rc-upload-".concat($,"-").concat(++w)}var k=r(80334),x=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return r.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var r=n.toLowerCase(),a=t.toLowerCase(),l=[a];return(".jpg"===a||".jpeg"===a)&&(l=[".jpg",".jpeg"]),l.some(function(e){return r.endsWith(e)})}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&((0,k.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0},C=function(e,t,r){var n=function e(n,o){if(n.path=o||"",n.isFile)n.file(function(e){r(e)&&(n.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=n.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))});else if(n.isDirectory){var i,a,l;i=function(t){t.forEach(function(t){e(t,"".concat(o).concat(n.name,"/"))})},a=n.createReader(),l=[],function e(){a.readEntries(function(t){var r=Array.prototype.slice.apply(t);l=l.concat(r),r.length?e():i(l)})}()}};e.forEach(function(e){n(e.webkitGetAsEntry())})},S=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],O=function(e){(0,u.Z)(r,e);var t=(0,d.Z)(r);function r(){(0,s.Z)(this,r);for(var e,n,i=arguments.length,a=Array(i),l=0;l{let{uid:r}=t;return r===e.uid});return -1===n?r.push(e):r[n]=e,r}function J(e,t){let r=void 0!==e.uid?"uid":"name";return t.filter(t=>t[r]===e[r])[0]}let Y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),r=t[t.length-1],n=r.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},Q=e=>0===e.indexOf("image/"),ee=e=>{if(e.type&&!e.thumbUrl)return Q(e.type);let t=e.thumbUrl||e.url||"",r=Y(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(r))||!/^data:/.test(t)&&!r};function et(e){return new Promise(t=>{if(!e.type||!Q(e.type)){t("");return}let r=document.createElement("canvas");r.width=200,r.height=200,r.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",document.body.appendChild(r);let n=r.getContext("2d"),o=new Image;if(o.onload=()=>{let{width:e,height:i}=o,a=200,l=200,s=0,c=0;e>i?c=-((l=i*(200/e))-a)/2:s=-((a=e*(200/i))-l)/2,n.drawImage(o,s,c,a,l);let u=r.toDataURL();document.body.removeChild(r),t(u)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){let t=new FileReader;t.addEventListener("load",()=>{t.result&&(o.src=t.result)}),t.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)})}var er={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},en=n.forwardRef(function(e,t){return n.createElement(F.Z,(0,l.Z)({},e,{ref:t,icon:er}))}),eo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ei=n.forwardRef(function(e,t){return n.createElement(F.Z,(0,l.Z)({},e,{ref:t,icon:eo}))}),ea=r(99611),el=r(69814),es=r(94139);let ec=n.forwardRef((e,t)=>{var r,o;let{prefixCls:i,className:l,style:s,locale:c,listType:u,file:d,items:p,progress:f,iconRender:m,actionIconRender:g,itemRender:h,isImgUrl:v,showPreviewIcon:b,showRemoveIcon:y,showDownloadIcon:$,previewIcon:w,removeIcon:E,downloadIcon:k,onPreview:x,onDownload:C,onClose:S}=e,{status:O}=d,[Z,I]=n.useState(O);n.useEffect(()=>{"removed"!==O&&I(O)},[O]);let[R,j]=n.useState(!1);n.useEffect(()=>{let e=setTimeout(()=>{j(!0)},300);return()=>{clearTimeout(e)}},[]);let N=m(d),P=n.createElement("div",{className:`${i}-icon`},N);if("picture"===u||"picture-card"===u||"picture-circle"===u){if("uploading"!==Z&&(d.thumbUrl||d.url)){let e=(null==v?void 0:v(d))?n.createElement("img",{src:d.thumbUrl||d.url,alt:d.name,className:`${i}-list-item-image`,crossOrigin:d.crossOrigin}):N,t=a()(`${i}-list-item-thumbnail`,{[`${i}-list-item-file`]:v&&!v(d)});P=n.createElement("a",{className:t,onClick:e=>x(d,e),href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer"},e)}else{let e=a()(`${i}-list-item-thumbnail`,{[`${i}-list-item-file`]:"uploading"!==Z});P=n.createElement("div",{className:e},N)}}let M=a()(`${i}-list-item`,`${i}-list-item-${Z}`),A="string"==typeof d.linkProps?JSON.parse(d.linkProps):d.linkProps,F=y?g(("function"==typeof E?E(d):E)||n.createElement(en,null),()=>S(d),i,c.removeFile):null,z=$&&"done"===Z?g(("function"==typeof k?k(d):k)||n.createElement(ei,null),()=>C(d),i,c.downloadFile):null,T="picture-card"!==u&&"picture-circle"!==u&&n.createElement("span",{key:"download-delete",className:a()(`${i}-list-item-actions`,{picture:"picture"===u})},z,F),L=a()(`${i}-list-item-name`),H=d.url?[n.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:L,title:d.name},A,{href:d.url,onClick:e=>x(d,e)}),d.name),T]:[n.createElement("span",{key:"view",className:L,onClick:e=>x(d,e),title:d.name},d.name),T],W=b?n.createElement("a",{href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:d.url||d.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:e=>x(d,e),title:c.previewFile},"function"==typeof w?w(d):w||n.createElement(ea.Z,null)):null,X=("picture-card"===u||"picture-circle"===u)&&"uploading"!==Z&&n.createElement("span",{className:`${i}-list-item-actions`},W,"done"===Z&&z,F),{getPrefixCls:_}=n.useContext(D.E_),B=_(),V=n.createElement("div",{className:M},P,H,X,R&&n.createElement(U.ZP,{motionName:`${B}-fade`,visible:"uploading"===Z,motionDeadline:2e3},e=>{let{className:t}=e,r="percent"in d?n.createElement(el.Z,Object.assign({},f,{type:"line",percent:d.percent,"aria-label":d["aria-label"],"aria-labelledby":d["aria-labelledby"]})):null;return n.createElement("div",{className:a()(`${i}-list-item-progress`,t)},r)})),q=d.response&&"string"==typeof d.response?d.response:(null===(r=d.error)||void 0===r?void 0:r.statusText)||(null===(o=d.error)||void 0===o?void 0:o.message)||c.uploadError,K="error"===Z?n.createElement(es.Z,{title:q,getPopupContainer:e=>e.parentNode},V):V;return n.createElement("div",{className:a()(`${i}-list-item-container`,l),style:s,ref:t},h?h(K,d,p,{download:C.bind(null,d),preview:x.bind(null,d),remove:S.bind(null,d)}):K)}),eu=n.forwardRef((e,t)=>{let{listType:r="text",previewFile:i=et,onPreview:l,onDownload:s,onRemove:c,locale:u,iconRender:d,isImageUrl:p=ee,prefixCls:f,items:m=[],showPreviewIcon:g=!0,showRemoveIcon:h=!0,showDownloadIcon:v=!1,removeIcon:b,previewIcon:y,downloadIcon:$,progress:w={size:[-1,2],showInfo:!1},appendAction:E,appendActionVisible:k=!0,itemRender:x,disabled:C}=e,S=(0,_.Z)(),[O,Z]=n.useState(!1);n.useEffect(()=>{("picture"===r||"picture-card"===r||"picture-circle"===r)&&(m||[]).forEach(e=>{"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",i&&i(e.originFileObj).then(t=>{e.thumbUrl=t||"",S()}))})},[r,m,i]),n.useEffect(()=>{Z(!0)},[]);let I=(e,t)=>{if(l)return null==t||t.preventDefault(),l(e)},R=e=>{"function"==typeof s?s(e):e.url&&window.open(e.url)},j=e=>{null==c||c(e)},N=e=>{if(d)return d(e,r);let t="uploading"===e.status,o=p&&p(e)?n.createElement(X,null):n.createElement(z,null),i=t?n.createElement(T.Z,null):n.createElement(H,null);return"picture"===r?i=t?n.createElement(T.Z,null):o:("picture-card"===r||"picture-circle"===r)&&(i=t?u.uploading:o),i},P=(e,t,r,o)=>{let i={type:"text",size:"small",title:o,onClick:r=>{t(),(0,V.l$)(e)&&e.props.onClick&&e.props.onClick(r)},className:`${r}-list-item-action`,disabled:C};if((0,V.l$)(e)){let t=(0,V.Tm)(e,Object.assign(Object.assign({},e.props),{onClick:()=>{}}));return n.createElement(q.ZP,Object.assign({},i,{icon:t}))}return n.createElement(q.ZP,Object.assign({},i),n.createElement("span",null,e))};n.useImperativeHandle(t,()=>({handlePreview:I,handleDownload:R}));let{getPrefixCls:M}=n.useContext(D.E_),A=M("upload",f),F=M(),L=a()(`${A}-list`,`${A}-list-${r}`),W=(0,o.Z)(m.map(e=>({key:e.uid,file:e}))),K="picture-card"===r||"picture-circle"===r?"animate-inline":"animate",G={motionDeadline:2e3,motionName:`${A}-${K}`,keys:W,motionAppear:O},J=n.useMemo(()=>{let e=Object.assign({},(0,B.Z)(F));return delete e.onAppearEnd,delete e.onEnterEnd,delete e.onLeaveEnd,e},[F]);return"picture-card"!==r&&"picture-circle"!==r&&(G=Object.assign(Object.assign({},J),G)),n.createElement("div",{className:L},n.createElement(U.V4,Object.assign({},G,{component:!1}),e=>{let{key:t,file:o,className:i,style:a}=e;return n.createElement(ec,{key:t,locale:u,prefixCls:A,className:i,style:a,file:o,items:m,progress:w,listType:r,isImgUrl:p,showPreviewIcon:g,showRemoveIcon:h,showDownloadIcon:v,removeIcon:b,previewIcon:y,downloadIcon:$,iconRender:N,actionIconRender:P,itemRender:x,onPreview:I,onDownload:R,onClose:j})}),E&&n.createElement(U.ZP,Object.assign({},G,{visible:k,forceRender:!0}),e=>{let{className:t,style:r}=e;return(0,V.Tm)(E,e=>({className:a()(e.className,t),style:Object.assign(Object.assign(Object.assign({},r),{pointerEvents:t?"none":void 0}),e.style)}))}))});var ed=r(14747),ep=r(33507),ef=r(67968),em=r(45503),eg=e=>{let{componentCls:t,iconCls:r}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${e.padding}px 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[r]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{cursor:"not-allowed",[`p${t}-drag-icon ${r}, - p${t}-text, - p${t}-hint - `]:{color:e.colorTextDisabled}}}}}},eh=e=>{let{componentCls:t,antCls:r,iconCls:n,fontSize:o,lineHeight:i}=e,a=`${t}-list-item`,l=`${a}-actions`,s=`${a}-action`,c=Math.round(o*i);return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},(0,ed.dF)()),{lineHeight:e.lineHeight,[a]:{position:"relative",height:e.lineHeight*o,marginTop:e.marginXS,fontSize:o,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${a}-name`]:Object.assign(Object.assign({},ed.vS),{padding:`0 ${e.paddingXS}px`,lineHeight:i,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[l]:{[s]:{opacity:0},[`${s}${r}-btn-sm`]:{height:c,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` - ${s}:focus, - &.picture ${s} - `]:{opacity:1},[n]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[`&:hover ${n}`]:{color:e.colorText}},[`${t}-icon ${n}`]:{color:e.colorTextDescription,fontSize:o},[`${a}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:o+e.paddingXS,fontSize:o,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${a}:hover ${s}`]:{opacity:1,color:e.colorText},[`${a}-error`]:{color:e.colorError,[`${a}-name, ${t}-icon ${n}`]:{color:e.colorError},[l]:{[`${n}, ${n}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},ev=r(77794),eb=r(16932);let ey=new ev.E4("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),e$=new ev.E4("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var ew=e=>{let{componentCls:t}=e,r=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${r}-appear, ${r}-enter, ${r}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${r}-appear, ${r}-enter`]:{animationName:ey},[`${r}-leave`]:{animationName:e$}}},{[`${t}-wrapper`]:(0,eb.J$)(e)},ey,e$]},eE=r(16397),ek=r(10274);let ex=e=>{let{componentCls:t,iconCls:r,uploadThumbnailSize:n,uploadProgressOffset:o}=e,i=`${t}-list`,a=`${i}-item`;return{[`${t}-wrapper`]:{[` - ${i}${i}-picture, - ${i}${i}-picture-card, - ${i}${i}-picture-circle - `]:{[a]:{position:"relative",height:n+2*e.lineWidth+2*e.paddingXS,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${a}-thumbnail`]:Object.assign(Object.assign({},ed.vS),{width:n,height:n,lineHeight:`${n+e.paddingSM}px`,textAlign:"center",flex:"none",[r]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${a}-progress`]:{bottom:o,width:`calc(100% - ${2*e.paddingSM}px)`,marginTop:0,paddingInlineStart:n+e.paddingXS}},[`${a}-error`]:{borderColor:e.colorError,[`${a}-thumbnail ${r}`]:{[`svg path[fill='${eE.iN[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${eE.iN.primary}']`]:{fill:e.colorError}}},[`${a}-uploading`]:{borderStyle:"dashed",[`${a}-name`]:{marginBottom:o}}},[`${i}${i}-picture-circle ${a}`]:{[`&, &::before, ${a}-thumbnail`]:{borderRadius:"50%"}}}}},eC=e=>{let{componentCls:t,iconCls:r,fontSizeLG:n,colorTextLightSolid:o}=e,i=`${t}-list`,a=`${i}-item`,l=e.uploadPicCardSize;return{[` - ${t}-wrapper${t}-picture-card-wrapper, - ${t}-wrapper${t}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,ed.dF)()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:l,height:l,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${i}${i}-picture-card, ${i}${i}-picture-circle`]:{[`${i}-item-container`]:{display:"inline-block",width:l,height:l,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[a]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${2*e.paddingXS}px)`,height:`calc(100% - ${2*e.paddingXS}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${a}:hover`]:{[`&::before, ${a}-actions`]:{opacity:1}},[`${a}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${r}-eye, ${r}-download, ${r}-delete`]:{zIndex:10,width:n,margin:`0 ${e.marginXXS}px`,fontSize:n,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${a}-actions, ${a}-actions:hover`]:{[`${r}-eye, ${r}-download, ${r}-delete`]:{color:new ek.C(o).setAlpha(.65).toRgbString(),"&:hover":{color:o}}},[`${a}-thumbnail, ${a}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${a}-name`]:{display:"none",textAlign:"center"},[`${a}-file + ${a}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${2*e.paddingXS}px)`},[`${a}-uploading`]:{[`&${a}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${r}-eye, ${r}-download, ${r}-delete`]:{display:"none"}},[`${a}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${2*e.paddingXS}px)`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}};var eS=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}};let eO=e=>{let{componentCls:t,colorTextDisabled:r}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,ed.Wf)(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:r,cursor:"not-allowed"}})}};var eZ=(0,ef.Z)("Upload",e=>{let{fontSizeHeading3:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightLG:i}=e,a=(0,em.TS)(e,{uploadThumbnailSize:2*t,uploadProgressOffset:Math.round(r*n)/2+o,uploadPicCardSize:2.55*i});return[eO(a),eg(a),ex(a),eC(a),eh(a),ew(a),eS(a),(0,ep.Z)(a)]},e=>({actionsColor:e.colorTextDescription}));let eI=`__LIST_IGNORE_${Date.now()}__`,eR=n.forwardRef((e,t)=>{var r;let{fileList:i,defaultFileList:l,onRemove:s,showUploadList:c=!0,listType:u="text",onPreview:d,onDownload:p,onChange:f,onDrop:m,previewFile:g,disabled:h,locale:v,iconRender:b,isImageUrl:y,progress:$,prefixCls:w,className:E,type:k="select",children:x,style:C,itemRender:S,maxCount:O,data:Z={},multiple:A=!1,action:F="",accept:z="",supportServerRender:T=!0}=e,L=n.useContext(N.Z),H=null!=h?h:L,[W,X]=(0,R.Z)(l||[],{value:i,postState:e=>null!=e?e:[]}),[U,_]=n.useState("drop"),B=n.useRef(null);n.useMemo(()=>{let e=Date.now();(i||[]).forEach((t,r)=>{t.uid||Object.isFrozen(t)||(t.uid=`__AUTO__${e}_${r}__`)})},[i]);let V=(e,t,r)=>{let n=(0,o.Z)(t),i=!1;1===O?n=n.slice(-1):O&&(i=n.length>O,n=n.slice(0,O)),(0,j.flushSync)(()=>{X(n)});let a={file:e,fileList:n};r&&(a.event=r),(!i||n.some(t=>t.uid===e.uid))&&(0,j.flushSync)(()=>{null==f||f(a)})},q=e=>{let t=e.filter(e=>!e.file[eI]);if(!t.length)return;let r=t.map(e=>K(e.file)),n=(0,o.Z)(W);r.forEach(e=>{n=G(e,n)}),r.forEach((e,r)=>{let o=e;if(t[r].parsedFile)e.status="uploading";else{let t;let{originFileObj:r}=e;try{t=new File([r],r.name,{type:r.type})}catch(e){(t=new Blob([r],{type:r.type})).name=r.name,t.lastModifiedDate=new Date,t.lastModified=new Date().getTime()}t.uid=e.uid,o=t}V(o,n)})},Y=(e,t,r)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}if(!J(t,W))return;let n=K(t);n.status="done",n.percent=100,n.response=e,n.xhr=r;let o=G(n,W);V(n,o)},Q=(e,t)=>{if(!J(t,W))return;let r=K(t);r.status="uploading",r.percent=e.percent;let n=G(r,W);V(r,n,e)},ee=(e,t,r)=>{if(!J(r,W))return;let n=K(r);n.error=e,n.response=t,n.status="error";let o=G(n,W);V(n,o)},et=e=>{let t;Promise.resolve("function"==typeof s?s(e):s).then(r=>{var n;if(!1===r)return;let o=function(e,t){let r=void 0!==e.uid?"uid":"name",n=t.filter(t=>t[r]!==e[r]);return n.length===t.length?null:n}(e,W);o&&(t=Object.assign(Object.assign({},e),{status:"removed"}),null==W||W.forEach(e=>{let r=void 0!==t.uid?"uid":"name";e[r]!==t[r]||Object.isFrozen(e)||(e.status="removed")}),null===(n=B.current)||void 0===n||n.abort(t),V(t,o))})},er=e=>{_(e.type),"drop"===e.type&&(null==m||m(e))};n.useImperativeHandle(t,()=>({onBatchStart:q,onSuccess:Y,onProgress:Q,onError:ee,fileList:W,upload:B.current}));let{getPrefixCls:en,direction:eo,upload:ei}=n.useContext(D.E_),ea=en("upload",w),el=Object.assign(Object.assign({onBatchStart:q,onError:ee,onProgress:Q,onSuccess:Y},e),{data:Z,multiple:A,action:F,accept:z,supportServerRender:T,prefixCls:ea,disabled:H,beforeUpload:(t,r)=>{var n,o,i,a;return n=void 0,o=void 0,i=void 0,a=function*(){let{beforeUpload:n,transformFile:o}=e,i=t;if(n){let e=yield n(t,r);if(!1===e)return!1;if(delete t[eI],e===eI)return Object.defineProperty(t,eI,{value:!0,configurable:!0}),!1;"object"==typeof e&&e&&(i=e)}return o&&(i=yield o(i)),i},new(i||(i=Promise))(function(e,t){function r(e){try{s(a.next(e))}catch(e){t(e)}}function l(e){try{s(a.throw(e))}catch(e){t(e)}}function s(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(r,l)}s((a=a.apply(n,o||[])).next())})},onChange:void 0});delete el.className,delete el.style,(!x||H)&&delete el.id;let[es,ec]=eZ(ea),[ed]=(0,P.Z)("Upload",M.Z.Upload),{showRemoveIcon:ep,showPreviewIcon:ef,showDownloadIcon:em,removeIcon:eg,previewIcon:eh,downloadIcon:ev}="boolean"==typeof c?{}:c,eb=(e,t)=>c?n.createElement(eu,{prefixCls:ea,listType:u,items:W,previewFile:g,onPreview:d,onDownload:p,onRemove:et,showRemoveIcon:!H&&ep,showPreviewIcon:ef,showDownloadIcon:em,removeIcon:eg,previewIcon:eh,downloadIcon:ev,iconRender:b,locale:Object.assign(Object.assign({},ed),v),isImageUrl:y,progress:$,appendAction:e,appendActionVisible:t,itemRender:S,disabled:H}):e,ey=a()(`${ea}-wrapper`,E,ec,null==ei?void 0:ei.className,{[`${ea}-rtl`]:"rtl"===eo,[`${ea}-picture-card-wrapper`]:"picture-card"===u,[`${ea}-picture-circle-wrapper`]:"picture-circle"===u}),e$=Object.assign(Object.assign({},null==ei?void 0:ei.style),C);if("drag"===k){let e=a()(ec,ea,`${ea}-drag`,{[`${ea}-drag-uploading`]:W.some(e=>"uploading"===e.status),[`${ea}-drag-hover`]:"dragover"===U,[`${ea}-disabled`]:H,[`${ea}-rtl`]:"rtl"===eo});return es(n.createElement("span",{className:ey},n.createElement("div",{className:e,style:e$,onDrop:er,onDragOver:er,onDragLeave:er},n.createElement(I,Object.assign({},el,{ref:B,className:`${ea}-btn`}),n.createElement("div",{className:`${ea}-drag-container`},x))),eb()))}let ew=a()(ea,`${ea}-select`,{[`${ea}-disabled`]:H}),eE=(r=x?void 0:{display:"none"},n.createElement("div",{className:ew,style:r},n.createElement(I,Object.assign({},el,{ref:B}))));return es("picture-card"===u||"picture-circle"===u?n.createElement("span",{className:ey},eb(eE,!!x)):n.createElement("span",{className:ey},eE,eb()))});var ej=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let eD=n.forwardRef((e,t)=>{var{style:r,height:o}=e,i=ej(e,["style","height"]);return n.createElement(eR,Object.assign({ref:t},i,{type:"drag",style:Object.assign(Object.assign({},r),{height:o})}))});eR.Dragger=eD,eR.LIST_IGNORE=eI;var eN=eR}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/79.e75d7ee2dd885405.js b/pilot/server/static/_next/static/chunks/79.e75d7ee2dd885405.js new file mode 100644 index 000000000..f225f6f03 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/79.e75d7ee2dd885405.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[79],{39156:function(e,l,a){"use strict";a.d(l,{Z:function(){return x}});var n=a(85893),t=a(41118),c=a(30208),r=a(40911),s=a(75227),i=a(67294);function o(e){let{chart:l}=e,a=(0,i.useRef)(null),o=(0,i.useRef)({chart:null});return(0,i.useEffect)(()=>{a.current&&(o.current.chart&&o.current.chart.destroy(),o.current.chart=new s.sg(a.current,{data:l.values,xField:"name",yField:"value",seriesField:"type",legend:{position:"bottom"},animation:{appear:{animation:"wave-in",duration:3e3}}}),o.current.chart.render())},[l.values]),(0,n.jsx)("div",{className:"flex-1 min-w-0",children:(0,n.jsx)(t.Z,{className:"h-full",sx:{background:"transparent"},children:(0,n.jsxs)(c.Z,{className:"h-full",children:[(0,n.jsx)(r.ZP,{gutterBottom:!0,component:"div",children:l.chart_name}),(0,n.jsx)(r.ZP,{gutterBottom:!0,level:"body3",children:l.chart_desc}),(0,n.jsx)("div",{className:"h-[300px]",ref:a})]})})})}function d(e){let{chart:l}=e,a=(0,i.useRef)(null),o=(0,i.useRef)({chart:null});return(0,i.useEffect)(()=>{a.current&&(o.current.chart&&o.current.chart.destroy(),o.current.chart=new s.x1(a.current,{data:l.values,xField:"name",yField:"value",seriesField:"type",smooth:!0,area:{style:{fillOpacity:.15}},legend:{position:"bottom"},animation:{appear:{animation:"wave-in",duration:3e3}}}),o.current.chart.render())},[l.values]),(0,n.jsx)("div",{className:"flex-1 min-w-0",children:(0,n.jsx)(t.Z,{className:"h-full",sx:{background:"transparent"},children:(0,n.jsxs)(c.Z,{className:"h-full",children:[(0,n.jsx)(r.ZP,{gutterBottom:!0,component:"div",children:l.chart_name}),(0,n.jsx)(r.ZP,{gutterBottom:!0,level:"body3",children:l.chart_desc}),(0,n.jsx)("div",{className:"h-[300px]",ref:a})]})})})}var u=a(61685),m=a(96486);function h(e){var l,a;let{chart:s}=e,i=(0,m.groupBy)(s.values,"type");return(0,n.jsx)("div",{className:"flex-1 min-w-0",children:(0,n.jsx)(t.Z,{className:"h-full overflow-auto",sx:{background:"transparent"},children:(0,n.jsxs)(c.Z,{className:"h-full",children:[(0,n.jsx)(r.ZP,{gutterBottom:!0,component:"div",children:s.chart_name}),"\xb7",(0,n.jsx)(r.ZP,{gutterBottom:!0,level:"body3",children:s.chart_desc}),(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsxs)(u.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:Object.keys(i).map(e=>(0,n.jsx)("th",{children:e},e))})}),(0,n.jsx)("tbody",{children:null===(l=Object.values(i))||void 0===l?void 0:null===(a=l[0])||void 0===a?void 0:a.map((e,l)=>{var a;return(0,n.jsx)("tr",{children:null===(a=Object.keys(i))||void 0===a?void 0:a.map(e=>{var a;return(0,n.jsx)("td",{children:(null==i?void 0:null===(a=i[e])||void 0===a?void 0:a[l].value)||""},e)})},l)})})]})})]})})})}var x=function(e){let{chartsData:l}=e,a=(0,i.useMemo)(()=>{if(l){let e=[],a=null==l?void 0:l.filter(e=>"IndicatorValue"===e.chart_type);a.length>0&&e.push({charts:a,type:"IndicatorValue"});let n=null==l?void 0:l.filter(e=>"IndicatorValue"!==e.chart_type),t=n.length,c=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][t].forEach(l=>{if(l>0){let a=n.slice(c,c+l);c+=l,e.push({charts:a})}}),e}},[l]);return(0,n.jsx)(n.Fragment,{children:l&&(0,n.jsx)("div",{className:"w-full",children:(0,n.jsx)("div",{className:"flex flex-col gap-3 h-full",children:null==a?void 0:a.map((e,l)=>(0,n.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex gap-3":""),children:e.charts.map(e=>"IndicatorValue"===e.chart_type?(0,n.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(t.Z,{sx:{background:"transparent"},children:(0,n.jsxs)(c.Z,{className:"justify-around",children:[(0,n.jsx)(r.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,n.jsx)(r.ZP,{children:e.value})]})})},e.name))},e.chart_uid):"LineChart"===e.chart_type?(0,n.jsx)(d,{chart:e},e.chart_uid):"BarChart"===e.chart_type?(0,n.jsx)(o,{chart:e},e.chart_uid):"Table"===e.chart_type?(0,n.jsx)(h,{chart:e},e.chart_uid):void 0)},"chart_row_".concat(l)))})})})}},79716:function(e,l,a){"use strict";a.d(l,{Z:function(){return j}});var n=a(85893),t=a(67294),c=a(2453),r=a(39778),s=a(66803),i=a(71577),o=a(49591),d=a(88484),u=a(29158),m=a(50489),h=a(41468),x=function(e){var l;let{convUid:a,chatMode:x,onComplete:p,...b}=e,[g,v]=(0,t.useState)(!1),[f,j]=c.ZP.useMessage(),[y,_]=(0,t.useState)([]),[w,N]=(0,t.useState)(),[Z,C]=(0,t.useState)(),{model:P}=(0,t.useContext)(h.p),k=async e=>{var l;if(!e){c.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(l=e.file.name)&&void 0!==l?l:"")){c.ZP.error("File type must be csv, xlsx or xls");return}_([e.file])},B=async()=>{v(!0),C("normal");try{let e=new FormData;e.append("doc_file",y[0]),f.open({content:"Uploading ".concat(y[0].name),type:"loading",duration:0});let[l]=await (0,m.Vx)((0,m.qn)({convUid:a,chatMode:x,data:e,model:P,config:{timeout:36e5,onUploadProgress:e=>{let l=Math.ceil(e.loaded/(e.total||0)*100);N(l)}}}));if(l)return;c.ZP.success("success"),C("success"),null==p||p()}catch(e){C("exception"),c.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{v(!1),f.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[j,(0,n.jsx)(r.Z,{placement:"topLeft",title:"Files cannot be changed after upload",children:(0,n.jsx)(s.default,{disabled:g,className:"mr-1",beforeUpload:()=>!1,fileList:y,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:k,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...b,children:(0,n.jsx)(i.ZP,{className:"flex justify-center items-center dark:bg-[#4e4f56] dark:text-gray-200",disabled:g,icon:(0,n.jsx)(o.Z,{}),children:"Select File"})})}),(0,n.jsx)(i.ZP,{type:"primary",loading:g,className:"flex justify-center items-center dark:text-white",disabled:!y.length,icon:(0,n.jsx)(d.Z,{}),onClick:B,children:g?100===w?"Analysis":"Uploading":"Upload"}),!!y.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",children:[(0,n.jsx)(u.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(l=y[0])||void 0===l?void 0:l.name})]})]})})},p=function(e){let{onComplete:l}=e,{currentDialogue:a,scene:c,chatId:r}=(0,t.useContext)(h.p);return"chat_excel"!==c?null:(0,n.jsx)("div",{className:"max-w-md h-full relative",children:a?(0,n.jsxs)("div",{className:"flex overflow-hidden rounded",children:[(0,n.jsx)("div",{className:"flex items-center justify-center px-3 py-2 bg-gray-600",children:(0,n.jsx)(u.Z,{className:"text-white"})}),(0,n.jsx)("div",{className:"bg-gray-100 px-3 py-2 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:a.select_param})]}):(0,n.jsx)(x,{convUid:r,chatMode:c,onComplete:l})})},b=a(25709),g=a(43927);function v(){let{isContract:e,setIsContract:l,scene:a}=(0,t.useContext)(h.p),c=a&&["chat_with_db_execute","chat_dashboard"].includes(a);return c?(0,n.jsx)("div",{className:"leading-[3rem] text-right h-12 flex justify-center",children:(0,n.jsx)("div",{className:"flex items-center cursor-pointer",children:(0,n.jsxs)("div",{className:"relative w-56 h-10 mx-auto p-2 flex justify-center items-center bg-[#ece9e0] rounded-3xl model-tab dark:text-violet-600 z-10 ".concat(e?"editor-tab":""),children:[(0,n.jsxs)("div",{className:"z-10 w-[50%] text-center cursor-pointer",onClick:()=>{l(!1)},children:[(0,n.jsx)("span",{children:"Preview"}),(0,n.jsx)(g.Z,{className:"ml-1"})]}),(0,n.jsxs)("div",{className:"z-10 w-[50%] text-center cursor-pointer",onClick:()=>{l(!0)},children:[(0,n.jsx)("span",{children:"Editor"}),(0,n.jsx)(b.Z,{className:"ml-1"})]})]})})}):null}a(23293);var f=a(81799),j=function(e){let{refreshHistory:l,modelChange:a}=e,{refreshDialogList:c,model:r}=(0,t.useContext)(h.p);return(0,n.jsxs)("div",{className:"w-full py-4 flex items-center justify-center border-b border-gray-100 gap-5",children:[(0,n.jsx)(f.Z,{size:"sm",onChange:a}),(0,n.jsx)(p,{onComplete:()=>{null==c||c(),null==l||l()}}),(0,n.jsx)(v,{})]})}},81799:function(e,l,a){"use strict";a.d(l,{A:function(){return x}});var n=a(85893),t=a(41468),c=a(14986),r=a(30322),s=a(94184),i=a.n(s),o=a(25675),d=a.n(o),u=a(67294),m=a(67421);let h={proxyllm:{label:"Proxy LLM",icon:"/models/chatgpt.png"},"flan-t5-base":{label:"flan-t5-base",icon:"/models/google.png"},"vicuna-13b":{label:"vicuna-13b",icon:"/models/vicuna.jpeg"},"vicuna-7b":{label:"vicuna-7b",icon:"/models/vicuna.jpeg"},"vicuna-13b-v1.5":{label:"vicuna-13b-v1.5",icon:"/models/vicuna.jpeg"},"vicuna-7b-v1.5":{label:"vicuna-7b-v1.5",icon:"/models/vicuna.jpeg"},"codegen2-1b":{label:"codegen2-1B",icon:"/models/vicuna.jpeg"},"codet5p-2b":{label:"codet5p-2b",icon:"/models/vicuna.jpeg"},"chatglm-6b-int4":{label:"chatglm-6b-int4",icon:"/models/chatglm.png"},"chatglm-6b":{label:"chatglm-6b",icon:"/models/chatglm.png"},"chatglm2-6b":{label:"chatglm2-6b",icon:"/models/chatglm.png"},"chatglm2-6b-int4":{label:"chatglm2-6b-int4",icon:"/models/chatglm.png"},"guanaco-33b-merged":{label:"guanaco-33b-merged",icon:"/models/huggingface.svg"},"falcon-40b":{label:"falcon-40b",icon:"/models/falcon.jpeg"},"gorilla-7b":{label:"gorilla-7b",icon:"/models/gorilla.png"},"gptj-6b":{label:"ggml-gpt4all-j-v1.3-groovy.bin",icon:""},chatgpt_proxyllm:{label:"chatgpt_proxyllm",icon:"/models/chatgpt.png"},bard_proxyllm:{label:"bard_proxyllm",icon:"/models/bard.gif"},claude_proxyllm:{label:"claude_proxyllm",icon:"/models/claude.png"},wenxin_proxyllm:{label:"wenxin_proxyllm",icon:""},tongyi_proxyllm:{label:"tongyi_proxyllm",icon:"/models/qwen2.png"},zhipu_proxyllm:{label:"zhipu_proxyllm",icon:"/models/zhipu.png"},"llama-2-7b":{label:"Llama-2-7b-chat-hf",icon:"/models/llama.jpg"},"llama-2-13b":{label:"Llama-2-13b-chat-hf",icon:"/models/llama.jpg"},"llama-2-70b":{label:"Llama-2-70b-chat-hf",icon:"/models/llama.jpg"},"baichuan-13b":{label:"Baichuan-13B-Chat",icon:"/models/baichuan.png"},"baichuan-7b":{label:"baichuan-7b",icon:"/models/baichuan.png"},"baichuan2-7b":{label:"Baichuan2-7B-Chat",icon:"/models/baichuan.png"},"baichuan2-13b":{label:"Baichuan2-13B-Chat",icon:"/models/baichuan.png"},"wizardlm-13b":{label:"WizardLM-13B-V1.2",icon:"/models/wizardlm.png"},"llama-cpp":{label:"ggml-model-q4_0.bin",icon:"/models/huggingface.svg"}};function x(e){var l;return e?(0,n.jsx)(d(),{className:"rounded-full mr-2 border border-gray-200 object-contain bg-white",width:24,height:24,src:null===(l=h[e])||void 0===l?void 0:l.icon,alt:"llm"}):null}l.Z=function(e){let{size:l,onChange:a}=e,{t:s}=(0,m.$G)(),{modelList:o,model:d,scene:p}=(0,u.useContext)(t.p);return!o||o.length<=0?null:(0,n.jsx)("div",{className:i()({"w-48":"sm"===l||"md"===l||!l,"w-60":"lg"===l}),children:(0,n.jsx)(c.Z,{size:l||"sm",placeholder:s("choose_model"),value:d||"",renderValue:function(e){return e?(0,n.jsxs)(n.Fragment,{children:[x(e.value),e.label]}):null},onChange:(e,l)=>{l&&(null==a||a(l))},children:o.map(e=>{var l;return(0,n.jsxs)(r.Z,{value:e,children:[x(e),(null===(l=h[e])||void 0===l?void 0:l.label)||e]},"model_".concat(e))})})})}},99513:function(e,l,a){"use strict";a.d(l,{Z:function(){return o}});var n=a(85893),t=a(63764),c=a(94184),r=a.n(c),s=a(67294),i=a(36782);function o(e){let{className:l,value:a,language:c="mysql",onChange:o,thoughts:d}=e,u=(0,s.useMemo)(()=>"mysql"!==c?a:d&&d.length>0?(0,i.WU)("-- ".concat(d," \n").concat(a)):(0,i.WU)(a),[a,d]);return(0,n.jsx)(t.ZP,{className:r()(l),value:u,language:c,onChange:o,theme:"vs-dark",options:{minimap:{enabled:!1},wordWrap:"on"}})}},23293:function(){}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/80.6eb93fec1a8869f2.js b/pilot/server/static/_next/static/chunks/80.6eb93fec1a8869f2.js new file mode 100644 index 000000000..2358a49a5 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/80.6eb93fec1a8869f2.js @@ -0,0 +1,68 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[80],{50228:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},o=n(42135),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},87547:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},o=n(42135),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},1375:function(e,t,n){"use strict";async function a(e,t){let n;let a=e.getReader();for(;!(n=await a.read()).done;)t(n.value)}function r(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{a:function(){return o},L:function(){return l}});var i=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:d,onmessage:u,onclose:p,onerror:g,openWhenHidden:m,fetch:b}=t,f=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let E;let h=Object.assign({},l);function S(){E.abort(),document.hidden||I()}h.accept||(h.accept=o),m||document.addEventListener("visibilitychange",S);let y=1e3,T=0;function A(){document.removeEventListener("visibilitychange",S),window.clearTimeout(T),E.abort()}null==n||n.addEventListener("abort",()=>{A(),t()});let _=null!=b?b:window.fetch,R=null!=d?d:c;async function I(){var n,o;E=new AbortController;try{let n,i,l,c;let d=await _(e,Object.assign(Object.assign({},f),{headers:h,signal:E.signal}));await R(d),await a(d.body,(o=function(e,t,n){let a=r(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(a),a=r();else if(s>0){let n=i.decode(o.subarray(0,s)),r=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(r));switch(n){case"data":a.data=a.data?a.data+"\n"+l:l;break;case"event":a.event=l;break;case"id":e(a.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(a.retry=c)}}}}(e=>{e?h[s]=e:delete h[s]},e=>{y=e},u),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,a=0;for(;i{let{variant:t,color:n}=e,a={root:["root"],content:["content",t&&`variant${(0,s.Z)(t)}`,n&&`color${(0,s.Z)(n)}`]};return(0,o.Z)(a,p.x,{})},f=(0,d.Z)("div",{name:"JoyAspectRatio",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>{let t="number"==typeof e.minHeight?`${e.minHeight}px`:e.minHeight,n="number"==typeof e.maxHeight?`${e.maxHeight}px`:e.maxHeight;return{"--AspectRatio-paddingBottom":`clamp(var(--AspectRatio-minHeight), calc(100% / (${e.ratio})), var(--AspectRatio-maxHeight))`,"--AspectRatio-maxHeight":n||"9999px","--AspectRatio-minHeight":t||"0px",borderRadius:"var(--AspectRatio-radius)",flexDirection:"column",margin:"var(--AspectRatio-margin)"}}),E=(0,d.Z)("div",{name:"JoyAspectRatio",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>{var n;return[{flex:1,position:"relative",borderRadius:"inherit",height:0,paddingBottom:"calc(var(--AspectRatio-paddingBottom) - 2 * var(--variant-borderWidth, 0px))",overflow:"hidden",transition:"inherit","& [data-first-child]":{display:"flex",justifyContent:"center",alignItems:"center",boxSizing:"border-box",position:"absolute",width:"100%",height:"100%",objectFit:t.objectFit,margin:0,padding:0,"& > img":{width:"100%",height:"100%",objectFit:t.objectFit}}},null==(n=e.variants[t.variant])?void 0:n[t.color]]}),h=i.forwardRef(function(e,t){let n=(0,l.Z)({props:e,name:"JoyAspectRatio"}),{children:o,ratio:s="16 / 9",minHeight:d,maxHeight:p,objectFit:h="cover",color:S="neutral",variant:y="soft",component:T,slots:A={},slotProps:_={}}=n,R=(0,r.Z)(n,m),{getColor:I}=(0,u.VT)(y),N=I(e.color,S),v=(0,a.Z)({},n,{minHeight:d,maxHeight:p,objectFit:h,ratio:s,color:N,variant:y}),w=b(v),k=(0,a.Z)({},R,{component:T,slots:A,slotProps:_}),[C,O]=(0,c.Z)("root",{ref:t,className:w.root,elementType:f,externalForwardedProps:k,ownerState:v}),[x,L]=(0,c.Z)("content",{className:w.content,elementType:E,externalForwardedProps:k,ownerState:v});return(0,g.jsx)(C,(0,a.Z)({},O,{children:(0,g.jsx)(x,(0,a.Z)({},L,{children:i.Children.map(o,(e,t)=>0===t&&i.isValidElement(e)?i.cloneElement(e,{"data-first-child":""}):e)}))}))});t.Z=h},79172:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var a=n(26821);function r(e){return(0,a.d6)("MuiAspectRatio",e)}let i=(0,a.sI)("MuiAspectRatio",["root","content","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);t.Z=i},51610:function(e,t,n){"use strict";n.d(t,{Z:function(){return G}});var a=n(87462),r=n(63366),i=n(67294),o=n(70828),s=n(94780),l=n(34867),c=n(18719),d=n(13264),u=n(39214),p=n(96682),g=n(39707),m=n(88647);let b=(e,t)=>e.filter(e=>t.includes(e)),f=(e,t,n)=>{let a=e.keys[0];if(Array.isArray(t))t.forEach((t,a)=>{n((t,n)=>{a<=e.keys.length-1&&(0===a?Object.assign(t,n):t[e.up(e.keys[a])]=n)},t)});else if(t&&"object"==typeof t){let r=Object.keys(t).length>e.keys.length?e.keys:b(e.keys,Object.keys(t));r.forEach(r=>{if(-1!==e.keys.indexOf(r)){let i=t[r];void 0!==i&&n((t,n)=>{a===r?Object.assign(t,n):t[e.up(r)]=n},i)}})}else("number"==typeof t||"string"==typeof t)&&n((e,t)=>{Object.assign(e,t)},t)};function E(e){return e?`Level${e}`:""}function h(e){return e.unstable_level>0&&e.container}function S(e){return function(t){return`var(--Grid-${t}Spacing${E(e.unstable_level)})`}}function y(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${E(e.unstable_level-1)})`}}function T(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${E(e.unstable_level-1)})`}let A=({theme:e,ownerState:t})=>{let n=S(t),a={};return f(e.breakpoints,t.gridSize,(e,r)=>{let i={};!0===r&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===r&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof r&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${r} / ${T(t)}${h(t)?` + ${n("column")}`:""})`}),e(a,i)}),a},_=({theme:e,ownerState:t})=>{let n={};return f(e.breakpoints,t.gridOffset,(e,a)=>{let r={};"auto"===a&&(r={marginLeft:"auto"}),"number"==typeof a&&(r={marginLeft:0===a?"0px":`calc(100% * ${a} / ${T(t)})`}),e(n,r)}),n},R=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=h(t)?{[`--Grid-columns${E(t.unstable_level)}`]:T(t)}:{"--Grid-columns":12};return f(e.breakpoints,t.columns,(e,a)=>{e(n,{[`--Grid-columns${E(t.unstable_level)}`]:a})}),n},I=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=y(t),a=h(t)?{[`--Grid-rowSpacing${E(t.unstable_level)}`]:n("row")}:{};return f(e.breakpoints,t.rowSpacing,(n,r)=>{var i;n(a,{[`--Grid-rowSpacing${E(t.unstable_level)}`]:"string"==typeof r?r:null==(i=e.spacing)?void 0:i.call(e,r)})}),a},N=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=y(t),a=h(t)?{[`--Grid-columnSpacing${E(t.unstable_level)}`]:n("column")}:{};return f(e.breakpoints,t.columnSpacing,(n,r)=>{var i;n(a,{[`--Grid-columnSpacing${E(t.unstable_level)}`]:"string"==typeof r?r:null==(i=e.spacing)?void 0:i.call(e,r)})}),a},v=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={};return f(e.breakpoints,t.direction,(e,t)=>{e(n,{flexDirection:t})}),n},w=({ownerState:e})=>{let t=S(e),n=y(e);return(0,a.Z)({minWidth:0,boxSizing:"border-box"},e.container&&(0,a.Z)({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||h(e))&&(0,a.Z)({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},k=e=>{let t=[];return Object.entries(e).forEach(([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)}),t},C=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){let t=[];return Object.entries(e).forEach(([e,a])=>{n(a)&&t.push(`spacing-${e}-${String(a)}`)}),t}return[]},O=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`];var x=n(85893);let L=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],D=(0,m.Z)(),P=(0,d.Z)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function M(e){return(0,u.Z)({props:e,name:"MuiGrid",defaultTheme:D})}var F=n(74312),U=n(20407);let B=function(e={}){let{createStyledComponent:t=P,useThemeProps:n=M,componentName:d="MuiGrid"}=e,u=i.createContext(void 0),m=(e,t)=>{let{container:n,direction:a,spacing:r,wrap:i,gridSize:o}=e,c={root:["root",n&&"container","wrap"!==i&&`wrap-xs-${String(i)}`,...O(a),...k(o),...n?C(r,t.breakpoints.keys[0]):[]]};return(0,s.Z)(c,e=>(0,l.Z)(d,e),{})},b=t(R,N,I,A,v,w,_),f=i.forwardRef(function(e,t){var s,l,d,f,E,h,S,y;let T=(0,p.Z)(),A=n(e),_=(0,g.Z)(A),R=i.useContext(u),{className:I,children:N,columns:v=12,container:w=!1,component:k="div",direction:C="row",wrap:O="wrap",spacing:D=0,rowSpacing:P=D,columnSpacing:M=D,disableEqualOverflow:F,unstable_level:U=0}=_,B=(0,r.Z)(_,L),G=F;U&&void 0!==F&&(G=e.disableEqualOverflow);let $={},H={},z={};Object.entries(B).forEach(([e,t])=>{void 0!==T.breakpoints.values[e]?$[e]=t:void 0!==T.breakpoints.values[e.replace("Offset","")]?H[e.replace("Offset","")]=t:z[e]=t});let V=null!=(s=e.columns)?s:U?void 0:v,j=null!=(l=e.spacing)?l:U?void 0:D,W=null!=(d=null!=(f=e.rowSpacing)?f:e.spacing)?d:U?void 0:P,q=null!=(E=null!=(h=e.columnSpacing)?h:e.spacing)?E:U?void 0:M,Y=(0,a.Z)({},_,{level:U,columns:V,container:w,direction:C,wrap:O,spacing:j,rowSpacing:W,columnSpacing:q,gridSize:$,gridOffset:H,disableEqualOverflow:null!=(S=null!=(y=G)?y:R)&&S,parentDisableEqualOverflow:R}),K=m(Y,T),Z=(0,x.jsx)(b,(0,a.Z)({ref:t,as:k,ownerState:Y,className:(0,o.Z)(K.root,I)},z,{children:i.Children.map(N,e=>{if(i.isValidElement(e)&&(0,c.Z)(e,["Grid"])){var t;return i.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:U+1})}return e})}));return void 0!==G&&G!==(null!=R&&R)&&(Z=(0,x.jsx)(u.Provider,{value:G,children:Z})),Z});return f.muiName="Grid",f}({createStyledComponent:(0,F.Z)("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,U.Z)({props:e,name:"JoyGrid"})});var G=B},43458:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var a=n(63366),r=n(87462),i=n(67294),o=n(86010),s=n(94780),l=n(14142),c=n(18719),d=n(74312),u=n(20407),p=n(78653),g=n(3414),m=n(26821);function b(e){return(0,m.d6)("MuiModalDialog",e)}(0,m.sI)("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]);let f=i.createContext(void 0),E=i.createContext(void 0);var h=n(30220),S=n(85893);let y=["className","children","color","component","variant","size","layout","slots","slotProps"],T=e=>{let{variant:t,color:n,size:a,layout:r}=e,i={root:["root",t&&`variant${(0,l.Z)(t)}`,n&&`color${(0,l.Z)(n)}`,a&&`size${(0,l.Z)(a)}`,r&&`layout${(0,l.Z)(r)}`]};return(0,s.Z)(i,b,{})},A=(0,d.Z)(g.U,{name:"JoyModalDialog",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>(0,r.Z)({"--Divider-inset":"calc(-1 * var(--ModalDialog-padding))","--ModalClose-radius":"max((var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) / 2))"},"sm"===t.size&&{"--ModalDialog-padding":e.spacing(2),"--ModalDialog-radius":e.vars.radius.sm,"--ModalDialog-gap":e.spacing(.75),"--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.25),"--ModalClose-inset":e.spacing(1.25),fontSize:e.vars.fontSize.sm},"md"===t.size&&{"--ModalDialog-padding":e.spacing(2.5),"--ModalDialog-radius":e.vars.radius.md,"--ModalDialog-gap":e.spacing(1.5),"--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.75),"--ModalClose-inset":e.spacing(1.5),fontSize:e.vars.fontSize.md},"lg"===t.size&&{"--ModalDialog-padding":e.spacing(3),"--ModalDialog-radius":e.vars.radius.md,"--ModalDialog-gap":e.spacing(2),"--ModalDialog-titleOffset":e.spacing(.75),"--ModalDialog-descriptionOffset":e.spacing(1),"--ModalClose-inset":e.spacing(1.5),fontSize:e.vars.fontSize.lg},{boxSizing:"border-box",boxShadow:e.shadow.md,borderRadius:"var(--ModalDialog-radius)",fontFamily:e.vars.fontFamily.body,lineHeight:e.vars.lineHeight.md,padding:"var(--ModalDialog-padding)",minWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-minWidth, 300px))",outline:0,position:"absolute",display:"flex",flexDirection:"column"},"fullscreen"===t.layout&&{top:0,left:0,right:0,bottom:0,border:0,borderRadius:0},"center"===t.layout&&{top:"50%",left:"50%",transform:"translate(-50%, -50%)",maxWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-maxWidth, 100vw))",maxHeight:"calc(100% - 2 * var(--ModalDialog-padding))"},{[`& [id="${t["aria-labelledby"]}"]`]:{"--Typography-margin":"calc(-1 * var(--ModalDialog-titleOffset)) 0 var(--ModalDialog-gap) 0","--Typography-fontSize":"1.125em",[`& + [id="${t["aria-describedby"]}"]`]:{"--unstable_ModalDialog-descriptionOffset":"calc(-1 * var(--ModalDialog-descriptionOffset))"}},[`& [id="${t["aria-describedby"]}"]`]:{"--Typography-fontSize":"1em","--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 0 0","&:not(:last-child)":{"--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 var(--ModalDialog-gap) 0"}}})),_=i.forwardRef(function(e,t){let n=(0,u.Z)({props:e,name:"JoyModalDialog"}),{className:s,children:l,color:d="neutral",component:g="div",variant:m="outlined",size:b="md",layout:_="center",slots:R={},slotProps:I={}}=n,N=(0,a.Z)(n,y),{getColor:v}=(0,p.VT)(m),w=v(e.color,d),k=(0,r.Z)({},n,{color:w,component:g,layout:_,size:b,variant:m}),C=T(k),O=(0,r.Z)({},N,{component:g,slots:R,slotProps:I}),x=i.useMemo(()=>({variant:m,color:"context"===w?void 0:w}),[w,m]),[L,D]=(0,h.Z)("root",{ref:t,className:(0,o.Z)(C.root,s),elementType:A,externalForwardedProps:O,ownerState:k,additionalProps:{as:g,role:"dialog","aria-modal":"true"}});return(0,S.jsx)(f.Provider,{value:b,children:(0,S.jsx)(E.Provider,{value:x,children:(0,S.jsx)(L,(0,r.Z)({},D,{children:i.Children.map(l,e=>{if(!i.isValidElement(e))return e;if((0,c.Z)(e,["Divider"])){let t={};return t.inset="inset"in e.props?e.props.inset:"context",i.cloneElement(e,t)}return e})}))})})});var R=_},16789:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var a=n(63366),r=n(87462),i=n(67294),o=n(86010),s=n(14142),l=n(70917),c=n(94780),d=n(20407),u=n(74312),p=n(26821);function g(e){return(0,p.d6)("MuiSkeleton",e)}(0,p.sI)("MuiSkeleton",["root","variantOverlay","variantCircular","variantRectangular","variantText","variantInline","h1","h2","h3","h4","h5","h6","body1","body2","body3"]);var m=n(30220),b=n(85893);let f=["className","component","children","animation","overlay","loading","variant","level","height","width","sx","slots","slotProps"],E=e=>e,h,S,y,T,A,_=e=>{let{variant:t,level:n}=e,a={root:["root",t&&`variant${(0,s.Z)(t)}`,n&&`level${(0,s.Z)(n)}`]};return(0,c.Z)(a,g,{})},R=(0,l.F4)(h||(h=E` + 0% { + opacity: 1; + } + + 50% { + opacity: 0.8; + background: var(--unstable_pulse-bg); + } + + 100% { + opacity: 1; + } +`)),I=(0,l.F4)(S||(S=E` + 0% { + transform: translateX(-100%); + } + + 50% { + /* +0.5s of delay between each loop */ + transform: translateX(100%); + } + + 100% { + transform: translateX(100%); + } +`)),N=(0,u.Z)("span",{name:"JoySkeleton",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>"pulse"===e.animation&&"inline"!==e.variant&&(0,l.iv)(y||(y=E` + &::before { + animation: ${0} 1.5s ease-in-out 0.5s infinite; + background: ${0}; + } + `),R,t.vars.palette.background.level2),({ownerState:e,theme:t})=>"pulse"===e.animation&&"inline"===e.variant&&(0,l.iv)(T||(T=E` + &::after { + animation: ${0} 1.5s ease-in-out 0.5s infinite; + background: ${0}; + } + `),R,t.vars.palette.background.level2),({ownerState:e,theme:t})=>"wave"===e.animation&&(0,l.iv)(A||(A=E` + /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ + -webkit-mask-image: -webkit-radial-gradient(white, black); + background: ${0}; + + &::after { + content: ' '; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: var(--unstable_pseudo-zIndex); + animation: ${0} 1.6s linear 0.5s infinite; + background: linear-gradient( + 90deg, + transparent, + var(--unstable_wave-bg, rgba(0 0 0 / 0.08)), + transparent + ); + transform: translateX(-100%); /* Avoid flash during server-side hydration */ + } + `),t.vars.palette.background.level2,I),({ownerState:e,theme:t})=>{var n,a,i,o;let s=(null==(n=t.components)||null==(n=n.JoyTypography)||null==(n=n.defaultProps)?void 0:n.level)||"body1";return[{display:"block",position:"relative","--unstable_pseudo-zIndex":9,"--unstable_pulse-bg":t.vars.palette.background.level1,overflow:"hidden",cursor:"default","& *":{visibility:"hidden"},"&::before":{display:"block",content:'" "',top:0,bottom:0,left:0,right:0,zIndex:"var(--unstable_pseudo-zIndex)",borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"--unstable_wave-bg":"rgba(255 255 255 / 0.1)"}},"rectangular"===e.variant&&(0,r.Z)({borderRadius:"min(0.15em, 6px)",height:"auto",width:"100%","&::before":{position:"absolute"}},!e.animation&&{backgroundColor:t.vars.palette.background.level2},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level])),"circular"===e.variant&&(0,r.Z)({borderRadius:"50%",width:"100%",height:"100%","&::before":{position:"absolute"}},!e.animation&&{backgroundColor:t.vars.palette.background.level2},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level])),"text"===e.variant&&(0,r.Z)({borderRadius:"min(0.15em, 6px)",background:"transparent",width:"100%"},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level||s],{paddingBlockStart:`calc((${(null==(a=t.typography[e.level||s])?void 0:a.lineHeight)||1} - 1) * 0.56em)`,paddingBlockEnd:`calc((${(null==(i=t.typography[e.level||s])?void 0:i.lineHeight)||1} - 1) * 0.44em)`,"&::before":(0,r.Z)({height:"1em"},t.typography[e.level||s],"wave"===e.animation&&{backgroundColor:t.vars.palette.background.level2},!e.animation&&{backgroundColor:t.vars.palette.background.level2}),"&::after":(0,r.Z)({height:"1em",top:`calc((${(null==(o=t.typography[e.level||s])?void 0:o.lineHeight)||1} - 1) * 0.56em)`},t.typography[e.level||s])})),"inline"===e.variant&&(0,r.Z)({display:"inline",position:"initial",borderRadius:"min(0.15em, 6px)"},!e.animation&&{backgroundColor:t.vars.palette.background.level2},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level]),{"-webkit-mask-image":"-webkit-radial-gradient(white, black)","&::before":{position:"absolute",zIndex:"var(--unstable_pseudo-zIndex)",backgroundColor:t.vars.palette.background.level2}},"pulse"===e.animation&&{"&::after":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:"var(--unstable_pseudo-zIndex)",backgroundColor:t.vars.palette.background.level2}}),"overlay"===e.variant&&(0,r.Z)({borderRadius:t.vars.radius.xs,position:"absolute",width:"100%",height:"100%",zIndex:"var(--unstable_pseudo-zIndex)"},"pulse"===e.animation&&{backgroundColor:t.vars.palette.background.surface},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level]),{"&::before":{position:"absolute"}})]}),v=i.forwardRef(function(e,t){let n=(0,d.Z)({props:e,name:"JoySkeleton"}),{className:s,component:l="span",children:c,animation:u="pulse",overlay:p=!1,loading:g=!0,variant:E="overlay",level:h="text"===E?"body1":"inherit",height:S,width:y,sx:T,slots:A={},slotProps:R={}}=n,I=(0,a.Z)(n,f),v=(0,r.Z)({},I,{component:l,slots:A,slotProps:R,sx:[{width:y,height:S},...Array.isArray(T)?T:[T]]}),w=(0,r.Z)({},n,{animation:u,component:l,level:h,loading:g,overlay:p,variant:E,width:y,height:S}),k=_(w),[C,O]=(0,m.Z)("root",{ref:t,className:(0,o.Z)(k.root,s),elementType:N,externalForwardedProps:v,ownerState:w});return g?(0,b.jsx)(C,(0,r.Z)({},O,{children:c})):(0,b.jsx)(i.Fragment,{children:i.Children.map(c,(e,t)=>0===t&&i.isValidElement(e)?i.cloneElement(e,{"data-first-child":""}):e)})});v.muiName="Skeleton";var w=v},56851:function(e,t){"use strict";t.Q=function(e){for(var t,n=[],a=String(e||""),r=a.indexOf(","),i=0,o=!1;!o;)-1===r&&(r=a.length,o=!0),((t=a.slice(i,r).trim())||!o)&&n.push(t),i=r+1,r=a.indexOf(",",i);return n}},78892:function(e){"use strict";e.exports=function(e,n){for(var a,r,i,o=e||"",s=n||"div",l={},c=0;c=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var a=n(46260),r=n(46195);e.exports=function(e){return a(e)||r(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},89435:function(e){"use strict";var t;e.exports=function(e){var n,a="&"+e+";";return(t=t||document.createElement("i")).innerHTML=a,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==a&&n}},57574:function(e,t,n){"use strict";var a=n(37452),r=n(93580),i=n(46195),o=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),p)n=t[i],o[i]=null==n?p[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,p,S,y,T,A,_,R,I,N,v,w,k,C,O,x,L,D,P,M=t.additional,F=t.nonTerminated,U=t.text,B=t.reference,G=t.warning,$=t.textContext,H=t.referenceContext,z=t.warningContext,V=t.position,j=t.indent||[],W=e.length,q=0,Y=-1,K=V.column||1,Z=V.line||1,X="",Q=[];for("string"==typeof M&&(M=M.charCodeAt(0)),x=J(),R=G?function(e,t){var n=J();n.column+=t,n.offset+=t,G.call(z,h[e],n,e)}:u,q--,W++;++q=55296&&n<=57343||n>1114111?(R(7,D),A=d(65533)):A in r?(R(6,D),A=r[A]):(N="",((i=A)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&R(6,D),A>65535&&(A-=65536,N+=d(A>>>10|55296),A=56320|1023&A),A=N+d(A))):C!==g&&R(4,D)),A?(ee(),x=J(),q=P-1,K+=P-k+1,Q.push(A),L=J(),L.offset++,B&&B.call(H,A,{start:x,end:L},e.slice(k-1,P)),x=L):(X+=y=e.slice(k-1,P),K+=y.length,q=P-1)}else 10===T&&(Z++,Y++,K=0),T==T?(X+=d(T),K++):ee();return Q.join("");function J(){return{line:Z,column:K,offset:q+(V.offset||0)}}function ee(){X&&(Q.push(X),U&&U.call($,X,{start:x,end:J()}),X="")}}(e,o)};var c={}.hasOwnProperty,d=String.fromCharCode,u=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},g="named",m="hexadecimal",b="decimal",f={};f[m]=16,f[b]=10;var E={};E[g]=s,E[b]=i,E[m]=o;var h={};h[1]="Named character references must be terminated by a semicolon",h[2]="Numeric character references must be terminated by a semicolon",h[3]="Named character references cannot be empty",h[4]="Numeric character references cannot be empty",h[5]="Named character references must be known",h[6]="Numeric character references cannot be disallowed",h[7]="Numeric character references cannot be outside the permissible Unicode range"},99560:function(e,t,n){"use strict";var a=n(66632),r=n(98805),i=n(57643),o="data";e.exports=function(e,t){var n,p,g,m=a(t),b=t,f=i;return m in e.normal?e.property[e.normal[m]]:(m.length>4&&m.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?b=o+(n=t.slice(5).replace(l,u)).charAt(0).toUpperCase()+n.slice(1):(g=(p=t).slice(4),t=l.test(g)?p:("-"!==(g=g.replace(c,d)).charAt(0)&&(g="-"+g),o+g)),f=r),new f(b,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function d(e){return"-"+e.toLowerCase()}function u(e){return e.charAt(1).toUpperCase()}},97247:function(e,t,n){"use strict";var a=n(19940),r=n(8289),i=n(5812),o=n(94397),s=n(67716),l=n(61805);e.exports=a([i,r,o,s,l])},67716:function(e,t,n){"use strict";var a=n(17e3),r=n(17596),i=a.booleanish,o=a.number,s=a.spaceSeparated;e.exports=r({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},61805:function(e,t,n){"use strict";var a=n(17e3),r=n(17596),i=n(10855),o=a.boolean,s=a.overloadedBoolean,l=a.booleanish,c=a.number,d=a.spaceSeparated,u=a.commaSeparated;e.exports=r({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:u,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:d,coords:c|u,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:u,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:c,rowSpan:c,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:u,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})},10855:function(e,t,n){"use strict";var a=n(28740);e.exports=function(e,t){return a(e,t.toLowerCase())}},28740:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},17596:function(e,t,n){"use strict";var a=n(66632),r=n(99607),i=n(98805);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,d=e.transform,u={},p={};for(t in c)n=new i(t,d(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),u[t]=n,p[a(t)]=t,p[a(n.attribute)]=t;return new r(u,p,o)}},98805:function(e,t,n){"use strict";var a=n(57643),r=n(17e3);e.exports=s,s.prototype=new a,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,d,u=-1;for(s&&(this.space=s),a.call(this,e,t);++u1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return p[n]||(p[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),p[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return u(u({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===r?{}:r),a)})}else f=u(u({},s),{},{className:s.className.join(" ")});var T=E(n.children);return l.createElement(g,(0,c.Z)({key:o},f),T)}}({node:e,stylesheet:n,useInlineStyles:a,key:"code-segement".concat(t)})})}function A(e){return e&&void 0!==e.highlightAuto}var _=n(98695),R=(a=n.n(_)(),r={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,s=e.style,c=void 0===s?r:s,d=e.customStyle,u=void 0===d?{}:d,p=e.codeTagProps,m=void 0===p?{className:t?"language-".concat(t):void 0,style:b(b({},c['code[class*="language-"]']),c['code[class*="language-'.concat(t,'"]')])}:p,_=e.useInlineStyles,R=void 0===_||_,I=e.showLineNumbers,N=void 0!==I&&I,v=e.showInlineLineNumbers,w=void 0===v||v,k=e.startingLineNumber,C=void 0===k?1:k,O=e.lineNumberContainerStyle,x=e.lineNumberStyle,L=void 0===x?{}:x,D=e.wrapLines,P=e.wrapLongLines,M=void 0!==P&&P,F=e.lineProps,U=void 0===F?{}:F,B=e.renderer,G=e.PreTag,$=void 0===G?"pre":G,H=e.CodeTag,z=void 0===H?"code":H,V=e.code,j=void 0===V?(Array.isArray(n)?n[0]:n)||"":V,W=e.astGenerator,q=(0,i.Z)(e,g);W=W||a;var Y=N?l.createElement(E,{containerStyle:O,codeStyle:m.style||{},numberStyle:L,startingLineNumber:C,codeString:j}):null,K=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},Z=A(W)?"hljs":"prismjs",X=R?Object.assign({},q,{style:Object.assign({},K,u)}):Object.assign({},q,{className:q.className?"".concat(Z," ").concat(q.className):Z,style:Object.assign({},u)});if(M?m.style=b(b({},m.style),{},{whiteSpace:"pre-wrap"}):m.style=b(b({},m.style),{},{whiteSpace:"pre"}),!W)return l.createElement($,X,Y,l.createElement(z,m,j));(void 0===D&&B||M)&&(D=!0),B=B||T;var Q=[{type:"text",value:j}],J=function(e){var t=e.astGenerator,n=e.language,a=e.code,r=e.defaultCodeValue;if(A(t)){var i=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:r,language:"text"}:i?t.highlight(n,a):t.highlightAuto(a)}try{return n&&"text"!==n?{value:t.highlight(a,n)}:{value:r}}catch(e){return{value:r}}}({astGenerator:W,language:t,code:j,defaultCodeValue:Q});null===J.language&&(J.value=Q);var ee=J.value.length+C,et=function(e,t,n,a,r,i,s,l,c){var d,u=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return y({children:e,lineNumber:t,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:r,lineProps:n,className:i,showLineNumbers:a,wrapLongLines:c})}(e,i,o):function(e,t){if(a&&t&&r){var n=S(l,t,s);e.unshift(h(t,n))}return e}(e,i)}for(;m code[class*="language-"]':{background:"#272822",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8292a2"},prolog:{color:"#8292a2"},doctype:{color:"#8292a2"},cdata:{color:"#8292a2"},punctuation:{color:"#f8f8f2"},namespace:{Opacity:".7"},property:{color:"#f92672"},tag:{color:"#f92672"},constant:{color:"#f92672"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},boolean:{color:"#ae81ff"},number:{color:"#ae81ff"},selector:{color:"#a6e22e"},"attr-name":{color:"#a6e22e"},string:{color:"#a6e22e"},char:{color:"#a6e22e"},builtin:{color:"#a6e22e"},inserted:{color:"#a6e22e"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#e6db74"},"attr-value":{color:"#e6db74"},function:{color:"#e6db74"},"class-name":{color:"#e6db74"},keyword:{color:"#66d9ef"},regex:{color:"#fd971f"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}},11215:function(e,t,n){"use strict";var a,r,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(r=(a="Prism"in i)?i.Prism:void 0,function(){a?i.Prism=r:delete i.Prism,a=void 0,r=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),l=n(57574),c=n(59216),d=n(2717),u=n(12049),p=n(29726),g=n(36155);o();var m={}.hasOwnProperty;function b(){}b.prototype=c;var f=new b;function E(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===f.languages[e.displayName]&&e(f)}e.exports=f,f.highlight=function(e,t){var n,a=c.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===f.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(m.call(f.languages,t))n=f.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return a.call(this,e,n,t)},f.register=E,f.alias=function(e,t){var n,a,r,i,o=f.languages,s=e;for(n in t&&((s={})[e]=t),s)for(r=(a="string"==typeof(a=s[n])?[a]:a).length,i=-1;++i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},68313:function(e){"use strict";function t(e){var t;t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}e.exports=t,t.displayName="abnf",t.aliases=[]},5199:function(e){"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},89693:function(e){"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},24001:function(e){"use strict";function t(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}e.exports=t,t.displayName="agda",t.aliases=[]},18018:function(e){"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},36363:function(e){"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},35281:function(e){"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},10433:function(e,t,n){"use strict";var a=n(11114);function r(e){e.register(a),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return t.source});function a(e){return RegExp(e.replace(//g,function(){return n}),"i")}var r={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:a(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:r},{pattern:a(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:r},{pattern:a(/(?=\s*\w+\s*[;=,(){:])/.source),inside:r}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=r,r.displayName="apex",r.aliases=[]},84039:function(e){"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},71336:function(e){"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},4481:function(e){"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},2159:function(e,t,n){"use strict";var a=n(80096);function r(e){e.register(a),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=r,r.displayName="arduino",r.aliases=["ino"]},60274:function(e){"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},18738:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function a(e){e=e.split(" ");for(var t={},a=0,r=e.length;a>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},78734:function(e,t,n){"use strict";var a=n(61958);function r(e){e.register(a),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=r,r.displayName="aspnet",r.aliases=[]},6681:function(e){"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},53358:function(e){"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},81700:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]}),n||"")}var n=/bool|clip|float|int|string|val/.source,a=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[a],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},37219:function(e){"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},6979:function(e){"use strict";function t(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},a={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:a},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:a},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:a.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:a.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=a.variable[1].inside,o=0;o?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},94781:function(e){"use strict";function t(e){var t,n,a,r;t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},a=/"(?:[\\"]"|[^"])*"(?!")/,r=/(?:\b|-)\d+\b/,e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:a,parameter:n,variable:t,number:r,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:a,parameter:n,variable:t,number:r,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:a,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:r,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:a,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:r,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}e.exports=t,t.displayName="batch",t.aliases=[]},62260:function(e){"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},36153:function(e){"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},59258:function(e){"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},62890:function(e,t,n){"use strict";var a=n(65806);function r(e){e.register(a),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=r,r.displayName="bison",r.aliases=[]},15958:function(e){"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},61321:function(e){"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},77856:function(e){"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},90741:function(e){"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},83410:function(e){"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},65806:function(e){"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},33039:function(e){"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},85082:function(e,t,n){"use strict";var a=n(80096);function r(e){e.register(a),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=r,r.displayName="chaiscript",r.aliases=[]},79415:function(e){"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},29726:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},62849:function(e){"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},55773:function(e){"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},32762:function(e){"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},43576:function(e){"use strict";function t(e){var t,n;t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"},e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},71794:function(e){"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},1315:function(e){"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},80096:function(e,t,n){"use strict";var a=n(65806);function r(e){var t,n;e.register(a),t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}e.exports=r,r.displayName="cpp",r.aliases=[]},99176:function(e,t,n){"use strict";var a=n(56939);function r(e){e.register(a),e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}e.exports=r,r.displayName="crystal",r.aliases=[]},61958:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,a){return RegExp(t(e,n),a||"")}function a(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var r={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var o=i(r.typeDeclaration),s=RegExp(i(r.type+" "+r.typeDeclaration+" "+r.contextual+" "+r.other)),l=i(r.typeDeclaration+" "+r.contextual+" "+r.other),c=i(r.type+" "+r.typeDeclaration+" "+r.other),d=a(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),u=a(/\((?:[^()]|<>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,g=t(/<<0>>(?:\s*<<1>>)?/.source,[p,d]),m=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,g]),b=/\[\s*(?:,\s*)*\]/.source,f=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,b]),E=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,u,b]),h=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),S=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[h,m,b]),y={keyword:s,punctuation:/[<>()?,.:[\]]/},T=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,_=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[_]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:y},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,S]),lookbehind:!0,inside:y},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,g]),lookbehind:!0,inside:y},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:y},{pattern:n(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[f]),lookbehind:!0,inside:y},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,c,p]),inside:y}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[u]),lookbehind:!0,alias:"class-name",inside:y},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,m]),inside:y,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:y,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,d]),inside:{function:n(/^<<0>>/.source,[p]),generic:{pattern:RegExp(d),alias:"class-name",inside:y}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,g,p,S,s.source,u,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,u]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(S),greedy:!0,inside:y},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var R=A+"|"+T,I=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[R]),N=a(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),v=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,w=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,N]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[v,w]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[v]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[N]),inside:e.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var k=/:[^}\r\n]+/.source,C=a(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),O=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[C,k]),x=a(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[R]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[x,k]);function D(t,a){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[a,k]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[O]),lookbehind:!0,greedy:!0,inside:D(O,C)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:D(L,x)}],char:{pattern:RegExp(T),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:function(e,t,n){"use strict";var a=n(61958);function r(e){e.register(a),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function a(e,a){for(var r=0;r/g,function(){return"(?:"+e+")"});return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var r=a(/\((?:[^()'"@/]|||)*\)/.source,2),i=a(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=a(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=a(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,c=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,d=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+c+"|"+a(/<\1/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+c+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var a={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:a,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,number:r})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},12049:function(e){"use strict";function t(e){var t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},78090:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315:function(e){"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},7902:function(e){"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},28651:function(e){"use strict";function t(e){var t,n,a;t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[a,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},55579:function(e){"use strict";function t(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}e.exports=t,t.displayName="dataweave",t.aliases=[]},93685:function(e){"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},13934:function(e){"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},93336:function(e){"use strict";function t(e){var t;e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var a=t[n],r=[];/^\w+$/.test(n)||r.push(/\w+/.exec(n)[0]),"diff"===n&&r.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+a+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:r,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}e.exports=t,t.displayName="diff",t.aliases=[]},13294:function(e,t,n){"use strict";var a=n(93205);function r(e){var t,n;e.register(a),e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"],e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}e.exports=r,r.displayName="django",r.aliases=["jinja2"]},38223:function(e){"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},97266:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),a=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,r=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return a}),i={pattern:RegExp(a),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return r}).replace(//g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},80636:function(e){"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function a(e,n){return RegExp(e.replace(//g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:a(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:a(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:a(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:a(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},36500:function(e){"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},30296:function(e){"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},50115:function(e){"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},20791:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=r,r.displayName="ejs",r.aliases=["eta"]},11974:function(e){"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}e.exports=t,t.displayName="elixir",t.aliases=[]},8645:function(e){"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},84790:function(e,t,n){"use strict";var a=n(56939),r=n(93205);function i(e){e.register(a),e.register(r),e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}e.exports=i,i.displayName="erb",i.aliases=[]},4502:function(e){"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},66055:function(e,t,n){"use strict";var a=n(59803),r=n(93205);function i(e){e.register(a),e.register(r),e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}e.exports=i,i.displayName="etlua",i.aliases=[]},34668:function(e){"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},95126:function(e){"use strict";function t(e){var t,n,a,r,i,o;a={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(n={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},r=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return RegExp("(^|\\s)(?:"+e.map(r).join("|")+")(?=\\s|$)")},Object.keys(o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(e){a[e].pattern=i(o[e])}),a.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=a}e.exports=t,t.displayName="factor",t.aliases=[]},90618:function(e){"use strict";function t(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},37225:function(e){"use strict";function t(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}e.exports=t,t.displayName="flow",t.aliases=[]},16725:function(e){"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},95559:function(e){"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},82114:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var a={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};a.string[1].inside.interpolation.inside.rest=a,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}}},e.hooks.add("before-tokenize",function(n){var a=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",a)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(e)}e.exports=r,r.displayName="ftl",r.aliases=[]},6806:function(e){"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},12208:function(e){"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},62728:function(e){"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},81549:function(e){"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},6024:function(e){"use strict";function t(e){var t;t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}e.exports=t,t.displayName="gherkin",t.aliases=[]},13600:function(e){"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},3322:function(e,t,n){"use strict";var a=n(65806);function r(e){e.register(a),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=r,r.displayName="glsl",r.aliases=[]},53877:function(e){"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},60794:function(e){"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},20222:function(e){"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},51519:function(e){"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},94055:function(e){"use strict";function t(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n0)){var s=u(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&p(c,"variable-input")}}}}function d(e,a){a=a||0;for(var r=0;r]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:a,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}e.exports=t,t.displayName="groovy",t.aliases=[]},29536:function(e,t,n){"use strict";var a=n(56939);function r(e){e.register(a),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},a=0,r=t.length;a@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}),e.languages.hbs=e.languages.handlebars}e.exports=r,r.displayName="handlebars",r.aliases=["hbs"]},58090:function(e){"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},95121:function(e){"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},59904:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},9436:function(e,t,n){"use strict";var a=n(65806);function r(e){e.register(a),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=r,r.displayName="hlsl",r.aliases=[]},60591:function(e){"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},76942:function(e){"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},60561:function(e){"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},49660:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,a=e.languages,r={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},i={"application/json":!0,"application/xml":!0};for(var o in r)if(r[o]){n=n||{};var s=i[o]?function(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}(o):o;n[o.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+s+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:r[o]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},30615:function(e){"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},93865:function(e){"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},51078:function(e){"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,a={pattern:/''/,greedy:!0,alias:"operator"},r=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),i={pattern:RegExp(r),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(r),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:a,string:{pattern:n,greedy:!0,inside:{escape:a}}},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},91178:function(e,t,n){"use strict";var a=n(58090);function r(e){e.register(a),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=r,r.displayName="idris",r.aliases=["idr"]},40011:function(e){"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},12017:function(e){"use strict";function t(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},65175:function(e){"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},14970:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},30764:function(e){"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},15909:function(e){"use strict";function t(e){var t,n,a;t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[a,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}e.exports=t,t.displayName="java",t.aliases=[]},36553:function(e,t,n){"use strict";var a=n(15909),r=n(9858);function i(e){var t,n,i;e.register(a),e.register(r),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return n}),e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}e.exports=i,i.displayName="javadoc",i.aliases=[]},9858:function(e){"use strict";function t(e){var t;Object.defineProperty(t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var a="doc-comment",r=e.languages[t];if(r){var i=r[a];if(!i){var o={};o[a]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(r=e.languages.insertBefore(t,"comment",o))[a]}if(i instanceof RegExp&&(i=r[a]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},11223:function(e){"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},57957:function(e){"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},66604:function(e){"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},77935:function(e){"use strict";function t(e){var t,n,a,r;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),a={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},r=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:a},string:{pattern:n,lookbehind:!0,greedy:!0,inside:a},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},a.interpolation.inside.content.inside=r}e.exports=t,t.displayName="jq",t.aliases=[]},46155:function(e){"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],a=0;a=p.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var l=p[c],u="string"==typeof o?o:o.content,g=u.indexOf(l);if(-1!==g){++c;var m=u.substring(0,g),b=function(t){var n={};n["interpolation-punctuation"]=r;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,a.alias,t)}(d[l]),f=u.substring(g+l.length),E=[];if(m&&E.push(m),E.push(b),f){var h=[f];t(h),E.push.apply(E,h)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(E)),i+=E.length-1):o.content=E}}else{var S=o.content;Array.isArray(S)?t(S):t([S])}}}(u),new e.Token(o,u,"language-"+o,t)}(p,b,m)}}else t(d)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},25319:function(e,t,n){"use strict";var a=n(9858),r=n(4979);function i(e){var t,n,i;e.register(a),e.register(r),t=e.languages.javascript,i="(@(?:arg|argument|param|property)\\s+(?:"+(n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},45950:function(e){"use strict";function t(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},50235:function(e,t,n){"use strict";var a=n(45950);function r(e){var t;e.register(a),t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}e.exports=r,r.displayName="json5",r.aliases=[]},80963:function(e,t,n){"use strict";var a=n(45950);function r(e){e.register(a),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=r,r.displayName="jsonp",r.aliases=[]},79358:function(e){"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},96412:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return a}).replace(//g,function(){return r}),t)}r=i(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],a=0;a0&&n[n.length-1].tagName===o(r.content[0].content[1])&&n.pop():"/>"===r.content[r.content.length-1].content||n.push({tagName:o(r.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===r.type&&"{"===r.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===r.type&&"}"===r.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof r)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(r);a0&&("string"==typeof t[a-1]||"plain-text"===t[a-1].type)&&(l=o(t[a-1])+l,t.splice(a-1,1),a--),t[a]=new e.Token("plain-text",l,null,l)}r.content&&"string"!=typeof r.content&&s(r.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},39259:function(e){"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},32409:function(e){"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},35760:function(e){"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},19715:function(e){"use strict";function t(e){var t;e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},27614:function(e){"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},82819:function(e){"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},42876:function(e){"use strict";function t(e){var t,n;n={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},2980:function(e,t,n){"use strict";var a=n(93205),r=n(88262);function i(e){var t;e.register(a),e.register(r),e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}},t=e.languages.extend("markup",{}),e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}e.exports=i,i.displayName="latte",i.aliases=[]},41701:function(e){"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},42491:function(e,t,n){"use strict";var a=n(9997);function r(e){e.register(a),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var a=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};a["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=a,e.languages.ly=a}(e)}e.exports=r,r.displayName="lilypond",r.aliases=[]},34927:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var a=t[1];if("raw"===a&&!n)return n=!0,!0;if("endraw"===a)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=r,r.displayName="liquid",r.aliases=[]},3848:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var a=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,r="&"+a,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+a+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+a),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+a),alias:"property"},splice:{pattern:RegExp(",@?"+a),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+a),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(a)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+a+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+a),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+a+"(?:\\s+&?"+a+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+a),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(r),varform:{pattern:RegExp(/\(/.source+a+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+a),lookbehind:!0,alias:"variable"},rest:l},d="\\S+(?:\\s+\\S+)*",u={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+d),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+d),inside:c},keys:{pattern:RegExp("&key\\s+"+d+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(a),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=u,l.defun.inside.arguments=e.util.clone(u),l.defun.inside.arguments.inside.sublist=u,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},41469:function(e){"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},73070:function(e){"use strict";function t(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}e.exports=t,t.displayName="llvm",t.aliases=[]},35049:function(e){"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},8789:function(e){"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},59803:function(e){"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},86328:function(e){"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},33055:function(e){"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},90542:function(e){"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return a}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+i+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+i+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,a=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},93205:function(e){"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,a,r,i){if(n.language===a){var o=n.tokenStack=[];n.code=n.code.replace(r,function(e){if("function"==typeof i&&!i(e))return e;for(var r,s=o.length;-1!==n.code.indexOf(r=t(a,s));)++s;return o[s]=e,r}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,a){if(n.language===a&&n.tokenStack){n.grammar=e.languages[a];var r=0,i=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=i.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var d=i[r],u=n.tokenStack[d],p="string"==typeof c?c:c.content,g=t(a,d),m=p.indexOf(g);if(m>-1){++r;var b=p.substring(0,m),f=new e.Token(a,e.tokenize(u,n.grammar),"language-"+a,u),E=p.substring(m+g.length),h=[];b&&h.push.apply(h,o([b])),h.push(f),E&&h.push.apply(h,o([E])),"string"==typeof c?s.splice.apply(s,[l,1].concat(h)):c.content=h}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},2717:function(e){"use strict";function t(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var a={};a["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},a.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:a}};r["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:function(e){"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},91115:function(e){"use strict";function t(e){var t;t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}e.exports=t,t.displayName="maxscript",t.aliases=[]},606:function(e){"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},68582:function(e){"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},23388:function(e){"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},90596:function(e){"use strict";function t(e){var t,n;n="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},95721:function(e){"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},64262:function(e){"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},18190:function(e){"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},70896:function(e){"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},42242:function(e){"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},37943:function(e){"use strict";function t(e){var t,n;n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t=/\{[^\r\n\[\]{}]*\}/,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]},e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(e);!function(e){for(var t=[],n=0;n=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},83873:function(e){"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},75932:function(e){"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60221:function(e){"use strict";function t(e){var t;t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}e.exports=t,t.displayName="nginx",t.aliases=[]},44188:function(e){"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},74426:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},88447:function(e){"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},16032:function(e,t,n){"use strict";var a=n(65806);function r(e){e.register(a),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=r,r.displayName="objectivec",r.aliases=["objc"]},33607:function(e){"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},22001:function(e,t,n){"use strict";var a=n(65806);function r(e){var t;e.register(a),e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}e.exports=r,r.displayName="opencl",r.aliases=[]},22950:function(e){"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},23254:function(e){"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},92694:function(e){"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"].map(function(e){return e.split("").join(" *")}).join("|")+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},43273:function(e){"use strict";function t(e){var t;t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}e.exports=t,t.displayName="parser",t.aliases=[]},60718:function(e){"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},39303:function(e){"use strict";function t(e){var t,n,a,r;t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return t}),a=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},r=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=a[t],e},{}),a["class-name"].forEach(function(e){e.inside=r})}e.exports=t,t.displayName="pascaligo",t.aliases=[]},77393:function(e){"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},19023:function(e){"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},74212:function(e){"use strict";function t(e){var t;t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="perl",t.aliases=[]},5137:function(e,t,n){"use strict";var a=n(88262);function r(e){e.register(a),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=r,r.displayName="phpExtras",r.aliases=[]},88262:function(e,t,n){"use strict";var a=n(93205);function r(e){var t,n,r,i,o,s,l;e.register(a),t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/,e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:o},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}],e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}e.exports=r,r.displayName="php",r.aliases=[]},63632:function(e,t,n){"use strict";var a=n(88262),r=n(9858);function i(e){var t;e.register(a),e.register(r),t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},59149:function(e,t,n){"use strict";var a=n(11114);function r(e){e.register(a),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=r,r.displayName="plsql",r.aliases=[]},50256:function(e){"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},61777:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},3623:function(e){"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},82707:function(e){"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},59338:function(e){"use strict";function t(e){var t,n;n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}e.exports=t,t.displayName="promql",t.aliases=[]},56267:function(e){"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},98809:function(e){"use strict";function t(e){var t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}e.exports=t,t.displayName="protobuf",t.aliases=[]},37548:function(e){"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},82161:function(e){"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],a={},r=0,i=n.length;r",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",a)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},80625:function(e){"use strict";function t(e){var t;e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}e.exports=t,t.displayName="puppet",t.aliases=[]},88393:function(e){"use strict";function t(e){var t;e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var a=n;if("string"!=typeof n&&(a=n.alias,n=n.lang),e.languages[a]){var r={};r["inline-lang-"+a]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},r["inline-lang-"+a].inside.rest=e.util.clone(e.languages[a]),e.languages.insertBefore("pure","inline-lang",r)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},78404:function(e){"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},92923:function(e,t,n){"use strict";var a=n(58090);function r(e){e.register(a),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=r,r.displayName="purescript",r.aliases=["purs"]},52992:function(e){"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},55762:function(e){"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},4137:function(e){"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,a=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),r=0;r<2;r++)a=a.replace(//g,function(){return a});a=a.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},28260:function(e){"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},71360:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,a){return RegExp(t(e,n),a||"")}var a={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},r=RegExp("\\b(?:"+(a.type+" "+a.other).trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),s={keyword:r,punctuation:/[<>()?,.:[\]]/},l=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[l]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:s},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:s}],keyword:r,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var c=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[l]),0);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[c]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[c]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},29308:function(e){"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},32168:function(e,t,n){"use strict";var a=n(9997);function r(e){e.register(a),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=r,r.displayName="racket",r.aliases=["rkt"]},5755:function(e){"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},54105:function(e){"use strict";function t(e){var t,n,a,r,i;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=RegExp((a="(?:[^\\\\-]|"+(n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+a),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:r,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},35108:function(e){"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},46678:function(e){"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},47496:function(e){"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},30527:function(e){"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},5261:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function a(e,a){var r={};for(var i in r["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},a)r[i]=a[i];return r.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},r.variable=n,r.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:r}}var r={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:a("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:a("Variables"),"test-cases":a("Test Cases",{"test-name":i,documentation:r,property:o}),keywords:a("Keywords",{"keyword-name":i,documentation:r,property:o}),tasks:a("Tasks",{"task-name":i,documentation:r,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},56939:function(e){"use strict";function t(e){var t,n,a;e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",a=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+a),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+a+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},83648:function(e){"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},16009:function(e){"use strict";function t(e){var t,n,a,r,i,o,s,l,c,d,u,p,g,m,b,f,E,h;t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,a={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],u={function:d={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":r={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":a,punctuation:c=/[$%@.(){}\[\];,\\]/,string:l={pattern:RegExp(t),greedy:!0}},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},g={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},m={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},b={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},f=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,E={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return f}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return f}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:d,"arg-value":u["arg-value"],operator:u.operator,argument:u.arg,number:n,"numeric-constant":a,punctuation:c,string:l}},h={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":m,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":a,punctuation:c,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:h,"submit-statement":b,"global-statements":m,number:n,"numeric-constant":a,punctuation:c,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:h,"submit-statement":b,"global-statements":m,number:n,"numeric-constant":a,punctuation:c,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:u}},"cas-actions":E,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:u},step:o,keyword:h,function:d,format:p,altformat:g,"global-statements":m,number:n,"numeric-constant":a,punctuation:c,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,inside:u},"macro-keyword":i,"macro-variable":r,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":r,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:c}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":a}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:u},"cas-actions":E,comment:s,function:d,format:p,altformat:g,"numeric-constant":a,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:h,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:c}}e.exports=t,t.displayName="sas",t.aliases=[]},41720:function(e){"use strict";function t(e){var t,n;e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule,t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}e.exports=t,t.displayName="sass",t.aliases=[]},6054:function(e,t,n){"use strict";var a=n(15909);function r(e){e.register(a),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=r,r.displayName="scala",r.aliases=[]},9997:function(e){"use strict";function t(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}e.exports=t,t.displayName="scheme",t.aliases=[]},24296:function(e){"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},49246:function(e,t,n){"use strict";var a=n(6979);function r(e){var t;e.register(a),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=r,r.displayName="shellSession",r.aliases=[]},18890:function(e){"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},11037:function(e){"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},64020:function(e,t,n){"use strict";var a=n(93205);function r(e){var t,n;e.register(a),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return t.source}),"g"),e.hooks.add("before-tokenize",function(t){var a=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(a=!1),!a&&("{literal}"===e&&(a=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=r,r.displayName="smarty",r.aliases=[]},49760:function(e){"use strict";function t(e){var t;t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},33351:function(e){"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},13570:function(e){"use strict";function t(e){var t;t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}e.exports=t,t.displayName="solutionFile",t.aliases=[]},38181:function(e,t,n){"use strict";var a=n(93205);function r(e){var t,n;e.register(a),t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}e.exports=r,r.displayName="soy",r.aliases=[]},98774:function(e,t,n){"use strict";var a=n(24691);function r(e){e.register(a),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=r,r.displayName="sparql",r.aliases=["rq"]},22855:function(e){"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},29611:function(e){"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},11114:function(e){"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},67386:function(e){"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},28067:function(e){"use strict";function t(e){var t;t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}e.exports=t,t.displayName="stan",t.aliases=[]},49168:function(e){"use strict";function t(e){var t,n,a;(a={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:a}},a.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:a}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:a}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:a}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:a}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:a.interpolation}},rest:a}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:a.interpolation,comment:a.comment,punctuation:/[{},]/}},func:a.func,string:a.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:a.interpolation,punctuation:/[{}()\[\];:.]/}}e.exports=t,t.displayName="stylus",t.aliases=[]},23651:function(e){"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}e.exports=t,t.displayName="swift",t.aliases=[]},21483:function(e){"use strict";function t(e){var t,n;t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}e.exports=t,t.displayName="systemd",t.aliases=[]},32268:function(e,t,n){"use strict";var a=n(2329),r=n(61958);function i(e){e.register(a),e.register(r),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},2329:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var a=e.languages[n],r="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",a,r),"class-feature":t("\\+",a,r),standard:t("",a,r)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},82996:function(e,t,n){"use strict";var a=n(2329),r=n(53813);function i(e){e.register(a),e.register(r),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},17290:function(e,t,n){"use strict";var a=n(65039);function r(e){e.register(a),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=r,r.displayName="tap",r.aliases=[]},67989:function(e){"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},31065:function(e){"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function a(e,a){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),a||"")}var r={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:a(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:a(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:r},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:a(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:a(/(^[*#]+)+/.source),lookbehind:!0,inside:r},punctuation:/^[*#]+/}},table:{pattern:a(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:a(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:r},punctuation:/\||^\./}},inline:{pattern:a(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:a(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:a(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:a(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:a(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:a(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:a(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:a(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:a(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:r},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:a(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:a(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:a(/(^")+/.source),lookbehind:!0,inside:r},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:a(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:a(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:a(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:r},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var c=o.table.inside;c.inline=s.inline,c.link=s.link,c.image=s.image,c.footnote=s.footnote,c.acronym=s.acronym,c.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},85572:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},27536:function(e){"use strict";function t(e){var t;e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}e.exports=t,t.displayName="tremor",t.aliases=[]},87041:function(e,t,n){"use strict";var a=n(96412),r=n(4979);function i(e){var t,n;e.register(a),e.register(r),t=e.util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=i,i.displayName="tsx",i.aliases=[]},61028:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}e.exports=r,r.displayName="tt2",r.aliases=[]},24691:function(e){"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},19892:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}e.exports=r,r.displayName="twig",r.aliases=[]},4979:function(e){"use strict";function t(e){var t;e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},23159:function(e){"use strict";function t(e){var t;t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},34966:function(e){"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},44623:function(e){"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},38521:function(e){"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},7255:function(e){"use strict";function t(e){var t;t={pattern:/[\s\S]+/,inside:null},e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}e.exports=t,t.displayName="v",t.aliases=[]},28173:function(e){"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},53813:function(e,t,n){"use strict";var a=n(46241);function r(e){e.register(a),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=r,r.displayName="vbnet",r.aliases=[]},46891:function(e){"use strict";function t(e){var t;e.languages.velocity=e.languages.extend("markup",{}),(t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}e.exports=t,t.displayName="velocity",t.aliases=[]},91824:function(e){"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},9447:function(e){"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},53062:function(e){"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},46215:function(e){"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},10784:function(e){"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},17684:function(e){"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},64851:function(e){"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,a={};for(var r in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:a},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:a},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:a}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==r&&(a[r]=e.languages["web-idl"][r]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},18191:function(e){"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},75242:function(e){"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},93639:function(e){"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},97202:function(e){"use strict";function t(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},13808:function(e){"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,a={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",a),t("fsharp",a),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},21301:function(e){"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},20349:function(e){"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(a){for(var r=[],i=0;i0&&r[r.length-1].tagName===t(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(r.length>0)||"punctuation"!==o.type||"{"!==o.content||a[i+1]&&"punctuation"===a[i+1].type&&"{"===a[i+1].content||a[i-1]&&"plain-text"===a[i-1].type&&"{"===a[i-1].content?r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:"comment"!==o.type&&(s=!0):r[r.length-1].openedBraces++),(s||"string"==typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var l=t(o);i0&&("string"==typeof a[i-1]||"plain-text"===a[i-1].type)&&(l=t(a[i-1])+l,a.splice(i-1,1),i--),/^\s+$/.test(l)?a[i]=l:a[i]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},65039:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return"(?:"+r+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},96319:function(e){"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},31501:function(e){"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,a="\\b(?!"+n.source+")(?!\\d)\\w+\\b",r=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(r))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(a))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(i)).replace(//g,t(r))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(i)).replace(//g,t(r))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},59216:function(e,t,n){/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */var a=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},r={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach));A+=T.value.length,T=T.next){var _,R=T.value;if(n.length>t.length)return;if(!(R instanceof i)){var I=1;if(E){if(!(_=o(y,A,t,f))||_.index>=t.length)break;var N=_.index,v=_.index+_[0].length,w=A;for(w+=T.value.length;N>=w;)w+=(T=T.next).value.length;if(w-=T.value.length,A=w,T.value instanceof i)continue;for(var k=T;k!==n.tail&&(wd.reach&&(d.reach=L);var D=T.prev;O&&(D=l(n,D,O),A+=O.length),function(e,t,n){for(var a=t.next,r=0;r1){var M={cause:u+","+g,reach:L};e(t,n,a,T.prev,A,M),d&&M.reach>d.reach&&(d.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,i=0;a=n[i++];)a(t)}},Token:i};function i(e,t,n,a){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length}function o(e,t,n,a){e.lastIndex=t;var r=e.exec(n);if(r&&a&&r[1]){var i=r[1].length;r.index+=i,r[0]=r[0].slice(i)}return r}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var a=t.next,r={value:n,prev:t,next:a};return t.next=r,a.prev=r,e.length++,r}if(e.Prism=r,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach(function(t){a+=e(t,n)}),a}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),r.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(r.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),a=n.language,i=n.code,o=n.immediateClose;e.postMessage(r.highlight(i,r.languages[a],a)),o&&e.close()},!1)),r;var c=r.util.currentScript();function d(){r.manual||r.highlightAll()}if(c&&(r.filename=c.src,c.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var u=document.readyState;"loading"===u||"interactive"===u&&c&&c.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=a),void 0!==n.g&&(n.g.Prism=a)},36582:function(e,t){"use strict";t.Q=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)};var n=/[ \t\n\r\f]+/g},47529:function(e){e.exports=function(){for(var e={},n=0;n(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),c={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xa0",quot:"“"},d=["style","script"],u=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,p=/mailto:/i,g=/\n{2,}$/,m=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,b=/^ *> ?/gm,f=/^ {2,}\n/,E=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,h=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,S=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,y=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,T=/^(?:\n *)*\n/,A=/\r\n?/g,_=/^\[\^([^\]]+)](:.*)\n/,R=/^\[\^([^\]]+)]/,I=/\f/g,N=/^\s*?\[(x|\s)\]/,v=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,w=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,k=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,C=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,O=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,x=/^)/,L=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,D=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,P=/^\{.*\}$/,M=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,F=/^<([^ >]+@[^ >]+)>/,U=/^<([^ >]+:\/[^ >]+)>/,B=/-([a-z])?/gi,G=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,$=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,H=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,z=/^\[([^\]]*)\] ?\[([^\]]*)\]/,V=/(\[|\])/g,j=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,W=/\t/g,q=/^ *\| */,Y=/(^ *\||\| *$)/g,K=/ *$/,Z=/^ *:-+: *$/,X=/^ *:-+ *$/,Q=/^ *-+: *$/,J=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,ee=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,et=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,en=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,ea=/^\\([^0-9A-Za-z\s])/,er=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,ei=/^\n+/,eo=/^([ \t]*)/,es=/\\([^\\])/g,el=/ *\n+$/,ec=/(?:^|\n)( *)$/,ed="(?:\\d+\\.)",eu="(?:[*+-])";function ep(e){return"( *)("+(1===e?ed:eu)+") +"}let eg=ep(1),em=ep(2);function eb(e){return RegExp("^"+(1===e?eg:em))}let ef=eb(1),eE=eb(2);function eh(e){return RegExp("^"+(1===e?eg:em)+"[^\\n]*(?:\\n(?!\\1"+(1===e?ed:eu)+" )[^\\n]*)*(\\n|$)","gm")}let eS=eh(1),ey=eh(2);function eT(e){let t=1===e?ed:eu;return RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}let eA=eT(1),e_=eT(2);function eR(e,t){let n=1===t,a=n?eA:e_,i=n?eS:ey,o=n?ef:eE;return{t(e,t,n){let r=ec.exec(n);return r&&(t.o||!t._&&!t.u)?a.exec(e=r[1]+e):null},i:r.HIGH,l(e,t,a){let r=n?+e[2]:void 0,s=e[0].replace(g,"\n").match(i),l=!1;return{p:s.map(function(e,n){let r;let i=o.exec(e)[0].length,c=RegExp("^ {1,"+i+"}","gm"),d=e.replace(c,"").replace(o,""),u=n===s.length-1,p=-1!==d.indexOf("\n\n")||u&&l;l=p;let g=a._,m=a.o;a.o=!0,p?(a._=!1,r=d.replace(el,"\n\n")):(a._=!0,r=d.replace(el,""));let b=t(r,a);return a._=g,a.o=m,b}),m:n,g:r}},h:(t,n,a)=>e(t.m?"ol":"ul",{key:a.k,start:t.g},t.p.map(function(t,r){return e("li",{key:r},n(t,a))}))}}let eI=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,eN=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,ev=[m,h,S,v,k,w,x,G,eS,eA,ey,e_],ew=[...ev,/^[^\n]+(?: \n|\n{2,})/,C,D];function ek(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function eC(e){return Q.test(e)?"right":Z.test(e)?"center":X.test(e)?"left":null}function eO(e,t,n){let a=n.$;n.$=!0;let r=t(e.trim(),n);n.$=a;let i=[[]];return r.forEach(function(e,t){"tableSeparator"===e.type?0!==t&&t!==r.length-1&&i.push([]):("text"!==e.type||null!=r[t+1]&&"tableSeparator"!==r[t+1].type||(e.v=e.v.replace(K,"")),i[i.length-1].push(e))}),i}function ex(e,t,n){n._=!0;let a=eO(e[1],t,n),r=e[2].replace(Y,"").split("|").map(eC),i=e[3].trim().split("\n").map(function(e){return eO(e,t,n)});return n._=!1,{S:r,A:i,L:a,type:"table"}}function eL(e,t){return null==e.S[t]?{}:{textAlign:e.S[t]}}function eD(e){return function(t,n){return n._?e.exec(t):null}}function eP(e){return function(t,n){return n._||n.u?e.exec(t):null}}function eM(e){return function(t,n){return n._||n.u?null:e.exec(t)}}function eF(e){return function(t){return e.exec(t)}}function eU(e,t,n){if(t._||t.u||n&&!n.endsWith("\n"))return null;let a="";e.split("\n").every(e=>!ev.some(t=>t.test(e))&&(a+=e+"\n",e.trim()));let r=a.trimEnd();return""==r?null:[a,r]}function eB(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch(e){return null}return e}function eG(e){return e.replace(es,"$1")}function e$(e,t,n){let a=n._||!1,r=n.u||!1;n._=!0,n.u=!0;let i=e(t,n);return n._=a,n.u=r,i}function eH(e,t,n){return n._=!1,e(t,n)}let ez=(e,t,n)=>({v:e$(t,e[1],n)});function eV(){return{}}function ej(){return null}function eW(e,t,n){let a=e,r=t.split(".");for(;r.length&&void 0!==(a=a[r[0]]);)r.shift();return a||n}(a=r||(r={}))[a.MAX=0]="MAX",a[a.HIGH=1]="HIGH",a[a.MED=2]="MED",a[a.LOW=3]="LOW",a[a.MIN=4]="MIN",t.Z=e=>{let{children:t,options:n}=e,a=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}(e,s);return i.cloneElement(function(e,t={}){let n;t.overrides=t.overrides||{},t.slugify=t.slugify||ek,t.namedCodesToUnicode=t.namedCodesToUnicode?o({},c,t.namedCodesToUnicode):c;let a=t.createElement||i.createElement;function s(e,n,...r){let i=eW(t.overrides,`${e}.props`,{});return a(function(e,t){let n=eW(t,e);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:eW(t,`${e}.component`,e):e}(e,t.overrides),o({},n,i,{className:function(...e){return e.filter(Boolean).join(" ")}(null==n?void 0:n.className,i.className)||void 0}),...r)}function g(e){let n,a=!1;t.forceInline?a=!0:t.forceBlock||(a=!1===j.test(e));let r=es(Q(a?e:`${e.trimEnd().replace(ei,"")} + +`,{_:a}));for(;"string"==typeof r[r.length-1]&&!r[r.length-1].trim();)r.pop();if(null===t.wrapper)return r;let o=t.wrapper||(a?"span":"div");if(r.length>1||t.forceWrapper)n=r;else{if(1===r.length)return"string"==typeof(n=r[0])?s("span",{key:"outer"},n):n;n=null}return i.createElement(o,{key:"outer"},n)}function Y(e){let t=e.match(u);return t?t.reduce(function(e,t,n){let a=t.indexOf("=");if(-1!==a){var r,o;let s=(-1!==(r=t.slice(0,a)).indexOf("-")&&null===r.match(L)&&(r=r.replace(B,function(e,t){return t.toUpperCase()})),r).trim(),c=function(e){let t=e[0];return('"'===t||"'"===t)&&e.length>=2&&e[e.length-1]===t?e.slice(1,-1):e}(t.slice(a+1).trim()),d=l[s]||s,u=e[d]=(o=c,"style"===s?o.split(/;\s?/).reduce(function(e,t){let n=t.slice(0,t.indexOf(":"));return e[n.replace(/(-[a-z])/g,e=>e[1].toUpperCase())]=t.slice(n.length+1).trim(),e},{}):"href"===s?eB(o):(o.match(P)&&(o=o.slice(1,o.length-1)),"true"===o||"false"!==o&&o));"string"==typeof u&&(C.test(u)||D.test(u))&&(e[d]=i.cloneElement(g(u.trim()),{key:n}))}else"style"!==t&&(e[l[t]||t]=!0);return e},{}):null}let K=[],Z={},X={blockQuote:{t:eM(m),i:r.HIGH,l:(e,t,n)=>({v:t(e[0].replace(b,""),n)}),h:(e,t,n)=>s("blockquote",{key:n.k},t(e.v,n))},breakLine:{t:eF(f),i:r.HIGH,l:eV,h:(e,t,n)=>s("br",{key:n.k})},breakThematic:{t:eM(E),i:r.HIGH,l:eV,h:(e,t,n)=>s("hr",{key:n.k})},codeBlock:{t:eM(S),i:r.MAX,l:e=>({v:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(e,t,n)=>s("pre",{key:n.k},s("code",o({},e.O,{className:e.M?`lang-${e.M}`:""}),e.v))},codeFenced:{t:eM(h),i:r.MAX,l:e=>({O:Y(e[3]||""),v:e[4],M:e[2]||void 0,type:"codeBlock"})},codeInline:{t:eP(y),i:r.LOW,l:e=>({v:e[2]}),h:(e,t,n)=>s("code",{key:n.k},e.v)},footnote:{t:eM(_),i:r.MAX,l:e=>(K.push({I:e[2],j:e[1]}),{}),h:ej},footnoteReference:{t:eD(R),i:r.HIGH,l:e=>({v:e[1],B:`#${t.slugify(e[1])}`}),h:(e,t,n)=>s("a",{key:n.k,href:eB(e.B)},s("sup",{key:n.k},e.v))},gfmTask:{t:eD(N),i:r.HIGH,l:e=>({R:"x"===e[1].toLowerCase()}),h:(e,t,n)=>s("input",{checked:e.R,key:n.k,readOnly:!0,type:"checkbox"})},heading:{t:eM(t.enforceAtxHeadings?w:v),i:r.HIGH,l:(e,n,a)=>({v:e$(n,e[2],a),T:t.slugify(e[2]),C:e[1].length}),h:(e,t,n)=>s(`h${e.C}`,{id:e.T,key:n.k},t(e.v,n))},headingSetext:{t:eM(k),i:r.MAX,l:(e,t,n)=>({v:e$(t,e[1],n),C:"="===e[2]?1:2,type:"heading"})},htmlComment:{t:eF(x),i:r.HIGH,l:()=>({}),h:ej},image:{t:eP(eN),i:r.HIGH,l:e=>({D:e[1],B:eG(e[2]),F:e[3]}),h:(e,t,n)=>s("img",{key:n.k,alt:e.D||void 0,title:e.F||void 0,src:eB(e.B)})},link:{t:eD(eI),i:r.LOW,l:(e,t,n)=>({v:function(e,t,n){let a=n._||!1,r=n.u||!1;n._=!1,n.u=!0;let i=e(t,n);return n._=a,n.u=r,i}(t,e[1],n),B:eG(e[2]),F:e[3]}),h:(e,t,n)=>s("a",{key:n.k,href:eB(e.B),title:e.F},t(e.v,n))},linkAngleBraceStyleDetector:{t:eD(U),i:r.MAX,l:e=>({v:[{v:e[1],type:"text"}],B:e[1],type:"link"})},linkBareUrlDetector:{t:(e,t)=>t.N?null:eD(M)(e,t),i:r.MAX,l:e=>({v:[{v:e[1],type:"text"}],B:e[1],F:void 0,type:"link"})},linkMailtoDetector:{t:eD(F),i:r.MAX,l(e){let t=e[1],n=e[1];return p.test(n)||(n="mailto:"+n),{v:[{v:t.replace("mailto:",""),type:"text"}],B:n,type:"link"}}},orderedList:eR(s,1),unorderedList:eR(s,2),newlineCoalescer:{t:eM(T),i:r.LOW,l:eV,h:()=>"\n"},paragraph:{t:eU,i:r.LOW,l:ez,h:(e,t,n)=>s("p",{key:n.k},t(e.v,n))},ref:{t:eD($),i:r.MAX,l:e=>(Z[e[1]]={B:e[2],F:e[4]},{}),h:ej},refImage:{t:eP(H),i:r.MAX,l:e=>({D:e[1]||void 0,P:e[2]}),h:(e,t,n)=>s("img",{key:n.k,alt:e.D,src:eB(Z[e.P].B),title:Z[e.P].F})},refLink:{t:eD(z),i:r.MAX,l:(e,t,n)=>({v:t(e[1],n),Z:t(e[0].replace(V,"\\$1"),n),P:e[2]}),h:(e,t,n)=>Z[e.P]?s("a",{key:n.k,href:eB(Z[e.P].B),title:Z[e.P].F},t(e.v,n)):s("span",{key:n.k},t(e.Z,n))},table:{t:eM(G),i:r.HIGH,l:ex,h:(e,t,n)=>s("table",{key:n.k},s("thead",null,s("tr",null,e.L.map(function(a,r){return s("th",{key:r,style:eL(e,r)},t(a,n))}))),s("tbody",null,e.A.map(function(a,r){return s("tr",{key:r},a.map(function(a,r){return s("td",{key:r,style:eL(e,r)},t(a,n))}))})))},tableSeparator:{t:function(e,t){return t.$?(t._=!0,q.exec(e)):null},i:r.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:eF(er),i:r.MIN,l:e=>({v:e[0].replace(O,(e,n)=>t.namedCodesToUnicode[n]?t.namedCodesToUnicode[n]:e)}),h:e=>e.v},textBolded:{t:eP(J),i:r.MED,l:(e,t,n)=>({v:t(e[2],n)}),h:(e,t,n)=>s("strong",{key:n.k},t(e.v,n))},textEmphasized:{t:eP(ee),i:r.LOW,l:(e,t,n)=>({v:t(e[2],n)}),h:(e,t,n)=>s("em",{key:n.k},t(e.v,n))},textEscaped:{t:eP(ea),i:r.HIGH,l:e=>({v:e[1],type:"text"})},textMarked:{t:eP(et),i:r.LOW,l:ez,h:(e,t,n)=>s("mark",{key:n.k},t(e.v,n))},textStrikethroughed:{t:eP(en),i:r.LOW,l:ez,h:(e,t,n)=>s("del",{key:n.k},t(e.v,n))}};!0!==t.disableParsingRawHTML&&(X.htmlBlock={t:eF(C),i:r.HIGH,l(e,t,n){let[,a]=e[3].match(eo),r=RegExp(`^${a}`,"gm"),i=e[3].replace(r,""),o=ew.some(e=>e.test(i))?eH:e$,s=e[1].toLowerCase(),l=-1!==d.indexOf(s);n.N=n.N||"a"===s;let c=l?e[3]:o(t,i,n);return n.N=!1,{O:Y(e[2]),v:c,G:l,H:l?s:e[1]}},h:(e,t,n)=>s(e.H,o({key:n.k},e.O),e.G?e.v:t(e.v,n))},X.htmlSelfClosing={t:eF(D),i:r.HIGH,l:e=>({O:Y(e[2]||""),H:e[1]}),h:(e,t,n)=>s(e.H,o({},e.O,{key:n.k}))});let Q=((n=Object.keys(X)).sort(function(e,t){let n=X[e].i,a=X[t].i;return n!==a?n-a:e","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},93580:function(e){"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/847-4335b5938375e331.js b/pilot/server/static/_next/static/chunks/847-4335b5938375e331.js new file mode 100644 index 000000000..9e9842039 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/847-4335b5938375e331.js @@ -0,0 +1,39 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[847],{27704:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z"}}]},name:"delete",theme:"filled"},o=n(42135),l=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},36531:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"},o=n(42135),l=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},99611:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},o=n(42135),l=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},2093:function(e,t,n){var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},40411:function(e,t,n){n.d(t,{Z:function(){return R}});var r=n(94184),a=n.n(r),i=n(82225),o=n(67294),l=n(98787),s=n(96159),c=n(53124),u=n(76325),d=n(14747),m=n(98719),p=n(45503),f=n(67968);let g=new u.E4("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),b=new u.E4("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),h=new u.E4("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),v=new u.E4("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),$=new u.E4("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),y=new u.E4("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),x=e=>{let{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:a,motionDurationSlow:i,textFontSize:o,textFontSizeSM:l,statusSize:s,dotSize:c,textFontWeight:u,indicatorHeight:p,indicatorHeightSM:f,marginXS:x}=e,w=`${r}-scroll-number`,E=(0,m.Z)(e,(e,n)=>{let{darkColor:r}=n;return{[`&${t} ${t}-color-${e}`]:{background:r,[`&:not(${t}-count)`]:{color:r}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.indicatorZIndex,minWidth:p,height:p,color:e.badgeTextColor,fontWeight:u,fontSize:o,lineHeight:`${p}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:p/2,boxShadow:`0 0 0 ${a}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:f,height:f,fontSize:l,lineHeight:`${f}px`,borderRadius:f/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:c,minWidth:c,height:c,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${a}px ${e.badgeShadowColor}`},[`${t}-dot${w}`]:{transition:`background ${i}`},[`${t}-count, ${t}-dot, ${w}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:a,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:g,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:x,color:e.colorText,fontSize:e.fontSize}}}),E),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:b,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:h,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:v,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:$,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${w}-custom-component, ${t}-count`]:{transform:"none"},[`${w}-custom-component, ${w}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${w}`]:{overflow:"hidden",[`${w}-only`]:{position:"relative",display:"inline-block",height:p,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${w}-only-unit`]:{height:p,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${w}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${w}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},w=e=>{let{fontSize:t,lineHeight:n,lineWidth:r,marginXS:a,colorBorderBg:i}=e,o=e.colorBgContainer,l=e.colorError,s=e.colorErrorHover,c=(0,p.TS)(e,{badgeFontHeight:Math.round(t*n),badgeShadowSize:r,badgeTextColor:o,badgeColor:l,badgeColorHover:s,badgeShadowColor:i,badgeProcessingDuration:"1.2s",badgeRibbonOffset:a,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return c},E=e=>{let{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:a}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*n)-2*a,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}};var S=(0,f.Z)("Badge",e=>{let t=w(e);return[x(t)]},E);let O=e=>{let{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:a}=e,i=`${t}-ribbon`,o=`${t}-ribbon-wrapper`,l=(0,m.Z)(e,(e,t)=>{let{darkColor:n}=t;return{[`&${i}-color-${e}`]:{background:n,color:n}}});return{[`${o}`]:{position:"relative"},[`${i}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),{position:"absolute",top:r,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${n}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${i}-text`]:{color:e.colorTextLightSolid},[`${i}-corner`]:{position:"absolute",top:"100%",width:a,height:a,color:"currentcolor",border:`${a/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),l),{[`&${i}-placement-end`]:{insetInlineEnd:-a,borderEndEndRadius:0,[`${i}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${i}-placement-start`]:{insetInlineStart:-a,borderEndStartRadius:0,[`${i}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var N=(0,f.Z)(["Badge","Ribbon"],e=>{let t=w(e);return[O(t)]},E);function C(e){let t,{prefixCls:n,value:r,current:i,offset:l=0}=e;return l&&(t={position:"absolute",top:`${l}00%`,left:0}),o.createElement("span",{style:t,className:a()(`${n}-only-unit`,{current:i})},r)}function j(e){let t,n;let{prefixCls:r,count:a,value:i}=e,l=Number(i),s=Math.abs(a),[c,u]=o.useState(l),[d,m]=o.useState(s),p=()=>{u(l),m(s)};if(o.useEffect(()=>{let e=setTimeout(()=>{p()},1e3);return()=>{clearTimeout(e)}},[l]),c===l||Number.isNaN(l)||Number.isNaN(c))t=[o.createElement(C,Object.assign({},e,{key:l,current:!0}))],n={transition:"none"};else{t=[];let r=l+10,a=[];for(let e=l;e<=r;e+=1)a.push(e);let i=a.findIndex(e=>e%10===c);t=a.map((t,n)=>o.createElement(C,Object.assign({},e,{key:t,value:t%10,offset:n-i,current:n===i})));let u=dt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let I=o.forwardRef((e,t)=>{let{prefixCls:n,count:r,className:i,motionClassName:l,style:u,title:d,show:m,component:p="sup",children:f}=e,g=k(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:b}=o.useContext(c.E_),h=b("scroll-number",n),v=Object.assign(Object.assign({},g),{"data-show":m,style:u,className:a()(h,i,l),title:d}),$=r;if(r&&Number(r)%1==0){let e=String(r).split("");$=o.createElement("bdi",null,e.map((t,n)=>o.createElement(j,{prefixCls:h,count:Number(r),value:t,key:e.length-n})))}return(u&&u.borderColor&&(v.style=Object.assign(Object.assign({},u),{boxShadow:`0 0 0 1px ${u.borderColor} inset`})),f)?(0,s.Tm)(f,e=>({className:a()(`${h}-custom-component`,null==e?void 0:e.className,l)})):o.createElement(p,Object.assign({},v,{ref:t}),$)});var M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let Z=o.forwardRef((e,t)=>{var n,r,u,d,m;let{prefixCls:p,scrollNumberPrefixCls:f,children:g,status:b,text:h,color:v,count:$=null,overflowCount:y=99,dot:x=!1,size:w="default",title:E,offset:O,style:N,className:C,rootClassName:j,classNames:k,styles:Z,showZero:R=!1}=e,z=M(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:T,direction:W,badge:D}=o.useContext(c.E_),P=T("badge",p),[B,F]=S(P),H=$>y?`${y}+`:$,A="0"===H||0===H,_=null===$||A&&!R,L=(null!=b||null!=v)&&_,q=x&&!A,G=q?"":H,X=(0,o.useMemo)(()=>{let e=null==G||""===G;return(e||A&&!R)&&!q},[G,A,R,q]),V=(0,o.useRef)($);X||(V.current=$);let K=V.current,U=(0,o.useRef)(G);X||(U.current=G);let Y=U.current,Q=(0,o.useRef)(q);X||(Q.current=q);let J=(0,o.useMemo)(()=>{if(!O)return Object.assign(Object.assign({},null==D?void 0:D.style),N);let e={marginTop:O[1]};return"rtl"===W?e.left=parseInt(O[0],10):e.right=-parseInt(O[0],10),Object.assign(Object.assign(Object.assign({},e),null==D?void 0:D.style),N)},[W,O,N,null==D?void 0:D.style]),ee=null!=E?E:"string"==typeof K||"number"==typeof K?K:void 0,et=X||!h?null:o.createElement("span",{className:`${P}-status-text`},h),en=K&&"object"==typeof K?(0,s.Tm)(K,e=>({style:Object.assign(Object.assign({},J),e.style)})):void 0,er=(0,l.o2)(v,!1),ea=a()(null==k?void 0:k.indicator,null===(n=null==D?void 0:D.classNames)||void 0===n?void 0:n.indicator,{[`${P}-status-dot`]:L,[`${P}-status-${b}`]:!!b,[`${P}-color-${v}`]:er}),ei={};v&&!er&&(ei.color=v,ei.background=v);let eo=a()(P,{[`${P}-status`]:L,[`${P}-not-a-wrapper`]:!g,[`${P}-rtl`]:"rtl"===W},C,j,null==D?void 0:D.className,null===(r=null==D?void 0:D.classNames)||void 0===r?void 0:r.root,null==k?void 0:k.root,F);if(!g&&L){let e=J.color;return B(o.createElement("span",Object.assign({},z,{className:eo,style:Object.assign(Object.assign(Object.assign({},null==Z?void 0:Z.root),null===(u=null==D?void 0:D.styles)||void 0===u?void 0:u.root),J)}),o.createElement("span",{className:ea,style:Object.assign(Object.assign(Object.assign({},null==Z?void 0:Z.indicator),null===(d=null==D?void 0:D.styles)||void 0===d?void 0:d.indicator),ei)}),h&&o.createElement("span",{style:{color:e},className:`${P}-status-text`},h)))}return B(o.createElement("span",Object.assign({ref:t},z,{className:eo,style:Object.assign(Object.assign({},null===(m=null==D?void 0:D.styles)||void 0===m?void 0:m.root),null==Z?void 0:Z.root)}),g,o.createElement(i.ZP,{visible:!X,motionName:`${P}-zoom`,motionAppear:!1,motionDeadline:1e3},e=>{var t,n;let{className:r,ref:i}=e,l=T("scroll-number",f),s=Q.current,c=a()(null==k?void 0:k.indicator,null===(t=null==D?void 0:D.classNames)||void 0===t?void 0:t.indicator,{[`${P}-dot`]:s,[`${P}-count`]:!s,[`${P}-count-sm`]:"small"===w,[`${P}-multiple-words`]:!s&&Y&&Y.toString().length>1,[`${P}-status-${b}`]:!!b,[`${P}-color-${v}`]:er}),u=Object.assign(Object.assign(Object.assign({},null==Z?void 0:Z.indicator),null===(n=null==D?void 0:D.styles)||void 0===n?void 0:n.indicator),J);return v&&!er&&((u=u||{}).background=v),o.createElement(I,{prefixCls:l,show:!X,motionClassName:r,className:c,count:Y,title:ee,style:u,key:"scrollNumber",ref:i},en)}),et))});Z.Ribbon=e=>{let{className:t,prefixCls:n,style:r,color:i,children:s,text:u,placement:d="end",rootClassName:m}=e,{getPrefixCls:p,direction:f}=o.useContext(c.E_),g=p("ribbon",n),b=(0,l.o2)(i,!1),h=a()(g,`${g}-placement-${d}`,{[`${g}-rtl`]:"rtl"===f,[`${g}-color-${i}`]:b},t),[v,$]=N(g),y={},x={};return i&&!b&&(y.background=i,x.color=i),v(o.createElement("div",{className:a()(`${g}-wrapper`,m,$)},s,o.createElement("div",{className:a()(h,$),style:Object.assign(Object.assign({},y),r)},o.createElement("span",{className:`${g}-text`},u),o.createElement("div",{className:`${g}-corner`,style:x}))))};var R=Z},85813:function(e,t,n){n.d(t,{Z:function(){return Q}});var r=n(94184),a=n.n(r),i=n(98423),o=n(67294),l=n(53124),s=n(98675),c=e=>{let{prefixCls:t,className:n,style:r,size:i,shape:l}=e,s=a()({[`${t}-lg`]:"large"===i,[`${t}-sm`]:"small"===i}),c=a()({[`${t}-circle`]:"circle"===l,[`${t}-square`]:"square"===l,[`${t}-round`]:"round"===l}),u=o.useMemo(()=>"number"==typeof i?{width:i,height:i,lineHeight:`${i}px`}:{},[i]);return o.createElement("span",{className:a()(t,s,c,n),style:Object.assign(Object.assign({},u),r)})},u=n(76325),d=n(67968),m=n(45503);let p=new u.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),f=e=>({height:e,lineHeight:`${e}px`}),g=e=>Object.assign({width:e},f(e)),b=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:p,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),h=e=>Object.assign({width:5*e,minWidth:5*e},f(e)),v=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},g(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},g(a)),[`${t}${t}-sm`]:Object.assign({},g(i))}},$=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:n},h(t)),[`${r}-lg`]:Object.assign({},h(a)),[`${r}-sm`]:Object.assign({},h(i))}},y=e=>Object.assign({width:e},f(e)),x=e=>{let{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:a}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:a},y(2*n)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},y(n)),{maxWidth:4*n,maxHeight:4*n}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},w=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},E=e=>Object.assign({width:2*e,minWidth:2*e},f(e)),S=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:t,width:2*r,minWidth:2*r},E(r))},w(e,r,n)),{[`${n}-lg`]:Object.assign({},E(a))}),w(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},E(i))}),w(e,i,`${n}-sm`))},O=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:a,skeletonButtonCls:i,skeletonInputCls:o,skeletonImageCls:l,controlHeight:s,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:m,marginSM:p,borderRadius:f,titleHeight:h,blockRadius:y,paragraphLiHeight:w,controlHeightXS:E,paragraphMarginTop:O}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:m,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},g(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},g(c)),[`${n}-sm`]:Object.assign({},g(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:h,background:d,borderRadius:y,[`+ ${a}`]:{marginBlockStart:u}},[`${a}`]:{padding:0,"> li":{width:"100%",height:w,listStyle:"none",background:d,borderRadius:y,"+ li":{marginBlockStart:E}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:f}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:p,[`+ ${a}`]:{marginBlockStart:O}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},S(e)),v(e)),$(e)),x(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${o}`]:{width:"100%"}},[`${t}${t}-active`]:{[` + ${r}, + ${a} > li, + ${n}, + ${i}, + ${o}, + ${l} + `]:Object.assign({},b(e))}}};var N=(0,d.Z)("Skeleton",e=>{let{componentCls:t}=e,n=(0,m.TS)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:1.5*e.controlHeight,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[O(n)]},e=>{let{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),C=n(87462),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},k=n(42135),I=o.forwardRef(function(e,t){return o.createElement(k.Z,(0,C.Z)({},e,{ref:t,icon:j}))}),M=n(74902),Z=e=>{let t=t=>{let{width:n,rows:r=2}=e;return Array.isArray(n)?n[t]:r-1===t?n:void 0},{prefixCls:n,className:r,style:i,rows:l}=e,s=(0,M.Z)(Array(l)).map((e,n)=>o.createElement("li",{key:n,style:{width:t(n)}}));return o.createElement("ul",{className:a()(n,r),style:i},s)},R=e=>{let{prefixCls:t,className:n,width:r,style:i}=e;return o.createElement("h3",{className:a()(t,n),style:Object.assign({width:r},i)})};function z(e){return e&&"object"==typeof e?e:{}}let T=e=>{let{prefixCls:t,loading:n,className:r,rootClassName:i,style:s,children:u,avatar:d=!1,title:m=!0,paragraph:p=!0,active:f,round:g}=e,{getPrefixCls:b,direction:h,skeleton:v}=o.useContext(l.E_),$=b("skeleton",t),[y,x]=N($);if(n||!("loading"in e)){let e,t;let n=!!d,l=!!m,u=!!p;if(n){let t=Object.assign(Object.assign({prefixCls:`${$}-avatar`},l&&!u?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),z(d));e=o.createElement("div",{className:`${$}-header`},o.createElement(c,Object.assign({},t)))}if(l||u){let e,r;if(l){let t=Object.assign(Object.assign({prefixCls:`${$}-title`},!n&&u?{width:"38%"}:n&&u?{width:"50%"}:{}),z(m));e=o.createElement(R,Object.assign({},t))}if(u){let e=Object.assign(Object.assign({prefixCls:`${$}-paragraph`},function(e,t){let n={};return e&&t||(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}(n,l)),z(p));r=o.createElement(Z,Object.assign({},e))}t=o.createElement("div",{className:`${$}-content`},e,r)}let b=a()($,{[`${$}-with-avatar`]:n,[`${$}-active`]:f,[`${$}-rtl`]:"rtl"===h,[`${$}-round`]:g},null==v?void 0:v.className,r,i,x);return y(o.createElement("div",{className:b,style:Object.assign(Object.assign({},null==v?void 0:v.style),s)},e,t))}return void 0!==u?u:null};T.Button=e=>{let{prefixCls:t,className:n,rootClassName:r,active:s,block:u=!1,size:d="default"}=e,{getPrefixCls:m}=o.useContext(l.E_),p=m("skeleton",t),[f,g]=N(p),b=(0,i.Z)(e,["prefixCls"]),h=a()(p,`${p}-element`,{[`${p}-active`]:s,[`${p}-block`]:u},n,r,g);return f(o.createElement("div",{className:h},o.createElement(c,Object.assign({prefixCls:`${p}-button`,size:d},b))))},T.Avatar=e=>{let{prefixCls:t,className:n,rootClassName:r,active:s,shape:u="circle",size:d="default"}=e,{getPrefixCls:m}=o.useContext(l.E_),p=m("skeleton",t),[f,g]=N(p),b=(0,i.Z)(e,["prefixCls","className"]),h=a()(p,`${p}-element`,{[`${p}-active`]:s},n,r,g);return f(o.createElement("div",{className:h},o.createElement(c,Object.assign({prefixCls:`${p}-avatar`,shape:u,size:d},b))))},T.Input=e=>{let{prefixCls:t,className:n,rootClassName:r,active:s,block:u,size:d="default"}=e,{getPrefixCls:m}=o.useContext(l.E_),p=m("skeleton",t),[f,g]=N(p),b=(0,i.Z)(e,["prefixCls"]),h=a()(p,`${p}-element`,{[`${p}-active`]:s,[`${p}-block`]:u},n,r,g);return f(o.createElement("div",{className:h},o.createElement(c,Object.assign({prefixCls:`${p}-input`,size:d},b))))},T.Image=e=>{let{prefixCls:t,className:n,rootClassName:r,style:i,active:s}=e,{getPrefixCls:c}=o.useContext(l.E_),u=c("skeleton",t),[d,m]=N(u),p=a()(u,`${u}-element`,{[`${u}-active`]:s},n,r,m);return d(o.createElement("div",{className:p},o.createElement("div",{className:a()(`${u}-image`,n),style:i},o.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${u}-image-svg`},o.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${u}-image-path`})))))},T.Node=e=>{let{prefixCls:t,className:n,rootClassName:r,style:i,active:s,children:c}=e,{getPrefixCls:u}=o.useContext(l.E_),d=u("skeleton",t),[m,p]=N(d),f=a()(d,`${d}-element`,{[`${d}-active`]:s},p,n,r),g=null!=c?c:o.createElement(I,null);return m(o.createElement("div",{className:f},o.createElement("div",{className:a()(`${d}-image`,n),style:i},g)))};var W=n(41625),D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},P=e=>{var{prefixCls:t,className:n,hoverable:r=!0}=e,i=D(e,["prefixCls","className","hoverable"]);let{getPrefixCls:s}=o.useContext(l.E_),c=s("card",t),u=a()(`${c}-grid`,n,{[`${c}-grid-hoverable`]:r});return o.createElement("div",Object.assign({},i,{className:u}))},B=n(14747);let F=e=>{let{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:a,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${a}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},(0,B.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},B.vS),{[` + > ${n}-typography, + > ${n}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},H=e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + ${a}px 0 0 0 ${n}, + 0 ${a}px 0 0 ${n}, + ${a}px ${a}px 0 0 ${n}, + ${a}px 0 0 0 ${n} inset, + 0 ${a}px 0 0 ${n} inset; + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},A=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${e.lineWidth}px ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},(0,B.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:2*e.cardActionsIconSize,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:`${a*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${i}`}}})},_=e=>Object.assign(Object.assign({margin:`-${e.marginXXS}px 0`,display:"flex"},(0,B.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},B.vS),"&-description":{color:e.colorTextDescription}}),L=e=>{let{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},q=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},G=e=>{let{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:a,colorBorderSecondary:i,boxShadowTertiary:o,cardPaddingBase:l,extraColor:s}=e;return{[n]:Object.assign(Object.assign({},(0,B.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:o},[`${n}-head`]:F(e),[`${n}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},(0,B.dF)()),[`${n}-grid`]:H(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${n}-actions`]:A(e),[`${n}-meta`]:_(e)}),[`${n}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{[`${n}-head-title, ${n}-extra`]:{paddingTop:a}}},[`${n}-type-inner`]:L(e),[`${n}-loading`]:q(e),[`${n}-rtl`]:{direction:"rtl"}}},X=e=>{let{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${n}px`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:r,paddingTop:0,display:"flex",alignItems:"center"}}}}};var V=(0,d.Z)("Card",e=>{let t=(0,m.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[G(t),X(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let U=o.forwardRef((e,t)=>{let n;let{prefixCls:r,className:c,rootClassName:u,style:d,extra:m,headStyle:p={},bodyStyle:f={},title:g,loading:b,bordered:h=!0,size:v,type:$,cover:y,actions:x,tabList:w,children:E,activeTabKey:S,defaultActiveTabKey:O,tabBarExtraContent:N,hoverable:C,tabProps:j={}}=e,k=K(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:I,direction:M,card:Z}=o.useContext(l.E_),R=o.useMemo(()=>{let e=!1;return o.Children.forEach(E,t=>{t&&t.type&&t.type===P&&(e=!0)}),e},[E]),z=I("card",r),[D,B]=V(z),F=o.createElement(T,{loading:!0,active:!0,paragraph:{rows:4},title:!1},E),H=void 0!==S,A=Object.assign(Object.assign({},j),{[H?"activeKey":"defaultActiveKey"]:H?S:O,tabBarExtraContent:N}),_=(0,s.Z)(v),L=w?o.createElement(W.Z,Object.assign({size:_&&"default"!==_?_:"large"},A,{className:`${z}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:w.map(e=>{var{tab:t}=e;return Object.assign({label:t},K(e,["tab"]))})})):null;(g||m||L)&&(n=o.createElement("div",{className:`${z}-head`,style:p},o.createElement("div",{className:`${z}-head-wrapper`},g&&o.createElement("div",{className:`${z}-head-title`},g),m&&o.createElement("div",{className:`${z}-extra`},m)),L));let q=y?o.createElement("div",{className:`${z}-cover`},y):null,G=o.createElement("div",{className:`${z}-body`,style:f},b?F:E),X=x&&x.length?o.createElement("ul",{className:`${z}-actions`},x.map((e,t)=>o.createElement("li",{style:{width:`${100/x.length}%`},key:`action-${t}`},o.createElement("span",null,e)))):null,U=(0,i.Z)(k,["onTabChange"]),Y=a()(z,null==Z?void 0:Z.className,{[`${z}-loading`]:b,[`${z}-bordered`]:h,[`${z}-hoverable`]:C,[`${z}-contain-grid`]:R,[`${z}-contain-tabs`]:w&&w.length,[`${z}-${_}`]:_,[`${z}-type-${$}`]:!!$,[`${z}-rtl`]:"rtl"===M},c,u,B),Q=Object.assign(Object.assign({},null==Z?void 0:Z.style),d);return D(o.createElement("div",Object.assign({ref:t},U,{className:Y,style:Q}),n,q,G,X))});var Y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};U.Grid=P,U.Meta=e=>{let{prefixCls:t,className:n,avatar:r,title:i,description:s}=e,c=Y(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:u}=o.useContext(l.E_),d=u("card",t),m=a()(`${d}-meta`,n),p=r?o.createElement("div",{className:`${d}-meta-avatar`},r):null,f=i?o.createElement("div",{className:`${d}-meta-title`},i):null,g=s?o.createElement("div",{className:`${d}-meta-description`},s):null,b=f||g?o.createElement("div",{className:`${d}-meta-detail`},f,g):null;return o.createElement("div",Object.assign({},c,{className:m}),p,b)};var Q=U},85265:function(e,t,n){n.d(t,{Z:function(){return B}});var r=n(94184),a=n.n(r),i=n(1413),o=n(97685),l=n(54535),s=n(8410),c=n(67294),u=c.createContext(null),d=c.createContext({}),m=n(4942),p=n(87462),f=n(82225),g=n(15105),b=n(64217),h=n(56790),v=function(e){var t=e.prefixCls,n=e.className,r=e.style,o=e.children,l=e.containerRef,s=e.id,u=e.onMouseEnter,m=e.onMouseOver,f=e.onMouseLeave,g=e.onClick,b=e.onKeyDown,v=e.onKeyUp,$=c.useContext(d).panel,y=(0,h.x1)($,l);return c.createElement(c.Fragment,null,c.createElement("div",(0,p.Z)({id:s,className:a()("".concat(t,"-content"),n),style:(0,i.Z)({},r),"aria-modal":"true",role:"dialog",ref:y},{onMouseEnter:u,onMouseOver:m,onMouseLeave:f,onClick:g,onKeyDown:b,onKeyUp:v}),o))},$=n(80334);function y(e){return"string"==typeof e&&String(Number(e))===e?((0,$.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var x={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},w=c.forwardRef(function(e,t){var n,r,l,s,d=e.prefixCls,h=e.open,$=e.placement,w=e.inline,E=e.push,S=e.forceRender,O=e.autoFocus,N=e.keyboard,C=e.rootClassName,j=e.rootStyle,k=e.zIndex,I=e.className,M=e.id,Z=e.style,R=e.motion,z=e.width,T=e.height,W=e.children,D=e.contentWrapperStyle,P=e.mask,B=e.maskClosable,F=e.maskMotion,H=e.maskClassName,A=e.maskStyle,_=e.afterOpenChange,L=e.onClose,q=e.onMouseEnter,G=e.onMouseOver,X=e.onMouseLeave,V=e.onClick,K=e.onKeyDown,U=e.onKeyUp,Y=c.useRef(),Q=c.useRef(),J=c.useRef();c.useImperativeHandle(t,function(){return Y.current}),c.useEffect(function(){if(h&&O){var e;null===(e=Y.current)||void 0===e||e.focus({preventScroll:!0})}},[h]);var ee=c.useState(!1),et=(0,o.Z)(ee,2),en=et[0],er=et[1],ea=c.useContext(u),ei=null!==(n=null!==(r=null===(l=!1===E?{distance:0}:!0===E?{}:E||{})||void 0===l?void 0:l.distance)&&void 0!==r?r:null==ea?void 0:ea.pushDistance)&&void 0!==n?n:180,eo=c.useMemo(function(){return{pushDistance:ei,push:function(){er(!0)},pull:function(){er(!1)}}},[ei]);c.useEffect(function(){var e,t;h?null==ea||null===(e=ea.push)||void 0===e||e.call(ea):null==ea||null===(t=ea.pull)||void 0===t||t.call(ea)},[h]),c.useEffect(function(){return function(){var e;null==ea||null===(e=ea.pull)||void 0===e||e.call(ea)}},[]);var el=P&&c.createElement(f.ZP,(0,p.Z)({key:"mask"},F,{visible:h}),function(e,t){var n=e.className,r=e.style;return c.createElement("div",{className:a()("".concat(d,"-mask"),n,H),style:(0,i.Z)((0,i.Z)({},r),A),onClick:B&&h?L:void 0,ref:t})}),es="function"==typeof R?R($):R,ec={};if(en&&ei)switch($){case"top":ec.transform="translateY(".concat(ei,"px)");break;case"bottom":ec.transform="translateY(".concat(-ei,"px)");break;case"left":ec.transform="translateX(".concat(ei,"px)");break;default:ec.transform="translateX(".concat(-ei,"px)")}"left"===$||"right"===$?ec.width=y(z):ec.height=y(T);var eu={onMouseEnter:q,onMouseOver:G,onMouseLeave:X,onClick:V,onKeyDown:K,onKeyUp:U},ed=c.createElement(f.ZP,(0,p.Z)({key:"panel"},es,{visible:h,forceRender:S,onVisibleChanged:function(e){null==_||_(e)},removeOnLeave:!1,leavedClassName:"".concat(d,"-content-wrapper-hidden")}),function(t,n){var r=t.className,o=t.style;return c.createElement("div",(0,p.Z)({className:a()("".concat(d,"-content-wrapper"),r),style:(0,i.Z)((0,i.Z)((0,i.Z)({},ec),o),D)},(0,b.Z)(e,{data:!0})),c.createElement(v,(0,p.Z)({id:M,containerRef:n,prefixCls:d,className:I,style:Z},eu),W))}),em=(0,i.Z)({},j);return k&&(em.zIndex=k),c.createElement(u.Provider,{value:eo},c.createElement("div",{className:a()(d,"".concat(d,"-").concat($),C,(s={},(0,m.Z)(s,"".concat(d,"-open"),h),(0,m.Z)(s,"".concat(d,"-inline"),w),s)),style:em,tabIndex:-1,ref:Y,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case g.Z.TAB:r===g.Z.TAB&&(a||document.activeElement!==J.current?a&&document.activeElement===Q.current&&(null===(n=J.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=Q.current)||void 0===t||t.focus({preventScroll:!0}));break;case g.Z.ESC:L&&N&&(e.stopPropagation(),L(e))}}},el,c.createElement("div",{tabIndex:0,ref:Q,style:x,"aria-hidden":"true","data-sentinel":"start"}),ed,c.createElement("div",{tabIndex:0,ref:J,style:x,"aria-hidden":"true","data-sentinel":"end"})))}),E=function(e){var t=e.open,n=e.prefixCls,r=e.placement,a=e.autoFocus,u=e.keyboard,m=e.width,p=e.mask,f=void 0===p||p,g=e.maskClosable,b=e.getContainer,h=e.forceRender,v=e.afterOpenChange,$=e.destroyOnClose,y=e.onMouseEnter,x=e.onMouseOver,E=e.onMouseLeave,S=e.onClick,O=e.onKeyDown,N=e.onKeyUp,C=e.panelRef,j=c.useState(!1),k=(0,o.Z)(j,2),I=k[0],M=k[1],Z=c.useState(!1),R=(0,o.Z)(Z,2),z=R[0],T=R[1];(0,s.Z)(function(){T(!0)},[]);var W=!!z&&void 0!==t&&t,D=c.useRef(),P=c.useRef();(0,s.Z)(function(){W&&(P.current=document.activeElement)},[W]);var B=c.useMemo(function(){return{panel:C}},[C]);if(!h&&!I&&!W&&$)return null;var F=(0,i.Z)((0,i.Z)({},e),{},{open:W,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===r?"right":r,autoFocus:void 0===a||a,keyboard:void 0===u||u,width:void 0===m?378:m,mask:f,maskClosable:void 0===g||g,inline:!1===b,afterOpenChange:function(e){var t,n;M(e),null==v||v(e),e||!P.current||null!==(t=D.current)&&void 0!==t&&t.contains(P.current)||null===(n=P.current)||void 0===n||n.focus({preventScroll:!0})},ref:D},{onMouseEnter:y,onMouseOver:x,onMouseLeave:E,onClick:S,onKeyDown:O,onKeyUp:N});return c.createElement(d.Provider,{value:B},c.createElement(l.Z,{open:W||h||I,autoDestroy:!1,getContainer:b,autoLock:f&&(W||I)},c.createElement(w,F)))},S=n(33603),O=n(53124),N=n(65223),C=n(69760),j=e=>{let{prefixCls:t,title:n,footer:r,extra:i,closeIcon:o,closable:l,onClose:s,headerStyle:u,drawerStyle:d,bodyStyle:m,footerStyle:p,children:f}=e,g=c.useCallback(e=>c.createElement("button",{type:"button",onClick:s,"aria-label":"Close",className:`${t}-close`},e),[s]),[b,h]=(0,C.Z)(l,o,g,void 0,!0),v=c.useMemo(()=>n||b?c.createElement("div",{style:u,className:a()(`${t}-header`,{[`${t}-header-close-only`]:b&&!n&&!i})},c.createElement("div",{className:`${t}-header-title`},h,n&&c.createElement("div",{className:`${t}-title`},n)),i&&c.createElement("div",{className:`${t}-extra`},i)):null,[b,h,i,u,t,n]),$=c.useMemo(()=>{if(!r)return null;let e=`${t}-footer`;return c.createElement("div",{className:e,style:p},r)},[r,p,t]);return c.createElement("div",{className:`${t}-wrapper-body`,style:d},v,c.createElement("div",{className:`${t}-body`,style:m},f),$)},k=n(4173),I=n(67968),M=n(45503),Z=e=>{let{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};let R=e=>{let{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:a,motionDurationSlow:i,motionDurationMid:o,padding:l,paddingLG:s,fontSizeLG:c,lineHeightLG:u,lineWidth:d,lineType:m,colorSplit:p,marginSM:f,colorIcon:g,colorIconHover:b,colorText:h,fontWeightStrong:v,footerPaddingBlock:$,footerPaddingInline:y}=e,x=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:a,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[x]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${x}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${x}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${x}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${x}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${l}px ${s}px`,fontSize:c,lineHeight:u,borderBottom:`${d}px ${m} ${p}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:f,color:g,fontWeight:v,fontSize:c,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${o}`,textRendering:"auto","&:focus, &:hover":{color:b,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:h,fontWeight:e.fontWeightStrong,fontSize:c,lineHeight:u},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${$}px ${y}px`,borderTop:`${d}px ${m} ${p}`},"&-rtl":{direction:"rtl"}}}};var z=(0,I.Z)("Drawer",e=>{let t=(0,M.TS)(e,{});return[R(t),Z(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),T=n(16569),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let D={distance:180},P=e=>{let{rootClassName:t,width:n,height:r,size:i="default",mask:o=!0,push:l=D,open:s,afterOpenChange:u,onClose:d,prefixCls:m,getContainer:p,style:f,className:g,visible:b,afterVisibleChange:h}=e,v=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:$,getPrefixCls:y,direction:x,drawer:w}=c.useContext(O.E_),C=y("drawer",m),[I,M]=z(C),Z=a()({"no-mask":!o,[`${C}-rtl`]:"rtl"===x},t,M),R=c.useMemo(()=>null!=n?n:"large"===i?736:378,[n,i]),P=c.useMemo(()=>null!=r?r:"large"===i?736:378,[r,i]),B={motionName:(0,S.m)(C,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},F=(0,T.H)();return I(c.createElement(k.BR,null,c.createElement(N.Ux,{status:!0,override:!0},c.createElement(E,Object.assign({prefixCls:C,onClose:d,maskMotion:B,motion:e=>({motionName:(0,S.m)(C,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},v,{open:null!=s?s:b,mask:o,push:l,width:R,height:P,style:Object.assign(Object.assign({},null==w?void 0:w.style),f),className:a()(null==w?void 0:w.className,g),rootClassName:Z,getContainer:void 0===p&&$?()=>$(document.body):p,afterOpenChange:null!=u?u:h,panelRef:F}),c.createElement(j,Object.assign({prefixCls:C},v,{onClose:d}))))))};P._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:r,placement:i="right"}=e,o=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=c.useContext(O.E_),s=l("drawer",t),[u,d]=z(s),m=a()(s,`${s}-pure`,`${s}-${i}`,d,r);return u(c.createElement("div",{className:m,style:n},c.createElement(j,Object.assign({prefixCls:s},o))))};var B=P},27494:function(e,t,n){n.d(t,{Z:function(){return eG}});var r=n(74902),a=n(94184),i=n.n(a),o=n(82225),l=n(67294),s=n(33603),c=n(65223);function u(e){let[t,n]=l.useState(e);return l.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var d=n(14747),m=n(50438),p=n(33507),f=n(45503),g=n(67968),b=e=>{let{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, + opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, + transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}};let h=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, + input[type='radio']:focus, + input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),v=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},$=e=>{let{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),h(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},v(e,e.controlHeightSM)),"&-large":Object.assign({},v(e,e.controlHeightLG))})}},y=e=>{let{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:a,labelRequiredMarkColor:i,labelColor:o,labelFontSize:l,labelHeight:s,labelColonMarginInlineStart:c,labelColonMarginInlineEnd:u,itemMarginBottom:p}=e;return{[t]:Object.assign(Object.assign({},(0,d.Wf)(e)),{marginBottom:p,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${a}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:s,color:o,fontSize:l,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:i,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:c,marginInlineEnd:u},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${a}-col-'"]):not([class*="' ${a}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:m.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},x=e=>{let{componentCls:t,formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},w=e=>{let{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},E=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),S=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:E(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},O=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, + .${r}-col-24${n}-label, + .${r}-col-xl-24${n}-label`]:E(e),[`@media (max-width: ${e.screenXSMax}px)`]:[S(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:E(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:E(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:E(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:E(e)}}}},N=(e,t)=>{let n=(0,f.TS)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t});return n};var C=(0,g.Z)("Form",(e,t)=>{let{rootPrefixCls:n}=t,r=N(e,n);return[$(r),y(r),b(r),x(r),w(r),O(r),(0,p.Z)(r),m.kr]},e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});let j=[];function k(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:`${t}-${r}`,error:e,errorStatus:n}}var I=e=>{let{help:t,helpStatus:n,errors:a=j,warnings:d=j,className:m,fieldId:p,onVisibleChanged:f}=e,{prefixCls:g}=l.useContext(c.Rk),b=`${g}-item-explain`,[,h]=C(g),v=(0,l.useMemo)(()=>(0,s.Z)(g),[g]),$=u(a),y=u(d),x=l.useMemo(()=>null!=t?[k(t,"help",n)]:[].concat((0,r.Z)($.map((e,t)=>k(e,"error","error",t))),(0,r.Z)(y.map((e,t)=>k(e,"warning","warning",t)))),[t,n,$,y]),w={};return p&&(w.id=`${p}_help`),l.createElement(o.ZP,{motionDeadline:v.motionDeadline,motionName:`${g}-show-help`,visible:!!x.length,onVisibleChanged:f},e=>{let{className:t,style:n}=e;return l.createElement("div",Object.assign({},w,{className:i()(b,t,m,h),style:n,role:"alert"}),l.createElement(o.V4,Object.assign({keys:x},(0,s.Z)(g),{motionName:`${g}-show-help-item`,component:!1}),e=>{let{key:t,error:n,errorStatus:r,className:a,style:o}=e;return l.createElement("div",{key:t,className:i()(a,{[`${b}-${r}`]:r}),style:o},n)}))})},M=n(43589),Z=n(53124),R=n(98866),z=n(97647),T=n(98675);let W=e=>"object"==typeof e&&null!=e&&1===e.nodeType,D=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,P=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightit||i>e&&o=t&&l>=n?i-e-r:o>t&&ln?o-t+a:0,F=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},H=(e,t)=>{var n,r,a,i;if("undefined"==typeof document)return[];let{scrollMode:o,block:l,inline:s,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!W(e))throw TypeError("Invalid target");let m=document.scrollingElement||document.documentElement,p=[],f=e;for(;W(f)&&d(f);){if((f=F(f))===m){p.push(f);break}null!=f&&f===document.body&&P(f)&&!P(document.documentElement)||null!=f&&P(f,u)&&p.push(f)}let g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,b=null!=(i=null==(a=window.visualViewport)?void 0:a.height)?i:innerHeight,{scrollX:h,scrollY:v}=window,{height:$,width:y,top:x,right:w,bottom:E,left:S}=e.getBoundingClientRect(),O="start"===l||"nearest"===l?x:"end"===l?E:x+$/2,N="center"===s?S+y/2:"end"===s?w:S,C=[];for(let e=0;e=0&&S>=0&&E<=b&&w<=g&&x>=a&&E<=c&&S>=u&&w<=i)break;let d=getComputedStyle(t),f=parseInt(d.borderLeftWidth,10),j=parseInt(d.borderTopWidth,10),k=parseInt(d.borderRightWidth,10),I=parseInt(d.borderBottomWidth,10),M=0,Z=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-k:0,z="offsetHeight"in t?t.offsetHeight-t.clientHeight-j-I:0,T="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,W="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(m===t)M="start"===l?O:"end"===l?O-b:"nearest"===l?B(v,v+b,b,j,I,v+O,v+O+$,$):O-b/2,Z="start"===s?N:"center"===s?N-g/2:"end"===s?N-g:B(h,h+g,g,f,k,h+N,h+N+y,y),M=Math.max(0,M+v),Z=Math.max(0,Z+h);else{M="start"===l?O-a-j:"end"===l?O-c+I+z:"nearest"===l?B(a,c,n,j,I+z,O,O+$,$):O-(a+n/2)+z/2,Z="start"===s?N-u-f:"center"===s?N-(u+r/2)+R/2:"end"===s?N-i+k+R:B(u,i,r,f,k+R,N,N+y,y);let{scrollLeft:e,scrollTop:o}=t;M=Math.max(0,Math.min(o+M/W,t.scrollHeight-n/W+z)),Z=Math.max(0,Math.min(e+Z/T,t.scrollWidth-r/T+R)),O+=o-M,N+=e-Z}C.push({el:t,top:M,left:Z})}return C},A=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"},_=["parentNode"];function L(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function q(e,t){if(!e.length)return;let n=e.join("_");if(t)return`${t}_${n}`;let r=_.includes(n);return r?`form_item_${n}`:n}function G(e,t,n,r,a,i){let o=r;return void 0!==i?o=i:n.validating?o="validating":e.length?o="error":t.length?o="warning":(n.touched||a&&n.validated)&&(o="success"),o}function X(e){let t=L(e);return t.join("_")}function V(e){let[t]=(0,M.cI)(),n=l.useRef({}),r=l.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let r=X(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=L(e),a=q(n,r.__INTERNAL__.name),i=a?document.getElementById(a):null;i&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(H(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:a,top:i,left:o}of H(e,A(t))){let e=i-n.top+n.bottom,t=o-n.left+n.right;a.scroll({top:e,left:t,behavior:r})}}(i,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:e=>{let t=X(e);return n.current[t]}}),[e,t]);return[r]}var K=n(37920),U=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let Y=l.forwardRef((e,t)=>{let n=l.useContext(R.Z),{getPrefixCls:r,direction:a,form:o}=l.useContext(Z.E_),{prefixCls:s,className:u,rootClassName:d,size:m,disabled:p=n,form:f,colon:g,labelAlign:b,labelWrap:h,labelCol:v,wrapperCol:$,hideRequiredMark:y,layout:x="horizontal",scrollToFirstError:w,requiredMark:E,onFinishFailed:S,name:O,style:N,feedbackIcons:j}=e,k=U(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),I=(0,T.Z)(m),W=l.useContext(K.Z),D=(0,l.useMemo)(()=>void 0!==E?E:o&&void 0!==o.requiredMark?o.requiredMark:!y,[y,E,o]),P=null!=g?g:null==o?void 0:o.colon,B=r("form",s),[F,H]=C(B),A=i()(B,`${B}-${x}`,{[`${B}-hide-required-mark`]:!1===D,[`${B}-rtl`]:"rtl"===a,[`${B}-${I}`]:I},H,null==o?void 0:o.className,u,d),[_]=V(f),{__INTERNAL__:L}=_;L.name=O;let q=(0,l.useMemo)(()=>({name:O,labelAlign:b,labelCol:v,labelWrap:h,wrapperCol:$,vertical:"vertical"===x,colon:P,requiredMark:D,itemRef:L.itemRef,form:_,feedbackIcons:j}),[O,b,v,$,x,P,D,_,j]);l.useImperativeHandle(t,()=>_);let G=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),_.scrollToField(t,n)}};return F(l.createElement(R.n,{disabled:p},l.createElement(z.q,{size:I},l.createElement(c.RV,Object.assign({},{validateMessages:W}),l.createElement(c.q3.Provider,{value:q},l.createElement(M.ZP,Object.assign({id:O},k,{name:O,onFinishFailed:e=>{if(null==S||S(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==w){G(w,t);return}o&&void 0!==o.scrollToFirstError&&G(o.scrollToFirstError,t)}},form:_,style:Object.assign(Object.assign({},null==o?void 0:o.style),N),className:A})))))))});var Q=n(30470),J=n(42550),ee=n(96159),et=n(50344);let en=()=>{let{status:e,errors:t=[],warnings:n=[]}=(0,l.useContext)(c.aM);return{status:e,errors:t,warnings:n}};en.Context=c.aM;var er=n(75164),ea=n(5110),ei=n(8410),eo=n(98423),el=n(74443);let es=(0,l.createContext)({}),ec=e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},eu=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},ed=(e,t)=>{let{componentCls:n,gridColumns:r}=e,a={};for(let e=r;e>=0;e--)0===e?(a[`${n}${t}-${e}`]={display:"none"},a[`${n}-push-${e}`]={insetInlineStart:"auto"},a[`${n}-pull-${e}`]={insetInlineEnd:"auto"},a[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},a[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},a[`${n}${t}-offset-${e}`]={marginInlineStart:0},a[`${n}${t}-order-${e}`]={order:0}):(a[`${n}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/r*100}%`,maxWidth:`${e/r*100}%`}],a[`${n}${t}-push-${e}`]={insetInlineStart:`${e/r*100}%`},a[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/r*100}%`},a[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/r*100}%`},a[`${n}${t}-order-${e}`]={order:e});return a},em=(e,t)=>ed(e,t),ep=(e,t,n)=>({[`@media (min-width: ${t}px)`]:Object.assign({},em(e,n))}),ef=(0,g.Z)("Grid",e=>[ec(e)]),eg=(0,g.Z)("Grid",e=>{let t=(0,f.TS)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[eu(t),em(t,""),em(t,"-xs"),Object.keys(n).map(e=>ep(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]});var eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function eh(e,t){let[n,r]=l.useState("string"==typeof e?e:""),a=()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;n{a()},[JSON.stringify(e),t]),n}let ev=l.forwardRef((e,t)=>{let{prefixCls:n,justify:r,align:a,className:o,style:s,children:c,gutter:u=0,wrap:d}=e,m=eb(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:p,direction:f}=l.useContext(Z.E_),[g,b]=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[h,v]=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),$=eh(a,h),y=eh(r,h),x=l.useRef(u),w=(0,el.ZP)();l.useEffect(()=>{let e=w.subscribe(e=>{v(e);let t=x.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&b(e)});return()=>w.unsubscribe(e)},[]);let E=p("row",n),[S,O]=ef(E),N=(()=>{let e=[void 0,void 0],t=Array.isArray(u)?u:[u,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(N[0]/2):void 0;k&&(j.marginLeft=k,j.marginRight=k),[,j.rowGap]=N;let[I,M]=N,R=l.useMemo(()=>({gutter:[I,M],wrap:d}),[I,M,d]);return S(l.createElement(es.Provider,{value:R},l.createElement("div",Object.assign({},m,{className:C,style:Object.assign(Object.assign({},j),s),ref:t}),c)))});var e$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey=["xs","sm","md","lg","xl","xxl"],ex=l.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=l.useContext(Z.E_),{gutter:a,wrap:o}=l.useContext(es),{prefixCls:s,span:c,order:u,offset:d,push:m,pull:p,className:f,children:g,flex:b,style:h}=e,v=e$(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),$=n("col",s),[y,x]=eg($),w={};ey.forEach(t=>{let n={},a=e[t];"number"==typeof a?n.span=a:"object"==typeof a&&(n=a||{}),delete v[t],w=Object.assign(Object.assign({},w),{[`${$}-${t}-${n.span}`]:void 0!==n.span,[`${$}-${t}-order-${n.order}`]:n.order||0===n.order,[`${$}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${$}-${t}-push-${n.push}`]:n.push||0===n.push,[`${$}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${$}-${t}-flex-${n.flex}`]:n.flex||"auto"===n.flex,[`${$}-rtl`]:"rtl"===r})});let E=i()($,{[`${$}-${c}`]:void 0!==c,[`${$}-order-${u}`]:u,[`${$}-offset-${d}`]:d,[`${$}-push-${m}`]:m,[`${$}-pull-${p}`]:p},f,w,x),S={};if(a&&a[0]>0){let e=a[0]/2;S.paddingLeft=e,S.paddingRight=e}return b&&(S.flex="number"==typeof b?`${b} ${b} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(b)?`0 0 ${b}`:b,!1!==o||S.minWidth||(S.minWidth=0)),y(l.createElement("div",Object.assign({},v,{style:Object.assign(Object.assign({},S),h),className:E,ref:t}),g))}),ew=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}};var eE=(0,g.b)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t,r=N(e,n);return[ew(r)]}),eS=e=>{let{prefixCls:t,status:n,wrapperCol:r,children:a,errors:o,warnings:s,_internalItemRender:u,extra:d,help:m,fieldId:p,marginBottom:f,onErrorVisibleChanged:g}=e,b=`${t}-item`,h=l.useContext(c.q3),v=r||h.wrapperCol||{},$=i()(`${b}-control`,v.className),y=l.useMemo(()=>Object.assign({},h),[h]);delete y.labelCol,delete y.wrapperCol;let x=l.createElement("div",{className:`${b}-control-input`},l.createElement("div",{className:`${b}-control-input-content`},a)),w=l.useMemo(()=>({prefixCls:t,status:n}),[t,n]),E=null!==f||o.length||s.length?l.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},l.createElement(c.Rk.Provider,{value:w},l.createElement(I,{fieldId:p,errors:o,warnings:s,help:m,helpStatus:n,className:`${b}-explain-connected`,onVisibleChanged:g})),!!f&&l.createElement("div",{style:{width:0,height:f}})):null,S={};p&&(S.id=`${p}_extra`);let O=d?l.createElement("div",Object.assign({},S,{className:`${b}-extra`}),d):null,N=u&&"pro_table_render"===u.mark&&u.render?u.render(e,{input:x,errorList:E,extra:O}):l.createElement(l.Fragment,null,x,E,O);return l.createElement(c.q3.Provider,{value:y},l.createElement(ex,Object.assign({},v,{className:$}),N),l.createElement(eE,{prefixCls:t}))},eO=n(87462),eN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},eC=n(42135),ej=l.forwardRef(function(e,t){return l.createElement(eC.Z,(0,eO.Z)({},e,{ref:t,icon:eN}))}),ek=n(88526),eI=n(10110),eM=n(39778),eZ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},eR=e=>{var t;let{prefixCls:n,label:r,htmlFor:a,labelCol:o,labelAlign:s,colon:u,required:d,requiredMark:m,tooltip:p}=e,[f]=(0,eI.Z)("Form"),{vertical:g,labelAlign:b,labelCol:h,labelWrap:v,colon:$}=l.useContext(c.q3);if(!r)return null;let y=o||h||{},x=`${n}-item-label`,w=i()(x,"left"===(s||b)&&`${x}-left`,y.className,{[`${x}-wrap`]:!!v}),E=r,S=!0===u||!1!==$&&!1!==u;S&&!g&&"string"==typeof r&&""!==r.trim()&&(E=r.replace(/[:|:]\s*$/,""));let O=p?"object"!=typeof p||l.isValidElement(p)?{title:p}:p:null;if(O){let{icon:e=l.createElement(ej,null)}=O,t=eZ(O,["icon"]),r=l.createElement(eM.Z,Object.assign({},t),l.cloneElement(e,{className:`${n}-item-tooltip`,title:""}));E=l.createElement(l.Fragment,null,E,r)}let N="optional"===m,C="function"==typeof m;C?E=m(E,{required:!!d}):N&&!d&&(E=l.createElement(l.Fragment,null,E,l.createElement("span",{className:`${n}-item-optional`,title:""},(null==f?void 0:f.optional)||(null===(t=ek.Z.Form)||void 0===t?void 0:t.optional))));let j=i()({[`${n}-item-required`]:d,[`${n}-item-required-mark-optional`]:N||C,[`${n}-item-no-colon`]:!S});return l.createElement(ex,Object.assign({},y,{className:w}),l.createElement("label",{htmlFor:a,className:j,title:"string"==typeof r?r:""},E))},ez=n(89739),eT=n(4340),eW=n(21640),eD=n(50888);let eP={success:ez.Z,warning:eW.Z,error:eT.Z,validating:eD.Z};function eB(e){let{children:t,errors:n,warnings:r,hasFeedback:a,validateStatus:o,prefixCls:s,meta:u,noStyle:d}=e,m=`${s}-item`,{feedbackIcons:p}=l.useContext(c.q3),f=G(n,r,u,null,!!a,o),{isFormItemInput:g,status:b}=l.useContext(c.aM),h=l.useMemo(()=>{var e;let t;if(a){let o=!0!==a&&a.icons||p,s=f&&(null===(e=null==o?void 0:o({status:f,errors:n,warnings:r}))||void 0===e?void 0:e[f]),c=f&&eP[f];t=!1!==s&&c?l.createElement("span",{className:i()(`${m}-feedback-icon`,`${m}-feedback-icon-${f}`)},s||l.createElement(c,null)):null}let o=!0,s=f||"";return d&&(o=g,s=(null!=f?f:b)||""),{status:s,errors:n,warnings:r,hasFeedback:!!a,feedbackIcon:t,isFormItemInput:o}},[f,a,d,g,b]);return l.createElement(c.aM.Provider,{value:h},t)}var eF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function eH(e){let{prefixCls:t,className:n,rootClassName:r,style:a,help:o,errors:s,warnings:d,validateStatus:m,meta:p,hasFeedback:f,hidden:g,children:b,fieldId:h,required:v,isRequired:$,onSubItemMetaChange:y}=e,x=eF(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),w=`${t}-item`,{requiredMark:E}=l.useContext(c.q3),S=l.useRef(null),O=u(s),N=u(d),C=null!=o,j=!!(C||s.length||d.length),k=!!S.current&&(0,ea.Z)(S.current),[I,M]=l.useState(null);(0,ei.Z)(()=>{if(j&&S.current){let e=getComputedStyle(S.current);M(parseInt(e.marginBottom,10))}},[j,k]);let Z=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?O:p.errors,n=e?N:p.warnings;return G(t,n,p,"",!!f,m)}(),R=i()(w,n,r,{[`${w}-with-help`]:C||O.length||N.length,[`${w}-has-feedback`]:Z&&f,[`${w}-has-success`]:"success"===Z,[`${w}-has-warning`]:"warning"===Z,[`${w}-has-error`]:"error"===Z,[`${w}-is-validating`]:"validating"===Z,[`${w}-hidden`]:g});return l.createElement("div",{className:R,style:a,ref:S},l.createElement(ev,Object.assign({className:`${w}-row`},(0,eo.Z)(x,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),l.createElement(eR,Object.assign({htmlFor:h},e,{requiredMark:E,required:null!=v?v:$,prefixCls:t})),l.createElement(eS,Object.assign({},e,p,{errors:O,warnings:N,prefixCls:t,status:Z,help:o,marginBottom:I,onErrorVisibleChanged:e=>{e||M(null)}}),l.createElement(c.qI.Provider,{value:y},l.createElement(eB,{prefixCls:t,meta:p,errors:p.errors,warnings:p.warnings,hasFeedback:f,validateStatus:Z},b)))),!!I&&l.createElement("div",{className:`${w}-margin-offset`,style:{marginBottom:-I}}))}let eA=l.memo(e=>{let{children:t}=e;return t},(e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function e_(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}let eL=function(e){let{name:t,noStyle:n,className:a,dependencies:o,prefixCls:s,shouldUpdate:u,rules:d,children:m,required:p,label:f,messageVariables:g,trigger:b="onChange",validateTrigger:h,hidden:v,help:$}=e,{getPrefixCls:y}=l.useContext(Z.E_),{name:x}=l.useContext(c.q3),w=function(e){if("function"==typeof e)return e;let t=(0,et.Z)(e);return t.length<=1?t[0]:t}(m),E="function"==typeof w,S=l.useContext(c.qI),{validateTrigger:O}=l.useContext(M.zb),N=void 0!==h?h:O,j=null!=t,k=y("form",s),[I,R]=C(k),z=l.useContext(M.ZM),T=l.useRef(),[W,D]=function(e){let[t,n]=l.useState(e),r=(0,l.useRef)(null),a=(0,l.useRef)([]),i=(0,l.useRef)(!1);return l.useEffect(()=>(i.current=!1,()=>{i.current=!0,er.Z.cancel(r.current),r.current=null}),[]),[t,function(e){i.current||(null===r.current&&(a.current=[],r.current=(0,er.Z)(()=>{r.current=null,n(e=>{let t=e;return a.current.forEach(e=>{t=e(t)}),t})})),a.current.push(e))}]}({}),[P,B]=(0,Q.Z)(()=>e_()),F=(e,t)=>{D(n=>{let a=Object.assign({},n),i=[].concat((0,r.Z)(e.name.slice(0,-1)),(0,r.Z)(t)),o=i.join("__SPLIT__");return e.destroy?delete a[o]:a[o]=e,a})},[H,A]=l.useMemo(()=>{let e=(0,r.Z)(P.errors),t=(0,r.Z)(P.warnings);return Object.values(W).forEach(n=>{e.push.apply(e,(0,r.Z)(n.errors||[])),t.push.apply(t,(0,r.Z)(n.warnings||[]))}),[e,t]},[W,P.errors,P.warnings]),_=function(){let{itemRef:e}=l.useContext(c.q3),t=l.useRef({});return function(n,r){let a=r&&"object"==typeof r&&r.ref,i=n.join("_");return(t.current.name!==i||t.current.originRef!==a)&&(t.current.name=i,t.current.originRef=a,t.current.ref=(0,J.sQ)(e(n),a)),t.current.ref}}();function G(t,r,o){return n&&!v?l.createElement(eB,{prefixCls:k,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:P,errors:H,warnings:A,noStyle:!0},t):l.createElement(eH,Object.assign({key:"row"},e,{className:i()(a,R),prefixCls:k,fieldId:r,isRequired:o,errors:H,warnings:A,meta:P,onSubItemMetaChange:F}),t)}if(!j&&!E&&!o)return I(G(w));let X={};return"string"==typeof f?X.label=f:t&&(X.label=String(t)),g&&(X=Object.assign(Object.assign({},X),g)),I(l.createElement(M.gN,Object.assign({},e,{messageVariables:X,trigger:b,validateTrigger:N,onMetaChange:e=>{let t=null==z?void 0:z.getKey(e.name);if(B(e.destroy?e_():e,!0),n&&!1!==$&&S){let n=e.name;if(e.destroy)n=T.current||n;else if(void 0!==t){let[e,a]=t;n=[e].concat((0,r.Z)(a)),T.current=n}S(e,n)}}}),(n,a,i)=>{let s=L(t).length&&a?a.name:[],c=q(s,x),m=void 0!==p?p:!!(d&&d.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(i);return t&&t.required&&!t.warningOnly}return!1})),f=Object.assign({},n),g=null;if(Array.isArray(w)&&j)g=w;else if(E&&(!(u||o)||j));else if(!o||E||j){if((0,ee.l$)(w)){let t=Object.assign(Object.assign({},w.props),f);if(t.id||(t.id=c),$||H.length>0||A.length>0||e.extra){let n=[];($||H.length>0)&&n.push(`${c}_help`),e.extra&&n.push(`${c}_extra`),t["aria-describedby"]=n.join(" ")}H.length>0&&(t["aria-invalid"]="true"),m&&(t["aria-required"]="true"),(0,J.Yr)(w)&&(t.ref=_(s,w));let n=new Set([].concat((0,r.Z)(L(b)),(0,r.Z)(L(N))));n.forEach(e=>{t[e]=function(){for(var t,n,r,a=arguments.length,i=Array(a),o=0;ot.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};Y.Item=eL,Y.List=e=>{var{prefixCls:t,children:n}=e,r=eq(e,["prefixCls","children"]);let{getPrefixCls:a}=l.useContext(Z.E_),i=a("form",t),o=l.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return l.createElement(M.aV,Object.assign({},r),(e,t,r)=>l.createElement(c.Rk.Provider,{value:o},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:r.errors,warnings:r.warnings})))},Y.ErrorList=I,Y.useForm=V,Y.useFormInstance=function(){let{form:e}=(0,l.useContext)(c.q3);return e},Y.useWatch=M.qo,Y.Provider=c.RV,Y.create=()=>{};var eG=Y},48928:function(e,t,n){n.d(t,{Z:function(){return ec}});var r=n(80882),a=n(87462),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},l=n(42135),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,a.Z)({},e,{ref:t,icon:o}))}),c=n(94184),u=n.n(c),d=n(4942),m=n(71002),p=n(97685),f=n(45987),g=n(15671),b=n(43144);function h(){return"function"==typeof BigInt}function v(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}function $(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",a=r.split("."),i=a[0]||"0",o=a[1]||"0";"0"===i&&"0"===o&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:i,decimalStr:o,fullStr:"".concat(l).concat(r)}}function y(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function x(e){var t=String(e);if(y(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return null!=r&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&E(t)?t.length-t.indexOf(".")-1:0}function w(e){var t=String(e);if(y(e)){if(e>Number.MAX_SAFE_INTEGER)return String(h()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":$("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),O=function(){function e(t){if((0,g.Z)(this,e),(0,d.Z)(this,"origin",""),(0,d.Z)(this,"number",void 0),(0,d.Z)(this,"empty",void 0),v(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return(0,b.Z)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(rNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":w(this.number):this.origin}}]),e}();function N(e){return h()?new S(e):new O(e)}function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var a=$(e),i=a.negativeStr,o=a.integerStr,l=a.decimalStr,s="".concat(t).concat(l),c="".concat(i).concat(o);if(n>=0){var u=Number(l[n]);return u>=5&&!r?C(N(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,r):0===n?c:"".concat(c).concat(t).concat(l.padEnd(n,"0").slice(0,n))}return".0"===s?c:"".concat(c).concat(s)}var j=n(67656),k=n(8410),I=n(42550),M=n(80334),Z=n(31131),R=function(){var e=(0,i.useState)(!1),t=(0,p.Z)(e,2),n=t[0],r=t[1];return(0,k.Z)(function(){r((0,Z.Z)())},[]),n},z=n(75164);function T(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,o=e.upDisabled,l=e.downDisabled,s=e.onStep,c=i.useRef(),m=i.useRef([]),p=i.useRef();p.current=s;var f=function(){clearTimeout(c.current)},g=function(e,t){e.preventDefault(),f(),p.current(t),c.current=setTimeout(function e(){p.current(t),c.current=setTimeout(e,200)},600)};if(i.useEffect(function(){return function(){f(),m.current.forEach(function(e){return z.Z.cancel(e)})}},[]),R())return null;var b="".concat(t,"-handler"),h=u()(b,"".concat(b,"-up"),(0,d.Z)({},"".concat(b,"-up-disabled"),o)),v=u()(b,"".concat(b,"-down"),(0,d.Z)({},"".concat(b,"-down-disabled"),l)),$=function(){return m.current.push((0,z.Z)(f))},y={unselectable:"on",role:"button",onMouseUp:$,onMouseLeave:$};return i.createElement("div",{className:"".concat(b,"-wrap")},i.createElement("span",(0,a.Z)({},y,{onMouseDown:function(e){g(e,!0)},"aria-label":"Increase Value","aria-disabled":o,className:h}),n||i.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),i.createElement("span",(0,a.Z)({},y,{onMouseDown:function(e){g(e,!1)},"aria-label":"Decrease Value","aria-disabled":l,className:v}),r||i.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function W(e){var t="number"==typeof e?w(e):$(e).fullStr;return t.includes(".")?$(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}var D=n(87887),P=function(){var e=(0,i.useRef)(0),t=function(){z.Z.cancel(e.current)};return(0,i.useEffect)(function(){return t},[]),function(n){t(),e.current=(0,z.Z)(function(){n()})}},B=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],F=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],H=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},A=function(e){var t=N(e);return t.isInvalidate()?null:t},_=i.forwardRef(function(e,t){var n,r,o,l=e.prefixCls,s=void 0===l?"rc-input-number":l,c=e.className,g=e.style,b=e.min,h=e.max,v=e.step,$=void 0===v?1:v,y=e.defaultValue,S=e.value,O=e.disabled,j=e.readOnly,Z=e.upHandler,R=e.downHandler,z=e.keyboard,D=e.controls,F=void 0===D||D,_=e.classNames,L=e.stringMode,q=e.parser,G=e.formatter,X=e.precision,V=e.decimalSeparator,K=e.onChange,U=e.onInput,Y=e.onPressEnter,Q=e.onStep,J=(0,f.Z)(e,B),ee="".concat(s,"-input"),et=i.useRef(null),en=i.useState(!1),er=(0,p.Z)(en,2),ea=er[0],ei=er[1],eo=i.useRef(!1),el=i.useRef(!1),es=i.useRef(!1),ec=i.useState(function(){return N(null!=S?S:y)}),eu=(0,p.Z)(ec,2),ed=eu[0],em=eu[1],ep=i.useCallback(function(e,t){return t?void 0:X>=0?X:Math.max(x(e),x($))},[X,$]),ef=i.useCallback(function(e){var t=String(e);if(q)return q(t);var n=t;return V&&(n=n.replace(V,".")),n.replace(/[^\w.-]+/g,"")},[q,V]),eg=i.useRef(""),eb=i.useCallback(function(e,t){if(G)return G(e,{userTyping:t,input:String(eg.current)});var n="number"==typeof e?w(e):e;if(!t){var r=ep(n,t);E(n)&&(V||r>=0)&&(n=C(n,V||".",r))}return n},[G,ep,V]),eh=i.useState(function(){var e=null!=y?y:S;return ed.isInvalidate()&&["string","number"].includes((0,m.Z)(e))?Number.isNaN(e)?"":e:eb(ed.toString(),!1)}),ev=(0,p.Z)(eh,2),e$=ev[0],ey=ev[1];function ex(e,t){ey(eb(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}eg.current=e$;var ew=i.useMemo(function(){return A(h)},[h,X]),eE=i.useMemo(function(){return A(b)},[b,X]),eS=i.useMemo(function(){return!(!ew||!ed||ed.isInvalidate())&&ew.lessEquals(ed)},[ew,ed]),eO=i.useMemo(function(){return!(!eE||!ed||ed.isInvalidate())&&ed.lessEquals(eE)},[eE,ed]),eN=(n=et.current,r=(0,i.useRef)(null),[function(){try{var e=n.selectionStart,t=n.selectionEnd,a=n.value,i=a.substring(0,e),o=a.substring(t);r.current={start:e,end:t,value:a,beforeTxt:i,afterTxt:o}}catch(e){}},function(){if(n&&r.current&&ea)try{var e=n.value,t=r.current,a=t.beforeTxt,i=t.afterTxt,o=t.start,l=e.length;if(e.endsWith(i))l=e.length-r.current.afterTxt.length;else if(e.startsWith(a))l=a.length;else{var s=a[o-1],c=e.indexOf(s,o-1);-1!==c&&(l=c+1)}n.setSelectionRange(l,l)}catch(e){(0,M.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(e.message))}}]),eC=(0,p.Z)(eN,2),ej=eC[0],ek=eC[1],eI=function(e){return ew&&!e.lessEquals(ew)?ew:eE&&!eE.lessEquals(e)?eE:null},eM=function(e){return!eI(e)},eZ=function(e,t){var n=e,r=eM(n)||n.isEmpty();if(n.isEmpty()||t||(n=eI(n)||n,r=!0),!j&&!O&&r){var a,i=n.toString(),o=ep(i,t);return o>=0&&!eM(n=N(C(i,".",o)))&&(n=N(C(i,".",o,!0))),n.equals(ed)||(a=n,void 0===S&&em(a),null==K||K(n.isEmpty()?null:H(L,n)),void 0===S&&ex(n,t)),n}return ed},eR=P(),ez=function e(t){if(ej(),eg.current=t,ey(t),!el.current){var n=N(ef(t));n.isNaN()||eZ(n,!0)}null==U||U(t),eR(function(){var n=t;q||(n=t.replace(/。/g,".")),n!==t&&e(n)})},eT=function(e){if((!e||!eS)&&(e||!eO)){eo.current=!1;var t,n=N(es.current?W($):$);e||(n=n.negate());var r=eZ((ed||N(0)).add(n.toString()),!1);null==Q||Q(H(L,r),{offset:es.current?W($):$,type:e?"up":"down"}),null===(t=et.current)||void 0===t||t.focus()}},eW=function(e){var t=N(ef(e$)),n=t;n=t.isNaN()?eZ(ed,e):eZ(t,e),void 0!==S?ex(ed,!1):n.isNaN()||ex(n,!1)};return(0,k.o)(function(){ed.isInvalidate()||ex(ed,!1)},[X]),(0,k.o)(function(){var e=N(S);em(e);var t=N(ef(e$));e.equals(t)&&eo.current&&!G||ex(e,eo.current)},[S]),(0,k.o)(function(){G&&ek()},[e$]),i.createElement("div",{className:u()(s,null==_?void 0:_.input,c,(o={},(0,d.Z)(o,"".concat(s,"-focused"),ea),(0,d.Z)(o,"".concat(s,"-disabled"),O),(0,d.Z)(o,"".concat(s,"-readonly"),j),(0,d.Z)(o,"".concat(s,"-not-a-number"),ed.isNaN()),(0,d.Z)(o,"".concat(s,"-out-of-range"),!ed.isInvalidate()&&!eM(ed)),o)),style:g,onFocus:function(){ei(!0)},onBlur:function(){eW(!1),ei(!1),eo.current=!1},onKeyDown:function(e){var t=e.key,n=e.shiftKey;eo.current=!0,es.current=n,"Enter"===t&&(el.current||(eo.current=!1),eW(!1),null==Y||Y(e)),!1!==z&&!el.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(eT("Up"===t||"ArrowUp"===t),e.preventDefault())},onKeyUp:function(){eo.current=!1,es.current=!1},onCompositionStart:function(){el.current=!0},onCompositionEnd:function(){el.current=!1,ez(et.current.value)},onBeforeInput:function(){eo.current=!0}},F&&i.createElement(T,{prefixCls:s,upNode:Z,downNode:R,upDisabled:eS,downDisabled:eO,onStep:eT}),i.createElement("div",{className:"".concat(ee,"-wrap")},i.createElement("input",(0,a.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":b,"aria-valuemax":h,"aria-valuenow":ed.isInvalidate()?null:ed.toString(),step:$},J,{ref:(0,I.sQ)(et,t),className:ee,value:e$,onChange:function(e){ez(e.target.value)},disabled:O,readOnly:j}))))}),L=i.forwardRef(function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,l=e.value,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,m=e.classes,p=e.className,g=e.classNames,b=(0,f.Z)(e,F),h=i.useRef(null);return i.createElement(j.Q,{inputElement:i.createElement(_,(0,a.Z)({prefixCls:o,disabled:n,classNames:g,ref:(0,I.sQ)(h,t)},b)),className:p,triggerFocus:function(e){h.current&&(0,D.nH)(h.current,e)},prefixCls:o,value:l,disabled:n,style:r,prefix:s,suffix:c,addonAfter:d,addonBefore:u,classes:m,classNames:g,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});L.displayName="InputNumber";var q=n(9708),G=n(53124),X=n(46735),V=n(98866),K=n(98675),U=n(65223),Y=n(4173),Q=n(47673),J=n(14747),ee=n(80110),et=n(67968),en=n(45503);let er=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:a}=e,i="lg"===t?a:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${n}-handler-up`]:{borderStartEndRadius:i},[`${n}-handler-down`]:{borderEndEndRadius:i}}}},ea=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorBorder:a,borderRadius:i,fontSizeLG:o,controlHeightLG:l,controlHeightSM:s,colorError:c,paddingInlineSM:u,colorTextDescription:d,motionDurationMid:m,handleHoverColor:p,paddingInline:f,paddingBlock:g,handleBg:b,handleActiveBg:h,colorTextDisabled:v,borderRadiusSM:$,borderRadiusLG:y,controlWidth:x,handleVisible:w,handleBorderColor:E}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(e)),(0,Q.ik)(e)),(0,Q.bi)(e,t)),{display:"inline-block",width:x,margin:0,padding:0,border:`${n}px ${r} ${a}`,borderRadius:i,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,borderRadius:y,[`input${t}-input`]:{height:l-2*n}},"&-sm":{padding:0,borderRadius:$,[`input${t}-input`]:{height:s-2*n,padding:`0 ${u}px`}},"&:hover":Object.assign({},(0,Q.pU)(e)),"&-focused":Object.assign({},(0,Q.M1)(e)),"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,J.Wf)(e)),(0,Q.s7)(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:y,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:$}},[`${t}-wrapper-disabled > ${t}-group-addon`]:Object.assign({},(0,Q.Xy)(e))}}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(e)),{width:"100%",padding:`${g}px ${f}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:i,outline:0,transition:`all ${m} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Q.nz)(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:Object.assign(Object.assign(Object.assign({[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:b,borderStartStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i,borderEndStartRadius:0,opacity:!0===w?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${m} linear ${m}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:d,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${E}`,transition:`all ${m} linear`,"&:active":{background:h},"&:hover":{height:"60%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{color:p}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,J.Ro)()),{color:d,transition:`all ${m} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:i},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${E}`,borderEndEndRadius:i}},er(e,"lg")),er(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` + ${t}-handler-up-disabled, + ${t}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${t}-handler-up-disabled:hover &-handler-up-inner, + ${t}-handler-down-disabled:hover &-handler-down-inner + `]:{color:v}})},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},ei=e=>{let{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:a,controlWidth:i,borderRadiusLG:o,borderRadiusSM:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,Q.ik)(e)),(0,Q.bi)(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:o},"&-sm":{borderRadius:l},[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,Q.pU)(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:`${n}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:r,marginInlineStart:a}}})}};var eo=(0,et.Z)("InputNumber",e=>{let t=(0,en.TS)(e,(0,Q.e5)(e));return[ea(t),ei(t),(0,ee.c)(t)]},e=>Object.assign(Object.assign({},(0,Q.TM)(e)),{controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:"auto",handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder})),el=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let es=i.forwardRef((e,t)=>{let{getPrefixCls:n,direction:a}=i.useContext(G.E_),o=i.useRef(null);i.useImperativeHandle(t,()=>o.current);let{className:l,rootClassName:c,size:d,disabled:m,prefixCls:p,addonBefore:f,addonAfter:g,prefix:b,bordered:h=!0,readOnly:v,status:$,controls:y}=e,x=el(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),w=n("input-number",p),[E,S]=eo(w),{compactSize:O,compactItemClassnames:N}=(0,Y.ri)(w,a),C=i.createElement(s,{className:`${w}-handler-up-inner`}),j=i.createElement(r.Z,{className:`${w}-handler-down-inner`});"object"==typeof y&&(C=void 0===y.upIcon?C:i.createElement("span",{className:`${w}-handler-up-inner`},y.upIcon),j=void 0===y.downIcon?j:i.createElement("span",{className:`${w}-handler-down-inner`},y.downIcon));let{hasFeedback:k,status:I,isFormItemInput:M,feedbackIcon:Z}=i.useContext(U.aM),R=(0,q.F)(I,$),z=(0,K.Z)(e=>{var t;return null!==(t=null!=d?d:O)&&void 0!==t?t:e}),T=i.useContext(V.Z),W=null!=m?m:T,D=u()({[`${w}-lg`]:"large"===z,[`${w}-sm`]:"small"===z,[`${w}-rtl`]:"rtl"===a,[`${w}-borderless`]:!h,[`${w}-in-form-item`]:M},(0,q.Z)(w,R),N,S),P=`${w}-group`,B=i.createElement(L,Object.assign({ref:o,disabled:W,className:u()(l,c),upHandler:C,downHandler:j,prefixCls:w,readOnly:v,controls:"boolean"==typeof y?y:void 0,prefix:b,suffix:k&&Z,addonAfter:g&&i.createElement(Y.BR,null,i.createElement(U.Ux,{override:!0,status:!0},g)),addonBefore:f&&i.createElement(Y.BR,null,i.createElement(U.Ux,{override:!0,status:!0},f)),classNames:{input:D},classes:{affixWrapper:u()((0,q.Z)(`${w}-affix-wrapper`,R,k),{[`${w}-affix-wrapper-sm`]:"small"===z,[`${w}-affix-wrapper-lg`]:"large"===z,[`${w}-affix-wrapper-rtl`]:"rtl"===a,[`${w}-affix-wrapper-borderless`]:!h},S),wrapper:u()({[`${P}-rtl`]:"rtl"===a,[`${w}-wrapper-disabled`]:W},S),group:u()({[`${w}-group-wrapper-sm`]:"small"===z,[`${w}-group-wrapper-lg`]:"large"===z,[`${w}-group-wrapper-rtl`]:"rtl"===a},(0,q.Z)(`${w}-group-wrapper`,R,k),S)}},x));return E(B)});es._InternalPanelDoNotUseOrYouWillBeFired=e=>i.createElement(X.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},i.createElement(es,Object.assign({},e)));var ec=es},33507:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/892-c40dbe9ae037747a.js b/pilot/server/static/_next/static/chunks/892-c40dbe9ae037747a.js deleted file mode 100644 index ee1a9b652..000000000 --- a/pilot/server/static/_next/static/chunks/892-c40dbe9ae037747a.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[892],{27704:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z"}}]},name:"delete",theme:"filled"},o=n(42135),l=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},36531:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"},o=n(42135),l=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},99611:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},o=n(42135),l=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},2093:function(e,t,n){var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},53575:function(e,t,n){n.d(t,{Z:function(){return k}});var r=n(94184),a=n.n(r),i=n(82225),o=n(67294),l=n(98787),s=n(96159),c=n(53124),u=n(77794),d=n(14747),m=n(98719),p=n(67968),f=n(45503);let g=new u.E4("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),b=new u.E4("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),h=new u.E4("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),v=new u.E4("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),$=new u.E4("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),y=new u.E4("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),x=e=>{let{componentCls:t,iconCls:n,antCls:r,badgeFontHeight:a,badgeShadowSize:i,badgeHeightSm:o,motionDurationSlow:l,badgeStatusSize:s,marginXS:c,badgeRibbonOffset:u}=e,p=`${r}-scroll-number`,f=`${r}-ribbon`,x=`${r}-ribbon-wrapper`,w=(0,m.Z)(e,(e,n)=>{let{darkColor:r}=n;return{[`&${t} ${t}-color-${e}`]:{background:r,[`&:not(${t}-count)`]:{color:r}}}}),E=(0,m.Z)(e,(e,t)=>{let{darkColor:n}=t;return{[`&${f}-color-${e}`]:{background:n,color:n}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.badgeZIndex,minWidth:e.badgeHeight,height:e.badgeHeight,color:e.badgeTextColor,fontWeight:e.badgeFontWeight,fontSize:e.badgeFontSize,lineHeight:`${e.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:e.badgeHeight/2,boxShadow:`0 0 0 ${i}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:o,height:o,fontSize:e.badgeFontSizeSm,lineHeight:`${o}px`,borderRadius:o/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`},[`${t}-dot`]:{zIndex:e.badgeZIndex,width:e.badgeDotSize,minWidth:e.badgeDotSize,height:e.badgeDotSize,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${i}px ${e.badgeShadowColor}`},[`${t}-dot${p}`]:{transition:`background ${l}`},[`${t}-count, ${t}-dot, ${p}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{position:"relative",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:i,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:g,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:c,color:e.colorText,fontSize:e.fontSize}}}),w),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:b,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:h,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:v,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:$,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${p}-custom-component, ${t}-count`]:{transform:"none"},[`${p}-custom-component, ${p}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${p}`]:{overflow:"hidden",[`${p}-only`]:{position:"relative",display:"inline-block",height:e.badgeHeight,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${p}-only-unit`]:{height:e.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${p}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${p}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${x}`]:{position:"relative"},[`${f}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),{position:"absolute",top:c,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${a}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${f}-text`]:{color:e.colorTextLightSolid},[`${f}-corner`]:{position:"absolute",top:"100%",width:u,height:u,color:"currentcolor",border:`${u/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),E),{[`&${f}-placement-end`]:{insetInlineEnd:-u,borderEndEndRadius:0,[`${f}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${f}-placement-start`]:{insetInlineStart:-u,borderEndStartRadius:0,[`${f}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var w=(0,p.Z)("Badge",e=>{let{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:a,marginXS:i,colorBorderBg:o}=e,l=Math.round(t*n),s=l-2*a,c=e.colorBgContainer,u=e.colorError,d=e.colorErrorHover,m=r/2,p=r/2,g=(0,f.TS)(e,{badgeFontHeight:l,badgeShadowSize:a,badgeZIndex:"auto",badgeHeight:s,badgeTextColor:c,badgeFontWeight:"normal",badgeFontSize:r,badgeColor:u,badgeColorHover:d,badgeShadowColor:o,badgeHeightSm:t,badgeDotSize:m,badgeFontSizeSm:r,badgeStatusSize:p,badgeProcessingDuration:"1.2s",badgeRibbonOffset:i,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[x(g)]});function E(e){let t,{prefixCls:n,value:r,current:i,offset:l=0}=e;return l&&(t={position:"absolute",top:`${l}00%`,left:0}),o.createElement("span",{style:t,className:a()(`${n}-only-unit`,{current:i})},r)}function S(e){let t,n;let{prefixCls:r,count:a,value:i}=e,l=Number(i),s=Math.abs(a),[c,u]=o.useState(l),[d,m]=o.useState(s),p=()=>{u(l),m(s)};if(o.useEffect(()=>{let e=setTimeout(()=>{p()},1e3);return()=>{clearTimeout(e)}},[l]),c===l||Number.isNaN(l)||Number.isNaN(c))t=[o.createElement(E,Object.assign({},e,{key:l,current:!0}))],n={transition:"none"};else{t=[];let r=l+10,a=[];for(let e=l;e<=r;e+=1)a.push(e);let i=a.findIndex(e=>e%10===c);t=a.map((t,n)=>o.createElement(E,Object.assign({},e,{key:t,value:t%10,offset:n-i,current:n===i})));let u=dt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let N=o.forwardRef((e,t)=>{let{prefixCls:n,count:r,className:i,motionClassName:l,style:u,title:d,show:m,component:p="sup",children:f}=e,g=O(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:b}=o.useContext(c.E_),h=b("scroll-number",n),v=Object.assign(Object.assign({},g),{"data-show":m,style:u,className:a()(h,i,l),title:d}),$=r;if(r&&Number(r)%1==0){let e=String(r).split("");$=e.map((t,n)=>o.createElement(S,{prefixCls:h,count:Number(r),value:t,key:e.length-n}))}return(u&&u.borderColor&&(v.style=Object.assign(Object.assign({},u),{boxShadow:`0 0 0 1px ${u.borderColor} inset`})),f)?(0,s.Tm)(f,e=>({className:a()(`${h}-custom-component`,null==e?void 0:e.className,l)})):o.createElement(p,Object.assign({},v,{ref:t}),$)});var j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let C=o.forwardRef((e,t)=>{var n,r,u,d,m;let{prefixCls:p,scrollNumberPrefixCls:f,children:g,status:b,text:h,color:v,count:$=null,overflowCount:y=99,dot:x=!1,size:E="default",title:S,offset:O,style:C,className:k,rootClassName:I,classNames:Z,styles:M,showZero:R=!1}=e,z=j(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:T,direction:W,badge:D}=o.useContext(c.E_),P=T("badge",p),[H,B]=w(P),A=$>y?`${y}+`:$,F="0"===A||0===A,_=null===$||F&&!R,L=(null!=b||null!=v)&&_,q=x&&!F,G=q?"":A,X=(0,o.useMemo)(()=>{let e=null==G||""===G;return(e||F&&!R)&&!q},[G,F,R,q]),V=(0,o.useRef)($);X||(V.current=$);let K=V.current,U=(0,o.useRef)(G);X||(U.current=G);let Y=U.current,Q=(0,o.useRef)(q);X||(Q.current=q);let J=(0,o.useMemo)(()=>{if(!O)return Object.assign(Object.assign({},null==D?void 0:D.style),C);let e={marginTop:O[1]};return"rtl"===W?e.left=parseInt(O[0],10):e.right=-parseInt(O[0],10),Object.assign(Object.assign(Object.assign({},e),null==D?void 0:D.style),C)},[W,O,C,null==D?void 0:D.style]),ee=null!=S?S:"string"==typeof K||"number"==typeof K?K:void 0,et=X||!h?null:o.createElement("span",{className:`${P}-status-text`},h),en=K&&"object"==typeof K?(0,s.Tm)(K,e=>({style:Object.assign(Object.assign({},J),e.style)})):void 0,er=(0,l.o2)(v,!1),ea=a()(null==Z?void 0:Z.indicator,null===(n=null==D?void 0:D.classNames)||void 0===n?void 0:n.indicator,{[`${P}-status-dot`]:L,[`${P}-status-${b}`]:!!b,[`${P}-color-${v}`]:er}),ei={};v&&!er&&(ei.color=v,ei.background=v);let eo=a()(P,{[`${P}-status`]:L,[`${P}-not-a-wrapper`]:!g,[`${P}-rtl`]:"rtl"===W},k,I,null==D?void 0:D.className,null===(r=null==D?void 0:D.classNames)||void 0===r?void 0:r.root,null==Z?void 0:Z.root,B);if(!g&&L){let e=J.color;return H(o.createElement("span",Object.assign({},z,{className:eo,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.root),null===(u=null==D?void 0:D.styles)||void 0===u?void 0:u.root),J)}),o.createElement("span",{className:ea,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null===(d=null==D?void 0:D.styles)||void 0===d?void 0:d.indicator),ei)}),h&&o.createElement("span",{style:{color:e},className:`${P}-status-text`},h)))}return H(o.createElement("span",Object.assign({ref:t},z,{className:eo,style:Object.assign(Object.assign({},null===(m=null==D?void 0:D.styles)||void 0===m?void 0:m.root),null==M?void 0:M.root)}),g,o.createElement(i.ZP,{visible:!X,motionName:`${P}-zoom`,motionAppear:!1,motionDeadline:1e3},e=>{var t,n;let{className:r,ref:i}=e,l=T("scroll-number",f),s=Q.current,c=a()(null==Z?void 0:Z.indicator,null===(t=null==D?void 0:D.classNames)||void 0===t?void 0:t.indicator,{[`${P}-dot`]:s,[`${P}-count`]:!s,[`${P}-count-sm`]:"small"===E,[`${P}-multiple-words`]:!s&&Y&&Y.toString().length>1,[`${P}-status-${b}`]:!!b,[`${P}-color-${v}`]:er}),u=Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null===(n=null==D?void 0:D.styles)||void 0===n?void 0:n.indicator),J);return v&&!er&&((u=u||{}).background=v),o.createElement(N,{prefixCls:l,show:!X,motionClassName:r,className:c,count:Y,title:ee,style:u,key:"scrollNumber",ref:i},en)}),et))});C.Ribbon=e=>{let{className:t,prefixCls:n,style:r,color:i,children:s,text:u,placement:d="end"}=e,{getPrefixCls:m,direction:p}=o.useContext(c.E_),f=m("ribbon",n),g=(0,l.o2)(i,!1),b=a()(f,`${f}-placement-${d}`,{[`${f}-rtl`]:"rtl"===p,[`${f}-color-${i}`]:g},t),[h,v]=w(f),$={},y={};return i&&!g&&($.background=i,y.color=i),h(o.createElement("div",{className:a()(`${f}-wrapper`,v)},s,o.createElement("div",{className:a()(b,v),style:Object.assign(Object.assign({},$),r)},o.createElement("span",{className:`${f}-text`},u),o.createElement("div",{className:`${f}-corner`,style:y}))))};var k=C},85813:function(e,t,n){n.d(t,{Z:function(){return Q}});var r=n(94184),a=n.n(r),i=n(98423),o=n(67294),l=n(53124),s=n(98675),c=e=>{let{prefixCls:t,className:n,style:r,size:i,shape:l}=e,s=a()({[`${t}-lg`]:"large"===i,[`${t}-sm`]:"small"===i}),c=a()({[`${t}-circle`]:"circle"===l,[`${t}-square`]:"square"===l,[`${t}-round`]:"round"===l}),u=o.useMemo(()=>"number"==typeof i?{width:i,height:i,lineHeight:`${i}px`}:{},[i]);return o.createElement("span",{className:a()(t,s,c,n),style:Object.assign(Object.assign({},u),r)})},u=n(77794),d=n(67968),m=n(45503);let p=new u.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),f=e=>({height:e,lineHeight:`${e}px`}),g=e=>Object.assign({width:e},f(e)),b=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:p,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),h=e=>Object.assign({width:5*e,minWidth:5*e},f(e)),v=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},g(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},g(a)),[`${t}${t}-sm`]:Object.assign({},g(i))}},$=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:n},h(t)),[`${r}-lg`]:Object.assign({},h(a)),[`${r}-sm`]:Object.assign({},h(i))}},y=e=>Object.assign({width:e},f(e)),x=e=>{let{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:a}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:a},y(2*n)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},y(n)),{maxWidth:4*n,maxHeight:4*n}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},w=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},E=e=>Object.assign({width:2*e,minWidth:2*e},f(e)),S=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:t,width:2*r,minWidth:2*r},E(r))},w(e,r,n)),{[`${n}-lg`]:Object.assign({},E(a))}),w(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},E(i))}),w(e,i,`${n}-sm`))},O=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:a,skeletonButtonCls:i,skeletonInputCls:o,skeletonImageCls:l,controlHeight:s,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:m,marginSM:p,borderRadius:f,titleHeight:h,blockRadius:y,paragraphLiHeight:w,controlHeightXS:E,paragraphMarginTop:O}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:m,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},g(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},g(c)),[`${n}-sm`]:Object.assign({},g(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:h,background:d,borderRadius:y,[`+ ${a}`]:{marginBlockStart:u}},[`${a}`]:{padding:0,"> li":{width:"100%",height:w,listStyle:"none",background:d,borderRadius:y,"+ li":{marginBlockStart:E}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:f}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:p,[`+ ${a}`]:{marginBlockStart:O}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},S(e)),v(e)),$(e)),x(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${o}`]:{width:"100%"}},[`${t}${t}-active`]:{[` - ${r}, - ${a} > li, - ${n}, - ${i}, - ${o}, - ${l} - `]:Object.assign({},b(e))}}};var N=(0,d.Z)("Skeleton",e=>{let{componentCls:t}=e,n=(0,m.TS)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:1.5*e.controlHeight,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[O(n)]},e=>{let{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),j=n(87462),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},k=n(42135),I=o.forwardRef(function(e,t){return o.createElement(k.Z,(0,j.Z)({},e,{ref:t,icon:C}))}),Z=n(74902),M=e=>{let t=t=>{let{width:n,rows:r=2}=e;return Array.isArray(n)?n[t]:r-1===t?n:void 0},{prefixCls:n,className:r,style:i,rows:l}=e,s=(0,Z.Z)(Array(l)).map((e,n)=>o.createElement("li",{key:n,style:{width:t(n)}}));return o.createElement("ul",{className:a()(n,r),style:i},s)},R=e=>{let{prefixCls:t,className:n,width:r,style:i}=e;return o.createElement("h3",{className:a()(t,n),style:Object.assign({width:r},i)})};function z(e){return e&&"object"==typeof e?e:{}}let T=e=>{let{prefixCls:t,loading:n,className:r,rootClassName:i,style:s,children:u,avatar:d=!1,title:m=!0,paragraph:p=!0,active:f,round:g}=e,{getPrefixCls:b,direction:h,skeleton:v}=o.useContext(l.E_),$=b("skeleton",t),[y,x]=N($);if(n||!("loading"in e)){let e,t;let n=!!d,l=!!m,u=!!p;if(n){let t=Object.assign(Object.assign({prefixCls:`${$}-avatar`},l&&!u?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),z(d));e=o.createElement("div",{className:`${$}-header`},o.createElement(c,Object.assign({},t)))}if(l||u){let e,r;if(l){let t=Object.assign(Object.assign({prefixCls:`${$}-title`},!n&&u?{width:"38%"}:n&&u?{width:"50%"}:{}),z(m));e=o.createElement(R,Object.assign({},t))}if(u){let e=Object.assign(Object.assign({prefixCls:`${$}-paragraph`},function(e,t){let n={};return e&&t||(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}(n,l)),z(p));r=o.createElement(M,Object.assign({},e))}t=o.createElement("div",{className:`${$}-content`},e,r)}let b=a()($,{[`${$}-with-avatar`]:n,[`${$}-active`]:f,[`${$}-rtl`]:"rtl"===h,[`${$}-round`]:g},null==v?void 0:v.className,r,i,x);return y(o.createElement("div",{className:b,style:Object.assign(Object.assign({},null==v?void 0:v.style),s)},e,t))}return void 0!==u?u:null};T.Button=e=>{let{prefixCls:t,className:n,rootClassName:r,active:s,block:u=!1,size:d="default"}=e,{getPrefixCls:m}=o.useContext(l.E_),p=m("skeleton",t),[f,g]=N(p),b=(0,i.Z)(e,["prefixCls"]),h=a()(p,`${p}-element`,{[`${p}-active`]:s,[`${p}-block`]:u},n,r,g);return f(o.createElement("div",{className:h},o.createElement(c,Object.assign({prefixCls:`${p}-button`,size:d},b))))},T.Avatar=e=>{let{prefixCls:t,className:n,rootClassName:r,active:s,shape:u="circle",size:d="default"}=e,{getPrefixCls:m}=o.useContext(l.E_),p=m("skeleton",t),[f,g]=N(p),b=(0,i.Z)(e,["prefixCls","className"]),h=a()(p,`${p}-element`,{[`${p}-active`]:s},n,r,g);return f(o.createElement("div",{className:h},o.createElement(c,Object.assign({prefixCls:`${p}-avatar`,shape:u,size:d},b))))},T.Input=e=>{let{prefixCls:t,className:n,rootClassName:r,active:s,block:u,size:d="default"}=e,{getPrefixCls:m}=o.useContext(l.E_),p=m("skeleton",t),[f,g]=N(p),b=(0,i.Z)(e,["prefixCls"]),h=a()(p,`${p}-element`,{[`${p}-active`]:s,[`${p}-block`]:u},n,r,g);return f(o.createElement("div",{className:h},o.createElement(c,Object.assign({prefixCls:`${p}-input`,size:d},b))))},T.Image=e=>{let{prefixCls:t,className:n,rootClassName:r,style:i,active:s}=e,{getPrefixCls:c}=o.useContext(l.E_),u=c("skeleton",t),[d,m]=N(u),p=a()(u,`${u}-element`,{[`${u}-active`]:s},n,r,m);return d(o.createElement("div",{className:p},o.createElement("div",{className:a()(`${u}-image`,n),style:i},o.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${u}-image-svg`},o.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${u}-image-path`})))))},T.Node=e=>{let{prefixCls:t,className:n,rootClassName:r,style:i,active:s,children:c}=e,{getPrefixCls:u}=o.useContext(l.E_),d=u("skeleton",t),[m,p]=N(d),f=a()(d,`${d}-element`,{[`${d}-active`]:s},p,n,r),g=null!=c?c:o.createElement(I,null);return m(o.createElement("div",{className:f},o.createElement("div",{className:a()(`${d}-image`,n),style:i},g)))};var W=n(65908),D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},P=e=>{var{prefixCls:t,className:n,hoverable:r=!0}=e,i=D(e,["prefixCls","className","hoverable"]);let{getPrefixCls:s}=o.useContext(l.E_),c=s("card",t),u=a()(`${c}-grid`,n,{[`${c}-grid-hoverable`]:r});return o.createElement("div",Object.assign({},i,{className:u}))},H=n(14747);let B=e=>{let{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:a,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${a}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},(0,H.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},H.vS),{[` - > ${n}-typography, - > ${n}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},A=e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` - ${a}px 0 0 0 ${n}, - 0 ${a}px 0 0 ${n}, - ${a}px ${a}px 0 0 ${n}, - ${a}px 0 0 0 ${n} inset, - 0 ${a}px 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},F=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${e.lineWidth}px ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},(0,H.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:2*e.cardActionsIconSize,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:`${a*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${i}`}}})},_=e=>Object.assign(Object.assign({margin:`-${e.marginXXS}px 0`,display:"flex"},(0,H.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},H.vS),"&-description":{color:e.colorTextDescription}}),L=e=>{let{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},q=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},G=e=>{let{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:a,colorBorderSecondary:i,boxShadowTertiary:o,cardPaddingBase:l,extraColor:s}=e;return{[n]:Object.assign(Object.assign({},(0,H.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:o},[`${n}-head`]:B(e),[`${n}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},(0,H.dF)()),[`${n}-grid`]:A(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${n}-actions`]:F(e),[`${n}-meta`]:_(e)}),[`${n}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{[`${n}-head-title, ${n}-extra`]:{paddingTop:a}}},[`${n}-type-inner`]:L(e),[`${n}-loading`]:q(e),[`${n}-rtl`]:{direction:"rtl"}}},X=e=>{let{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${n}px`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:r,paddingTop:0,display:"flex",alignItems:"center"}}}}};var V=(0,d.Z)("Card",e=>{let t=(0,m.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[G(t),X(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let U=o.forwardRef((e,t)=>{let n;let{prefixCls:r,className:c,rootClassName:u,style:d,extra:m,headStyle:p={},bodyStyle:f={},title:g,loading:b,bordered:h=!0,size:v,type:$,cover:y,actions:x,tabList:w,children:E,activeTabKey:S,defaultActiveTabKey:O,tabBarExtraContent:N,hoverable:j,tabProps:C={}}=e,k=K(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:I,direction:Z,card:M}=o.useContext(l.E_),R=o.useMemo(()=>{let e=!1;return o.Children.forEach(E,t=>{t&&t.type&&t.type===P&&(e=!0)}),e},[E]),z=I("card",r),[D,H]=V(z),B=o.createElement(T,{loading:!0,active:!0,paragraph:{rows:4},title:!1},E),A=void 0!==S,F=Object.assign(Object.assign({},C),{[A?"activeKey":"defaultActiveKey"]:A?S:O,tabBarExtraContent:N}),_=(0,s.Z)(v),L=w?o.createElement(W.Z,Object.assign({size:_&&"default"!==_?_:"large"},F,{className:`${z}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:w.map(e=>{var{tab:t}=e;return Object.assign({label:t},K(e,["tab"]))})})):null;(g||m||L)&&(n=o.createElement("div",{className:`${z}-head`,style:p},o.createElement("div",{className:`${z}-head-wrapper`},g&&o.createElement("div",{className:`${z}-head-title`},g),m&&o.createElement("div",{className:`${z}-extra`},m)),L));let q=y?o.createElement("div",{className:`${z}-cover`},y):null,G=o.createElement("div",{className:`${z}-body`,style:f},b?B:E),X=x&&x.length?o.createElement("ul",{className:`${z}-actions`},x.map((e,t)=>o.createElement("li",{style:{width:`${100/x.length}%`},key:`action-${t}`},o.createElement("span",null,e)))):null,U=(0,i.Z)(k,["onTabChange"]),Y=a()(z,null==M?void 0:M.className,{[`${z}-loading`]:b,[`${z}-bordered`]:h,[`${z}-hoverable`]:j,[`${z}-contain-grid`]:R,[`${z}-contain-tabs`]:w&&w.length,[`${z}-${_}`]:_,[`${z}-type-${$}`]:!!$,[`${z}-rtl`]:"rtl"===Z},c,u,H),Q=Object.assign(Object.assign({},null==M?void 0:M.style),d);return D(o.createElement("div",Object.assign({ref:t},U,{className:Y,style:Q}),n,q,G,X))});var Y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};U.Grid=P,U.Meta=e=>{let{prefixCls:t,className:n,avatar:r,title:i,description:s}=e,c=Y(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:u}=o.useContext(l.E_),d=u("card",t),m=a()(`${d}-meta`,n),p=r?o.createElement("div",{className:`${d}-meta-avatar`},r):null,f=i?o.createElement("div",{className:`${d}-meta-title`},i):null,g=s?o.createElement("div",{className:`${d}-meta-description`},s):null,b=f||g?o.createElement("div",{className:`${d}-meta-detail`},f,g):null;return o.createElement("div",Object.assign({},c,{className:m}),p,b)};var Q=U},85265:function(e,t,n){n.d(t,{Z:function(){return W}});var r=n(94184),a=n.n(r),i=n(1413),o=n(97685),l=n(67294),s=n(54535),c=n(8410),u=n(4942),d=n(87462),m=n(82225),p=n(15105),f=n(64217),g=l.createContext(null),b=function(e){var t=e.prefixCls,n=e.className,r=e.style,o=e.children,s=e.containerRef,c=e.onMouseEnter,u=e.onMouseOver,m=e.onMouseLeave,p=e.onClick,f=e.onKeyDown,g=e.onKeyUp;return l.createElement(l.Fragment,null,l.createElement("div",(0,d.Z)({className:a()("".concat(t,"-content"),n),style:(0,i.Z)({},r),"aria-modal":"true",role:"dialog",ref:s},{onMouseEnter:c,onMouseOver:u,onMouseLeave:m,onClick:p,onKeyDown:f,onKeyUp:g}),o))},h=n(80334);function v(e){return"string"==typeof e&&String(Number(e))===e?((0,h.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var $={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},y=l.forwardRef(function(e,t){var n,r,s,c,h=e.prefixCls,y=e.open,x=e.placement,w=e.inline,E=e.push,S=e.forceRender,O=e.autoFocus,N=e.keyboard,j=e.rootClassName,C=e.rootStyle,k=e.zIndex,I=e.className,Z=e.style,M=e.motion,R=e.width,z=e.height,T=e.children,W=e.contentWrapperStyle,D=e.mask,P=e.maskClosable,H=e.maskMotion,B=e.maskClassName,A=e.maskStyle,F=e.afterOpenChange,_=e.onClose,L=e.onMouseEnter,q=e.onMouseOver,G=e.onMouseLeave,X=e.onClick,V=e.onKeyDown,K=e.onKeyUp,U=l.useRef(),Y=l.useRef(),Q=l.useRef();l.useImperativeHandle(t,function(){return U.current}),l.useEffect(function(){if(y&&O){var e;null===(e=U.current)||void 0===e||e.focus({preventScroll:!0})}},[y]);var J=l.useState(!1),ee=(0,o.Z)(J,2),et=ee[0],en=ee[1],er=l.useContext(g),ea=null!==(n=null!==(r=null===(s=!1===E?{distance:0}:!0===E?{}:E||{})||void 0===s?void 0:s.distance)&&void 0!==r?r:null==er?void 0:er.pushDistance)&&void 0!==n?n:180,ei=l.useMemo(function(){return{pushDistance:ea,push:function(){en(!0)},pull:function(){en(!1)}}},[ea]);l.useEffect(function(){var e,t;y?null==er||null===(e=er.push)||void 0===e||e.call(er):null==er||null===(t=er.pull)||void 0===t||t.call(er)},[y]),l.useEffect(function(){return function(){var e;null==er||null===(e=er.pull)||void 0===e||e.call(er)}},[]);var eo=D&&l.createElement(m.ZP,(0,d.Z)({key:"mask"},H,{visible:y}),function(e,t){var n=e.className,r=e.style;return l.createElement("div",{className:a()("".concat(h,"-mask"),n,B),style:(0,i.Z)((0,i.Z)({},r),A),onClick:P&&y?_:void 0,ref:t})}),el="function"==typeof M?M(x):M,es={};if(et&&ea)switch(x){case"top":es.transform="translateY(".concat(ea,"px)");break;case"bottom":es.transform="translateY(".concat(-ea,"px)");break;case"left":es.transform="translateX(".concat(ea,"px)");break;default:es.transform="translateX(".concat(-ea,"px)")}"left"===x||"right"===x?es.width=v(R):es.height=v(z);var ec={onMouseEnter:L,onMouseOver:q,onMouseLeave:G,onClick:X,onKeyDown:V,onKeyUp:K},eu=l.createElement(m.ZP,(0,d.Z)({key:"panel"},el,{visible:y,forceRender:S,onVisibleChanged:function(e){null==F||F(e)},removeOnLeave:!1,leavedClassName:"".concat(h,"-content-wrapper-hidden")}),function(t,n){var r=t.className,o=t.style;return l.createElement("div",(0,d.Z)({className:a()("".concat(h,"-content-wrapper"),r),style:(0,i.Z)((0,i.Z)((0,i.Z)({},es),o),W)},(0,f.Z)(e,{data:!0})),l.createElement(b,(0,d.Z)({containerRef:n,prefixCls:h,className:I,style:Z},ec),T))}),ed=(0,i.Z)({},C);return k&&(ed.zIndex=k),l.createElement(g.Provider,{value:ei},l.createElement("div",{className:a()(h,"".concat(h,"-").concat(x),j,(c={},(0,u.Z)(c,"".concat(h,"-open"),y),(0,u.Z)(c,"".concat(h,"-inline"),w),c)),style:ed,tabIndex:-1,ref:U,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case p.Z.TAB:r===p.Z.TAB&&(a||document.activeElement!==Q.current?a&&document.activeElement===Y.current&&(null===(n=Q.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=Y.current)||void 0===t||t.focus({preventScroll:!0}));break;case p.Z.ESC:_&&N&&(e.stopPropagation(),_(e))}}},eo,l.createElement("div",{tabIndex:0,ref:Y,style:$,"aria-hidden":"true","data-sentinel":"start"}),eu,l.createElement("div",{tabIndex:0,ref:Q,style:$,"aria-hidden":"true","data-sentinel":"end"})))}),x=function(e){var t=e.open,n=e.prefixCls,r=e.placement,a=e.autoFocus,u=e.keyboard,d=e.width,m=e.mask,p=void 0===m||m,f=e.maskClosable,g=e.getContainer,b=e.forceRender,h=e.afterOpenChange,v=e.destroyOnClose,$=e.onMouseEnter,x=e.onMouseOver,w=e.onMouseLeave,E=e.onClick,S=e.onKeyDown,O=e.onKeyUp,N=l.useState(!1),j=(0,o.Z)(N,2),C=j[0],k=j[1],I=l.useState(!1),Z=(0,o.Z)(I,2),M=Z[0],R=Z[1];(0,c.Z)(function(){R(!0)},[]);var z=!!M&&void 0!==t&&t,T=l.useRef(),W=l.useRef();if((0,c.Z)(function(){z&&(W.current=document.activeElement)},[z]),!b&&!C&&!z&&v)return null;var D=(0,i.Z)((0,i.Z)({},e),{},{open:z,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===r?"right":r,autoFocus:void 0===a||a,keyboard:void 0===u||u,width:void 0===d?378:d,mask:p,maskClosable:void 0===f||f,inline:!1===g,afterOpenChange:function(e){var t,n;k(e),null==h||h(e),e||!W.current||(null===(t=T.current)||void 0===t?void 0:t.contains(W.current))||null===(n=W.current)||void 0===n||n.focus({preventScroll:!0})},ref:T},{onMouseEnter:$,onMouseOver:x,onMouseLeave:w,onClick:E,onKeyDown:S,onKeyUp:O});return l.createElement(s.Z,{open:z||b||C,autoDestroy:!1,getContainer:g,autoLock:p&&(z||C)},l.createElement(y,D))},w=n(33603),E=n(53124),S=n(65223),O=n(69760),N=e=>{let{prefixCls:t,title:n,footer:r,extra:i,closeIcon:o,closable:s,onClose:c,headerStyle:u,drawerStyle:d,bodyStyle:m,footerStyle:p,children:f}=e,g=l.useCallback(e=>l.createElement("button",{type:"button",onClick:c,"aria-label":"Close",className:`${t}-close`},e),[c]),[b,h]=(0,O.Z)(s,o,g,void 0,!0),v=l.useMemo(()=>n||b?l.createElement("div",{style:u,className:a()(`${t}-header`,{[`${t}-header-close-only`]:b&&!n&&!i})},l.createElement("div",{className:`${t}-header-title`},h,n&&l.createElement("div",{className:`${t}-title`},n)),i&&l.createElement("div",{className:`${t}-extra`},i)):null,[b,h,i,u,t,n]),$=l.useMemo(()=>{if(!r)return null;let e=`${t}-footer`;return l.createElement("div",{className:e,style:p},r)},[r,p,t]);return l.createElement("div",{className:`${t}-wrapper-body`,style:d},v,l.createElement("div",{className:`${t}-body`,style:m},f),$)},j=n(4173),C=n(67968),k=n(45503),I=e=>{let{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};let Z=e=>{let{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:a,motionDurationSlow:i,motionDurationMid:o,padding:l,paddingLG:s,fontSizeLG:c,lineHeightLG:u,lineWidth:d,lineType:m,colorSplit:p,marginSM:f,colorIcon:g,colorIconHover:b,colorText:h,fontWeightStrong:v,footerPaddingBlock:$,footerPaddingInline:y}=e,x=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:a,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[x]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${x}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${x}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${x}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${x}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${l}px ${s}px`,fontSize:c,lineHeight:u,borderBottom:`${d}px ${m} ${p}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:f,color:g,fontWeight:v,fontSize:c,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${o}`,textRendering:"auto","&:focus, &:hover":{color:b,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:h,fontWeight:e.fontWeightStrong,fontSize:c,lineHeight:u},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${$}px ${y}px`,borderTop:`${d}px ${m} ${p}`},"&-rtl":{direction:"rtl"}}}};var M=(0,C.Z)("Drawer",e=>{let t=(0,k.TS)(e,{});return[Z(t),I(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let z={distance:180},T=e=>{let{rootClassName:t,width:n,height:r,size:i="default",mask:o=!0,push:s=z,open:c,afterOpenChange:u,onClose:d,prefixCls:m,getContainer:p,style:f,className:g,visible:b,afterVisibleChange:h}=e,v=R(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:$,getPrefixCls:y,direction:O,drawer:C}=l.useContext(E.E_),k=y("drawer",m),[I,Z]=M(k),T=a()({"no-mask":!o,[`${k}-rtl`]:"rtl"===O},t,Z),W=l.useMemo(()=>null!=n?n:"large"===i?736:378,[n,i]),D=l.useMemo(()=>null!=r?r:"large"===i?736:378,[r,i]),P={motionName:(0,w.m)(k,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500};return I(l.createElement(j.BR,null,l.createElement(S.Ux,{status:!0,override:!0},l.createElement(x,Object.assign({prefixCls:k,onClose:d,maskMotion:P,motion:e=>({motionName:(0,w.m)(k,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},v,{open:null!=c?c:b,mask:o,push:s,width:W,height:D,style:Object.assign(Object.assign({},null==C?void 0:C.style),f),className:a()(null==C?void 0:C.className,g),rootClassName:T,getContainer:void 0===p&&$?()=>$(document.body):p,afterOpenChange:null!=u?u:h}),l.createElement(N,Object.assign({prefixCls:k},v,{onClose:d}))))))};T._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:r,placement:i="right"}=e,o=R(e,["prefixCls","style","className","placement"]),{getPrefixCls:s}=l.useContext(E.E_),c=s("drawer",t),[u,d]=M(c),m=a()(c,`${c}-pure`,`${c}-${i}`,d,r);return u(l.createElement("div",{className:m,style:n},l.createElement(N,Object.assign({prefixCls:c},o))))};var W=T},28888:function(e,t,n){n.d(t,{Z:function(){return e_}});var r=n(74902),a=n(94184),i=n.n(a),o=n(82225),l=n(67294),s=n(33603),c=n(65223);function u(e){let[t,n]=l.useState(e);return l.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var d=n(14747),m=n(50438),p=n(33507),f=n(67968),g=n(45503),b=e=>{let{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, - opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, - transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}};let h=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, - input[type='radio']:focus, - input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),v=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},$=e=>{let{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),h(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},v(e,e.controlHeightSM)),"&-large":Object.assign({},v(e,e.controlHeightLG))})}},y=e=>{let{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:a}=e;return{[t]:Object.assign(Object.assign({},(0,d.Wf)(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden.${a}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${a}-col-'"]):not([class*="' ${a}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:m.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},x=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label.${r}-col-24 + ${n}-control`]:{minWidth:"unset"}}}},w=e=>{let{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},"&-with-help":{marginBottom:e.marginLG},[`> ${n}-label, - > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},E=e=>({padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),S=e=>{let{componentCls:t,formItemCls:n}=e;return{[`${n} ${n}-label`]:E(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, - ${n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},O=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, - .${r}-col-24${n}-label, - .${r}-col-xl-24${n}-label`]:E(e),[`@media (max-width: ${e.screenXSMax}px)`]:[S(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:E(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:E(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:E(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:E(e)}}}};var N=(0,f.Z)("Form",(e,t)=>{let{rootPrefixCls:n}=t,r=(0,g.TS)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[$(r),y(r),b(r),x(r),w(r),O(r),(0,p.Z)(r),m.kr]});let j=[];function C(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:`${t}-${r}`,error:e,errorStatus:n}}var k=e=>{let{help:t,helpStatus:n,errors:a=j,warnings:d=j,className:m,fieldId:p,onVisibleChanged:f}=e,{prefixCls:g}=l.useContext(c.Rk),b=`${g}-item-explain`,[,h]=N(g),v=(0,l.useMemo)(()=>(0,s.Z)(g),[g]),$=u(a),y=u(d),x=l.useMemo(()=>null!=t?[C(t,"help",n)]:[].concat((0,r.Z)($.map((e,t)=>C(e,"error","error",t))),(0,r.Z)(y.map((e,t)=>C(e,"warning","warning",t)))),[t,n,$,y]),w={};return p&&(w.id=`${p}_help`),l.createElement(o.ZP,{motionDeadline:v.motionDeadline,motionName:`${g}-show-help`,visible:!!x.length,onVisibleChanged:f},e=>{let{className:t,style:n}=e;return l.createElement("div",Object.assign({},w,{className:i()(b,t,m,h),style:n,role:"alert"}),l.createElement(o.V4,Object.assign({keys:x},(0,s.Z)(g),{motionName:`${g}-show-help-item`,component:!1}),e=>{let{key:t,error:n,errorStatus:r,className:a,style:o}=e;return l.createElement("div",{key:t,className:i()(a,{[`${b}-${r}`]:r}),style:o},n)}))})},I=n(10526),Z=n(53124),M=n(98866),R=n(97647),z=n(98675);let T=e=>"object"==typeof e&&null!=e&&1===e.nodeType,W=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,D=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightit||i>e&&o=t&&l>=n?i-e-r:o>t&&ln?o-t+a:0,H=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},B=(e,t)=>{var n,r,a,i;if("undefined"==typeof document)return[];let{scrollMode:o,block:l,inline:s,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!T(e))throw TypeError("Invalid target");let m=document.scrollingElement||document.documentElement,p=[],f=e;for(;T(f)&&d(f);){if((f=H(f))===m){p.push(f);break}null!=f&&f===document.body&&D(f)&&!D(document.documentElement)||null!=f&&D(f,u)&&p.push(f)}let g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,b=null!=(i=null==(a=window.visualViewport)?void 0:a.height)?i:innerHeight,{scrollX:h,scrollY:v}=window,{height:$,width:y,top:x,right:w,bottom:E,left:S}=e.getBoundingClientRect(),O="start"===l||"nearest"===l?x:"end"===l?E:x+$/2,N="center"===s?S+y/2:"end"===s?w:S,j=[];for(let e=0;e=0&&S>=0&&E<=b&&w<=g&&x>=a&&E<=c&&S>=u&&w<=i)break;let d=getComputedStyle(t),f=parseInt(d.borderLeftWidth,10),C=parseInt(d.borderTopWidth,10),k=parseInt(d.borderRightWidth,10),I=parseInt(d.borderBottomWidth,10),Z=0,M=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-k:0,z="offsetHeight"in t?t.offsetHeight-t.clientHeight-C-I:0,T="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,W="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(m===t)Z="start"===l?O:"end"===l?O-b:"nearest"===l?P(v,v+b,b,C,I,v+O,v+O+$,$):O-b/2,M="start"===s?N:"center"===s?N-g/2:"end"===s?N-g:P(h,h+g,g,f,k,h+N,h+N+y,y),Z=Math.max(0,Z+v),M=Math.max(0,M+h);else{Z="start"===l?O-a-C:"end"===l?O-c+I+z:"nearest"===l?P(a,c,n,C,I+z,O,O+$,$):O-(a+n/2)+z/2,M="start"===s?N-u-f:"center"===s?N-(u+r/2)+R/2:"end"===s?N-i+k+R:P(u,i,r,f,k+R,N,N+y,y);let{scrollLeft:e,scrollTop:o}=t;Z=Math.max(0,Math.min(o+Z/W,t.scrollHeight-n/W+z)),M=Math.max(0,Math.min(e+M/T,t.scrollWidth-r/T+R)),O+=o-Z,N+=e-M}j.push({el:t,top:Z,left:M})}return j},A=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"},F=["parentNode"];function _(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function L(e,t){if(!e.length)return;let n=e.join("_");if(t)return`${t}_${n}`;let r=F.includes(n);return r?`form_item_${n}`:n}function q(e){let t=_(e);return t.join("_")}function G(e){let[t]=(0,I.cI)(),n=l.useRef({}),r=l.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let r=q(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_(e),a=L(n,r.__INTERNAL__.name),i=a?document.getElementById(a):null;i&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(B(e,t));let n="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:a,left:i}of B(e,A(t)))r.scroll({top:a,left:i,behavior:n})}(i,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:e=>{let t=q(e);return n.current[t]}}),[e,t]);return[r]}var X=n(37920),V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let K=l.forwardRef((e,t)=>{let n=l.useContext(M.Z),{getPrefixCls:r,direction:a,form:o}=l.useContext(Z.E_),{prefixCls:s,className:u,rootClassName:d,size:m,disabled:p=n,form:f,colon:g,labelAlign:b,labelWrap:h,labelCol:v,wrapperCol:$,hideRequiredMark:y,layout:x="horizontal",scrollToFirstError:w,requiredMark:E,onFinishFailed:S,name:O,style:j}=e,C=V(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style"]),k=(0,z.Z)(m),T=l.useContext(X.Z),W=(0,l.useMemo)(()=>void 0!==E?E:o&&void 0!==o.requiredMark?o.requiredMark:!y,[y,E,o]),D=null!=g?g:null==o?void 0:o.colon,P=r("form",s),[H,B]=N(P),A=i()(P,`${P}-${x}`,{[`${P}-hide-required-mark`]:!1===W,[`${P}-rtl`]:"rtl"===a,[`${P}-${k}`]:k},B,null==o?void 0:o.className,u,d),[F]=G(f),{__INTERNAL__:_}=F;_.name=O;let L=(0,l.useMemo)(()=>({name:O,labelAlign:b,labelCol:v,labelWrap:h,wrapperCol:$,vertical:"vertical"===x,colon:D,requiredMark:W,itemRef:_.itemRef,form:F}),[O,b,v,$,x,D,W,F]);l.useImperativeHandle(t,()=>F);let q=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),F.scrollToField(t,n)}};return H(l.createElement(M.n,{disabled:p},l.createElement(R.q,{size:k},l.createElement(c.RV,{validateMessages:T},l.createElement(c.q3.Provider,{value:L},l.createElement(I.ZP,Object.assign({id:O},C,{name:O,onFinishFailed:e=>{if(null==S||S(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==w){q(w,t);return}o&&void 0!==o.scrollToFirstError&&q(o.scrollToFirstError,t)}},form:F,style:Object.assign(Object.assign({},null==o?void 0:o.style),j),className:A})))))))});var U=n(30470),Y=n(42550),Q=n(96159);let J=()=>{let{status:e,errors:t=[],warnings:n=[]}=(0,l.useContext)(c.aM);return{status:e,errors:t,warnings:n}};J.Context=c.aM;var ee=n(75164),et=n(89739),en=n(4340),er=n(21640),ea=n(50888),ei=n(8410),eo=n(5110),el=n(98423),es=n(31808),ec=()=>{let[e,t]=l.useState(!1);return l.useEffect(()=>{t((0,es.fk)())},[]),e},eu=n(74443);let ed=(0,l.createContext)({}),em=e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},ep=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},ef=(e,t)=>{let{componentCls:n,gridColumns:r}=e,a={};for(let e=r;e>=0;e--)0===e?(a[`${n}${t}-${e}`]={display:"none"},a[`${n}-push-${e}`]={insetInlineStart:"auto"},a[`${n}-pull-${e}`]={insetInlineEnd:"auto"},a[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},a[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},a[`${n}${t}-offset-${e}`]={marginInlineStart:0},a[`${n}${t}-order-${e}`]={order:0}):(a[`${n}${t}-${e}`]={display:"block",flex:`0 0 ${e/r*100}%`,maxWidth:`${e/r*100}%`},a[`${n}${t}-push-${e}`]={insetInlineStart:`${e/r*100}%`},a[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/r*100}%`},a[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/r*100}%`},a[`${n}${t}-order-${e}`]={order:e});return a},eg=(e,t)=>ef(e,t),eb=(e,t,n)=>({[`@media (min-width: ${t}px)`]:Object.assign({},eg(e,n))}),eh=(0,f.Z)("Grid",e=>[em(e)]),ev=(0,f.Z)("Grid",e=>{let t=(0,g.TS)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[ep(t),eg(t,""),eg(t,"-xs"),Object.keys(n).map(e=>eb(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]});var e$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function ey(e,t){let[n,r]=l.useState("string"==typeof e?e:""),a=()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;n{a()},[JSON.stringify(e),t]),n}let ex=l.forwardRef((e,t)=>{let{prefixCls:n,justify:r,align:a,className:o,style:s,children:c,gutter:u=0,wrap:d}=e,m=e$(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:p,direction:f}=l.useContext(Z.E_),[g,b]=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[h,v]=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),$=ey(a,h),y=ey(r,h),x=ec(),w=l.useRef(u),E=(0,eu.Z)();l.useEffect(()=>{let e=E.subscribe(e=>{v(e);let t=w.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&b(e)});return()=>E.unsubscribe(e)},[]);let S=p("row",n),[O,N]=eh(S),j=(()=>{let e=[void 0,void 0],t=Array.isArray(u)?u:[u,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(j[0]/2):void 0,M=null!=j[1]&&j[1]>0?-(j[1]/2):void 0;I&&(k.marginLeft=I,k.marginRight=I),x?[,k.rowGap]=j:M&&(k.marginTop=M,k.marginBottom=M);let[R,z]=j,T=l.useMemo(()=>({gutter:[R,z],wrap:d,supportFlexGap:x}),[R,z,d,x]);return O(l.createElement(ed.Provider,{value:T},l.createElement("div",Object.assign({},m,{className:C,style:Object.assign(Object.assign({},k),s),ref:t}),c)))});var ew=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let eE=["xs","sm","md","lg","xl","xxl"],eS=l.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=l.useContext(Z.E_),{gutter:a,wrap:o,supportFlexGap:s}=l.useContext(ed),{prefixCls:c,span:u,order:d,offset:m,push:p,pull:f,className:g,children:b,flex:h,style:v}=e,$=ew(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),y=n("col",c),[x,w]=ev(y),E={};eE.forEach(t=>{let n={},a=e[t];"number"==typeof a?n.span=a:"object"==typeof a&&(n=a||{}),delete $[t],E=Object.assign(Object.assign({},E),{[`${y}-${t}-${n.span}`]:void 0!==n.span,[`${y}-${t}-order-${n.order}`]:n.order||0===n.order,[`${y}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${y}-${t}-push-${n.push}`]:n.push||0===n.push,[`${y}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${y}-${t}-flex-${n.flex}`]:n.flex||"auto"===n.flex,[`${y}-rtl`]:"rtl"===r})});let S=i()(y,{[`${y}-${u}`]:void 0!==u,[`${y}-order-${d}`]:d,[`${y}-offset-${m}`]:m,[`${y}-push-${p}`]:p,[`${y}-pull-${f}`]:f},g,E,w),O={};if(a&&a[0]>0){let e=a[0]/2;O.paddingLeft=e,O.paddingRight=e}if(a&&a[1]>0&&!s){let e=a[1]/2;O.paddingTop=e,O.paddingBottom=e}return h&&(O.flex="number"==typeof h?`${h} ${h} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(h)?`0 0 ${h}`:h,!1!==o||O.minWidth||(O.minWidth=0)),x(l.createElement("div",Object.assign({},$,{style:Object.assign(Object.assign({},O),v),className:S,ref:t}),b))});var eO=e=>{let{prefixCls:t,status:n,wrapperCol:r,children:a,errors:o,warnings:s,_internalItemRender:u,extra:d,help:m,fieldId:p,marginBottom:f,onErrorVisibleChanged:g}=e,b=`${t}-item`,h=l.useContext(c.q3),v=r||h.wrapperCol||{},$=i()(`${b}-control`,v.className),y=l.useMemo(()=>Object.assign({},h),[h]);delete y.labelCol,delete y.wrapperCol;let x=l.createElement("div",{className:`${b}-control-input`},l.createElement("div",{className:`${b}-control-input-content`},a)),w=l.useMemo(()=>({prefixCls:t,status:n}),[t,n]),E=null!==f||o.length||s.length?l.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},l.createElement(c.Rk.Provider,{value:w},l.createElement(k,{fieldId:p,errors:o,warnings:s,help:m,helpStatus:n,className:`${b}-explain-connected`,onVisibleChanged:g})),!!f&&l.createElement("div",{style:{width:0,height:f}})):null,S={};p&&(S.id=`${p}_extra`);let O=d?l.createElement("div",Object.assign({},S,{className:`${b}-extra`}),d):null,N=u&&"pro_table_render"===u.mark&&u.render?u.render(e,{input:x,errorList:E,extra:O}):l.createElement(l.Fragment,null,x,E,O);return l.createElement(c.q3.Provider,{value:y},l.createElement(eS,Object.assign({},v,{className:$}),N))},eN=n(87462),ej={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},eC=n(42135),ek=l.forwardRef(function(e,t){return l.createElement(eC.Z,(0,eN.Z)({},e,{ref:t,icon:ej}))}),eI=n(88526),eZ=n(10110),eM=n(94139),eR=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},ez=e=>{var t;let{prefixCls:n,label:r,htmlFor:a,labelCol:o,labelAlign:s,colon:u,required:d,requiredMark:m,tooltip:p}=e,[f]=(0,eZ.Z)("Form"),{vertical:g,labelAlign:b,labelCol:h,labelWrap:v,colon:$}=l.useContext(c.q3);if(!r)return null;let y=o||h||{},x=`${n}-item-label`,w=i()(x,"left"===(s||b)&&`${x}-left`,y.className,{[`${x}-wrap`]:!!v}),E=r,S=!0===u||!1!==$&&!1!==u;S&&!g&&"string"==typeof r&&""!==r.trim()&&(E=r.replace(/[:|:]\s*$/,""));let O=p?"object"!=typeof p||l.isValidElement(p)?{title:p}:p:null;if(O){let{icon:e=l.createElement(ek,null)}=O,t=eR(O,["icon"]),r=l.createElement(eM.Z,Object.assign({},t),l.cloneElement(e,{className:`${n}-item-tooltip`,title:""}));E=l.createElement(l.Fragment,null,E,r)}"optional"!==m||d||(E=l.createElement(l.Fragment,null,E,l.createElement("span",{className:`${n}-item-optional`,title:""},(null==f?void 0:f.optional)||(null===(t=eI.Z.Form)||void 0===t?void 0:t.optional))));let N=i()({[`${n}-item-required`]:d,[`${n}-item-required-mark-optional`]:"optional"===m,[`${n}-item-no-colon`]:!S});return l.createElement(eS,Object.assign({},y,{className:w}),l.createElement("label",{htmlFor:a,className:N,title:"string"==typeof r?r:""},E))},eT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let eW={success:et.Z,warning:er.Z,error:en.Z,validating:ea.Z};function eD(e){let{prefixCls:t,className:n,rootClassName:r,style:a,help:o,errors:s,warnings:d,validateStatus:m,meta:p,hasFeedback:f,hidden:g,children:b,fieldId:h,required:v,isRequired:$,onSubItemMetaChange:y}=e,x=eT(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),w=`${t}-item`,{requiredMark:E}=l.useContext(c.q3),S=l.useRef(null),O=u(s),N=u(d),j=null!=o,C=!!(j||s.length||d.length),k=!!S.current&&(0,eo.Z)(S.current),[I,Z]=l.useState(null);(0,ei.Z)(()=>{if(C&&S.current){let e=getComputedStyle(S.current);Z(parseInt(e.marginBottom,10))}},[C,k]);let M=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t="",n=e?O:p.errors,r=e?N:p.warnings;return void 0!==m?t=m:p.validating?t="validating":n.length?t="error":r.length?t="warning":(p.touched||f&&p.validated)&&(t="success"),t}(),R=l.useMemo(()=>{let e;if(f){let t=M&&eW[M];e=t?l.createElement("span",{className:i()(`${w}-feedback-icon`,`${w}-feedback-icon-${M}`)},l.createElement(t,null)):null}return{status:M,errors:s,warnings:d,hasFeedback:f,feedbackIcon:e,isFormItemInput:!0}},[M,f]),z=i()(w,n,r,{[`${w}-with-help`]:j||O.length||N.length,[`${w}-has-feedback`]:M&&f,[`${w}-has-success`]:"success"===M,[`${w}-has-warning`]:"warning"===M,[`${w}-has-error`]:"error"===M,[`${w}-is-validating`]:"validating"===M,[`${w}-hidden`]:g});return l.createElement("div",{className:z,style:a,ref:S},l.createElement(ex,Object.assign({className:`${w}-row`},(0,el.Z)(x,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),l.createElement(ez,Object.assign({htmlFor:h},e,{requiredMark:E,required:null!=v?v:$,prefixCls:t})),l.createElement(eO,Object.assign({},e,p,{errors:O,warnings:N,prefixCls:t,status:M,help:o,marginBottom:I,onErrorVisibleChanged:e=>{e||Z(null)}}),l.createElement(c.qI.Provider,{value:y},l.createElement(c.aM.Provider,{value:R},b)))),!!I&&l.createElement("div",{className:`${w}-margin-offset`,style:{marginBottom:-I}}))}var eP=n(50344);let eH=l.memo(e=>{let{children:t}=e;return t},(e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function eB(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}let eA=function(e){let{name:t,noStyle:n,className:a,dependencies:o,prefixCls:s,shouldUpdate:u,rules:d,children:m,required:p,label:f,messageVariables:g,trigger:b="onChange",validateTrigger:h,hidden:v,help:$}=e,{getPrefixCls:y}=l.useContext(Z.E_),{name:x}=l.useContext(c.q3),w=function(e){if("function"==typeof e)return e;let t=(0,eP.Z)(e);return t.length<=1?t[0]:t}(m),E="function"==typeof w,S=l.useContext(c.qI),{validateTrigger:O}=l.useContext(I.zb),j=void 0!==h?h:O,C=null!=t,k=y("form",s),[M,R]=N(k),z=l.useContext(I.ZM),T=l.useRef(),[W,D]=function(e){let[t,n]=l.useState(e),r=(0,l.useRef)(null),a=(0,l.useRef)([]),i=(0,l.useRef)(!1);return l.useEffect(()=>(i.current=!1,()=>{i.current=!0,ee.Z.cancel(r.current),r.current=null}),[]),[t,function(e){i.current||(null===r.current&&(a.current=[],r.current=(0,ee.Z)(()=>{r.current=null,n(e=>{let t=e;return a.current.forEach(e=>{t=e(t)}),t})})),a.current.push(e))}]}({}),[P,H]=(0,U.Z)(()=>eB()),B=(e,t)=>{D(n=>{let a=Object.assign({},n),i=[].concat((0,r.Z)(e.name.slice(0,-1)),(0,r.Z)(t)),o=i.join("__SPLIT__");return e.destroy?delete a[o]:a[o]=e,a})},[A,F]=l.useMemo(()=>{let e=(0,r.Z)(P.errors),t=(0,r.Z)(P.warnings);return Object.values(W).forEach(n=>{e.push.apply(e,(0,r.Z)(n.errors||[])),t.push.apply(t,(0,r.Z)(n.warnings||[]))}),[e,t]},[W,P.errors,P.warnings]),q=function(){let{itemRef:e}=l.useContext(c.q3),t=l.useRef({});return function(n,r){let a=r&&"object"==typeof r&&r.ref,i=n.join("_");return(t.current.name!==i||t.current.originRef!==a)&&(t.current.name=i,t.current.originRef=a,t.current.ref=(0,Y.sQ)(e(n),a)),t.current.ref}}();function G(t,r,o){return n&&!v?t:l.createElement(eD,Object.assign({key:"row"},e,{className:i()(a,R),prefixCls:k,fieldId:r,isRequired:o,errors:A,warnings:F,meta:P,onSubItemMetaChange:B}),t)}if(!C&&!E&&!o)return M(G(w));let X={};return"string"==typeof f?X.label=f:t&&(X.label=String(t)),g&&(X=Object.assign(Object.assign({},X),g)),M(l.createElement(I.gN,Object.assign({},e,{messageVariables:X,trigger:b,validateTrigger:j,onMetaChange:e=>{let t=null==z?void 0:z.getKey(e.name);if(H(e.destroy?eB():e,!0),n&&!1!==$&&S){let n=e.name;if(e.destroy)n=T.current||n;else if(void 0!==t){let[e,a]=t;n=[e].concat((0,r.Z)(a)),T.current=n}S(e,n)}}}),(n,a,i)=>{let s=_(t).length&&a?a.name:[],c=L(s,x),m=void 0!==p?p:!!(d&&d.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(i);return t&&t.required&&!t.warningOnly}return!1})),f=Object.assign({},n),g=null;if(Array.isArray(w)&&C)g=w;else if(E&&(!(u||o)||C));else if(!o||E||C){if((0,Q.l$)(w)){let t=Object.assign(Object.assign({},w.props),f);if(t.id||(t.id=c),$||A.length>0||F.length>0||e.extra){let n=[];($||A.length>0)&&n.push(`${c}_help`),e.extra&&n.push(`${c}_extra`),t["aria-describedby"]=n.join(" ")}A.length>0&&(t["aria-invalid"]="true"),m&&(t["aria-required"]="true"),(0,Y.Yr)(w)&&(t.ref=q(s,w));let n=new Set([].concat((0,r.Z)(_(b)),(0,r.Z)(_(j))));n.forEach(e=>{t[e]=function(){for(var t,n,r,a=arguments.length,i=Array(a),o=0;ot.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};K.Item=eA,K.List=e=>{var{prefixCls:t,children:n}=e,r=eF(e,["prefixCls","children"]);let{getPrefixCls:a}=l.useContext(Z.E_),i=a("form",t),o=l.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return l.createElement(I.aV,Object.assign({},r),(e,t,r)=>l.createElement(c.Rk.Provider,{value:o},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:r.errors,warnings:r.warnings})))},K.ErrorList=k,K.useForm=G,K.useFormInstance=function(){let{form:e}=(0,l.useContext)(c.q3);return e},K.useWatch=I.qo,K.Provider=c.RV,K.create=()=>{};var e_=K},48928:function(e,t,n){n.d(t,{Z:function(){return es}});var r=n(80882),a=n(87462),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},l=n(42135),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,a.Z)({},e,{ref:t,icon:o}))}),c=n(94184),u=n.n(c),d=n(4942),m=n(71002),p=n(97685),f=n(45987),g=n(15671),b=n(43144);function h(){return"function"==typeof BigInt}function v(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}function $(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",a=r.split("."),i=a[0]||"0",o=a[1]||"0";"0"===i&&"0"===o&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:i,decimalStr:o,fullStr:"".concat(l).concat(r)}}function y(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function x(e){var t=String(e);if(y(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return null!=r&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&E(t)?t.length-t.indexOf(".")-1:0}function w(e){var t=String(e);if(y(e)){if(e>Number.MAX_SAFE_INTEGER)return String(h()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":$("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),O=function(){function e(t){if((0,g.Z)(this,e),(0,d.Z)(this,"origin",""),(0,d.Z)(this,"number",void 0),(0,d.Z)(this,"empty",void 0),v(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return(0,b.Z)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(rNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":w(this.number):this.origin}}]),e}();function N(e){return h()?new S(e):new O(e)}function j(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var a=$(e),i=a.negativeStr,o=a.integerStr,l=a.decimalStr,s="".concat(t).concat(l),c="".concat(i).concat(o);if(n>=0){var u=Number(l[n]);return u>=5&&!r?j(N(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,r):0===n?c:"".concat(c).concat(t).concat(l.padEnd(n,"0").slice(0,n))}return".0"===s?c:"".concat(c).concat(s)}var C=n(67656),k=n(8410),I=n(42550),Z=n(80334),M=n(31131),R=function(){var e=(0,i.useState)(!1),t=(0,p.Z)(e,2),n=t[0],r=t[1];return(0,k.Z)(function(){r((0,M.Z)())},[]),n},z=n(75164);function T(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,o=e.upDisabled,l=e.downDisabled,s=e.onStep,c=i.useRef(),m=i.useRef([]),p=i.useRef();p.current=s;var f=function(){clearTimeout(c.current)},g=function(e,t){e.preventDefault(),f(),p.current(t),c.current=setTimeout(function e(){p.current(t),c.current=setTimeout(e,200)},600)};if(i.useEffect(function(){return function(){f(),m.current.forEach(function(e){return z.Z.cancel(e)})}},[]),R())return null;var b="".concat(t,"-handler"),h=u()(b,"".concat(b,"-up"),(0,d.Z)({},"".concat(b,"-up-disabled"),o)),v=u()(b,"".concat(b,"-down"),(0,d.Z)({},"".concat(b,"-down-disabled"),l)),$=function(){return m.current.push((0,z.Z)(f))},y={unselectable:"on",role:"button",onMouseUp:$,onMouseLeave:$};return i.createElement("div",{className:"".concat(b,"-wrap")},i.createElement("span",(0,a.Z)({},y,{onMouseDown:function(e){g(e,!0)},"aria-label":"Increase Value","aria-disabled":o,className:h}),n||i.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),i.createElement("span",(0,a.Z)({},y,{onMouseDown:function(e){g(e,!1)},"aria-label":"Decrease Value","aria-disabled":l,className:v}),r||i.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function W(e){var t="number"==typeof e?w(e):$(e).fullStr;return t.includes(".")?$(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}var D=n(87887),P=function(){var e=(0,i.useRef)(0),t=function(){z.Z.cancel(e.current)};return(0,i.useEffect)(function(){return t},[]),function(n){t(),e.current=(0,z.Z)(function(){n()})}},H=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],B=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],A=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},F=function(e){var t=N(e);return t.isInvalidate()?null:t},_=i.forwardRef(function(e,t){var n,r,o,l=e.prefixCls,s=void 0===l?"rc-input-number":l,c=e.className,g=e.style,b=e.min,h=e.max,v=e.step,$=void 0===v?1:v,y=e.defaultValue,S=e.value,O=e.disabled,C=e.readOnly,M=e.upHandler,R=e.downHandler,z=e.keyboard,D=e.controls,B=void 0===D||D,_=e.classNames,L=e.stringMode,q=e.parser,G=e.formatter,X=e.precision,V=e.decimalSeparator,K=e.onChange,U=e.onInput,Y=e.onPressEnter,Q=e.onStep,J=(0,f.Z)(e,H),ee="".concat(s,"-input"),et=i.useRef(null),en=i.useState(!1),er=(0,p.Z)(en,2),ea=er[0],ei=er[1],eo=i.useRef(!1),el=i.useRef(!1),es=i.useRef(!1),ec=i.useState(function(){return N(null!=S?S:y)}),eu=(0,p.Z)(ec,2),ed=eu[0],em=eu[1],ep=i.useCallback(function(e,t){return t?void 0:X>=0?X:Math.max(x(e),x($))},[X,$]),ef=i.useCallback(function(e){var t=String(e);if(q)return q(t);var n=t;return V&&(n=n.replace(V,".")),n.replace(/[^\w.-]+/g,"")},[q,V]),eg=i.useRef(""),eb=i.useCallback(function(e,t){if(G)return G(e,{userTyping:t,input:String(eg.current)});var n="number"==typeof e?w(e):e;if(!t){var r=ep(n,t);E(n)&&(V||r>=0)&&(n=j(n,V||".",r))}return n},[G,ep,V]),eh=i.useState(function(){var e=null!=y?y:S;return ed.isInvalidate()&&["string","number"].includes((0,m.Z)(e))?Number.isNaN(e)?"":e:eb(ed.toString(),!1)}),ev=(0,p.Z)(eh,2),e$=ev[0],ey=ev[1];function ex(e,t){ey(eb(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}eg.current=e$;var ew=i.useMemo(function(){return F(h)},[h,X]),eE=i.useMemo(function(){return F(b)},[b,X]),eS=i.useMemo(function(){return!(!ew||!ed||ed.isInvalidate())&&ew.lessEquals(ed)},[ew,ed]),eO=i.useMemo(function(){return!(!eE||!ed||ed.isInvalidate())&&ed.lessEquals(eE)},[eE,ed]),eN=(n=et.current,r=(0,i.useRef)(null),[function(){try{var e=n.selectionStart,t=n.selectionEnd,a=n.value,i=a.substring(0,e),o=a.substring(t);r.current={start:e,end:t,value:a,beforeTxt:i,afterTxt:o}}catch(e){}},function(){if(n&&r.current&&ea)try{var e=n.value,t=r.current,a=t.beforeTxt,i=t.afterTxt,o=t.start,l=e.length;if(e.endsWith(i))l=e.length-r.current.afterTxt.length;else if(e.startsWith(a))l=a.length;else{var s=a[o-1],c=e.indexOf(s,o-1);-1!==c&&(l=c+1)}n.setSelectionRange(l,l)}catch(e){(0,Z.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(e.message))}}]),ej=(0,p.Z)(eN,2),eC=ej[0],ek=ej[1],eI=function(e){return ew&&!e.lessEquals(ew)?ew:eE&&!eE.lessEquals(e)?eE:null},eZ=function(e){return!eI(e)},eM=function(e,t){var n=e,r=eZ(n)||n.isEmpty();if(n.isEmpty()||t||(n=eI(n)||n,r=!0),!C&&!O&&r){var a,i=n.toString(),o=ep(i,t);return o>=0&&!eZ(n=N(j(i,".",o)))&&(n=N(j(i,".",o,!0))),n.equals(ed)||(a=n,void 0===S&&em(a),null==K||K(n.isEmpty()?null:A(L,n)),void 0===S&&ex(n,t)),n}return ed},eR=P(),ez=function e(t){if(eC(),eg.current=t,ey(t),!el.current){var n=N(ef(t));n.isNaN()||eM(n,!0)}null==U||U(t),eR(function(){var n=t;q||(n=t.replace(/。/g,".")),n!==t&&e(n)})},eT=function(e){if((!e||!eS)&&(e||!eO)){eo.current=!1;var t,n=N(es.current?W($):$);e||(n=n.negate());var r=eM((ed||N(0)).add(n.toString()),!1);null==Q||Q(A(L,r),{offset:es.current?W($):$,type:e?"up":"down"}),null===(t=et.current)||void 0===t||t.focus()}},eW=function(e){var t=N(ef(e$)),n=t;n=t.isNaN()?eM(ed,e):eM(t,e),void 0!==S?ex(ed,!1):n.isNaN()||ex(n,!1)};return(0,k.o)(function(){ed.isInvalidate()||ex(ed,!1)},[X]),(0,k.o)(function(){var e=N(S);em(e);var t=N(ef(e$));e.equals(t)&&eo.current&&!G||ex(e,eo.current)},[S]),(0,k.o)(function(){G&&ek()},[e$]),i.createElement("div",{className:u()(s,null==_?void 0:_.input,c,(o={},(0,d.Z)(o,"".concat(s,"-focused"),ea),(0,d.Z)(o,"".concat(s,"-disabled"),O),(0,d.Z)(o,"".concat(s,"-readonly"),C),(0,d.Z)(o,"".concat(s,"-not-a-number"),ed.isNaN()),(0,d.Z)(o,"".concat(s,"-out-of-range"),!ed.isInvalidate()&&!eZ(ed)),o)),style:g,onFocus:function(){ei(!0)},onBlur:function(){eW(!1),ei(!1),eo.current=!1},onKeyDown:function(e){var t=e.key,n=e.shiftKey;eo.current=!0,es.current=n,"Enter"===t&&(el.current||(eo.current=!1),eW(!1),null==Y||Y(e)),!1!==z&&!el.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(eT("Up"===t||"ArrowUp"===t),e.preventDefault())},onKeyUp:function(){eo.current=!1,es.current=!1},onCompositionStart:function(){el.current=!0},onCompositionEnd:function(){el.current=!1,ez(et.current.value)},onBeforeInput:function(){eo.current=!0}},B&&i.createElement(T,{prefixCls:s,upNode:M,downNode:R,upDisabled:eS,downDisabled:eO,onStep:eT}),i.createElement("div",{className:"".concat(ee,"-wrap")},i.createElement("input",(0,a.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":b,"aria-valuemax":h,"aria-valuenow":ed.isInvalidate()?null:ed.toString(),step:$},J,{ref:(0,I.sQ)(et,t),className:ee,value:e$,onChange:function(e){ez(e.target.value)},disabled:O,readOnly:C}))))}),L=i.forwardRef(function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,l=e.value,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,m=e.classes,p=e.className,g=e.classNames,b=(0,f.Z)(e,B),h=i.useRef(null);return i.createElement(C.Q,{inputElement:i.createElement(_,(0,a.Z)({prefixCls:o,disabled:n,classNames:g,ref:(0,I.sQ)(h,t)},b)),className:p,triggerFocus:function(e){h.current&&(0,D.nH)(h.current,e)},prefixCls:o,value:l,disabled:n,style:r,prefix:s,suffix:c,addonAfter:d,addonBefore:u,classes:m,classNames:g,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});L.displayName="InputNumber";var q=n(9708),G=n(53124),X=n(17093),V=n(98866),K=n(98675),U=n(65223),Y=n(4173),Q=n(47673),J=n(14747),ee=n(80110),et=n(67968);let en=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:a}=e,i="lg"===t?a:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${n}-handler-up`]:{borderStartEndRadius:i},[`${n}-handler-down`]:{borderEndEndRadius:i}}}},er=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorBorder:a,borderRadius:i,fontSizeLG:o,controlHeightLG:l,controlHeightSM:s,colorError:c,inputPaddingHorizontalSM:u,colorTextDescription:d,motionDurationMid:m,colorPrimary:p,inputPaddingHorizontal:f,inputPaddingVertical:g,colorBgContainer:b,colorTextDisabled:h,borderRadiusSM:v,borderRadiusLG:$,controlWidth:y,handleVisible:x}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(e)),(0,Q.ik)(e)),(0,Q.bi)(e,t)),{display:"inline-block",width:y,margin:0,padding:0,border:`${n}px ${r} ${a}`,borderRadius:i,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,borderRadius:$,[`input${t}-input`]:{height:l-2*n}},"&-sm":{padding:0,borderRadius:v,[`input${t}-input`]:{height:s-2*n,padding:`0 ${u}px`}},"&:hover":Object.assign({},(0,Q.pU)(e)),"&-focused":Object.assign({},(0,Q.M1)(e)),"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,J.Wf)(e)),(0,Q.s7)(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:$}},"&-sm":{[`${t}-group-addon`]:{borderRadius:v}},[`${t}-wrapper-disabled > ${t}-group-addon`]:Object.assign({},(0,Q.Xy)(e))}}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(e)),{width:"100%",padding:`${g}px ${f}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:i,outline:0,transition:`all ${m} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Q.nz)(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:Object.assign(Object.assign(Object.assign({[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:b,borderStartStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i,borderEndStartRadius:0,opacity:!0===x?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${m} linear ${m}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:d,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${a}`,transition:`all ${m} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{color:p}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,J.Ro)()),{color:d,transition:`all ${m} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:i},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${a}`,borderEndEndRadius:i}},en(e,"lg")),en(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` - ${t}-handler-up-disabled, - ${t}-handler-down-disabled - `]:{cursor:"not-allowed"},[` - ${t}-handler-up-disabled:hover &-handler-up-inner, - ${t}-handler-down-disabled:hover &-handler-down-inner - `]:{color:h}})},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},ea=e=>{let{componentCls:t,inputPaddingVertical:n,inputPaddingHorizontal:r,inputAffixPadding:a,controlWidth:i,borderRadiusLG:o,borderRadiusSM:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,Q.ik)(e)),(0,Q.bi)(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:o},"&-sm":{borderRadius:l},[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,Q.pU)(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:`${n}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:r,marginInlineStart:a}}})}};var ei=(0,et.Z)("InputNumber",e=>{let t=(0,Q.e5)(e);return[er(t),ea(t),(0,ee.c)(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:"auto"})),eo=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let el=i.forwardRef((e,t)=>{let{getPrefixCls:n,direction:a}=i.useContext(G.E_),o=i.useRef(null);i.useImperativeHandle(t,()=>o.current);let{className:l,rootClassName:c,size:d,disabled:m,prefixCls:p,addonBefore:f,addonAfter:g,prefix:b,bordered:h=!0,readOnly:v,status:$,controls:y}=e,x=eo(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),w=n("input-number",p),[E,S]=ei(w),{compactSize:O,compactItemClassnames:N}=(0,Y.ri)(w,a),j=i.createElement(s,{className:`${w}-handler-up-inner`}),C=i.createElement(r.Z,{className:`${w}-handler-down-inner`});"object"==typeof y&&(j=void 0===y.upIcon?j:i.createElement("span",{className:`${w}-handler-up-inner`},y.upIcon),C=void 0===y.downIcon?C:i.createElement("span",{className:`${w}-handler-down-inner`},y.downIcon));let{hasFeedback:k,status:I,isFormItemInput:Z,feedbackIcon:M}=i.useContext(U.aM),R=(0,q.F)(I,$),z=(0,K.Z)(e=>{var t;return null!==(t=null!=d?d:O)&&void 0!==t?t:e}),T=i.useContext(V.Z),W=null!=m?m:T,D=u()({[`${w}-lg`]:"large"===z,[`${w}-sm`]:"small"===z,[`${w}-rtl`]:"rtl"===a,[`${w}-borderless`]:!h,[`${w}-in-form-item`]:Z},(0,q.Z)(w,R),N,S),P=`${w}-group`,H=i.createElement(L,Object.assign({ref:o,disabled:W,className:u()(l,c),upHandler:j,downHandler:C,prefixCls:w,readOnly:v,controls:"boolean"==typeof y?y:void 0,prefix:b,suffix:k&&M,addonAfter:g&&i.createElement(Y.BR,null,i.createElement(U.Ux,{override:!0,status:!0},g)),addonBefore:f&&i.createElement(Y.BR,null,i.createElement(U.Ux,{override:!0,status:!0},f)),classNames:{input:D},classes:{affixWrapper:u()((0,q.Z)(`${w}-affix-wrapper`,R,k),{[`${w}-affix-wrapper-sm`]:"small"===z,[`${w}-affix-wrapper-lg`]:"large"===z,[`${w}-affix-wrapper-rtl`]:"rtl"===a,[`${w}-affix-wrapper-borderless`]:!h},S),wrapper:u()({[`${P}-rtl`]:"rtl"===a,[`${w}-wrapper-disabled`]:W},S),group:u()({[`${w}-group-wrapper-sm`]:"small"===z,[`${w}-group-wrapper-lg`]:"large"===z,[`${w}-group-wrapper-rtl`]:"rtl"===a},(0,q.Z)(`${w}-group-wrapper`,R,k),S)}},x));return E(H)});el._InternalPanelDoNotUseOrYouWillBeFired=e=>i.createElement(X.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},i.createElement(el,Object.assign({},e)));var es=el},33507:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/902-c56acea399c45e57.js b/pilot/server/static/_next/static/chunks/902-c56acea399c45e57.js new file mode 100644 index 000000000..00b28d746 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/902-c56acea399c45e57.js @@ -0,0 +1,19 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[902],{68795:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=r(42135),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},9708:function(e,t,r){r.d(t,{F:function(){return a},Z:function(){return i}});var n=r(94184),o=r.n(n);function i(e,t,r){return o()({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:r})}let a=(e,t)=>t||e},32983:function(e,t,r){r.d(t,{Z:function(){return b}});var n=r(94184),o=r.n(n),i=r(67294),a=r(53124),l=r(10110),c=r(10274),s=r(46605),d=r(67968),u=r(45503);let f=e=>{let{componentCls:t,margin:r,marginXS:n,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:n,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:n,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:r},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:n,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}};var p=(0,d.Z)("Empty",e=>{let{componentCls:t,controlHeightLG:r}=e,n=(0,u.TS)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:2.5*r,emptyImgHeightMD:r,emptyImgHeightSM:.875*r});return[f(n)]}),h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let g=i.createElement(()=>{let[,e]=(0,s.Z)(),t=new c.C(e.colorBgBase),r=t.toHsl().l<.5?{opacity:.65}:{};return i.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(24 31.67)"},i.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),i.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),i.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),i.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),i.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),i.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),i.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},i.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),i.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),m=i.createElement(()=>{let[,e]=(0,s.Z)(),{colorFill:t,colorFillTertiary:r,colorFillQuaternary:n,colorBgContainer:o}=e,{borderColor:a,shadowColor:l,contentColor:d}=(0,i.useMemo)(()=>({borderColor:new c.C(t).onBackground(o).toHexShortString(),shadowColor:new c.C(r).onBackground(o).toHexShortString(),contentColor:new c.C(n).onBackground(o).toHexShortString()}),[t,r,n,o]);return i.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},i.createElement("ellipse",{fill:l,cx:"32",cy:"33",rx:"32",ry:"7"}),i.createElement("g",{fillRule:"nonzero",stroke:a},i.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),i.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:d}))))},null),v=e=>{var{className:t,rootClassName:r,prefixCls:n,image:c=g,description:s,children:d,imageStyle:u,style:f}=e,v=h(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);let{getPrefixCls:b,direction:$,empty:E}=i.useContext(a.E_),S=b("empty",n),[x,y]=p(S),[w]=(0,l.Z)("Empty"),R=void 0!==s?s:null==w?void 0:w.description,Z="string"==typeof R?R:"empty",I=null;return I="string"==typeof c?i.createElement("img",{alt:Z,src:c}):c,x(i.createElement("div",Object.assign({className:o()(y,S,null==E?void 0:E.className,{[`${S}-normal`]:c===m,[`${S}-rtl`]:"rtl"===$},t,r),style:Object.assign(Object.assign({},null==E?void 0:E.style),f)},v),i.createElement("div",{className:`${S}-image`,style:u},I),R&&i.createElement("div",{className:`${S}-description`},R),d&&i.createElement("div",{className:`${S}-footer`},d)))};v.PRESENTED_IMAGE_DEFAULT=g,v.PRESENTED_IMAGE_SIMPLE=m;var b=v},47673:function(e,t,r){r.d(t,{M1:function(){return s},TM:function(){return y},Xy:function(){return d},bi:function(){return p},e5:function(){return x},ik:function(){return h},nz:function(){return l},pU:function(){return c},s7:function(){return g},x0:function(){return f}});var n=r(14747),o=r(80110),i=r(45503),a=r(67968);let l=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),c=e=>({borderColor:e.hoverBorderColor}),s=e=>({borderColor:e.activeBorderColor,boxShadow:e.activeShadow,outline:0}),d=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},c((0,i.TS)(e,{hoverBorderColor:e.colorBorder})))}),u=e=>{let{paddingBlockLG:t,fontSizeLG:r,lineHeightLG:n,borderRadiusLG:o,paddingInlineLG:i}=e;return{padding:`${t}px ${i}px`,fontSize:r,lineHeight:n,borderRadius:o}},f=e=>({padding:`${e.paddingBlockSM}px ${e.paddingInlineSM}px`,borderRadius:e.borderRadiusSM}),p=(e,t)=>{let{componentCls:r,colorError:n,colorWarning:o,errorActiveShadow:a,warningActiveShadow:l,colorErrorBorderHover:c,colorWarningBorderHover:d}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:n,"&:hover":{borderColor:c},"&:focus, &-focused":Object.assign({},s((0,i.TS)(e,{activeBorderColor:n,activeShadow:a}))),[`${r}-prefix, ${r}-suffix`]:{color:n}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:d},"&:focus, &-focused":Object.assign({},s((0,i.TS)(e,{activeBorderColor:o,activeShadow:l}))),[`${r}-prefix, ${r}-suffix`]:{color:o}}}},h=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.paddingBlock}px ${e.paddingInline}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},l(e.colorTextPlaceholder)),{"&:hover":Object.assign({},c(e)),"&:focus, &-focused":Object.assign({},s(e)),"&-disabled, &[disabled]":Object.assign({},d(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},u(e)),"&-sm":Object.assign({},f(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),g=e=>{let{componentCls:t,antCls:r}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},u(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},f(e)),[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.paddingInline}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`-${e.paddingBlock+1}px -${e.paddingInline}px`,[`&${r}-select-single:not(${r}-select-customize-input)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${r}-select-selector`]:{color:e.colorPrimary}}},[`${r}-cascader-picker`]:{margin:`-9px -${e.paddingInline}px`,backgroundColor:"transparent",[`${r}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,n.dF)()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` + & > ${t}-affix-wrapper, + & > ${t}-number-affix-wrapper, + & > ${r}-picker-range + `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${r}-select > ${r}-select-selector, + & > ${r}-select-auto-complete ${t}, + & > ${r}-cascader-picker ${t}, + & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${r}-select-focused`]:{zIndex:1},[`& > ${r}-select > ${r}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${r}-select:first-child > ${r}-select-selector, + & > ${r}-select-auto-complete:first-child ${t}, + & > ${r}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, + & > ${r}-select:last-child > ${r}-select-selector, + & > ${r}-cascader-picker:last-child ${t}, + & > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},m=e=>{let{componentCls:t,controlHeightSM:r,lineWidth:o}=e,i=(r-2*o-16)/2;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.Wf)(e)),h(e)),p(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},v=e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}}}},b=e=>{let{componentCls:t,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},c(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),v(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),p(e,`${t}-affix-wrapper`))}},$=e=>{let{componentCls:t,colorError:r,colorWarning:o,borderRadiusLG:i,borderRadiusSM:a}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},(0,n.Wf)(e)),g(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:i,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:a}},"&-status-error":{[`${t}-group-addon`]:{color:r,borderColor:r}},"&-status-warning":{[`${t}-group-addon`]:{color:o,borderColor:o}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},d(e))},[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},E=e=>{let{componentCls:t,antCls:r}=e,n=`${t}-search`;return{[n]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${n}-button:not(${r}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${r}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${n}-button`]:{height:e.controlHeightLG},[`&-small ${n}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + > ${t}, + ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},S=e=>{let{componentCls:t,paddingLG:r}=e,n=`${t}-textarea`;return{[n]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:r}},[`&-affix-wrapper${n}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:r}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function x(e){return(0,i.TS)(e,{inputAffixPadding:e.paddingXXS})}let y=e=>{let{controlHeight:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:c,paddingSM:s,controlPaddingHorizontalSM:d,controlPaddingHorizontal:u,colorFillAlter:f,colorPrimaryHover:p,controlOutlineWidth:h,controlOutline:g,colorErrorOutline:m,colorWarningOutline:v}=e;return{paddingBlock:Math.max(Math.round((t-r*n)/2*10)/10-o,3),paddingBlockSM:Math.max(Math.round((i-r*n)/2*10)/10-o,0),paddingBlockLG:Math.ceil((a-l*c)/2*10)/10-o,paddingInline:s-o,paddingInlineSM:d-o,paddingInlineLG:u-o,addonBg:f,activeBorderColor:p,hoverBorderColor:p,activeShadow:`0 0 0 ${h}px ${g}`,errorActiveShadow:`0 0 0 ${h}px ${m}`,warningActiveShadow:`0 0 0 ${h}px ${v}`}};t.ZP=(0,a.Z)("Input",e=>{let t=(0,i.TS)(e,x(e));return[m(t),S(t),b(t),$(t),E(t),(0,o.c)(t)]},y)},67771:function(e,t,r){r.d(t,{Qt:function(){return l},Uw:function(){return a},fJ:function(){return i},ly:function(){return c},oN:function(){return h}});var n=r(76325),o=r(93590);let i=new n.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new n.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),l=new n.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),c=new n.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),s=new n.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),d=new n.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),u=new n.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),f=new n.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:l,outKeyframes:c},"slide-left":{inKeyframes:s,outKeyframes:d},"slide-right":{inKeyframes:u,outKeyframes:f}},h=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.R)(n,i,a,e.motionDurationMid),{[` + ${n}-enter, + ${n}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},39983:function(e,t,r){r.d(t,{Z:function(){return C}});var n=r(87462),o=r(1413),i=r(97685),a=r(45987),l=r(67294),c=r(94184),s=r.n(c),d=r(9220),u=r(8410),f=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0,h=l.forwardRef(function(e,t){var r,i=e.prefixCls,c=e.invalidate,u=e.item,h=e.renderItem,g=e.responsive,m=e.responsiveDisabled,v=e.registerSize,b=e.itemKey,$=e.className,E=e.style,S=e.children,x=e.display,y=e.order,w=e.component,R=void 0===w?"div":w,Z=(0,a.Z)(e,f),I=g&&!x;l.useEffect(function(){return function(){v(b,null)}},[]);var M=h&&u!==p?h(u):S;c||(r={opacity:I?0:1,height:I?0:p,overflowY:I?"hidden":p,order:g?y:p,pointerEvents:I?"none":p,position:I?"absolute":p});var C={};I&&(C["aria-hidden"]=!0);var z=l.createElement(R,(0,n.Z)({className:s()(!c&&i,$),style:(0,o.Z)((0,o.Z)({},r),E)},C,Z,{ref:t}),M);return g&&(z=l.createElement(d.Z,{onResize:function(e){v(b,e.offsetWidth)},disabled:m},z)),z});h.displayName="Item";var g=r(66680),m=r(73935),v=r(75164);function b(e,t){var r=l.useState(t),n=(0,i.Z)(r,2),o=n[0],a=n[1];return[o,(0,g.Z)(function(t){e(function(){a(t)})})]}var $=l.createContext(null),E=["component"],S=["className"],x=["className"],y=l.forwardRef(function(e,t){var r=l.useContext($);if(!r){var o=e.component,i=void 0===o?"div":o,c=(0,a.Z)(e,E);return l.createElement(i,(0,n.Z)({},c,{ref:t}))}var d=r.className,u=(0,a.Z)(r,S),f=e.className,p=(0,a.Z)(e,x);return l.createElement($.Provider,{value:null},l.createElement(h,(0,n.Z)({ref:t,className:s()(d,f)},u,p)))});y.displayName="RawItem";var w=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],R="responsive",Z="invalidate";function I(e){return"+ ".concat(e.length," ...")}var M=l.forwardRef(function(e,t){var r,c,f=e.prefixCls,p=void 0===f?"rc-overflow":f,g=e.data,E=void 0===g?[]:g,S=e.renderItem,x=e.renderRawItem,y=e.itemKey,M=e.itemWidth,C=void 0===M?10:M,z=e.ssr,O=e.style,k=e.className,H=e.maxCount,T=e.renderRest,N=e.renderRawRest,L=e.suffix,j=e.component,B=void 0===j?"div":j,D=e.itemComponent,W=e.onVisibleChange,A=(0,a.Z)(e,w),P="full"===z,X=(r=l.useRef(null),function(e){r.current||(r.current=[],function(e){if("undefined"==typeof MessageChannel)(0,v.Z)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}(function(){(0,m.unstable_batchedUpdates)(function(){r.current.forEach(function(e){e()}),r.current=null})})),r.current.push(e)}),Y=b(X,null),F=(0,i.Z)(Y,2),_=F[0],V=F[1],K=_||0,G=b(X,new Map),U=(0,i.Z)(G,2),Q=U[0],J=U[1],q=b(X,0),ee=(0,i.Z)(q,2),et=ee[0],er=ee[1],en=b(X,0),eo=(0,i.Z)(en,2),ei=eo[0],ea=eo[1],el=b(X,0),ec=(0,i.Z)(el,2),es=ec[0],ed=ec[1],eu=(0,l.useState)(null),ef=(0,i.Z)(eu,2),ep=ef[0],eh=ef[1],eg=(0,l.useState)(null),em=(0,i.Z)(eg,2),ev=em[0],eb=em[1],e$=l.useMemo(function(){return null===ev&&P?Number.MAX_SAFE_INTEGER:ev||0},[ev,_]),eE=(0,l.useState)(!1),eS=(0,i.Z)(eE,2),ex=eS[0],ey=eS[1],ew="".concat(p,"-item"),eR=Math.max(et,ei),eZ=H===R,eI=E.length&&eZ,eM=H===Z,eC=eI||"number"==typeof H&&E.length>H,ez=(0,l.useMemo)(function(){var e=E;return eI?e=null===_&&P?E:E.slice(0,Math.min(E.length,K/C)):"number"==typeof H&&(e=E.slice(0,H)),e},[E,C,_,H,eI]),eO=(0,l.useMemo)(function(){return eI?E.slice(e$+1):E.slice(ez.length)},[E,ez,eI,e$]),ek=(0,l.useCallback)(function(e,t){var r;return"function"==typeof y?y(e):null!==(r=y&&(null==e?void 0:e[y]))&&void 0!==r?r:t},[y]),eH=(0,l.useCallback)(S||function(e){return e},[S]);function eT(e,t,r){(ev!==e||void 0!==t&&t!==ep)&&(eb(e),r||(ey(eK){eT(n-1,e-o-es+ei);break}}L&&eL(0)+es>K&&eh(null)}},[K,Q,ei,es,ek,ez]);var ej=ex&&!!eO.length,eB={};null!==ep&&eI&&(eB={position:"absolute",left:ep,top:0});var eD={prefixCls:ew,responsive:eI,component:D,invalidate:eM},eW=x?function(e,t){var r=ek(e,t);return l.createElement($.Provider,{key:r,value:(0,o.Z)((0,o.Z)({},eD),{},{order:t,item:e,itemKey:r,registerSize:eN,display:t<=e$})},x(e,t))}:function(e,t){var r=ek(e,t);return l.createElement(h,(0,n.Z)({},eD,{order:t,key:r,item:e,renderItem:eH,itemKey:r,registerSize:eN,display:t<=e$}))},eA={order:ej?e$:Number.MAX_SAFE_INTEGER,className:"".concat(ew,"-rest"),registerSize:function(e,t){ea(t),er(ei)},display:ej};if(N)N&&(c=l.createElement($.Provider,{value:(0,o.Z)((0,o.Z)({},eD),eA)},N(eO)));else{var eP=T||I;c=l.createElement(h,(0,n.Z)({},eD,eA),"function"==typeof eP?eP(eO):eP)}var eX=l.createElement(B,(0,n.Z)({className:s()(!eM&&p,k),style:O,ref:t},A),ez.map(eW),eC?c:null,L&&l.createElement(h,(0,n.Z)({},eD,{responsive:eZ,responsiveDisabled:!eI,order:e$,className:"".concat(ew,"-suffix"),registerSize:function(e,t){ed(t)},display:!0,style:eB}),L));return eZ&&(eX=l.createElement(d.Z,{onResize:function(e,t){V(t.clientWidth)},disabled:!eI},eX)),eX});M.displayName="Overflow",M.Item=y,M.RESPONSIVE=R,M.INVALIDATE=Z;var C=M},85344:function(e,t,r){r.d(t,{Z:function(){return H}});var n=r(87462),o=r(1413),i=r(71002),a=r(97685),l=r(4942),c=r(45987),s=r(67294),d=r(73935),u=r(94184),f=r.n(u),p=r(9220),h=s.forwardRef(function(e,t){var r,i=e.height,a=e.offsetY,c=e.offsetX,d=e.children,u=e.prefixCls,h=e.onInnerResize,g=e.innerProps,m=e.rtl,v=e.extra,b={},$={display:"flex",flexDirection:"column"};return void 0!==a&&(b={height:i,position:"relative",overflow:"hidden"},$=(0,o.Z)((0,o.Z)({},$),{},(r={transform:"translateY(".concat(a,"px)")},(0,l.Z)(r,m?"marginRight":"marginLeft",-c),(0,l.Z)(r,"position","absolute"),(0,l.Z)(r,"left",0),(0,l.Z)(r,"right",0),(0,l.Z)(r,"top",0),r))),s.createElement("div",{style:b},s.createElement(p.Z,{onResize:function(e){e.offsetHeight&&h&&h()}},s.createElement("div",(0,n.Z)({style:$,className:f()((0,l.Z)({},"".concat(u,"-holder-inner"),u)),ref:t},g),d,v)))});h.displayName="Filler";var g=r(75164);function m(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}var v=s.forwardRef(function(e,t){var r,n=e.prefixCls,o=e.rtl,i=e.scrollOffset,c=e.scrollRange,d=e.onStartMove,u=e.onStopMove,p=e.onScroll,h=e.horizontal,v=e.spinSize,b=e.containerSize,$=s.useState(!1),E=(0,a.Z)($,2),S=E[0],x=E[1],y=s.useState(null),w=(0,a.Z)(y,2),R=w[0],Z=w[1],I=s.useState(null),M=(0,a.Z)(I,2),C=M[0],z=M[1],O=!o,k=s.useRef(),H=s.useRef(),T=s.useState(!1),N=(0,a.Z)(T,2),L=N[0],j=N[1],B=s.useRef(),D=function(){clearTimeout(B.current),j(!0),B.current=setTimeout(function(){j(!1)},3e3)},W=c-b||0,A=b-v||0,P=W>0,X=s.useMemo(function(){return 0===i||0===W?0:i/W*A},[i,W,A]),Y=s.useRef({top:X,dragging:S,pageY:R,startTop:C});Y.current={top:X,dragging:S,pageY:R,startTop:C};var F=function(e){x(!0),Z(m(e,h)),z(Y.current.top),d(),e.stopPropagation(),e.preventDefault()};s.useEffect(function(){var e=function(e){e.preventDefault()},t=k.current,r=H.current;return t.addEventListener("touchstart",e),r.addEventListener("touchstart",F),function(){t.removeEventListener("touchstart",e),r.removeEventListener("touchstart",F)}},[]);var _=s.useRef();_.current=W;var V=s.useRef();V.current=A,s.useEffect(function(){if(S){var e,t=function(t){var r=Y.current,n=r.dragging,o=r.pageY,i=r.startTop;if(g.Z.cancel(e),n){var a=m(t,h)-o,l=i;!O&&h?l-=a:l+=a;var c=_.current,s=V.current,d=Math.ceil((s?l/s:0)*c);d=Math.min(d=Math.max(d,0),c),e=(0,g.Z)(function(){p(d,h)})}},r=function(){x(!1),u()};return window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",r),window.addEventListener("touchend",r),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",r),window.removeEventListener("touchend",r),g.Z.cancel(e)}}},[S]),s.useEffect(function(){D()},[i]),s.useImperativeHandle(t,function(){return{delayHidden:D}});var K="".concat(n,"-scrollbar"),G={position:"absolute",visibility:L&&P?null:"hidden"},U={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return h?(G.height=8,G.left=0,G.right=0,G.bottom=0,U.height="100%",U.width=v,O?U.left=X:U.right=X):(G.width=8,G.top=0,G.bottom=0,O?G.right=0:G.left=0,U.width="100%",U.height=v,U.top=X),s.createElement("div",{ref:k,className:f()(K,(r={},(0,l.Z)(r,"".concat(K,"-horizontal"),h),(0,l.Z)(r,"".concat(K,"-vertical"),!h),(0,l.Z)(r,"".concat(K,"-visible"),L),r)),style:G,onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:D},s.createElement("div",{ref:H,className:f()("".concat(K,"-thumb"),(0,l.Z)({},"".concat(K,"-thumb-moving"),S)),style:U,onMouseDown:F}))});function b(e){var t=e.children,r=e.setRef,n=s.useCallback(function(e){r(e)},[]);return s.cloneElement(t,{ref:n})}var $=r(34203),E=r(15671),S=r(43144),x=function(){function e(){(0,E.Z)(this,e),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,S.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),y=("undefined"==typeof navigator?"undefined":(0,i.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),w=function(e,t){var r=(0,s.useRef)(!1),n=(0,s.useRef)(null),o=(0,s.useRef)({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e<0&&o.current.top||e>0&&o.current.bottom;return t&&i?(clearTimeout(n.current),r.current=!1):(!i||r.current)&&(clearTimeout(n.current),r.current=!0,n.current=setTimeout(function(){r.current=!1},50)),!r.current&&i}},R=r(8410),Z=14/15;function I(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e/t*100;return isNaN(r)&&(r=0),Math.floor(r=Math.min(r=Math.max(r,20),e/2))}var M=r(56790),C=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender"],z=[],O={overflowY:"auto",overflowAnchor:"none"},k=s.forwardRef(function(e,t){var r,u,m,E,S,k,H,T,N,L,j,B,D,W,A,P,X,Y,F,_,V,K,G,U,Q,J,q,ee,et,er,en,eo=e.prefixCls,ei=void 0===eo?"rc-virtual-list":eo,ea=e.className,el=e.height,ec=e.itemHeight,es=e.fullHeight,ed=e.style,eu=e.data,ef=e.children,ep=e.itemKey,eh=e.virtual,eg=e.direction,em=e.scrollWidth,ev=e.component,eb=void 0===ev?"div":ev,e$=e.onScroll,eE=e.onVirtualScroll,eS=e.onVisibleChange,ex=e.innerProps,ey=e.extraRender,ew=(0,c.Z)(e,C),eR=!!(!1!==eh&&el&&ec),eZ=eR&&eu&&(ec*eu.length>el||!!em),eI="rtl"===eg,eM=f()(ei,(0,l.Z)({},"".concat(ei,"-rtl"),eI),ea),eC=eu||z,ez=(0,s.useRef)(),eO=(0,s.useRef)(),ek=(0,s.useState)(0),eH=(0,a.Z)(ek,2),eT=eH[0],eN=eH[1],eL=(0,s.useState)(0),ej=(0,a.Z)(eL,2),eB=ej[0],eD=ej[1],eW=(0,s.useState)(!1),eA=(0,a.Z)(eW,2),eP=eA[0],eX=eA[1],eY=function(){eX(!0)},eF=function(){eX(!1)},e_=s.useCallback(function(e){return"function"==typeof ep?ep(e):null==e?void 0:e[ep]},[ep]);function eV(e){eN(function(t){var r,n=(r="function"==typeof e?e(t):e,Number.isNaN(tc.current)||(r=Math.min(r,tc.current)),r=Math.max(r,0));return ez.current.scrollTop=n,n})}var eK=(0,s.useRef)({start:0,end:eC.length}),eG=(0,s.useRef)(),eU=(u=s.useState(eC),E=(m=(0,a.Z)(u,2))[0],S=m[1],k=s.useState(null),T=(H=(0,a.Z)(k,2))[0],N=H[1],s.useEffect(function(){var e=function(e,t,r){var n,o,i=e.length,a=t.length;if(0===i&&0===a)return null;i=eT&&void 0===t&&(t=a,r=o),s>eT+el&&void 0===n&&(n=a),o=s}return void 0===t&&(t=0,r=0,n=Math.ceil(el/ec)),void 0===n&&(n=eC.length-1),{scrollHeight:o,start:t,end:n=Math.min(n+1,eC.length-1),offset:r}},[eZ,eR,eT,eC,e4,el]),e6=e3.scrollHeight,e5=e3.start,e7=e3.end,e8=e3.offset;eK.current.start=e5,eK.current.end=e7;var e9=s.useState({width:0,height:el}),te=(0,a.Z)(e9,2),tt=te[0],tr=te[1],tn=(0,s.useRef)(),to=(0,s.useRef)(),ti=s.useMemo(function(){return I(tt.width,em)},[tt.width,em]),ta=s.useMemo(function(){return I(tt.height,e6)},[tt.height,e6]),tl=e6-el,tc=(0,s.useRef)(tl);tc.current=tl;var ts=eT<=0,td=eT>=tl,tu=w(ts,td),tf=function(){return{x:eI?-eB:eB,y:eT}},tp=(0,s.useRef)(tf()),th=(0,M.zX)(function(){if(eE){var e=tf();(tp.current.x!==e.x||tp.current.y!==e.y)&&(eE(e),tp.current=e)}});function tg(e,t){t?((0,d.flushSync)(function(){eD(e)}),th()):eV(e)}var tm=function(e){var t=e,r=em-tt.width;return Math.min(t=Math.max(t,0),r)},tv=(0,M.zX)(function(e,t){t?((0,d.flushSync)(function(){eD(function(t){return tm(t+(eI?-e:e))})}),th()):eV(function(t){return t+e})}),tb=(L=!!em,j=(0,s.useRef)(0),B=(0,s.useRef)(null),D=(0,s.useRef)(null),W=(0,s.useRef)(!1),A=w(ts,td),P=(0,s.useRef)(null),X=(0,s.useRef)(null),[function(e){if(eR){g.Z.cancel(X.current),X.current=(0,g.Z)(function(){P.current=null},2);var t,r=e.deltaX,n=e.deltaY,o=e.shiftKey,i=r,a=n;("sx"===P.current||!P.current&&o&&n&&!r)&&(i=n,a=0,P.current="sx");var l=Math.abs(i),c=Math.abs(a);(null===P.current&&(P.current=L&&l>c?"x":"y"),"y"===P.current)?(t=a,g.Z.cancel(B.current),j.current+=t,D.current=t,A(t)||(y||e.preventDefault(),B.current=(0,g.Z)(function(){var e=W.current?10:1;tv(j.current*e),j.current=0}))):(tv(i,!0),y||e.preventDefault())}},function(e){eR&&(W.current=e.detail===D.current)}]),t$=(0,a.Z)(tb,2),tE=t$[0],tS=t$[1];Y=function(e,t){return!tu(e,t)&&(tE({preventDefault:function(){},deltaY:e}),!0)},_=(0,s.useRef)(!1),V=(0,s.useRef)(0),K=(0,s.useRef)(null),G=(0,s.useRef)(null),U=function(e){if(_.current){var t=Math.ceil(e.touches[0].pageY),r=V.current-t;V.current=t,Y(r)&&e.preventDefault(),clearInterval(G.current),G.current=setInterval(function(){(!Y(r*=Z,!0)||.1>=Math.abs(r))&&clearInterval(G.current)},16)}},Q=function(){_.current=!1,F()},J=function(e){F(),1!==e.touches.length||_.current||(_.current=!0,V.current=Math.ceil(e.touches[0].pageY),K.current=e.target,K.current.addEventListener("touchmove",U),K.current.addEventListener("touchend",Q))},F=function(){K.current&&(K.current.removeEventListener("touchmove",U),K.current.removeEventListener("touchend",Q))},(0,R.Z)(function(){return eR&&ez.current.addEventListener("touchstart",J),function(){var e;null===(e=ez.current)||void 0===e||e.removeEventListener("touchstart",J),F(),clearInterval(G.current)}},[eR]),(0,R.Z)(function(){function e(e){eR&&e.preventDefault()}var t=ez.current;return t.addEventListener("wheel",tE),t.addEventListener("DOMMouseScroll",tS),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",tE),t.removeEventListener("DOMMouseScroll",tS),t.removeEventListener("MozMousePixelScroll",e)}},[eR]);var tx=function(){var e,t;null===(e=tn.current)||void 0===e||e.delayHidden(),null===(t=to.current)||void 0===t||t.delayHidden()},ty=(q=s.useRef(),function(e){if(null==e){tx();return}if(g.Z.cancel(q.current),"number"==typeof e)eV(e);else if(e&&"object"===(0,i.Z)(e)){var t,r=e.align;t="index"in e?e.index:eC.findIndex(function(t){return e_(t)===e.key});var n=e.offset,o=void 0===n?0:n;!function e(n,i){if(!(n<0)&&ez.current){var a=ez.current.clientHeight,l=!1,c=i;if(a){for(var s=0,d=0,u=0,f=Math.min(eC.length,t),p=0;p<=f;p+=1){var h=e_(eC[p]);d=s;var m=e2.get(h);s=u=d+(void 0===m?ec:m),p===t&&void 0===m&&(l=!0)}var v=null;switch(i||r){case"top":v=d-o;break;case"bottom":v=u-a+o;break;default:var b=ez.current.scrollTop;db+a&&(c="bottom")}null!==v&&v!==ez.current.scrollTop&&eV(v)}q.current=(0,g.Z)(function(){l&&e1(),e(n-1,c)},2)}}(3)}});s.useImperativeHandle(t,function(){return{getScrollInfo:tf,scrollTo:function(e){e&&"object"===(0,i.Z)(e)&&("left"in e||"top"in e)?(void 0!==e.left&&eD(tm(e.left)),ty(e.top)):ty(e)}}}),(0,R.Z)(function(){eS&&eS(eC.slice(e5,e7+1),eC)},[e5,e7,eC]);var tw=(ee=s.useMemo(function(){return[new Map,[]]},[eC,e2.id,ec]),er=(et=(0,a.Z)(ee,2))[0],en=et[1],function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=er.get(e),n=er.get(t);if(void 0===r||void 0===n)for(var o=eC.length,i=en.length;iel&&s.createElement(v,{ref:tn,prefixCls:ei,scrollOffset:eT,scrollRange:e6,rtl:eI,onScroll:tg,onStartMove:eY,onStopMove:eF,spinSize:ta,containerSize:tt.height}),eZ&&em&&s.createElement(v,{ref:to,prefixCls:ei,scrollOffset:eB,scrollRange:em,rtl:eI,onScroll:tg,onStartMove:eY,onStopMove:eF,spinSize:ti,containerSize:tt.width,horizontal:!0}))});k.displayName="List";var H=k}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/908-d76aabcc43706d37.js b/pilot/server/static/_next/static/chunks/908-d76aabcc43706d37.js deleted file mode 100644 index 4b339d2ea..000000000 --- a/pilot/server/static/_next/static/chunks/908-d76aabcc43706d37.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[908],{24969:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},i=n(42135),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},65908:function(e,t,n){n.d(t,{Z:function(){return tK}});var r=n(97937),o=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},l=n(42135),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:i}))}),u=n(24969),s=n(94184),d=n.n(s),f=n(4942),p=n(1413),v=n(97685),m=n(71002),b=n(45987),h=n(31131),g=n(21770),y=n(82225),$=(0,a.createContext)(null),x=a.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.id,l=e.active,c=e.tabKey,u=e.children;return a.createElement("div",{id:i&&"".concat(i,"-panel-").concat(c),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(c),"aria-hidden":!l,style:o,className:d()(n,l&&"".concat(n,"-active"),r),ref:t},u)}),k=["key","forceRender","style","className"];function Z(e){var t=e.id,n=e.activeKey,r=e.animated,i=e.tabPosition,l=e.destroyInactiveTabPane,c=a.useContext($),u=c.prefixCls,s=c.tabs,v=r.tabPane,m="".concat(u,"-tabpane");return a.createElement("div",{className:d()("".concat(u,"-content-holder"))},a.createElement("div",{className:d()("".concat(u,"-content"),"".concat(u,"-content-").concat(i),(0,f.Z)({},"".concat(u,"-content-animated"),v))},s.map(function(e){var i=e.key,c=e.forceRender,u=e.style,s=e.className,f=(0,b.Z)(e,k),h=i===n;return a.createElement(y.ZP,(0,o.Z)({key:i,visible:h,forceRender:c,removeOnLeave:!!l,leavedClassName:"".concat(m,"-hidden")},r.tabPaneMotion),function(e,n){var r=e.style,l=e.className;return a.createElement(x,(0,o.Z)({},f,{prefixCls:m,id:t,tabKey:i,animated:v,active:h,style:(0,p.Z)((0,p.Z)({},u),r),className:d()(s,l),ref:n}))})})))}var C=n(74902),w=n(9220),E=n(66680),S=n(75164),_=n(42550),R={width:0,height:0,left:0,top:0};function P(e,t){var n=a.useRef(e),r=a.useState({}),o=(0,v.Z)(r,2)[1];return[n.current,function(e){var r="function"==typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,o({})}]}var N=n(8410);function I(e){var t=(0,a.useState)(0),n=(0,v.Z)(t,2),r=n[0],o=n[1],i=(0,a.useRef)(0),l=(0,a.useRef)();return l.current=e,(0,N.o)(function(){var e;null===(e=l.current)||void 0===e||e.call(l)},[r]),function(){i.current===r&&(i.current+=1,o(i.current))}}var M={width:0,height:0,left:0,top:0,right:0};function T(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e})):t=e,JSON.stringify(t)}function L(e){return String(e).replace(/"/g,"TABS_DQ")}function O(e,t,n,r){return!!n&&!r&&!1!==e&&(void 0!==e||!1!==t&&null!==t)}var D=a.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,o=e.locale,i=e.style;return r&&!1!==r.showAdd?a.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null==o?void 0:o.addAriaLabel)||"Add tab",onClick:function(e){r.onEdit("add",{event:e})}},r.addIcon||"+"):null}),K=a.forwardRef(function(e,t){var n,r=e.position,o=e.prefixCls,i=e.extra;if(!i)return null;var l={};return"object"!==(0,m.Z)(i)||a.isValidElement(i)?l.right=i:l=i,"right"===r&&(n=l.right),"left"===r&&(n=l.left),n?a.createElement("div",{className:"".concat(o,"-extra-content"),ref:t},n):null}),A=n(40228),z=n(15105),B=z.Z.ESC,j=z.Z.TAB,W=(0,a.forwardRef)(function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,i=(0,a.useMemo)(function(){return"function"==typeof n?n():n},[n]),l=(0,_.sQ)(t,null==i?void 0:i.ref);return a.createElement(a.Fragment,null,r&&a.createElement("div",{className:"".concat(o,"-arrow")}),a.cloneElement(i,{ref:(0,_.Yr)(i)?l:void 0}))}),G={adjustX:1,adjustY:1},H=[0,0],X={topLeft:{points:["bl","tl"],overflow:G,offset:[0,-4],targetOffset:H},top:{points:["bc","tc"],overflow:G,offset:[0,-4],targetOffset:H},topRight:{points:["br","tr"],overflow:G,offset:[0,-4],targetOffset:H},bottomLeft:{points:["tl","bl"],overflow:G,offset:[0,4],targetOffset:H},bottom:{points:["tc","bc"],overflow:G,offset:[0,4],targetOffset:H},bottomRight:{points:["tr","br"],overflow:G,offset:[0,4],targetOffset:H}},V=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"],F=a.forwardRef(function(e,t){var n,r,i,l,c,u,s,p,m,h,g,y,$,x,k=e.arrow,Z=void 0!==k&&k,C=e.prefixCls,w=void 0===C?"rc-dropdown":C,E=e.transitionName,R=e.animation,P=e.align,N=e.placement,I=e.placements,M=e.getPopupContainer,T=e.showAction,L=e.hideAction,O=e.overlayClassName,D=e.overlayStyle,K=e.visible,z=e.trigger,G=void 0===z?["hover"]:z,H=e.autoFocus,F=e.overlay,q=e.children,Y=e.onVisibleChange,Q=(0,b.Z)(e,V),U=a.useState(),J=(0,v.Z)(U,2),ee=J[0],et=J[1],en="visible"in e?K:ee,er=a.useRef(null),eo=a.useRef(null),ea=a.useRef(null);a.useImperativeHandle(t,function(){return er.current});var ei=function(e){et(e),null==Y||Y(e)};r=(n={visible:en,triggerRef:ea,onVisibleChange:ei,autoFocus:H,overlayRef:eo}).visible,i=n.triggerRef,l=n.onVisibleChange,c=n.autoFocus,u=n.overlayRef,s=a.useRef(!1),p=function(){if(r){var e,t;null===(e=i.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e),null==l||l(!1)}},m=function(){var e;return null!==(e=u.current)&&void 0!==e&&!!e.focus&&(u.current.focus(),s.current=!0,!0)},h=function(e){switch(e.keyCode){case B:p();break;case j:var t=!1;s.current||(t=m()),t?e.preventDefault():p()}},a.useEffect(function(){return r?(window.addEventListener("keydown",h),c&&(0,S.Z)(m,3),function(){window.removeEventListener("keydown",h),s.current=!1}):function(){s.current=!1}},[r]);var el=function(){return a.createElement(W,{ref:eo,overlay:F,prefixCls:w,arrow:Z})},ec=a.cloneElement(q,{className:d()(null===(x=q.props)||void 0===x?void 0:x.className,en&&(void 0!==(g=e.openClassName)?g:"".concat(w,"-open"))),ref:(0,_.Yr)(q)?(0,_.sQ)(ea,q.ref):void 0}),eu=L;return eu||-1===G.indexOf("contextMenu")||(eu=["click"]),a.createElement(A.Z,(0,o.Z)({builtinPlacements:void 0===I?X:I},Q,{prefixCls:w,ref:er,popupClassName:d()(O,(0,f.Z)({},"".concat(w,"-show-arrow"),Z)),popupStyle:D,action:G,showAction:T,hideAction:eu,popupPlacement:void 0===N?"bottomLeft":N,popupAlign:P,popupTransitionName:E,popupAnimation:R,popupVisible:en,stretch:(y=e.minOverlayWidthMatchTrigger,$=e.alignPoint,"minOverlayWidthMatchTrigger"in e?y:!$)?"minWidth":"",popup:"function"==typeof F?el:el(),onPopupVisibleChange:ei,onPopupClick:function(t){var n=e.onOverlayClick;et(!1),n&&n(t)},getPopupContainer:M}),ec)}),q=n(39983),Y=n(80334),Q=n(73935),U=n(91881),J=a.createContext(null);function ee(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function et(e){return ee(a.useContext(J),e)}var en=n(56982),er=["children","locked"],eo=a.createContext(null);function ea(e){var t=e.children,n=e.locked,r=(0,b.Z)(e,er),o=a.useContext(eo),i=(0,en.Z)(function(){var e;return e=(0,p.Z)({},o),Object.keys(r).forEach(function(t){var n=r[t];void 0!==n&&(e[t]=n)}),e},[o,r],function(e,t){return!n&&(e[0]!==t[0]||!(0,U.Z)(e[1],t[1],!0))});return a.createElement(eo.Provider,{value:i},t)}var ei=a.createContext(null);function el(){return a.useContext(ei)}var ec=a.createContext([]);function eu(e){var t=a.useContext(ec);return a.useMemo(function(){return void 0!==e?[].concat((0,C.Z)(t),[e]):t},[t,e])}var es=a.createContext(null),ed=a.createContext({}),ef=n(5110);function ep(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,ef.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),a=Number(o),i=null;return o&&!Number.isNaN(a)?i=a:r&&null===i&&(i=0),r&&e.disabled&&(i=null),null!==i&&(i>=0||t&&i<0)}return!1}var ev=z.Z.LEFT,em=z.Z.RIGHT,eb=z.Z.UP,eh=z.Z.DOWN,eg=z.Z.ENTER,ey=z.Z.ESC,e$=z.Z.HOME,ex=z.Z.END,ek=[eb,eh,ev,em];function eZ(e,t){return(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,C.Z)(e.querySelectorAll("*")).filter(function(e){return ep(e,t)});return ep(e,t)&&n.unshift(e),n})(e,!0).filter(function(e){return t.has(e)})}function eC(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=eZ(e,t),a=o.length,i=o.findIndex(function(e){return n===e});return r<0?-1===i?i=a-1:i-=1:r>0&&(i+=1),o[i=(i+a)%a]}var ew="__RC_UTIL_PATH_SPLIT__",eE=function(e){return e.join(ew)},eS="rc-menu-more";function e_(e){var t=a.useRef(e);t.current=e;var n=a.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o1&&(Z.motionAppear=!1);var C=Z.onVisibleChanged;return(Z.onVisibleChanged=function(e){return b.current||e||x(!0),null==C?void 0:C(e)},$)?null:a.createElement(ea,{mode:l,locked:!b.current},a.createElement(y.ZP,(0,o.Z)({visible:k},Z,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(u,"-hidden")}),function(e){var n=e.className,r=e.style;return a.createElement(eF,{id:t,className:n,style:r},i)}))}var e6=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],e4=["active"],e5=function(e){var t,n=e.style,r=e.className,i=e.title,l=e.eventKey,c=(e.warnKey,e.disabled),u=e.internalPopupClose,s=e.children,m=e.itemIcon,h=e.expandIcon,g=e.popupClassName,y=e.popupOffset,$=e.onClick,x=e.onMouseEnter,k=e.onMouseLeave,Z=e.onTitleClick,C=e.onTitleMouseEnter,w=e.onTitleMouseLeave,E=(0,b.Z)(e,e6),S=et(l),_=a.useContext(eo),R=_.prefixCls,P=_.mode,N=_.openKeys,I=_.disabled,M=_.overflowDisabled,T=_.activeKey,L=_.selectedKeys,O=_.itemIcon,D=_.expandIcon,K=_.onItemClick,A=_.onOpenChange,z=_.onActive,B=a.useContext(ed)._internalRenderSubMenuItem,j=a.useContext(es).isSubPathKey,W=eu(),G="".concat(R,"-submenu"),H=I||c,X=a.useRef(),V=a.useRef(),F=h||D,Y=N.includes(l),Q=!M&&Y,U=j(L,l),J=eO(l,H,C,w),ee=J.active,en=(0,b.Z)(J,e4),er=a.useState(!1),ei=(0,v.Z)(er,2),el=ei[0],ec=ei[1],ef=function(e){H||ec(e)},ep=a.useMemo(function(){return ee||"inline"!==P&&(el||j([T],l))},[P,ee,T,el,l,j]),ev=eD(W.length),em=e_(function(e){null==$||$(ez(e)),K(e)}),eb=S&&"".concat(S,"-popup"),eh=a.createElement("div",(0,o.Z)({role:"menuitem",style:ev,className:"".concat(G,"-title"),tabIndex:H?null:-1,ref:X,title:"string"==typeof i?i:null,"data-menu-id":M&&S?null:S,"aria-expanded":Q,"aria-haspopup":!0,"aria-controls":eb,"aria-disabled":H,onClick:function(e){H||(null==Z||Z({key:l,domEvent:e}),"inline"===P&&A(l,!Y))},onFocus:function(){z(l)}},en),i,a.createElement(eK,{icon:"horizontal"!==P?F:null,props:(0,p.Z)((0,p.Z)({},e),{},{isOpen:Q,isSubMenu:!0})},a.createElement("i",{className:"".concat(G,"-arrow")}))),eg=a.useRef(P);if("inline"!==P&&W.length>1?eg.current="vertical":eg.current=P,!M){var ey=eg.current;eh=a.createElement(e2,{mode:ey,prefixCls:G,visible:!u&&Q&&"inline"!==P,popupClassName:g,popupOffset:y,popup:a.createElement(ea,{mode:"horizontal"===ey?"vertical":ey},a.createElement(eF,{id:eb,ref:V},s)),disabled:H,onVisibleChange:function(e){"inline"!==P&&A(l,e)}},eh)}var e$=a.createElement(q.Z.Item,(0,o.Z)({role:"none"},E,{component:"li",style:n,className:d()(G,"".concat(G,"-").concat(P),r,(t={},(0,f.Z)(t,"".concat(G,"-open"),Q),(0,f.Z)(t,"".concat(G,"-active"),ep),(0,f.Z)(t,"".concat(G,"-selected"),U),(0,f.Z)(t,"".concat(G,"-disabled"),H),t)),onMouseEnter:function(e){ef(!0),null==x||x({key:l,domEvent:e})},onMouseLeave:function(e){ef(!1),null==k||k({key:l,domEvent:e})}}),eh,!M&&a.createElement(e8,{id:eb,open:Q,keyPath:W},s));return B&&(e$=B(e$,e,{selected:U,active:ep,open:Q,disabled:H})),a.createElement(ea,{onItemClick:em,mode:"horizontal"===P?"vertical":P,itemIcon:m||O,expandIcon:F},e$)};function e9(e){var t,n=e.eventKey,r=e.children,o=eu(n),i=eY(r,o),l=el();return a.useEffect(function(){if(l)return l.registerPath(n,o),function(){l.unregisterPath(n,o)}},[o]),t=l?i:a.createElement(e5,e,i),a.createElement(ec.Provider,{value:o},t)}var e7=["className","title","eventKey","children"],e3=["children"],te=function(e){var t=e.className,n=e.title,r=(e.eventKey,e.children),i=(0,b.Z)(e,e7),l=a.useContext(eo).prefixCls,c="".concat(l,"-item-group");return a.createElement("li",(0,o.Z)({role:"presentation"},i,{onClick:function(e){return e.stopPropagation()},className:d()(c,t)}),a.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof n?n:void 0},n),a.createElement("ul",{role:"group",className:"".concat(c,"-list")},r))};function tt(e){var t=e.children,n=(0,b.Z)(e,e3),r=eY(t,eu(n.eventKey));return el()?r:a.createElement(te,(0,eL.Z)(n,["warnKey"]),r)}function tn(e){var t=e.className,n=e.style,r=a.useContext(eo).prefixCls;return el()?null:a.createElement("li",{className:d()("".concat(r,"-item-divider"),t),style:n})}var tr=["label","children","key","type"],to=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],ta=[],ti=a.forwardRef(function(e,t){var n,r,i,l,c,u,s,h,y,$,x,k,Z,w,E,_,R,P,N,I,M,T,L,O,D,K,A,z=e.prefixCls,B=void 0===z?"rc-menu":z,j=e.rootClassName,W=e.style,G=e.className,H=e.tabIndex,X=e.items,V=e.children,F=e.direction,Y=e.id,et=e.mode,en=void 0===et?"vertical":et,er=e.inlineCollapsed,eo=e.disabled,el=e.disabledOverflow,ec=e.subMenuOpenDelay,eu=e.subMenuCloseDelay,ef=e.forceSubMenuRender,ep=e.defaultOpenKeys,eN=e.openKeys,eI=e.activeKey,eM=e.defaultActiveFirst,eT=e.selectable,eL=void 0===eT||eT,eO=e.multiple,eD=void 0!==eO&&eO,eK=e.defaultSelectedKeys,eA=e.selectedKeys,eB=e.onSelect,ej=e.onDeselect,eW=e.inlineIndent,eG=e.motion,eH=e.defaultMotions,eV=e.triggerSubMenuAction,eF=e.builtinPlacements,eq=e.itemIcon,eQ=e.expandIcon,eU=e.overflowedIndicator,eJ=void 0===eU?"...":eU,e0=e.overflowedIndicatorPopupClassName,e1=e.getPopupContainer,e2=e.onClick,e8=e.onOpenChange,e6=e.onKeyDown,e4=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),e5=e._internalRenderSubMenuItem,e7=(0,b.Z)(e,to),e3=a.useMemo(function(){var e;return e=V,X&&(e=function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,m.Z)(t)){var r=t.label,i=t.children,l=t.key,c=t.type,u=(0,b.Z)(t,tr),s=null!=l?l:"tmp-".concat(n);return i||"group"===c?"group"===c?a.createElement(tt,(0,o.Z)({key:s},u,{title:r}),e(i)):a.createElement(e9,(0,o.Z)({key:s},u,{title:r}),e(i)):"divider"===c?a.createElement(tn,(0,o.Z)({key:s},u)):a.createElement(eX,(0,o.Z)({key:s},u),r)}return null}).filter(function(e){return e})}(X)),eY(e,ta)},[V,X]),te=a.useState(!1),ti=(0,v.Z)(te,2),tl=ti[0],tc=ti[1],tu=a.useRef(),ts=(n=(0,g.Z)(Y,{value:Y}),i=(r=(0,v.Z)(n,2))[0],l=r[1],a.useEffect(function(){eP+=1;var e="".concat(eR,"-").concat(eP);l("rc-menu-uuid-".concat(e))},[]),i),td="rtl"===F,tf=(0,g.Z)(ep,{value:eN,postState:function(e){return e||ta}}),tp=(0,v.Z)(tf,2),tv=tp[0],tm=tp[1],tb=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(){tm(e),null==e8||e8(e)}t?(0,Q.flushSync)(n):n()},th=a.useState(tv),tg=(0,v.Z)(th,2),ty=tg[0],t$=tg[1],tx=a.useRef(!1),tk=a.useMemo(function(){return("inline"===en||"vertical"===en)&&er?["vertical",er]:[en,!1]},[en,er]),tZ=(0,v.Z)(tk,2),tC=tZ[0],tw=tZ[1],tE="inline"===tC,tS=a.useState(tC),t_=(0,v.Z)(tS,2),tR=t_[0],tP=t_[1],tN=a.useState(tw),tI=(0,v.Z)(tN,2),tM=tI[0],tT=tI[1];a.useEffect(function(){tP(tC),tT(tw),tx.current&&(tE?tm(ty):tb(ta))},[tC,tw]);var tL=a.useState(0),tO=(0,v.Z)(tL,2),tD=tO[0],tK=tO[1],tA=tD>=e3.length-1||"horizontal"!==tR||el;a.useEffect(function(){tE&&t$(tv)},[tv]),a.useEffect(function(){return tx.current=!0,function(){tx.current=!1}},[]);var tz=(c=a.useState({}),u=(0,v.Z)(c,2)[1],s=(0,a.useRef)(new Map),h=(0,a.useRef)(new Map),y=a.useState([]),x=($=(0,v.Z)(y,2))[0],k=$[1],Z=(0,a.useRef)(0),w=(0,a.useRef)(!1),E=function(){w.current||u({})},_=(0,a.useCallback)(function(e,t){var n=eE(t);h.current.set(n,e),s.current.set(e,n),Z.current+=1;var r=Z.current;Promise.resolve().then(function(){r===Z.current&&E()})},[]),R=(0,a.useCallback)(function(e,t){var n=eE(t);h.current.delete(n),s.current.delete(e)},[]),P=(0,a.useCallback)(function(e){k(e)},[]),N=(0,a.useCallback)(function(e,t){var n=(s.current.get(e)||"").split(ew);return t&&x.includes(n[0])&&n.unshift(eS),n},[x]),I=(0,a.useCallback)(function(e,t){return e.some(function(e){return N(e,!0).includes(t)})},[N]),M=(0,a.useCallback)(function(e){var t="".concat(s.current.get(e)).concat(ew),n=new Set;return(0,C.Z)(h.current.keys()).forEach(function(e){e.startsWith(t)&&n.add(h.current.get(e))}),n},[]),a.useEffect(function(){return function(){w.current=!0}},[]),{registerPath:_,unregisterPath:R,refreshOverflowKeys:P,isSubPathKey:I,getKeyPath:N,getKeys:function(){var e=(0,C.Z)(s.current.keys());return x.length&&e.push(eS),e},getSubPathKeys:M}),tB=tz.registerPath,tj=tz.unregisterPath,tW=tz.refreshOverflowKeys,tG=tz.isSubPathKey,tH=tz.getKeyPath,tX=tz.getKeys,tV=tz.getSubPathKeys,tF=a.useMemo(function(){return{registerPath:tB,unregisterPath:tj}},[tB,tj]),tq=a.useMemo(function(){return{isSubPathKey:tG}},[tG]);a.useEffect(function(){tW(tA?ta:e3.slice(tD+1).map(function(e){return e.key}))},[tD,tA]);var tY=(0,g.Z)(eI||eM&&(null===(K=e3[0])||void 0===K?void 0:K.key),{value:eI}),tQ=(0,v.Z)(tY,2),tU=tQ[0],tJ=tQ[1],t0=e_(function(e){tJ(e)}),t1=e_(function(){tJ(void 0)});(0,a.useImperativeHandle)(t,function(){return{list:tu.current,focus:function(e){var t,n,r,o,a=null!=tU?tU:null===(t=e3.find(function(e){return!e.props.disabled}))||void 0===t?void 0:t.key;a&&(null===(n=tu.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(ee(ts,a),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}});var t2=(0,g.Z)(eK||[],{value:eA,postState:function(e){return Array.isArray(e)?e:null==e?ta:[e]}}),t8=(0,v.Z)(t2,2),t6=t8[0],t4=t8[1],t5=function(e){if(eL){var t,n=e.key,r=t6.includes(n);t4(t=eD?r?t6.filter(function(e){return e!==n}):[].concat((0,C.Z)(t6),[n]):[n]);var o=(0,p.Z)((0,p.Z)({},e),{},{selectedKeys:t});r?null==ej||ej(o):null==eB||eB(o)}!eD&&tv.length&&"inline"!==tR&&tb(ta)},t9=e_(function(e){null==e2||e2(ez(e)),t5(e)}),t7=e_(function(e,t){var n=tv.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==tR){var r=tV(e);n=n.filter(function(e){return!r.has(e)})}(0,U.Z)(tv,n,!0)||tb(n,!0)}),t3=(T=function(e,t){var n=null!=t?t:!tv.includes(e);t7(e,n)},L=a.useRef(),(O=a.useRef()).current=tU,D=function(){S.Z.cancel(L.current)},a.useEffect(function(){return function(){D()}},[]),function(e){var t=e.which;if([].concat(ek,[eg,ey,e$,ex]).includes(t)){var n=function(){return l=new Set,c=new Map,u=new Map,tX().forEach(function(e){var t=document.querySelector("[data-menu-id='".concat(ee(ts,e),"']"));t&&(l.add(t),u.set(t,e),c.set(e,t))}),l};n();var r=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(c.get(tU),l),o=u.get(r),a=function(e,t,n,r){var o,a,i,l,c="prev",u="next",s="children",d="parent";if("inline"===e&&r===eg)return{inlineTrigger:!0};var p=(o={},(0,f.Z)(o,eb,c),(0,f.Z)(o,eh,u),o),v=(a={},(0,f.Z)(a,ev,n?u:c),(0,f.Z)(a,em,n?c:u),(0,f.Z)(a,eh,s),(0,f.Z)(a,eg,s),a),m=(i={},(0,f.Z)(i,eb,c),(0,f.Z)(i,eh,u),(0,f.Z)(i,eg,s),(0,f.Z)(i,ey,d),(0,f.Z)(i,ev,n?s:d),(0,f.Z)(i,em,n?d:s),i);switch(null===(l=({inline:p,horizontal:v,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(t?"":"Sub")])||void 0===l?void 0:l[r]){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case s:return{offset:1,sibling:!1};default:return null}}(tR,1===tH(o,!0).length,td,t);if(!a&&t!==e$&&t!==ex)return;(ek.includes(t)||[e$,ex].includes(t))&&e.preventDefault();var i=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=u.get(e);tJ(r),D(),L.current=(0,S.Z)(function(){O.current===r&&t.focus()})}};if([e$,ex].includes(t)||a.sibling||!r){var l,c,u,s,d=eZ(s=r&&"inline"!==tR?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(r):tu.current,l);i(t===e$?d[0]:t===ex?d[d.length-1]:eC(s,l,r,a.offset))}else if(a.inlineTrigger)T(o);else if(a.offset>0)T(o,!0),D(),L.current=(0,S.Z)(function(){n();var e=r.getAttribute("aria-controls");i(eC(document.getElementById(e),l))},5);else if(a.offset<0){var p=tH(o,!0),v=p[p.length-2],m=c.get(v);T(v,!1),i(m)}}null==e6||e6(e)});a.useEffect(function(){tc(!0)},[]);var ne=a.useMemo(function(){return{_internalRenderMenuItem:e4,_internalRenderSubMenuItem:e5}},[e4,e5]),nt="horizontal"!==tR||el?e3:e3.map(function(e,t){return a.createElement(ea,{key:e.key,overflowDisabled:t>tD},e)}),nn=a.createElement(q.Z,(0,o.Z)({id:Y,ref:tu,prefixCls:"".concat(B,"-overflow"),component:"ul",itemComponent:eX,className:d()(B,"".concat(B,"-root"),"".concat(B,"-").concat(tR),G,(A={},(0,f.Z)(A,"".concat(B,"-inline-collapsed"),tM),(0,f.Z)(A,"".concat(B,"-rtl"),td),A),j),dir:F,style:W,role:"menu",tabIndex:void 0===H?0:H,data:nt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?e3.slice(-t):null;return a.createElement(e9,{eventKey:eS,title:eJ,disabled:tA,internalPopupClose:0===t,popupClassName:e0},n)},maxCount:"horizontal"!==tR||el?q.Z.INVALIDATE:q.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){tK(e)},onKeyDown:t3},e7));return a.createElement(ed.Provider,{value:ne},a.createElement(J.Provider,{value:ts},a.createElement(ea,{prefixCls:B,rootClassName:j,mode:tR,openKeys:tv,rtl:td,disabled:eo,motion:tl?eG:null,defaultMotions:tl?eH:null,activeKey:tU,onActive:t0,onInactive:t1,selectedKeys:t6,inlineIndent:void 0===eW?24:eW,subMenuOpenDelay:void 0===ec?.1:ec,subMenuCloseDelay:void 0===eu?.1:eu,forceSubMenuRender:ef,builtinPlacements:eF,triggerSubMenuAction:void 0===eV?"hover":eV,getPopupContainer:e1,itemIcon:eq,expandIcon:eQ,onItemClick:t9,onOpenChange:t7},a.createElement(es.Provider,{value:tq},nn),a.createElement("div",{style:{display:"none"},"aria-hidden":!0},a.createElement(ei.Provider,{value:tF},e3)))))});ti.Item=eX,ti.SubMenu=e9,ti.ItemGroup=tt,ti.Divider=tn;var tl=a.memo(a.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,o=e.tabs,i=e.locale,l=e.mobile,c=e.moreIcon,u=void 0===c?"More":c,s=e.moreTransitionName,p=e.style,m=e.className,b=e.editable,h=e.tabBarGutter,g=e.rtl,y=e.removeAriaLabel,$=e.onTabClick,x=e.getPopupContainer,k=e.popupClassName,Z=(0,a.useState)(!1),C=(0,v.Z)(Z,2),w=C[0],E=C[1],S=(0,a.useState)(null),_=(0,v.Z)(S,2),R=_[0],P=_[1],N="".concat(r,"-more-popup"),I="".concat(n,"-dropdown"),M=null!==R?"".concat(N,"-").concat(R):null,T=null==i?void 0:i.dropdownAriaLabel,L=a.createElement(ti,{onClick:function(e){$(e.key,e.domEvent),E(!1)},prefixCls:"".concat(I,"-menu"),id:N,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[R],"aria-label":void 0!==T?T:"expanded dropdown"},o.map(function(e){var t=e.closable,n=e.disabled,o=e.closeIcon,i=e.key,l=e.label,c=O(t,o,b,n);return a.createElement(eX,{key:i,id:"".concat(N,"-").concat(i),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(i),disabled:n},a.createElement("span",null,l),c&&a.createElement("button",{type:"button","aria-label":y||"remove",tabIndex:0,className:"".concat(I,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),b.onEdit("remove",{key:i,event:e})}},o||b.removeIcon||"\xd7"))}));function K(e){for(var t=o.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===R})||0,r=t.length,a=0;at?"left":"right"})}),eT=(0,v.Z)(eM,2),eL=eT[0],eO=eT[1],eD=P(0,function(e,t){!eI&&eC&&eC({direction:e>t?"top":"bottom"})}),eK=(0,v.Z)(eD,2),eA=eK[0],ez=eK[1],eB=(0,a.useState)([0,0]),ej=(0,v.Z)(eB,2),eW=ej[0],eG=ej[1],eH=(0,a.useState)([0,0]),eX=(0,v.Z)(eH,2),eV=eX[0],eF=eX[1],eq=(0,a.useState)([0,0]),eY=(0,v.Z)(eq,2),eQ=eY[0],eU=eY[1],eJ=(0,a.useState)([0,0]),e0=(0,v.Z)(eJ,2),e1=e0[0],e2=e0[1],e8=(n=new Map,r=(0,a.useRef)([]),i=(0,a.useState)({}),l=(0,v.Z)(i,2)[1],c=(0,a.useRef)("function"==typeof n?n():n),u=I(function(){var e=c.current;r.current.forEach(function(t){e=t(e)}),r.current=[],c.current=e,l({})}),[c.current,function(e){r.current.push(e),u()}]),e6=(0,v.Z)(e8,2),e4=e6[0],e5=e6[1],e9=(s=eV[0],(0,a.useMemo)(function(){for(var e=new Map,t=e4.get(null===(o=es[0])||void 0===o?void 0:o.key)||R,n=t.left+t.width,r=0;rti?ti:e}eI&&eb?(ta=0,ti=Math.max(0,e3-tr)):(ta=Math.min(0,tr-e3),ti=0);var tf=(0,a.useRef)(),tp=(0,a.useState)(),tv=(0,v.Z)(tp,2),tm=tv[0],tb=tv[1];function th(){tb(Date.now())}function tg(){window.clearTimeout(tf.current)}m=function(e,t){function n(e,t){e(function(e){return td(e+t)})}return!!tn&&(eI?n(eO,e):n(ez,t),tg(),th(),!0)},b=(0,a.useState)(),g=(h=(0,v.Z)(b,2))[0],y=h[1],x=(0,a.useState)(0),Z=(k=(0,v.Z)(x,2))[0],N=k[1],O=(0,a.useState)(0),z=(A=(0,v.Z)(O,2))[0],B=A[1],j=(0,a.useState)(),G=(W=(0,v.Z)(j,2))[0],H=W[1],X=(0,a.useRef)(),V=(0,a.useRef)(),(F=(0,a.useRef)(null)).current={onTouchStart:function(e){var t=e.touches[0];y({x:t.screenX,y:t.screenY}),window.clearInterval(X.current)},onTouchMove:function(e){if(g){e.preventDefault();var t=e.touches[0],n=t.screenX,r=t.screenY;y({x:n,y:r});var o=n-g.x,a=r-g.y;m(o,a);var i=Date.now();N(i),B(i-Z),H({x:o,y:a})}},onTouchEnd:function(){if(g&&(y(null),H(null),G)){var e=G.x/z,t=G.y/z;if(!(.1>Math.max(Math.abs(e),Math.abs(t)))){var n=e,r=t;X.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(r)){window.clearInterval(X.current);return}m(20*(n*=.9046104802746175),20*(r*=.9046104802746175))},20)}}},onWheel:function(e){var t=e.deltaX,n=e.deltaY,r=0,o=Math.abs(t),a=Math.abs(n);o===a?r="x"===V.current?t:n:o>a?(r=t,V.current="x"):(r=n,V.current="y"),m(-r,-r)&&e.preventDefault()}},a.useEffect(function(){function e(e){F.current.onTouchMove(e)}function t(e){F.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!1}),e_.current.addEventListener("touchstart",function(e){F.current.onTouchStart(e)},{passive:!1}),e_.current.addEventListener("wheel",function(e){F.current.onWheel(e)}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),(0,a.useEffect)(function(){return tg(),tm&&(tf.current=window.setTimeout(function(){tb(0)},100)),tg},[tm]);var ty=(q=eI?eL:eA,ee=(Y=(0,p.Z)((0,p.Z)({},e),{},{tabs:es})).tabs,et=Y.tabPosition,en=Y.rtl,["top","bottom"].includes(et)?(Q="width",U=en?"right":"left",J=Math.abs(q)):(Q="height",U="top",J=-q),(0,a.useMemo)(function(){if(!ee.length)return[0,0];for(var e=ee.length,t=e,n=0;nJ+tr){t=n-1;break}}for(var o=0,a=e-1;a>=0;a-=1)if((e9.get(ee[a].key)||M)[U]=t?[0,0]:[o,t]},[e9,tr,e3,te,tt,J,et,ee.map(function(e){return e.key}).join("_"),en])),t$=(0,v.Z)(ty,2),tx=t$[0],tk=t$[1],tZ=(0,E.Z)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:em,t=e9.get(e)||{width:0,height:0,left:0,right:0,top:0};if(eI){var n=eL;eb?t.righteL+tr&&(n=t.right+t.width-tr):t.left<-eL?n=-t.left:t.left+t.width>-eL+tr&&(n=-(t.left+t.width-tr)),ez(0),eO(td(n))}else{var r=eA;t.top<-eA?r=-t.top:t.top+t.height>-eA+tr&&(r=-(t.top+t.height-tr)),eO(0),ez(td(r))}}),tC={};"top"===e$||"bottom"===e$?tC[eb?"marginRight":"marginLeft"]=ex:tC.marginTop=ex;var tw=es.map(function(e,t){var n=e.key;return a.createElement(tc,{id:ep,prefixCls:eu,key:n,tab:e,style:0===t?void 0:tC,closable:e.closable,editable:eg,active:n===em,renderWrapper:ek,removeAriaLabel:null==ey?void 0:ey.removeAriaLabel,onClick:function(e){eZ(n,e)},onFocus:function(){tZ(n),th(),e_.current&&(eb||(e_.current.scrollLeft=0),e_.current.scrollTop=0)}})}),tE=function(){return e5(function(){var e=new Map;return es.forEach(function(t){var n,r=t.key,o=null===(n=eR.current)||void 0===n?void 0:n.querySelector('[data-node-key="'.concat(L(r),'"]'));o&&e.set(r,{width:o.offsetWidth,height:o.offsetHeight,left:o.offsetLeft,top:o.offsetTop})}),e})};(0,a.useEffect)(function(){tE()},[es.map(function(e){return e.key}).join("_")]);var tS=I(function(){var e=tu(ew),t=tu(eE),n=tu(eS);eG([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var r=tu(eN);eU(r),e2(tu(eP));var o=tu(eR);eF([o[0]-r[0],o[1]-r[1]]),tE()}),t_=es.slice(0,tx),tR=es.slice(tk+1),tP=[].concat((0,C.Z)(t_),(0,C.Z)(tR)),tN=(0,a.useState)(),tI=(0,v.Z)(tN,2),tM=tI[0],tT=tI[1],tL=e9.get(em),tO=(0,a.useRef)();function tD(){S.Z.cancel(tO.current)}(0,a.useEffect)(function(){var e={};return tL&&(eI?(eb?e.right=tL.right:e.left=tL.left,e.width=tL.width):(e.top=tL.top,e.height=tL.height)),tD(),tO.current=(0,S.Z)(function(){tT(e)}),tD},[tL,eI,eb]),(0,a.useEffect)(function(){tZ()},[em,ta,ti,T(tL),T(e9),eI]),(0,a.useEffect)(function(){tS()},[eb]);var tK=!!tP.length,tA="".concat(eu,"-nav-wrap");return eI?eb?(ea=eL>0,eo=eL!==ti):(eo=eL<0,ea=eL!==ta):(ei=eA<0,el=eA!==ta),a.createElement(w.Z,{onResize:tS},a.createElement("div",{ref:(0,_.x1)(t,ew),role:"tablist",className:d()("".concat(eu,"-nav"),ed),style:ef,onKeyDown:function(){th()}},a.createElement(K,{ref:eE,position:"left",extra:eh,prefixCls:eu}),a.createElement("div",{className:d()(tA,(er={},(0,f.Z)(er,"".concat(tA,"-ping-left"),eo),(0,f.Z)(er,"".concat(tA,"-ping-right"),ea),(0,f.Z)(er,"".concat(tA,"-ping-top"),ei),(0,f.Z)(er,"".concat(tA,"-ping-bottom"),el),er)),ref:e_},a.createElement(w.Z,{onResize:tS},a.createElement("div",{ref:eR,className:"".concat(eu,"-nav-list"),style:{transform:"translate(".concat(eL,"px, ").concat(eA,"px)"),transition:tm?"none":void 0}},tw,a.createElement(D,{ref:eN,prefixCls:eu,locale:ey,editable:eg,style:(0,p.Z)((0,p.Z)({},0===tw.length?void 0:tC),{},{visibility:tK?"hidden":null})}),a.createElement("div",{className:d()("".concat(eu,"-ink-bar"),(0,f.Z)({},"".concat(eu,"-ink-bar-animated"),ev.inkBar)),style:tM})))),a.createElement(tl,(0,o.Z)({},e,{removeAriaLabel:null==ey?void 0:ey.removeAriaLabel,ref:eP,prefixCls:eu,tabs:tP,className:!tK&&to,tabMoving:!!tm})),a.createElement(K,{ref:eS,position:"right",extra:eh,prefixCls:eu})))}),tf=["renderTabBar"],tp=["label","key"];function tv(e){var t=e.renderTabBar,n=(0,b.Z)(e,tf),r=a.useContext($).tabs;return t?t((0,p.Z)((0,p.Z)({},n),{},{panes:r.map(function(e){var t=e.label,n=e.key,r=(0,b.Z)(e,tp);return a.createElement(x,(0,o.Z)({tab:t,key:n,tabKey:n},r))})}),td):a.createElement(td,n)}var tm=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],tb=0,th=a.forwardRef(function(e,t){var n,r,i=e.id,l=e.prefixCls,c=void 0===l?"rc-tabs":l,u=e.className,s=e.items,y=e.direction,x=e.activeKey,k=e.defaultActiveKey,C=e.editable,w=e.animated,E=e.tabPosition,S=void 0===E?"top":E,_=e.tabBarGutter,R=e.tabBarStyle,P=e.tabBarExtraContent,N=e.locale,I=e.moreIcon,M=e.moreTransitionName,T=e.destroyInactiveTabPane,L=e.renderTabBar,O=e.onChange,D=e.onTabClick,K=e.onTabScroll,A=e.getPopupContainer,z=e.popupClassName,B=(0,b.Z)(e,tm),j=a.useMemo(function(){return(s||[]).filter(function(e){return e&&"object"===(0,m.Z)(e)&&"key"in e})},[s]),W="rtl"===y,G=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,p.Z)({inkBar:!0},"object"===(0,m.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(w),H=(0,a.useState)(!1),X=(0,v.Z)(H,2),V=X[0],F=X[1];(0,a.useEffect)(function(){F((0,h.Z)())},[]);var q=(0,g.Z)(function(){var e;return null===(e=j[0])||void 0===e?void 0:e.key},{value:x,defaultValue:k}),Y=(0,v.Z)(q,2),Q=Y[0],U=Y[1],J=(0,a.useState)(function(){return j.findIndex(function(e){return e.key===Q})}),ee=(0,v.Z)(J,2),et=ee[0],en=ee[1];(0,a.useEffect)(function(){var e,t=j.findIndex(function(e){return e.key===Q});-1===t&&(t=Math.max(0,Math.min(et,j.length-1)),U(null===(e=j[t])||void 0===e?void 0:e.key)),en(t)},[j.map(function(e){return e.key}).join("_"),Q,et]);var er=(0,g.Z)(null,{value:i}),eo=(0,v.Z)(er,2),ea=eo[0],ei=eo[1];(0,a.useEffect)(function(){i||(ei("rc-tabs-".concat(tb)),tb+=1)},[]);var el={id:ea,activeKey:Q,animated:G,tabPosition:S,rtl:W,mobile:V},ec=(0,p.Z)((0,p.Z)({},el),{},{editable:C,locale:N,moreIcon:I,moreTransitionName:M,tabBarGutter:_,onTabClick:function(e,t){null==D||D(e,t);var n=e!==Q;U(e),n&&(null==O||O(e))},onTabScroll:K,extra:P,style:R,panes:null,getPopupContainer:A,popupClassName:z});return a.createElement($.Provider,{value:{tabs:j,prefixCls:c}},a.createElement("div",(0,o.Z)({ref:t,id:i,className:d()(c,"".concat(c,"-").concat(S),(n={},(0,f.Z)(n,"".concat(c,"-mobile"),V),(0,f.Z)(n,"".concat(c,"-editable"),C),(0,f.Z)(n,"".concat(c,"-rtl"),W),n),u)},B),r,a.createElement(tv,(0,o.Z)({},ec,{renderTabBar:L})),a.createElement(Z,(0,o.Z)({destroyInactiveTabPane:T},el,{animated:G}))))}),tg=n(53124),ty=n(98675),t$=n(33603);let tx={motionAppear:!1,motionEnter:!0,motionLeave:!0};var tk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},tZ=n(14747),tC=n(67968),tw=n(45503),tE=n(67771),tS=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,tE.oN)(e,"slide-up"),(0,tE.oN)(e,"slide-down")]]};let t_=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:a,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${o}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${o}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},tR=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,tZ.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${r}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},tZ.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},tP=e=>{let{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:a,verticalItemMargin:i}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, - right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:1.25*e.controlHeight,[`${t}-tab`]:{padding:a,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},tN=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:a}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},tI=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:a,horizontalItemPadding:i,itemSelectedColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,tZ.Qy)(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${c}-active ${c}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[o]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:a}}}},tM=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o}=e,a=`${t}-rtl`;return{[a]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},tT=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:a,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,tZ.Wf)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${l}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:i}},(0,tZ.Qy)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),tI(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var tL=(0,tC.Z)("Tabs",e=>{let t=(0,tw.TS)(e,{tabsCardPadding:e.cardPadding||`${(e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${e.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${e.horizontalItemGutter}px`});return[tN(t),tM(t),tP(t),tR(t),t_(t),tT(t),tS(t)]},e=>{let t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:"",cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),tO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let tD=e=>{let t;let{type:n,className:o,rootClassName:i,size:l,onEdit:s,hideAdd:f,centered:p,addIcon:v,popupClassName:m,children:b,items:h,animated:g,style:y}=e,$=tO(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style"]),{prefixCls:x,moreIcon:k=a.createElement(c,null)}=$,{direction:Z,tabs:C,getPrefixCls:w,getPopupContainer:E}=a.useContext(tg.E_),S=w("tabs",x),[_,R]=tL(S);"editable-card"===n&&(t={onEdit:(e,t)=>{let{key:n,event:r}=t;null==s||s("add"===e?r:n,e)},removeIcon:a.createElement(r.Z,null),addIcon:v||a.createElement(u.Z,null),showAdd:!0!==f});let P=w(),N=function(e,t){if(e)return e;let n=(0,eq.Z)(t).map(e=>{if(a.isValidElement(e)){let{key:t,props:n}=e,r=n||{},{tab:o}=r,a=tk(r,["tab"]),i=Object.assign(Object.assign({key:String(t)},a),{label:o});return i}return null});return n.filter(e=>e)}(h,b),I=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},tx),{motionName:(0,t$.m)(e,"switch")})),t}(S,g),M=(0,ty.Z)(l),T=Object.assign(Object.assign({},null==C?void 0:C.style),y);return _(a.createElement(th,Object.assign({direction:Z,getPopupContainer:E,moreTransitionName:`${P}-slide-up`},$,{items:N,className:d()({[`${S}-${M}`]:M,[`${S}-card`]:["card","editable-card"].includes(n),[`${S}-editable-card`]:"editable-card"===n,[`${S}-centered`]:p},null==C?void 0:C.className,o,i,R),popupClassName:d()(m,R),style:T,editable:t,moreIcon:k,prefixCls:S,animated:I})))};tD.TabPane=()=>null;var tK=tD}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/913-b5bc9815149e2ad5.js b/pilot/server/static/_next/static/chunks/913-b5bc9815149e2ad5.js new file mode 100644 index 000000000..5580bee5a --- /dev/null +++ b/pilot/server/static/_next/static/chunks/913-b5bc9815149e2ad5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[913],{75913:function(r,e,n){n.d(e,{ZP:function(){return H}});var t=n(63366),o=n(87462),a=n(67294),l=n(14142),i=n(94780),d=n(74312),u=n(20407),c=n(78653),s=n(30220),p=n(26821);function v(r){return(0,p.d6)("MuiInput",r)}let I=(0,p.sI)("MuiInput",["root","input","formControl","focused","disabled","error","adornedStart","adornedEnd","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid","fullWidth","startDecorator","endDecorator"]);var h=n(8869),g=n(85893);let m=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","fullWidth","size","color","variant","startDecorator","endDecorator","component","slots","slotProps"],f=r=>{let{disabled:e,fullWidth:n,variant:t,color:o,size:a}=r,d={root:["root",e&&"disabled",n&&"fullWidth",t&&`variant${(0,l.Z)(t)}`,o&&`color${(0,l.Z)(o)}`,a&&`size${(0,l.Z)(a)}`],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,i.Z)(d,v,{})},b=(0,d.Z)("div")(({theme:r,ownerState:e})=>{var n,t,a,l,i;let d=null==(n=r.variants[`${e.variant}`])?void 0:n[e.color];return[(0,o.Z)({"--Input-radius":r.vars.radius.sm,"--Input-gap":"0.5rem","--Input-placeholderColor":"inherit","--Input-placeholderOpacity":.5,"--Input-focused":"0","--Input-focusedThickness":r.vars.focus.thickness},"context"===e.color?{"--Input-focusedHighlight":r.vars.palette.focusVisible}:{"--Input-focusedHighlight":null==(t=r.vars.palette["neutral"===e.color?"primary":e.color])?void 0:t[500]},"sm"===e.size&&{"--Input-minHeight":"2rem","--Input-paddingInline":"0.5rem","--Input-decoratorChildHeight":"min(1.5rem, var(--Input-minHeight))","--Icon-fontSize":"1.25rem"},"md"===e.size&&{"--Input-minHeight":"2.5rem","--Input-paddingInline":"0.75rem","--Input-decoratorChildHeight":"min(2rem, var(--Input-minHeight))","--Icon-fontSize":"1.5rem"},"lg"===e.size&&{"--Input-minHeight":"3rem","--Input-paddingInline":"1rem","--Input-gap":"0.75rem","--Input-decoratorChildHeight":"min(2.375rem, var(--Input-minHeight))","--Icon-fontSize":"1.75rem"},{"--Input-decoratorChildOffset":"min(calc(var(--Input-paddingInline) - (var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2), var(--Input-paddingInline))","--_Input-paddingBlock":"max((var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2, 0px)","--Input-decoratorChildRadius":"max(var(--Input-radius) - var(--variant-borderWidth, 0px) - var(--_Input-paddingBlock), min(var(--_Input-paddingBlock) + var(--variant-borderWidth, 0px), var(--Input-radius) / 2))","--Button-minHeight":"var(--Input-decoratorChildHeight)","--IconButton-size":"var(--Input-decoratorChildHeight)","--Button-radius":"var(--Input-decoratorChildRadius)","--IconButton-radius":"var(--Input-decoratorChildRadius)",boxSizing:"border-box",minWidth:0,minHeight:"var(--Input-minHeight)"},e.fullWidth&&{width:"100%"},{cursor:"text",position:"relative",display:"flex",paddingInline:"var(--Input-paddingInline)",borderRadius:"var(--Input-radius)",fontFamily:r.vars.fontFamily.body,fontSize:r.vars.fontSize.md},"sm"===e.size&&{fontSize:r.vars.fontSize.sm},{"&:before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Input-focusedInset, inset) 0 0 0 calc(var(--Input-focused) * var(--Input-focusedThickness)) var(--Input-focusedHighlight)"}}),(0,o.Z)({},d,{backgroundColor:null!=(a=null==d?void 0:d.backgroundColor)?a:r.vars.palette.background.surface,"&:hover":(0,o.Z)({},null==(l=r.variants[`${e.variant}Hover`])?void 0:l[e.color],{backgroundColor:null}),[`&.${I.disabled}`]:null==(i=r.variants[`${e.variant}Disabled`])?void 0:i[e.color],"&:focus-within::before":{"--Input-focused":"1"}})]}),Z=(0,d.Z)("input")(({ownerState:r})=>({border:"none",minWidth:0,outline:0,padding:0,flex:1,color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit",textOverflow:"ellipsis","&:-webkit-autofill":(0,o.Z)({paddingInline:"var(--Input-paddingInline)"},!r.startDecorator&&{marginInlineStart:"calc(-1 * var(--Input-paddingInline))",paddingInlineStart:"var(--Input-paddingInline)",borderTopLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"},!r.endDecorator&&{marginInlineEnd:"calc(-1 * var(--Input-paddingInline))",paddingInlineEnd:"var(--Input-paddingInline)",borderTopRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"}),"&::-webkit-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"}})),C=(0,d.Z)("div")(({theme:r,ownerState:e})=>{var n,t;return(0,o.Z)({"--Button-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Input-paddingInline) / -4)",display:"inherit",alignItems:"center",paddingBlock:"var(--unstable_InputPaddingBlock)",flexWrap:"wrap",marginInlineEnd:"var(--Input-gap)",color:r.vars.palette.text.tertiary,cursor:"initial"},e.focused&&{color:null==(n=r.variants[e.variant])||null==(n=n[e.color])?void 0:n.color},e.disabled&&{color:null==(t=r.variants[`${e.variant}Disabled`])||null==(t=t[e.color])?void 0:t.color})}),y=(0,d.Z)("div")(({theme:r,ownerState:e})=>{var n,t;return(0,o.Z)({"--Button-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Input-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",marginInlineStart:"var(--Input-gap)",color:null==(n=r.variants[e.variant])||null==(n=n[e.color])?void 0:n.color,cursor:"initial"},e.disabled&&{color:null==(t=r.variants[`${e.variant}Disabled`])||null==(t=t[e.color])?void 0:t.color})}),x=(0,d.Z)(b,{name:"JoyInput",slot:"Root",overridesResolver:(r,e)=>e.root})({}),S=(0,d.Z)(Z,{name:"JoyInput",slot:"Input",overridesResolver:(r,e)=>e.input})({}),z=(0,d.Z)(C,{name:"JoyInput",slot:"StartDecorator",overridesResolver:(r,e)=>e.startDecorator})({}),k=(0,d.Z)(y,{name:"JoyInput",slot:"EndDecorator",overridesResolver:(r,e)=>e.endDecorator})({}),D=a.forwardRef(function(r,e){var n,a,l,i,d;let p=(0,u.Z)({props:r,name:"JoyInput"}),v=(0,h.Z)(p,I),{propsToForward:b,rootStateClasses:Z,inputStateClasses:C,getRootProps:y,getInputProps:D,formControl:H,focused:R,error:B=!1,disabled:W,fullWidth:w=!1,size:F="md",color:P="neutral",variant:O="outlined",startDecorator:T,endDecorator:E,component:$,slots:N={},slotProps:_={}}=v,q=(0,t.Z)(v,m),J=null!=(n=null!=(a=r.error)?a:null==H?void 0:H.error)?n:B,V=null!=(l=null!=(i=r.size)?i:null==H?void 0:H.size)?l:F,{getColor:j}=(0,c.VT)(O),L=j(r.color,J?"danger":null!=(d=null==H?void 0:H.color)?d:P),M=(0,o.Z)({},p,{fullWidth:w,color:L,disabled:W,error:J,focused:R,size:V,variant:O}),K=f(M),U=(0,o.Z)({},q,{component:$,slots:N,slotProps:_}),[A,G]=(0,s.Z)("root",{ref:e,className:[K.root,Z],elementType:x,getSlotProps:y,externalForwardedProps:U,ownerState:M}),[Q,X]=(0,s.Z)("input",(0,o.Z)({},H&&{additionalProps:{id:H.htmlFor,"aria-describedby":H["aria-describedby"]}},{className:[K.input,C],elementType:S,getSlotProps:D,internalForwardedProps:b,externalForwardedProps:U,ownerState:M})),[Y,rr]=(0,s.Z)("startDecorator",{className:K.startDecorator,elementType:z,externalForwardedProps:U,ownerState:M}),[re,rn]=(0,s.Z)("endDecorator",{className:K.endDecorator,elementType:k,externalForwardedProps:U,ownerState:M});return(0,g.jsxs)(A,(0,o.Z)({},G,{children:[T&&(0,g.jsx)(Y,(0,o.Z)({},rr,{children:T})),(0,g.jsx)(Q,(0,o.Z)({},X)),E&&(0,g.jsx)(re,(0,o.Z)({},rn,{children:E}))]}))});var H=D},8869:function(r,e,n){n.d(e,{Z:function(){return p}});var t=n(87462),o=n(63366),a=n(67294),l=n(71387),i=n(33703);let d=a.createContext(void 0);var u=n(30437),c=n(76043);let s=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","defaultValue","disabled","error","id","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","type","value"];function p(r,e){let n=a.useContext(c.Z),{"aria-describedby":p,"aria-label":v,"aria-labelledby":I,autoComplete:h,autoFocus:g,className:m,defaultValue:f,disabled:b,error:Z,id:C,name:y,onClick:x,onChange:S,onKeyDown:z,onKeyUp:k,onFocus:D,onBlur:H,placeholder:R,readOnly:B,required:W,type:w,value:F}=r,P=(0,o.Z)(r,s),{getRootProps:O,getInputProps:T,focused:E,error:$,disabled:N}=function(r){let e,n,o,c,s;let{defaultValue:p,disabled:v=!1,error:I=!1,onBlur:h,onChange:g,onFocus:m,required:f=!1,value:b,inputRef:Z}=r,C=a.useContext(d);if(C){var y,x,S;e=void 0,n=null!=(y=C.disabled)&&y,o=null!=(x=C.error)&&x,c=null!=(S=C.required)&&S,s=C.value}else e=p,n=v,o=I,c=f,s=b;let{current:z}=a.useRef(null!=s),k=a.useCallback(r=>{},[]),D=a.useRef(null),H=(0,i.Z)(D,Z,k),[R,B]=a.useState(!1);a.useEffect(()=>{!C&&n&&R&&(B(!1),null==h||h())},[C,n,R,h]);let W=r=>e=>{var n,t;if(null!=C&&C.disabled){e.stopPropagation();return}null==(n=r.onFocus)||n.call(r,e),C&&C.onFocus?null==C||null==(t=C.onFocus)||t.call(C):B(!0)},w=r=>e=>{var n;null==(n=r.onBlur)||n.call(r,e),C&&C.onBlur?C.onBlur():B(!1)},F=r=>(e,...n)=>{var t,o;if(!z){let r=e.target||D.current;if(null==r)throw Error((0,l.Z)(17))}null==C||null==(t=C.onChange)||t.call(C,e),null==(o=r.onChange)||o.call(r,e,...n)},P=r=>e=>{var n;D.current&&e.currentTarget===e.target&&D.current.focus(),null==(n=r.onClick)||n.call(r,e)};return{disabled:n,error:o,focused:R,formControlContext:C,getInputProps:(r={})=>{let a=(0,t.Z)({},{onBlur:h,onChange:g,onFocus:m},(0,u.Z)(r)),l=(0,t.Z)({},r,a,{onBlur:w(a),onChange:F(a),onFocus:W(a)});return(0,t.Z)({},l,{"aria-invalid":o||void 0,defaultValue:e,ref:H,value:s,required:c,disabled:n})},getRootProps:(e={})=>{let n=(0,u.Z)(r,["onBlur","onChange","onFocus"]),o=(0,t.Z)({},n,(0,u.Z)(e));return(0,t.Z)({},e,o,{onClick:P(o)})},inputRef:H,required:c,value:s}}({disabled:null!=b?b:null==n?void 0:n.disabled,defaultValue:f,error:Z,onBlur:H,onClick:x,onChange:S,onFocus:D,required:null!=W?W:null==n?void 0:n.required,value:F}),_={[e.disabled]:N,[e.error]:$,[e.focused]:E,[e.formControl]:!!n,[m]:m},q={[e.disabled]:N};return(0,t.Z)({formControl:n,propsToForward:{"aria-describedby":p,"aria-label":v,"aria-labelledby":I,autoComplete:h,autoFocus:g,disabled:N,id:C,onKeyDown:z,onKeyUp:k,name:y,placeholder:R,readOnly:B,type:w},rootStateClasses:_,inputStateClasses:q,getRootProps:O,getInputProps:T,focused:E,error:$,disabled:N},P)}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/913-e3ab2daf183d352e.js b/pilot/server/static/_next/static/chunks/913-e3ab2daf183d352e.js deleted file mode 100644 index 66341c091..000000000 --- a/pilot/server/static/_next/static/chunks/913-e3ab2daf183d352e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[913],{76043:function(r,e,n){var t=n(67294);let o=t.createContext(void 0);e.Z=o},75913:function(r,e,n){n.d(e,{ZP:function(){return H}});var t=n(63366),o=n(87462),a=n(67294),i=n(14142),l=n(94780),d=n(74312),u=n(20407),c=n(78653),s=n(30220),p=n(26821);function v(r){return(0,p.d6)("MuiInput",r)}let I=(0,p.sI)("MuiInput",["root","input","formControl","focused","disabled","error","adornedStart","adornedEnd","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid","fullWidth","startDecorator","endDecorator"]);var h=n(8869),g=n(85893);let f=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","fullWidth","size","color","variant","startDecorator","endDecorator","component","slots","slotProps"],m=r=>{let{disabled:e,fullWidth:n,variant:t,color:o,size:a}=r,d={root:["root",e&&"disabled",n&&"fullWidth",t&&`variant${(0,i.Z)(t)}`,o&&`color${(0,i.Z)(o)}`,a&&`size${(0,i.Z)(a)}`],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(d,v,{})},b=(0,d.Z)("div")(({theme:r,ownerState:e})=>{var n,t,a,i,l;let d=null==(n=r.variants[`${e.variant}`])?void 0:n[e.color];return[(0,o.Z)({"--Input-radius":r.vars.radius.sm,"--Input-gap":"0.5rem","--Input-placeholderColor":"inherit","--Input-placeholderOpacity":.5,"--Input-focused":"0","--Input-focusedThickness":r.vars.focus.thickness},"context"===e.color?{"--Input-focusedHighlight":r.vars.palette.focusVisible}:{"--Input-focusedHighlight":null==(t=r.vars.palette["neutral"===e.color?"primary":e.color])?void 0:t[500]},"sm"===e.size&&{"--Input-minHeight":"2rem","--Input-paddingInline":"0.5rem","--Input-decoratorChildHeight":"min(1.5rem, var(--Input-minHeight))","--Icon-fontSize":"1.25rem"},"md"===e.size&&{"--Input-minHeight":"2.5rem","--Input-paddingInline":"0.75rem","--Input-decoratorChildHeight":"min(2rem, var(--Input-minHeight))","--Icon-fontSize":"1.5rem"},"lg"===e.size&&{"--Input-minHeight":"3rem","--Input-paddingInline":"1rem","--Input-gap":"0.75rem","--Input-decoratorChildHeight":"min(2.375rem, var(--Input-minHeight))","--Icon-fontSize":"1.75rem"},{"--Input-decoratorChildOffset":"min(calc(var(--Input-paddingInline) - (var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2), var(--Input-paddingInline))","--_Input-paddingBlock":"max((var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2, 0px)","--Input-decoratorChildRadius":"max(var(--Input-radius) - var(--variant-borderWidth, 0px) - var(--_Input-paddingBlock), min(var(--_Input-paddingBlock) + var(--variant-borderWidth, 0px), var(--Input-radius) / 2))","--Button-minHeight":"var(--Input-decoratorChildHeight)","--IconButton-size":"var(--Input-decoratorChildHeight)","--Button-radius":"var(--Input-decoratorChildRadius)","--IconButton-radius":"var(--Input-decoratorChildRadius)",boxSizing:"border-box",minWidth:0,minHeight:"var(--Input-minHeight)"},e.fullWidth&&{width:"100%"},{cursor:"text",position:"relative",display:"flex",paddingInline:"var(--Input-paddingInline)",borderRadius:"var(--Input-radius)",fontFamily:r.vars.fontFamily.body,fontSize:r.vars.fontSize.md},"sm"===e.size&&{fontSize:r.vars.fontSize.sm},{"&:before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Input-focusedInset, inset) 0 0 0 calc(var(--Input-focused) * var(--Input-focusedThickness)) var(--Input-focusedHighlight)"}}),(0,o.Z)({},d,{backgroundColor:null!=(a=null==d?void 0:d.backgroundColor)?a:r.vars.palette.background.surface,"&:hover":(0,o.Z)({},null==(i=r.variants[`${e.variant}Hover`])?void 0:i[e.color],{backgroundColor:null}),[`&.${I.disabled}`]:null==(l=r.variants[`${e.variant}Disabled`])?void 0:l[e.color],"&:focus-within::before":{"--Input-focused":"1"}})]}),Z=(0,d.Z)("input")(({ownerState:r})=>({border:"none",minWidth:0,outline:0,padding:0,flex:1,color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit",textOverflow:"ellipsis","&:-webkit-autofill":(0,o.Z)({paddingInline:"var(--Input-paddingInline)"},!r.startDecorator&&{marginInlineStart:"calc(-1 * var(--Input-paddingInline))",paddingInlineStart:"var(--Input-paddingInline)",borderTopLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"},!r.endDecorator&&{marginInlineEnd:"calc(-1 * var(--Input-paddingInline))",paddingInlineEnd:"var(--Input-paddingInline)",borderTopRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"}),"&::-webkit-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"}})),C=(0,d.Z)("div")(({theme:r,ownerState:e})=>{var n,t;return(0,o.Z)({"--Button-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Input-paddingInline) / -4)",display:"inherit",alignItems:"center",paddingBlock:"var(--unstable_InputPaddingBlock)",flexWrap:"wrap",marginInlineEnd:"var(--Input-gap)",color:r.vars.palette.text.tertiary,cursor:"initial"},e.focused&&{color:null==(n=r.variants[e.variant])||null==(n=n[e.color])?void 0:n.color},e.disabled&&{color:null==(t=r.variants[`${e.variant}Disabled`])||null==(t=t[e.color])?void 0:t.color})}),y=(0,d.Z)("div")(({theme:r,ownerState:e})=>{var n,t;return(0,o.Z)({"--Button-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Input-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",marginInlineStart:"var(--Input-gap)",color:null==(n=r.variants[e.variant])||null==(n=n[e.color])?void 0:n.color,cursor:"initial"},e.disabled&&{color:null==(t=r.variants[`${e.variant}Disabled`])||null==(t=t[e.color])?void 0:t.color})}),x=(0,d.Z)(b,{name:"JoyInput",slot:"Root",overridesResolver:(r,e)=>e.root})({}),S=(0,d.Z)(Z,{name:"JoyInput",slot:"Input",overridesResolver:(r,e)=>e.input})({}),z=(0,d.Z)(C,{name:"JoyInput",slot:"StartDecorator",overridesResolver:(r,e)=>e.startDecorator})({}),k=(0,d.Z)(y,{name:"JoyInput",slot:"EndDecorator",overridesResolver:(r,e)=>e.endDecorator})({}),D=a.forwardRef(function(r,e){var n,a,i,l,d;let p=(0,u.Z)({props:r,name:"JoyInput"}),v=(0,h.Z)(p,I),{propsToForward:b,rootStateClasses:Z,inputStateClasses:C,getRootProps:y,getInputProps:D,formControl:H,focused:R,error:B=!1,disabled:W,fullWidth:w=!1,size:F="md",color:P="neutral",variant:O="outlined",startDecorator:T,endDecorator:E,component:$,slots:N={},slotProps:_={}}=v,q=(0,t.Z)(v,f),J=null!=(n=null!=(a=r.error)?a:null==H?void 0:H.error)?n:B,V=null!=(i=null!=(l=r.size)?l:null==H?void 0:H.size)?i:F,{getColor:j}=(0,c.VT)(O),L=j(r.color,J?"danger":null!=(d=null==H?void 0:H.color)?d:P),M=(0,o.Z)({},p,{fullWidth:w,color:L,disabled:W,error:J,focused:R,size:V,variant:O}),K=m(M),U=(0,o.Z)({},q,{component:$,slots:N,slotProps:_}),[A,G]=(0,s.Z)("root",{ref:e,className:[K.root,Z],elementType:x,getSlotProps:y,externalForwardedProps:U,ownerState:M}),[Q,X]=(0,s.Z)("input",(0,o.Z)({},H&&{additionalProps:{id:H.htmlFor,"aria-describedby":H["aria-describedby"]}},{className:[K.input,C],elementType:S,getSlotProps:D,internalForwardedProps:b,externalForwardedProps:U,ownerState:M})),[Y,rr]=(0,s.Z)("startDecorator",{className:K.startDecorator,elementType:z,externalForwardedProps:U,ownerState:M}),[re,rn]=(0,s.Z)("endDecorator",{className:K.endDecorator,elementType:k,externalForwardedProps:U,ownerState:M});return(0,g.jsxs)(A,(0,o.Z)({},G,{children:[T&&(0,g.jsx)(Y,(0,o.Z)({},rr,{children:T})),(0,g.jsx)(Q,(0,o.Z)({},X)),E&&(0,g.jsx)(re,(0,o.Z)({},rn,{children:E}))]}))});var H=D},8869:function(r,e,n){n.d(e,{Z:function(){return p}});var t=n(87462),o=n(63366),a=n(67294),i=n(71387),l=n(33703);let d=a.createContext(void 0);var u=n(30437),c=n(76043);let s=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","defaultValue","disabled","error","id","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","type","value"];function p(r,e){let n=a.useContext(c.Z),{"aria-describedby":p,"aria-label":v,"aria-labelledby":I,autoComplete:h,autoFocus:g,className:f,defaultValue:m,disabled:b,error:Z,id:C,name:y,onClick:x,onChange:S,onKeyDown:z,onKeyUp:k,onFocus:D,onBlur:H,placeholder:R,readOnly:B,required:W,type:w,value:F}=r,P=(0,o.Z)(r,s),{getRootProps:O,getInputProps:T,focused:E,error:$,disabled:N}=function(r){let e,n,o,c,s;let{defaultValue:p,disabled:v=!1,error:I=!1,onBlur:h,onChange:g,onFocus:f,required:m=!1,value:b,inputRef:Z}=r,C=a.useContext(d);if(C){var y,x,S;e=void 0,n=null!=(y=C.disabled)&&y,o=null!=(x=C.error)&&x,c=null!=(S=C.required)&&S,s=C.value}else e=p,n=v,o=I,c=m,s=b;let{current:z}=a.useRef(null!=s),k=a.useCallback(r=>{},[]),D=a.useRef(null),H=(0,l.Z)(D,Z,k),[R,B]=a.useState(!1);a.useEffect(()=>{!C&&n&&R&&(B(!1),null==h||h())},[C,n,R,h]);let W=r=>e=>{var n,t;if(null!=C&&C.disabled){e.stopPropagation();return}null==(n=r.onFocus)||n.call(r,e),C&&C.onFocus?null==C||null==(t=C.onFocus)||t.call(C):B(!0)},w=r=>e=>{var n;null==(n=r.onBlur)||n.call(r,e),C&&C.onBlur?C.onBlur():B(!1)},F=r=>(e,...n)=>{var t,o;if(!z){let r=e.target||D.current;if(null==r)throw Error((0,i.Z)(17))}null==C||null==(t=C.onChange)||t.call(C,e),null==(o=r.onChange)||o.call(r,e,...n)},P=r=>e=>{var n;D.current&&e.currentTarget===e.target&&D.current.focus(),null==(n=r.onClick)||n.call(r,e)};return{disabled:n,error:o,focused:R,formControlContext:C,getInputProps:(r={})=>{let a=(0,t.Z)({},{onBlur:h,onChange:g,onFocus:f},(0,u.Z)(r)),i=(0,t.Z)({},r,a,{onBlur:w(a),onChange:F(a),onFocus:W(a)});return(0,t.Z)({},i,{"aria-invalid":o||void 0,defaultValue:e,ref:H,value:s,required:c,disabled:n})},getRootProps:(e={})=>{let n=(0,u.Z)(r,["onBlur","onChange","onFocus"]),o=(0,t.Z)({},n,(0,u.Z)(e));return(0,t.Z)({},e,o,{onClick:P(o)})},inputRef:H,required:c,value:s}}({disabled:null!=b?b:null==n?void 0:n.disabled,defaultValue:m,error:Z,onBlur:H,onClick:x,onChange:S,onFocus:D,required:null!=W?W:null==n?void 0:n.required,value:F}),_={[e.disabled]:N,[e.error]:$,[e.focused]:E,[e.formControl]:!!n,[f]:f},q={[e.disabled]:N};return(0,t.Z)({formControl:n,propsToForward:{"aria-describedby":p,"aria-label":v,"aria-labelledby":I,autoComplete:h,autoFocus:g,disabled:N,id:C,onKeyDown:z,onKeyUp:k,name:y,placeholder:R,readOnly:B,type:w},rootStateClasses:_,inputStateClasses:q,getRootProps:O,getInputProps:T,focused:E,error:$,disabled:N},P)}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/939-126a01b0d827f3b4.js b/pilot/server/static/_next/static/chunks/939-126a01b0d827f3b4.js new file mode 100644 index 000000000..2d24425af --- /dev/null +++ b/pilot/server/static/_next/static/chunks/939-126a01b0d827f3b4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[939],{13245:function(e,t,r){r.d(t,{Z:function(){return w}});var n=r(63366),o=r(87462),l=r(67294),a=r(33703),i=r(82690),u=r(59948),s=r(94780),c=r(78385),d=r(85893);function f(e){let t=[],r=[];return Array.from(e.querySelectorAll('input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])')).forEach((e,n)=>{let o=function(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1===o||e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e)||(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function p(){return!0}var m=function(e){let{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:u=f,isEnabled:s=p,open:c}=e,m=l.useRef(!1),h=l.useRef(null),v=l.useRef(null),b=l.useRef(null),g=l.useRef(null),y=l.useRef(!1),x=l.useRef(null),Z=(0,a.Z)(t.ref,x),E=l.useRef(null);l.useEffect(()=>{c&&x.current&&(y.current=!r)},[r,c]),l.useEffect(()=>{if(!c||!x.current)return;let e=(0,i.Z)(x.current);return!x.current.contains(e.activeElement)&&(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),y.current&&x.current.focus()),()=>{o||(b.current&&b.current.focus&&(m.current=!0,b.current.focus()),b.current=null)}},[c]),l.useEffect(()=>{if(!c||!x.current)return;let e=(0,i.Z)(x.current),t=t=>{let{current:r}=x;if(null!==r){if(!e.hasFocus()||n||!s()||m.current){m.current=!1;return}if(!r.contains(e.activeElement)){if(t&&g.current!==t.target||e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!y.current)return;let n=[];if((e.activeElement===h.current||e.activeElement===v.current)&&(n=u(x.current)),n.length>0){var o,l;let e=!!((null==(o=E.current)?void 0:o.shiftKey)&&(null==(l=E.current)?void 0:l.key)==="Tab"),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else r.focus()}}},r=t=>{E.current=t,!n&&s()&&"Tab"===t.key&&e.activeElement===x.current&&t.shiftKey&&(m.current=!0,v.current&&v.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",r,!0);let o=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)},50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",r,!0)}},[r,n,o,s,c,u]);let R=e=>{null===b.current&&(b.current=e.relatedTarget),y.current=!0};return(0,d.jsxs)(l.Fragment,{children:[(0,d.jsx)("div",{tabIndex:c?0:-1,onFocus:R,ref:h,"data-testid":"sentinelStart"}),l.cloneElement(t,{ref:Z,onFocus:e=>{null===b.current&&(b.current=e.relatedTarget),y.current=!0,g.current=e.target;let r=t.props.onFocus;r&&r(e)}}),(0,d.jsx)("div",{tabIndex:c?0:-1,onFocus:R,ref:v,"data-testid":"sentinelEnd"})]})},h=r(74161);function v(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function b(e){return parseInt((0,h.Z)(e).getComputedStyle(e).paddingRight,10)||0}function g(e,t,r,n,o){let l=[t,r,...n];[].forEach.call(e.children,e=>{let t=-1===l.indexOf(e),r=!function(e){let t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&v(e,o)})}function y(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}var x=r(74312),Z=r(20407),E=r(30220),R=r(26821);function k(e){return(0,R.d6)("MuiModal",e)}(0,R.sI)("MuiModal",["root","backdrop"]);let I=l.createContext(void 0),T=["children","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onKeyDown","open","component","slots","slotProps"],C=e=>{let{open:t}=e;return(0,s.Z)({root:["root",!t&&"hidden"],backdrop:["backdrop"]},k,{})},N=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&v(e.modalRef,!1);let n=function(e){let t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);g(t,e.mount,e.modalRef,n,!0);let o=y(this.containers,e=>e.container===t);return -1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){let r=y(this.containers,t=>-1!==t.modals.indexOf(e)),n=this.containers[r];n.restore||(n.restore=function(e,t){let r=[],n=e.container;if(!t.disableScrollLock){let e;if(function(e){let t=(0,i.Z)(e);return t.body===e?(0,h.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){let e=function(e){let t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}((0,i.Z)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${b(n)+e}px`;let t=(0,i.Z)(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${b(t)+e}px`})}if(n.parentNode instanceof DocumentFragment)e=(0,i.Z)(n).body;else{let t=n.parentElement,r=(0,h.Z)(n);e=(null==t?void 0:t.nodeName)==="HTML"&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach(({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)})}}(n,t))}remove(e,t=!0){let r=this.modals.indexOf(e);if(-1===r)return r;let n=y(this.containers,t=>-1!==t.modals.indexOf(e)),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&v(e.modalRef,t),g(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{let e=o.modals[o.modals.length-1];e.modalRef&&v(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},A=(0,x.Z)("div",{name:"JoyModal",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>(0,o.Z)({"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`,'& ~ [role="listbox"]':{"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`},position:"fixed",zIndex:t.vars.zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&{visibility:"hidden"})),P=(0,x.Z)("div",{name:"JoyModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})(({theme:e,ownerState:t})=>(0,o.Z)({zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:e.vars.palette.background.backdrop,WebkitTapHighlightColor:"transparent"},t.open&&{backdropFilter:"blur(8px)"})),S=l.forwardRef(function(e,t){let r=(0,Z.Z)({props:e,name:"JoyModal"}),{children:s,container:f,disableAutoFocus:p=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:v=!1,disablePortal:b=!1,disableRestoreFocus:g=!1,disableScrollLock:y=!1,hideBackdrop:x=!1,keepMounted:R=!1,onClose:k,onKeyDown:S,open:w,component:O,slots:M={},slotProps:L={}}=r,F=(0,n.Z)(r,T),D=l.useRef({}),$=l.useRef(null),j=l.useRef(null),W=(0,a.Z)(j,t),K=!0;"false"!==r["aria-hidden"]&&("boolean"!=typeof r["aria-hidden"]||r["aria-hidden"])||(K=!1);let U=()=>(0,i.Z)($.current),z=()=>(D.current.modalRef=j.current,D.current.mount=$.current,D.current),_=()=>{N.mount(z(),{disableScrollLock:y}),j.current&&(j.current.scrollTop=0)},V=(0,u.Z)(()=>{let e=("function"==typeof f?f():f)||U().body;N.add(z(),e),j.current&&_()}),J=()=>N.isTopModal(z()),B=(0,u.Z)(e=>{if($.current=e,e){if(w&&J())_();else if(j.current){var t;t=j.current,K?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}}}),H=l.useCallback(()=>{N.remove(z(),K)},[K]);l.useEffect(()=>()=>{H()},[H]),l.useEffect(()=>{w?V():H()},[w,H,V]);let Y=(0,o.Z)({},r,{disableAutoFocus:p,disableEnforceFocus:h,disableEscapeKeyDown:v,disablePortal:b,disableRestoreFocus:g,disableScrollLock:y,hideBackdrop:x,keepMounted:R}),q=C(Y),G=(0,o.Z)({},F,{component:O,slots:M,slotProps:L}),[X,Q]=(0,E.Z)("root",{additionalProps:{role:"presentation",onKeyDown:e=>{S&&S(e),"Escape"===e.key&&J()&&!v&&(e.stopPropagation(),k&&k(e,"escapeKeyDown"))}},ref:W,className:q.root,elementType:A,externalForwardedProps:G,ownerState:Y}),[ee,et]=(0,E.Z)("backdrop",{additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&k&&k(e,"backdropClick")},open:w},className:q.backdrop,elementType:P,externalForwardedProps:G,ownerState:Y});return R||w?(0,d.jsx)(I.Provider,{value:k,children:(0,d.jsx)(c.Z,{ref:B,container:f,disablePortal:b,children:(0,d.jsxs)(X,(0,o.Z)({},Q,{children:[x?null:(0,d.jsx)(ee,(0,o.Z)({},et)),(0,d.jsx)(m,{disableEnforceFocus:h,disableAutoFocus:p,disableRestoreFocus:g,isEnabled:J,open:w,children:l.Children.only(s)&&l.cloneElement(s,(0,o.Z)({},void 0===s.props.tabIndex&&{tabIndex:-1}))})]}))})}):null});var w=S},3414:function(e,t,r){r.d(t,{U:function(){return x},Z:function(){return E}});var n=r(63366),o=r(87462),l=r(67294),a=r(86010),i=r(94780),u=r(14142),s=r(54844),c=r(20407),d=r(74312),f=r(58859),p=r(26821);function m(e){return(0,p.d6)("MuiSheet",e)}(0,p.sI)("MuiSheet",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var h=r(78653),v=r(30220),b=r(85893);let g=["className","color","component","variant","invertedColors","slots","slotProps"],y=e=>{let{variant:t,color:r}=e,n={root:["root",t&&`variant${(0,u.Z)(t)}`,r&&`color${(0,u.Z)(r)}`]};return(0,i.Z)(n,m,{})},x=(0,d.Z)("div",{name:"JoySheet",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n;let l=null==(r=e.variants[t.variant])?void 0:r[t.color],a=(0,f.V)({theme:e,ownerState:t},"borderRadius"),i=(0,f.V)({theme:e,ownerState:t},"bgcolor"),u=(0,f.V)({theme:e,ownerState:t},"backgroundColor"),c=(0,f.V)({theme:e,ownerState:t},"background"),d=(0,s.DW)(e,`palette.${i}`)||i||(0,s.DW)(e,`palette.${u}`)||u||c||(null==l?void 0:l.backgroundColor)||(null==l?void 0:l.background)||e.vars.palette.background.surface;return[(0,o.Z)({"--ListItem-stickyBackground":d,"--Sheet-background":d},void 0!==a&&{"--List-radius":`calc(${a} - var(--variant-borderWidth, 0px))`,"--unstable_actionRadius":`calc(${a} - var(--variant-borderWidth, 0px))`},{backgroundColor:e.vars.palette.background.surface,position:"relative"}),l,"context"!==t.color&&t.invertedColors&&(null==(n=e.colorInversion[t.variant])?void 0:n[t.color])]}),Z=l.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"JoySheet"}),{className:l,color:i="neutral",component:u="div",variant:s="plain",invertedColors:d=!1,slots:f={},slotProps:p={}}=r,m=(0,n.Z)(r,g),{getColor:Z}=(0,h.VT)(s),E=Z(e.color,i),R=(0,o.Z)({},r,{color:E,component:u,invertedColors:d,variant:s}),k=y(R),I=(0,o.Z)({},m,{component:u,slots:f,slotProps:p}),[T,C]=(0,v.Z)("root",{ref:t,className:(0,a.Z)(k.root,l),elementType:x,externalForwardedProps:I,ownerState:R}),N=(0,b.jsx)(T,(0,o.Z)({},C));return d?(0,b.jsx)(h.do,{variant:s,children:N}):N});var E=Z},13264:function(e,t,r){var n=r(70182);let o=(0,n.ZP)();t.Z=o}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/pages/_app-55fcb41abe258f4c.js b/pilot/server/static/_next/static/chunks/pages/_app-55fcb41abe258f4c.js new file mode 100644 index 000000000..1d2b525fd --- /dev/null +++ b/pilot/server/static/_next/static/chunks/pages/_app-55fcb41abe258f4c.js @@ -0,0 +1,105 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{16397:function(e,t,n){"use strict";n.d(t,{iN:function(){return g},R_:function(){return f},ez:function(){return d}});var r=n(86500),o=n(1350),i=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function a(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function l(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function s(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function c(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)))}function u(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function f(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),f=5;f>0;f-=1){var d=a(r),p=l((0,o.uA)({h:s(d,f,!0),s:c(d,f,!0),v:u(d,f,!0)}));n.push(p)}n.push(l(r));for(var h=1;h<=4;h+=1){var g=a(r),m=l((0,o.uA)({h:s(g,h),s:c(g,h),v:u(g,h)}));n.push(m)}return"dark"===t.theme?i.map(function(e){var r,i,a,s=e.index,c=e.opacity;return l((r=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(n[s]),a=100*c/100,{r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))}):n}var d={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},p={},h={};Object.keys(d).forEach(function(e){p[e]=f(d[e]),p[e].primary=p[e][5],h[e]=f(d[e],{theme:"dark",backgroundColor:"#141414"}),h[e].primary=h[e][5]}),p.red,p.volcano,p.gold,p.orange,p.yellow,p.lime,p.green,p.cyan;var g=p.blue;p.geekblue,p.purple,p.magenta,p.grey,p.grey},76325:function(e,t,n){"use strict";n.d(t,{E4:function(){return ee},jG:function(){return Z},fp:function(){return M},xy:function(){return Q}});var r,o=n(74902),i=n(1413),a=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)},l=n(67294),s=n.t(l,2);n(56982),n(91881);var c=n(15671),u=n(43144),f=n(4942),d=function(){function e(t){(0,c.Z)(this,e),(0,f.Z)(this,"instanceId",void 0),(0,f.Z)(this,"cache",new Map),this.instanceId=t}return(0,u.Z)(e,[{key:"get",value:function(e){return this.cache.get(e.join("%"))||null}},{key:"update",value:function(e,t){var n=e.join("%"),r=t(this.cache.get(n));null===r?this.cache.delete(n):this.cache.set(n,r)}}]),e}(),p="data-token-hash",h="data-css-hash",g="__cssinjs_instance__",m=l.createContext({hashPriority:"low",cache:function(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(h,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(t){t[g]=t[g]||e,t[g]===e&&document.head.insertBefore(t,n)});var r={};Array.from(document.querySelectorAll("style[".concat(h,"]"))).forEach(function(t){var n,o=t.getAttribute(h);r[o]?t[g]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0})}return new d(e)}(),defaultCache:!0}),v=n(71002),y=n(98924),b=n(44958),x=n(97685),w=function(){function e(){(0,c.Z)(this,e),(0,f.Z)(this,"cache",void 0),(0,f.Z)(this,"keys",void 0),(0,f.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,u.Z)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach(function(e){if(o){var t,n;o=null===(t=o)||void 0===t?void 0:null===(n=t.map)||void 0===n?void 0:n.get(e)}else o=void 0}),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(e,t){var n=(0,x.Z)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),S+=1}return(0,u.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,n){return n(e,t)},void 0)}}]),e}(),k=new w;function Z(e){var t=Array.isArray(e)?e:[e];return k.has(t)||k.set(t,new E(t)),k.get(t)}var O=new WeakMap;function $(e){var t=O.get(e)||"";return t||(Object.keys(e).forEach(function(n){var r=e[n];t+=n,r instanceof E?t+=r.id:r&&"object"===(0,v.Z)(r)?t+=$(r):t+=r}),O.set(e,t)),t}var P="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),j="_bAmBoO_",A=void 0,R=n(8410),T=(0,i.Z)({},s).useInsertionEffect,I=T?function(e,t,n){return T(function(){return e(),t()},n)}:function(e,t,n){l.useMemo(e,n),(0,R.Z)(function(){return t(!0)},n)},L=void 0!==(0,i.Z)({},s).useInsertionEffect?function(e){var t=[],n=!1;return l.useEffect(function(){return n=!1,function(){n=!0,t.length&&t.forEach(function(e){return e()})}},e),function(e){n||t.push(e)}}:function(){return function(e){e()}};function F(e,t,n,r,i){var a=l.useContext(m).cache,s=[e].concat((0,o.Z)(t)),c=s.join("_"),u=L([c]),f=function(e){a.update(s,function(t){var r=(0,x.Z)(t||[],2),o=r[0],i=[void 0===o?0:o,r[1]||n()];return e?e(i):i})};l.useMemo(function(){f()},[c]);var d=a.get(s)[1];return I(function(){null==i||i(d)},function(e){return f(function(t){var n=(0,x.Z)(t,2),r=n[0],o=n[1];return e&&0===r&&(null==i||i(d)),[r+1,o]}),function(){a.update(s,function(e){var t=(0,x.Z)(e||[],2),n=t[0],o=void 0===n?0:n,i=t[1];return 0==o-1?(u(function(){return null==r?void 0:r(i,!1)}),null):[o-1,i]})}},[c]),d}var _={},N=new Map,B=function(e,t,n,r){var o=n.getDerivativeToken(e),a=(0,i.Z)((0,i.Z)({},o),t);return r&&(a=r(a)),a};function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,l.useContext)(m).cache.instanceId,i=n.salt,s=void 0===i?"":i,c=n.override,u=void 0===c?_:c,f=n.formatToken,d=n.getComputedToken,h=l.useMemo(function(){return Object.assign.apply(Object,[{}].concat((0,o.Z)(t)))},[t]),v=l.useMemo(function(){return $(h)},[h]),y=l.useMemo(function(){return $(u)},[u]);return F("token",[s,e.id,v,y],function(){var t=d?d(h,u,e):B(h,u,e,f),n=a("".concat(s,"_").concat($(t)));t._tokenKey=n,N.set(n,(N.get(n)||0)+1);var r="".concat("css","-").concat(a(n));return t._hashId=r,[t,r]},function(e){var t,n,o;t=e[0]._tokenKey,N.set(t,(N.get(t)||0)-1),o=(n=Array.from(N.keys())).filter(function(e){return 0>=(N.get(e)||0)}),n.length-o.length>0&&o.forEach(function(e){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(p,'="').concat(e,'"]')).forEach(function(e){if(e[g]===r){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}),N.delete(e)})})}var z=n(87462),D={animationIterationCount: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,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},H=n(20211),W=n(92190),U="data-ant-cssinjs-cache-path",V="_FILE_STYLE__",q=!0,G=(0,y.Z)(),K="_multi_value_";function X(e){return(0,H.q)((0,W.MY)(e),H.P).replace(/\{%%%\:[^;];}/g,";")}var J=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},a=r.root,l=r.injectHash,s=r.parentSelectors,c=n.hashId,u=n.layer,f=(n.path,n.hashPriority),d=n.transformers,p=void 0===d?[]:d;n.linters;var h="",g={};function m(t){var r=t.getName(c);if(!g[r]){var o=e(t.style,n,{root:!1,parentSelectors:s}),i=(0,x.Z)(o,1)[0];g[r]="@keyframes ".concat(t.getName(c)).concat(i)}}if((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach(function(t){Array.isArray(t)?e(t,n):t&&n.push(t)}),n})(Array.isArray(t)?t:[t]).forEach(function(t){var r="string"!=typeof t||a?t:{};if("string"==typeof r)h+="".concat(r,"\n");else if(r._keyframe)m(r);else{var u=p.reduce(function(e,t){var n;return(null==t?void 0:null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e},r);Object.keys(u).forEach(function(t){var r=u[t];if("object"!==(0,v.Z)(r)||!r||"animationName"===t&&r._keyframe||"object"===(0,v.Z)(r)&&r&&("_skip_check_"in r||K in r)){function d(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;D[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(m(t),r=t.getName(c)),h+="".concat(n,":").concat(r,";")}var p,y=null!==(p=null==r?void 0:r.value)&&void 0!==p?p:r;"object"===(0,v.Z)(r)&&null!=r&&r[K]&&Array.isArray(y)?y.forEach(function(e){d(t,e)}):d(t,y)}else{var b=!1,w=t.trim(),C=!1;(a||l)&&c?w.startsWith("@")?b=!0:w=function(e,t,n){if(!t)return e;var r=".".concat(t),i="low"===n?":where(".concat(r,")"):r;return e.split(",").map(function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",a=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(a).concat(i).concat(r.slice(a.length))].concat((0,o.Z)(n.slice(1))).join(" ")}).join(",")}(t,c,f):a&&!c&&("&"===w||""===w)&&(w="",C=!0);var S=e(r,n,{root:C,injectHash:b,parentSelectors:[].concat((0,o.Z)(s),[w])}),E=(0,x.Z)(S,2),k=E[0],Z=E[1];g=(0,i.Z)((0,i.Z)({},g),Z),h+="".concat(w).concat(k)}})}}),a){if(u&&(void 0===A&&(A=function(e,t,n){if((0,y.Z)()){(0,b.hq)(e,P);var r,o,i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",null==t||t(i),document.body.appendChild(i);var a=n?n(i):null===(r=getComputedStyle(i).content)||void 0===r?void 0:r.includes(j);return null===(o=i.parentNode)||void 0===o||o.removeChild(i),(0,b.jL)(P),a}return!1}("@layer ".concat(P," { .").concat(P,' { content: "').concat(j,'"!important; } }'),function(e){e.className=P})),A)){var w=u.split(","),C=w[w.length-1].trim();h="@layer ".concat(C," {").concat(h,"}"),w.length>1&&(h="@layer ".concat(u,"{%%%:%}").concat(h))}}else h="{".concat(h,"}");return[h,g]};function Y(){return null}function Q(e,t){var n=e.token,i=e.path,s=e.hashId,c=e.layer,u=e.nonce,d=e.clientOnly,v=e.order,w=void 0===v?0:v,C=l.useContext(m),S=C.autoClear,E=(C.mock,C.defaultCache),k=C.hashPriority,Z=C.container,O=C.ssrInline,$=C.transformers,P=C.linters,j=C.cache,A=n._tokenKey,R=[A].concat((0,o.Z)(i)),T=F("style",R,function(){var e=R.join("|");if(!function(){if(!r&&(r={},(0,y.Z)())){var e,t=document.createElement("div");t.className=U,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);var n=getComputedStyle(t).content||"";(n=n.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=e.split(":"),n=(0,x.Z)(t,2),o=n[0],i=n[1];r[o]=i});var o=document.querySelector("style[".concat(U,"]"));o&&(q=!1,null===(e=o.parentNode)||void 0===e||e.removeChild(o)),document.body.removeChild(t)}}(),r[e]){var n=function(e){var t=r[e],n=null;if(t&&(0,y.Z)()){if(q)n=V;else{var o=document.querySelector("style[".concat(h,'="').concat(r[e],'"]'));o?n=o.innerHTML:delete r[e]}}return[n,t]}(e),o=(0,x.Z)(n,2),l=o[0],u=o[1];if(l)return[l,A,u,{},d,w]}var f=J(t(),{hashId:s,hashPriority:k,layer:c,path:i.join("-"),transformers:$,linters:P}),p=(0,x.Z)(f,2),g=p[0],m=p[1],v=X(g),b=a("".concat(R.join("%")).concat(v));return[v,A,b,m,d,w]},function(e,t){var n=(0,x.Z)(e,3)[2];(t||S)&&G&&(0,b.jL)(n,{mark:h})},function(e){var t=(0,x.Z)(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(G&&n!==V){var i={mark:h,prepend:"queue",attachTo:Z,priority:w},a="function"==typeof u?u():u;a&&(i.csp={nonce:a});var l=(0,b.hq)(n,r,i);l[g]=j.instanceId,l.setAttribute(p,A),Object.keys(o).forEach(function(e){(0,b.hq)(X(o[e]),"_effect-".concat(e),i)})}}),I=(0,x.Z)(T,3),L=I[0],_=I[1],N=I[2];return function(e){var t,n;return t=O&&!G&&E?l.createElement("style",(0,z.Z)({},(n={},(0,f.Z)(n,p,_),(0,f.Z)(n,h,N),n),{dangerouslySetInnerHTML:{__html:L}})):l.createElement(Y,null),l.createElement(l.Fragment,null,t,e)}}var ee=function(){function e(t,n){(0,c.Z)(this,e),(0,f.Z)(this,"name",void 0),(0,f.Z)(this,"style",void 0),(0,f.Z)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,u.Z)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function et(e){return e.notSplit=!0,e}et(["borderTop","borderBottom"]),et(["borderTop"]),et(["borderBottom"]),et(["borderLeft","borderRight"]),et(["borderLeft"]),et(["borderRight"])},42135:function(e,t,n){"use strict";n.d(t,{Z:function(){return $}});var r=n(87462),o=n(97685),i=n(4942),a=n(45987),l=n(67294),s=n(94184),c=n.n(s),u=n(16397),f=n(63017),d=n(1413),p=n(71002),h=n(44958),g=n(27571),m=n(80334);function v(e){return"object"===(0,p.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.Z)(e.icon)||"function"==typeof e.icon)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):(delete t[n],t[n.replace(/-(.)/g,function(e,t){return t.toUpperCase()})]=r),t},{})}function b(e){return(0,u.R_)(e)[0]}function x(e){return e?Array.isArray(e)?e:[e]:[]}var w=function(e){var t=(0,l.useContext)(f.Z),n=t.csp,r=t.prefixCls,o="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";r&&(o=o.replace(/anticon/g,r)),(0,l.useEffect)(function(){var t=e.current,r=(0,g.A)(t);(0,h.hq)(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})},[])},C=["icon","className","onClick","style","primaryColor","secondaryColor"],S={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},E=function(e){var t,n,r=e.icon,o=e.className,i=e.onClick,s=e.style,c=e.primaryColor,u=e.secondaryColor,f=(0,a.Z)(e,C),p=l.useRef(),h=S;if(c&&(h={primaryColor:c,secondaryColor:u||b(c)}),w(p),t=v(r),n="icon should be icon definiton, but got ".concat(r),(0,m.ZP)(t,"[@ant-design/icons] ".concat(n)),!v(r))return null;var g=r;return g&&"function"==typeof g.icon&&(g=(0,d.Z)((0,d.Z)({},g),{},{icon:g.icon(h.primaryColor,h.secondaryColor)})),function e(t,n,r){return r?l.createElement(t.tag,(0,d.Z)((0,d.Z)({key:n},y(t.attrs)),r),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})):l.createElement(t.tag,(0,d.Z)({key:n},y(t.attrs)),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))}(g.icon,"svg-".concat(g.name),(0,d.Z)((0,d.Z)({className:o,onClick:i,style:s,"data-icon":g.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f),{},{ref:p}))};function k(e){var t=x(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return E.setTwoToneColors({primaryColor:r,secondaryColor:i})}E.displayName="IconReact",E.getTwoToneColors=function(){return(0,d.Z)({},S)},E.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;S.primaryColor=t,S.secondaryColor=n||b(t),S.calculated=!!n};var Z=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];k(u.iN.primary);var O=l.forwardRef(function(e,t){var n,s=e.className,u=e.icon,d=e.spin,p=e.rotate,h=e.tabIndex,g=e.onClick,m=e.twoToneColor,v=(0,a.Z)(e,Z),y=l.useContext(f.Z),b=y.prefixCls,w=void 0===b?"anticon":b,C=y.rootClassName,S=c()(C,w,(n={},(0,i.Z)(n,"".concat(w,"-").concat(u.name),!!u.name),(0,i.Z)(n,"".concat(w,"-spin"),!!d||"loading"===u.name),n),s),k=h;void 0===k&&g&&(k=-1);var O=x(m),$=(0,o.Z)(O,2),P=$[0],j=$[1];return l.createElement("span",(0,r.Z)({role:"img","aria-label":u.name},v,{ref:t,tabIndex:k,onClick:g,className:S}),l.createElement(E,{icon:u,primaryColor:P,secondaryColor:j,style:p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0}))});O.displayName="AntdIcon",O.getTwoToneColor=function(){var e=E.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},O.setTwoToneColor=k;var $=O},63017:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},89739:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=n(42135),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},4340:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},a=n(42135),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},97937:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},a=n(42135),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},21640:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=n(42135),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},78860:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n(42135),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},50888:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=n(42135),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},86500:function(e,t,n){"use strict";n.d(t,{T6:function(){return d},VD:function(){return p},WE:function(){return c},Yt:function(){return h},lC:function(){return i},py:function(){return s},rW:function(){return o},s:function(){return f},ve:function(){return l},vq:function(){return u}});var r=n(90279);function o(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function i(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,l=0,s=(o+i)/2;if(o===i)l=0,a=0;else{var c=o-i;switch(l=s>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-n)/c+(t1&&(n-=1),n<1/6)?e+(t-e)*(6*n):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function l(e,t,n){if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,l=n,o=n;else{var o,i,l,s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;o=a(c,s,e+1/3),i=a(c,s,e),l=a(c,s,e-1/3)}return{r:255*o,g:255*i,b:255*l}}function s(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,l=o-i;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},48701:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:function(e,t,n){"use strict";n.d(t,{uA:function(){return a}});var r=n(86500),o=n(48701),i=n(90279);function a(e){var t={r:0,g:0,b:0},n=1,a=null,l=null,s=null,c=!1,d=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=u.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=u.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=u.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=u.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=u.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=u.hex8.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"}:(n=u.hex6.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"}:(n=u.hex4.exec(e))?{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=u.hex3.exec(e))&&{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(f(e.r)&&f(e.g)&&f(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),c=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):f(e.h)&&f(e.s)&&f(e.v)?(a=(0,i.JX)(e.s),l=(0,i.JX)(e.v),t=(0,r.WE)(e.h,a,l),c=!0,d="hsv"):f(e.h)&&f(e.s)&&f(e.l)&&(a=(0,i.JX)(e.s),s=(0,i.JX)(e.l),t=(0,r.ve)(e.h,a,s),c=!0,d="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:c,format:e.format||d,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var l="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),s="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),c="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),u={CSS_UNIT:new RegExp(l),rgb:RegExp("rgb"+s),rgba:RegExp("rgba"+c),hsl:RegExp("hsl"+s),hsla:RegExp("hsla"+c),hsv:RegExp("hsv"+s),hsva:RegExp("hsva"+c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){return!!u.CSS_UNIT.exec(String(e))}},10274:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var r=n(86500),o=n(48701),i=n(1350),a=n(90279),l=function(){function e(t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var o,a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.R);t=0;return!t&&r&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(255*(t/100))))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(255*(t/100))))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(255*(t/100))))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;aMath.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function l(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return l},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return r}})},9463:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t-1&&!e.return)switch(e.type){case a.h5:e.return=function e(t,n){switch((0,i.vp)(t,n)){case 5103:return a.G$+"print-"+t+t;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.G$+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return a.G$+t+a.uj+t+a.MS+t+t;case 6828:case 4268:return a.G$+t+a.MS+t+t;case 6165:return a.G$+t+a.MS+"flex-"+t+t;case 5187:return a.G$+t+(0,i.gx)(t,/(\w+).+(:[^]+)/,a.G$+"box-$1$2"+a.MS+"flex-$1$2")+t;case 5443:return a.G$+t+a.MS+"flex-item-"+(0,i.gx)(t,/flex-|-self/,"")+t;case 4675:return a.G$+t+a.MS+"flex-line-pack"+(0,i.gx)(t,/align-content|flex-|-self/,"")+t;case 5548:return a.G$+t+a.MS+(0,i.gx)(t,"shrink","negative")+t;case 5292:return a.G$+t+a.MS+(0,i.gx)(t,"basis","preferred-size")+t;case 6060:return a.G$+"box-"+(0,i.gx)(t,"-grow","")+a.G$+t+a.MS+(0,i.gx)(t,"grow","positive")+t;case 4554:return a.G$+(0,i.gx)(t,/([^-])(transform)/g,"$1"+a.G$+"$2")+t;case 6187:return(0,i.gx)((0,i.gx)((0,i.gx)(t,/(zoom-|grab)/,a.G$+"$1"),/(image-set)/,a.G$+"$1"),t,"")+t;case 5495:case 3959:return(0,i.gx)(t,/(image-set\([^]*)/,a.G$+"$1$`$1");case 4968:return(0,i.gx)((0,i.gx)(t,/(.+:)(flex-)?(.*)/,a.G$+"box-pack:$3"+a.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a.G$+t+t;case 4095:case 3583:case 4068:case 2532:return(0,i.gx)(t,/(.+)-inline(.+)/,a.G$+"$1$2")+t;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((0,i.to)(t)-1-n>6)switch((0,i.uO)(t,n+1)){case 109:if(45!==(0,i.uO)(t,n+4))break;case 102:return(0,i.gx)(t,/(.+:)(.+)-([^]+)/,"$1"+a.G$+"$2-$3$1"+a.uj+(108==(0,i.uO)(t,n+3)?"$3":"$2-$3"))+t;case 115:return~(0,i.Cw)(t,"stretch")?e((0,i.gx)(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==(0,i.uO)(t,n+1))break;case 6444:switch((0,i.uO)(t,(0,i.to)(t)-3-(~(0,i.Cw)(t,"!important")&&10))){case 107:return(0,i.gx)(t,":",":"+a.G$)+t;case 101:return(0,i.gx)(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a.G$+(45===(0,i.uO)(t,14)?"inline-":"")+"box$3$1"+a.G$+"$2$3$1"+a.MS+"$2box$3")+t}break;case 5936:switch((0,i.uO)(t,n+11)){case 114:return a.G$+t+a.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return a.G$+t+a.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return a.G$+t+a.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return a.G$+t+a.MS+t+t}return t}(e.value,e.length);break;case a.lK:return(0,l.q)([(0,o.JG)(e,{value:(0,i.gx)(e.value,"@","@"+a.G$)})],r);case a.Fr:if(e.length)return(0,i.$e)(e.props,function(t){switch((0,i.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,l.q)([(0,o.JG)(e,{props:[(0,i.gx)(t,/:(read-\w+)/,":"+a.uj+"$1")]})],r);case"::placeholder":return(0,l.q)([(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+a.G$+"input-$1")]}),(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+a.uj+"$1")]}),(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,a.MS+"input-$1")]})],r)}return""})}}],g=function(e){var t,n,o,a,c,u=e.key;if("css"===u){var f=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(f,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var g=e.stylisPlugins||h,m={},v=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+u+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(a)+c,styles:a,next:r}}},27278:function(e,t,n){"use strict";n.d(t,{L:function(){return a},j:function(){return l}});var r,o=n(67294),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},70444:function(e,t,n){"use strict";function r(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "}),r}n.d(t,{My:function(){return i},fp:function(){return r},hC:function(){return o}});var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}}},60769:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r,o,i,a,l,s=n(87462),c=n(63366),u=n(67294),f=n(33703),d=n(73546),p=n(82690);function h(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function g(e){var t=h(e).Element;return e instanceof t||e instanceof Element}function m(e){var t=h(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function v(e){if("undefined"==typeof ShadowRoot)return!1;var t=h(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var y=Math.max,b=Math.min,x=Math.round;function w(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function C(){return!/^((?!chrome|android).)*safari/i.test(w())}function S(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&m(e)&&(o=e.offsetWidth>0&&x(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&x(r.height)/e.offsetHeight||1);var a=(g(e)?h(e):window).visualViewport,l=!C()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/i,u=r.width/o,f=r.height/i;return{width:u,height:f,top:c,right:s+u,bottom:c+f,left:s,x:s,y:c}}function E(e){var t=h(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function k(e){return e?(e.nodeName||"").toLowerCase():null}function Z(e){return((g(e)?e.ownerDocument:e.document)||window.document).documentElement}function O(e){return S(Z(e)).left+E(e).scrollLeft}function $(e){return h(e).getComputedStyle(e)}function P(e){var t=$(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function j(e){var t=S(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function A(e){return"html"===k(e)?e:e.assignedSlot||e.parentNode||(v(e)?e.host:null)||Z(e)}function R(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:m(t)&&P(t)?t:e(A(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=h(r),a=o?[i].concat(i.visualViewport||[],P(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(R(A(a)))}function T(e){return m(e)&&"fixed"!==$(e).position?e.offsetParent:null}function I(e){for(var t=h(e),n=T(e);n&&["table","td","th"].indexOf(k(n))>=0&&"static"===$(n).position;)n=T(n);return n&&("html"===k(n)||"body"===k(n)&&"static"===$(n).position)?t:n||function(e){var t=/firefox/i.test(w());if(/Trident/i.test(w())&&m(e)&&"fixed"===$(e).position)return null;var n=A(e);for(v(n)&&(n=n.host);m(n)&&0>["html","body"].indexOf(k(n));){var r=$(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var L="bottom",F="right",_="left",N="auto",B=["top",L,F,_],M="start",z="viewport",D="popper",H=B.reduce(function(e,t){return e.concat([t+"-"+M,t+"-end"])},[]),W=[].concat(B,[N]).reduce(function(e,t){return e.concat([t,t+"-"+M,t+"-end"])},[]),U=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],V={placement:"bottom",modifiers:[],strategy:"absolute"};function q(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function Y(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?K(o):null,a=o?X(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:l,y:n.y-r.height};break;case L:t={x:l,y:n.y+n.height};break;case F:t={x:n.x+n.width,y:s};break;case _:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?J(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case M:t[c]=t[c]-(n[u]/2-r[u]/2);break;case"end":t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var t,n,r,o,i,a,l,s=e.popper,c=e.popperRect,u=e.placement,f=e.variation,d=e.offsets,p=e.position,g=e.gpuAcceleration,m=e.adaptive,v=e.roundOffsets,y=e.isFixed,b=d.x,w=void 0===b?0:b,C=d.y,S=void 0===C?0:C,E="function"==typeof v?v({x:w,y:S}):{x:w,y:S};w=E.x,S=E.y;var k=d.hasOwnProperty("x"),O=d.hasOwnProperty("y"),P=_,j="top",A=window;if(m){var R=I(s),T="clientHeight",N="clientWidth";R===h(s)&&"static"!==$(R=Z(s)).position&&"absolute"===p&&(T="scrollHeight",N="scrollWidth"),("top"===u||(u===_||u===F)&&"end"===f)&&(j=L,S-=(y&&R===A&&A.visualViewport?A.visualViewport.height:R[T])-c.height,S*=g?1:-1),(u===_||("top"===u||u===L)&&"end"===f)&&(P=F,w-=(y&&R===A&&A.visualViewport?A.visualViewport.width:R[N])-c.width,w*=g?1:-1)}var B=Object.assign({position:p},m&&Q),M=!0===v?(t={x:w,y:S},n=h(s),r=t.x,o=t.y,{x:x(r*(i=n.devicePixelRatio||1))/i||0,y:x(o*i)/i||0}):{x:w,y:S};return(w=M.x,S=M.y,g)?Object.assign({},B,((l={})[j]=O?"0":"",l[P]=k?"0":"",l.transform=1>=(A.devicePixelRatio||1)?"translate("+w+"px, "+S+"px)":"translate3d("+w+"px, "+S+"px, 0)",l)):Object.assign({},B,((a={})[j]=O?S+"px":"",a[P]=k?w+"px":"",a.transform="",a))}var et={left:"right",right:"left",bottom:"top",top:"bottom"};function en(e){return e.replace(/left|right|bottom|top/g,function(e){return et[e]})}var er={start:"end",end:"start"};function eo(e){return e.replace(/start|end/g,function(e){return er[e]})}function ei(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&v(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ea(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function el(e,t,n){var r,o,i,a,l,s,c,u,f,d;return t===z?ea(function(e,t){var n=h(e),r=Z(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var c=C();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+O(e),y:s}}(e,n)):g(t)?((r=S(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):ea((o=Z(e),a=Z(o),l=E(o),s=null==(i=o.ownerDocument)?void 0:i.body,c=y(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=y(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),f=-l.scrollLeft+O(o),d=-l.scrollTop,"rtl"===$(s||a).direction&&(f+=y(a.clientWidth,s?s.clientWidth:0)-c),{width:c,height:u,x:f,y:d}))}function es(){return{top:0,right:0,bottom:0,left:0}}function ec(e){return Object.assign({},es(),e)}function eu(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ef(e,t){void 0===t&&(t={});var n,r,o,i,a,l,s,c=t,u=c.placement,f=void 0===u?e.placement:u,d=c.strategy,p=void 0===d?e.strategy:d,h=c.boundary,v=c.rootBoundary,x=c.elementContext,w=void 0===x?D:x,C=c.altBoundary,E=c.padding,O=void 0===E?0:E,P=ec("number"!=typeof O?O:eu(O,B)),j=e.rects.popper,T=e.elements[void 0!==C&&C?w===D?"reference":D:w],_=(n=g(T)?T:T.contextElement||Z(e.elements.popper),l=(a=[].concat("clippingParents"===(r=void 0===h?"clippingParents":h)?(o=R(A(n)),g(i=["absolute","fixed"].indexOf($(n).position)>=0&&m(n)?I(n):n)?o.filter(function(e){return g(e)&&ei(e,i)&&"body"!==k(e)}):[]):[].concat(r),[void 0===v?z:v]))[0],(s=a.reduce(function(e,t){var r=el(n,t,p);return e.top=y(r.top,e.top),e.right=b(r.right,e.right),e.bottom=b(r.bottom,e.bottom),e.left=y(r.left,e.left),e},el(n,l,p))).width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s),N=S(e.elements.reference),M=Y({reference:N,element:j,strategy:"absolute",placement:f}),H=ea(Object.assign({},j,M)),W=w===D?H:N,U={top:_.top-W.top+P.top,bottom:W.bottom-_.bottom+P.bottom,left:_.left-W.left+P.left,right:W.right-_.right+P.right},V=e.modifiersData.offset;if(w===D&&V){var q=V[f];Object.keys(U).forEach(function(e){var t=[F,L].indexOf(e)>=0?1:-1,n=["top",L].indexOf(e)>=0?"y":"x";U[e]+=q[n]*t})}return U}function ed(e,t,n){return y(e,b(t,n))}function ep(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function eh(e){return["top",F,L,_].some(function(t){return e[t]>=0})}var eg=(i=void 0===(o=(r={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=h(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,G)}),l&&s.addEventListener("resize",n.update,G),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,G)}),l&&s.removeEventListener("resize",n.update,G)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Y({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i=n.roundOffsets,a=void 0===i||i,l={placement:K(t.placement),variation:X(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];m(o)&&k(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});m(r)&&k(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=W.reduce(function(e,n){var r,o,a,l,s,c;return e[n]=(r=t.rects,a=[_,"top"].indexOf(o=K(n))>=0?-1:1,s=(l="function"==typeof i?i(Object.assign({},r,{placement:n})):i)[0],c=l[1],s=s||0,c=(c||0)*a,[_,F].indexOf(o)>=0?{x:c,y:s}:{x:s,y:c}),e},{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,g=n.allowedAutoPlacements,m=t.options.placement,v=K(m)===m,y=s||(v||!h?[en(m)]:function(e){if(K(e)===N)return[];var t=en(e);return[eo(e),t,eo(t)]}(m)),b=[m].concat(y).reduce(function(e,n){var r,o,i,a,l,s,d,p,m,v,y,b;return e.concat(K(n)===N?(o=(r={placement:n,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:g}).placement,i=r.boundary,a=r.rootBoundary,l=r.padding,s=r.flipVariations,p=void 0===(d=r.allowedAutoPlacements)?W:d,0===(y=(v=(m=X(o))?s?H:H.filter(function(e){return X(e)===m}):B).filter(function(e){return p.indexOf(e)>=0})).length&&(y=v),Object.keys(b=y.reduce(function(e,n){return e[n]=ef(t,{placement:n,boundary:i,rootBoundary:a,padding:l})[K(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),x=t.rects.reference,w=t.rects.popper,C=new Map,S=!0,E=b[0],k=0;k=0,j=P?"width":"height",A=ef(t,{placement:Z,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),R=P?$?F:_:$?L:"top";x[j]>w[j]&&(R=en(R));var T=en(R),I=[];if(i&&I.push(A[O]<=0),l&&I.push(A[R]<=0,A[T]<=0),I.every(function(e){return e})){E=Z,S=!1;break}C.set(Z,I)}if(S)for(var z=h?3:1,D=function(e){var t=b.find(function(t){var n=C.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return E=t,"break"},U=z;U>0&&"break"!==D(U);U--);t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,l=n.rootBoundary,s=n.altBoundary,c=n.padding,u=n.tether,f=void 0===u||u,d=n.tetherOffset,p=void 0===d?0:d,h=ef(t,{boundary:a,rootBoundary:l,padding:c,altBoundary:s}),g=K(t.placement),m=X(t.placement),v=!m,x=J(g),w="x"===x?"y":"x",C=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,k="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,Z="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,$={x:0,y:0};if(C){if(void 0===o||o){var P,A="y"===x?"top":_,R="y"===x?L:F,T="y"===x?"height":"width",N=C[x],B=N+h[A],z=N-h[R],D=f?-E[T]/2:0,H=m===M?S[T]:E[T],W=m===M?-E[T]:-S[T],U=t.elements.arrow,V=f&&U?j(U):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:es(),G=q[A],Y=q[R],Q=ed(0,S[T],V[T]),ee=v?S[T]/2-D-Q-G-Z.mainAxis:H-Q-G-Z.mainAxis,et=v?-S[T]/2+D+Q+Y+Z.mainAxis:W+Q+Y+Z.mainAxis,en=t.elements.arrow&&I(t.elements.arrow),er=en?"y"===x?en.clientTop||0:en.clientLeft||0:0,eo=null!=(P=null==O?void 0:O[x])?P:0,ei=N+ee-eo-er,ea=N+et-eo,el=ed(f?b(B,ei):B,N,f?y(z,ea):z);C[x]=el,$[x]=el-N}if(void 0!==i&&i){var ec,eu,ep="x"===x?"top":_,eh="x"===x?L:F,eg=C[w],em="y"===w?"height":"width",ev=eg+h[ep],ey=eg-h[eh],eb=-1!==["top",_].indexOf(g),ex=null!=(eu=null==O?void 0:O[w])?eu:0,ew=eb?ev:eg-S[em]-E[em]-ex+Z.altAxis,eC=eb?eg+S[em]+E[em]-ex-Z.altAxis:ey,eS=f&&eb?(ec=ed(ew,eg,eC))>eC?eC:ec:ed(f?ew:ev,eg,f?eC:ey);C[w]=eS,$[w]=eS-eg}t.modifiersData[r]=$}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,o=e.name,i=e.options,a=r.elements.arrow,l=r.modifiersData.popperOffsets,s=K(r.placement),c=J(s),u=[_,F].indexOf(s)>=0?"height":"width";if(a&&l){var f=ec("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:eu(t,B)),d=j(a),p="y"===c?"top":_,h="y"===c?L:F,g=r.rects.reference[u]+r.rects.reference[c]-l[c]-r.rects.popper[u],m=l[c]-r.rects.reference[c],v=I(a),y=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,b=f[p],x=y-d[u]-f[h],w=y/2-d[u]/2+(g/2-m/2),C=ed(b,w,x);r.modifiersData[o]=((n={})[c]=C,n.centerOffset=C-w,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ei(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ef(t,{elementContext:"reference"}),l=ef(t,{altBoundary:!0}),s=ep(a,r),c=ep(l,o,i),u=eh(s),f=eh(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}).defaultModifiers)?[]:o,l=void 0===(a=r.defaultOptions)?V:a,function(e,t,n){void 0===n&&(n=l);var r,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},V,l),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,c={state:o,setOptions:function(n){var r,s,f,d,p,h="function"==typeof n?n(o.options):n;u(),o.options=Object.assign({},l,o.options,h),o.scrollParents={reference:g(e)?R(e):e.contextElement?R(e.contextElement):[],popper:R(t)};var m=(s=Object.keys(r=[].concat(i,o.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),f=new Map,d=new Set,p=[],s.forEach(function(e){f.set(e.name,e)}),s.forEach(function(e){d.has(e.name)||function e(t){d.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!d.has(t)){var n=f.get(t);n&&e(n)}}),p.push(t)}(e)}),U.reduce(function(e,t){return e.concat(p.filter(function(e){return e.phase===t}))},[]));return o.orderedModifiers=m.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var i=r({state:o,name:t,instance:c,options:void 0===n?{}:n});a.push(i||function(){})}}),c.update()},forceUpdate:function(){if(!s){var e,t,n,r,i,a,l,u,f,d,p,g,v=o.elements,y=v.reference,b=v.popper;if(q(y,b)){o.rects={reference:(t=I(b),n="fixed"===o.options.strategy,r=m(t),u=m(t)&&(a=x((i=t.getBoundingClientRect()).width)/t.offsetWidth||1,l=x(i.height)/t.offsetHeight||1,1!==a||1!==l),f=Z(t),d=S(y,u,n),p={scrollLeft:0,scrollTop:0},g={x:0,y:0},(r||!r&&!n)&&(("body"!==k(t)||P(f))&&(p=(e=t)!==h(e)&&m(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:E(e)),m(t)?(g=S(t,!0),g.x+=t.clientLeft,g.y+=t.clientTop):f&&(g.x=O(f))),{x:d.left+p.scrollLeft-g.x,y:d.top+p.scrollTop-g.y,width:d.width,height:d.height}),popper:j(b)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var w=0;w(0,em.Z)({root:["root"]},function(e){let{disableDefaultClasses:t}=u.useContext(ek);return n=>t?"":e(n)}(eb)),ej={},eA=u.forwardRef(function(e,t){var n;let{anchorEl:r,children:o,direction:i,disablePortal:a,modifiers:l,open:p,placement:h,popperOptions:g,popperRef:m,slotProps:v={},slots:y={},TransitionProps:b}=e,x=(0,c.Z)(e,eZ),w=u.useRef(null),C=(0,f.Z)(w,t),S=u.useRef(null),E=(0,f.Z)(S,m),k=u.useRef(E);(0,d.Z)(()=>{k.current=E},[E]),u.useImperativeHandle(m,()=>S.current,[]);let Z=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(h,i),[O,$]=u.useState(Z),[P,j]=u.useState(e$(r));u.useEffect(()=>{S.current&&S.current.forceUpdate()}),u.useEffect(()=>{r&&j(e$(r))},[r]),(0,d.Z)(()=>{if(!P||!p)return;let e=e=>{$(e.placement)},t=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:t})=>{e(t)}}];null!=l&&(t=t.concat(l)),g&&null!=g.modifiers&&(t=t.concat(g.modifiers));let n=eg(P,w.current,(0,s.Z)({placement:Z},g,{modifiers:t}));return k.current(n),()=>{n.destroy(),k.current(null)}},[P,a,l,p,g,Z]);let A={placement:O};null!==b&&(A.TransitionProps=b);let R=eP(),T=null!=(n=y.root)?n:"div",I=function(e){var t;let{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=(0,c.Z)(e,eS),l=i?{}:(0,eC.Z)(r,o),{props:u,internalRef:d}=(0,ew.Z)((0,s.Z)({},a,{externalSlotProps:l})),p=(0,f.Z)(d,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref),h=(0,ex.Z)(n,(0,s.Z)({},u,{ref:p}),o);return h}({elementType:T,externalSlotProps:v.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:C},ownerState:e,className:R.root});return(0,eE.jsx)(T,(0,s.Z)({},I,{children:"function"==typeof o?o(A):o}))}),eR=u.forwardRef(function(e,t){let n;let{anchorEl:r,children:o,container:i,direction:a="ltr",disablePortal:l=!1,keepMounted:f=!1,modifiers:d,open:h,placement:g="bottom",popperOptions:m=ej,popperRef:v,style:y,transition:b=!1,slotProps:x={},slots:w={}}=e,C=(0,c.Z)(e,eO),[S,E]=u.useState(!0);if(!f&&!h&&(!b||S))return null;if(i)n=i;else if(r){let e=e$(r);n=e&&void 0!==e.nodeType?(0,p.Z)(e).body:(0,p.Z)(null).body}let k=!h&&f&&(!b||S)?"none":void 0;return(0,eE.jsx)(ev.Z,{disablePortal:l,container:n,children:(0,eE.jsx)(eA,(0,s.Z)({anchorEl:r,direction:a,disablePortal:l,modifiers:d,ref:t,open:b?!S:h,placement:g,popperOptions:m,popperRef:v,slotProps:x,slots:w},C,{style:(0,s.Z)({position:"fixed",top:0,left:0,display:k},y),TransitionProps:b?{in:h,onEnter:()=>{E(!1)},onExited:()=>{E(!0)}}:void 0,children:o}))})});var eT=eR},78385:function(e,t,n){"use strict";var r=n(67294),o=n(73935),i=n(33703),a=n(73546),l=n(7960),s=n(85893);let c=r.forwardRef(function(e,t){let{children:n,container:c,disablePortal:u=!1}=e,[f,d]=r.useState(null),p=(0,i.Z)(r.isValidElement(n)?n.ref:null,t);return((0,a.Z)(()=>{!u&&d(("function"==typeof c?c():c)||document.body)},[c,u]),(0,a.Z)(()=>{if(f&&!u)return(0,l.Z)(t,f),()=>{(0,l.Z)(t,null)}},[t,f,u]),u)?r.isValidElement(n)?r.cloneElement(n,{ref:p}):(0,s.jsx)(r.Fragment,{children:n}):(0,s.jsx)(r.Fragment,{children:f?o.createPortal(n,f):f})});t.Z=c},70758:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i=n(99962),a=n(33703),l=n(30437);function s(e={}){let{disabled:t=!1,focusableWhenDisabled:n,href:s,rootRef:c,tabIndex:u,to:f,type:d}=e,p=o.useRef(),[h,g]=o.useState(!1),{isFocusVisibleRef:m,onFocus:v,onBlur:y,ref:b}=(0,i.Z)(),[x,w]=o.useState(!1);t&&!n&&x&&w(!1),o.useEffect(()=>{m.current=x},[x,m]);let[C,S]=o.useState(""),E=e=>t=>{var n;x&&t.preventDefault(),null==(n=e.onMouseLeave)||n.call(e,t)},k=e=>t=>{var n;y(t),!1===m.current&&w(!1),null==(n=e.onBlur)||n.call(e,t)},Z=e=>t=>{var n,r;p.current||(p.current=t.currentTarget),v(t),!0===m.current&&(w(!0),null==(r=e.onFocusVisible)||r.call(e,t)),null==(n=e.onFocus)||n.call(e,t)},O=()=>{let e=p.current;return"BUTTON"===C||"INPUT"===C&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===C&&(null==e?void 0:e.href)},$=e=>n=>{if(!t){var r;null==(r=e.onClick)||r.call(e,n)}},P=e=>n=>{var r;t||(g(!0),document.addEventListener("mouseup",()=>{g(!1)},{once:!0})),null==(r=e.onMouseDown)||r.call(e,n)},j=e=>n=>{var r,o;null==(r=e.onKeyDown)||r.call(e,n),!n.defaultMuiPrevented&&(n.target!==n.currentTarget||O()||" "!==n.key||n.preventDefault(),n.target!==n.currentTarget||" "!==n.key||t||g(!0),n.target!==n.currentTarget||O()||"Enter"!==n.key||t||(null==(o=e.onClick)||o.call(e,n),n.preventDefault()))},A=e=>n=>{var r,o;n.target===n.currentTarget&&g(!1),null==(r=e.onKeyUp)||r.call(e,n),n.target!==n.currentTarget||O()||t||" "!==n.key||n.defaultMuiPrevented||null==(o=e.onClick)||o.call(e,n)},R=o.useCallback(e=>{var t;S(null!=(t=null==e?void 0:e.tagName)?t:"")},[]),T=(0,a.Z)(R,c,b,p),I={};return"BUTTON"===C?(I.type=null!=d?d:"button",n?I["aria-disabled"]=t:I.disabled=t):""!==C&&(s||f||(I.role="button",I.tabIndex=null!=u?u:0),t&&(I["aria-disabled"]=t,I.tabIndex=n?null!=u?u:0:-1)),{getRootProps:(t={})=>{let n=(0,l.Z)(e),o=(0,r.Z)({},n,t);return delete o.onFocusVisible,(0,r.Z)({type:d},o,I,{onBlur:k(o),onClick:$(o),onFocus:Z(o),onKeyDown:j(o),onKeyUp:A(o),onMouseDown:P(o),onMouseLeave:E(o),ref:T})},focusVisible:x,setFocusVisible:w,active:h,rootRef:T}}},5922:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(87462);function o(e,t,n){return void 0===e||"string"==typeof e?t:(0,r.Z)({},t,{ownerState:(0,r.Z)({},t.ownerState,n)})}},30437:function(e,t,n){"use strict";function r(e,t=[]){if(void 0===e)return{};let n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}n.d(t,{Z:function(){return r}})},24407:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(86010),i=n(30437);function a(e){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t}function l(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:l,externalForwardedProps:s,className:c}=e;if(!t){let e=(0,o.Z)(null==s?void 0:s.className,null==l?void 0:l.className,c,null==n?void 0:n.className),t=(0,r.Z)({},null==n?void 0:n.style,null==s?void 0:s.style,null==l?void 0:l.style),i=(0,r.Z)({},n,s,l);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}let u=(0,i.Z)((0,r.Z)({},s,l)),f=a(l),d=a(s),p=t(u),h=(0,o.Z)(null==p?void 0:p.className,null==n?void 0:n.className,c,null==s?void 0:s.className,null==l?void 0:l.className),g=(0,r.Z)({},null==p?void 0:p.style,null==n?void 0:n.style,null==s?void 0:s.style,null==l?void 0:l.style),m=(0,r.Z)({},p,n,d,f);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:p.ref}}},71276:function(e,t,n){"use strict";function r(e,t,n){return"function"==typeof e?e(t,n):e}n.d(t,{Z:function(){return r}})},31523:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(64938)),i=n(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"}),"Article");t.Z=a},99078:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(64938)),i=n(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z"}),"DarkMode");t.Z=a},28223:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(64938)),i=n(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 14H7v-4h4v4zm0-6H7V7h4v4zm6 6h-4v-4h4v4zm0-6h-4V7h4v4z"}),"Dataset");t.Z=a},52778:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(64938)),i=n(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5-1-1h-5l-1 1H5v2h14V4h-3.5z"}),"DeleteOutlineOutlined");t.Z=a},79453:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(64938)),i=n(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M4 20h16v2H4zM4 2h16v2H4zm9 7h3l-4-4-4 4h3v6H8l4 4 4-4h-3z"}),"Expand");t.Z=a},80087:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(64938)),i=n(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"}),"Language");t.Z=a},326:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(64938)),i=n(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");t.Z=a},66418:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(64938)),i=n(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12zM7 9h2v2H7zm8 0h2v2h-2zm-4 0h2v2h-2z"}),"SmsOutlined");t.Z=a},48953:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(64938)),i=n(85893),a=(0,o.default)((0,i.jsx)("path",{d:"m6.76 4.84-1.8-1.79-1.41 1.41 1.79 1.79 1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91-1.41-1.41-1.79 1.79 1.41 1.41 1.79-1.79zm-3.21 13.7 1.79 1.8 1.41-1.41-1.8-1.79-1.4 1.4zM20 10.5v2h3v-2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm-1 16.95h2V19.5h-2v2.95zm-7.45-3.91 1.41 1.41 1.79-1.8-1.41-1.41-1.79 1.8z"}),"WbSunny");t.Z=a},64938:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(14698)},48665:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(87462),o=n(63366),i=n(67294),a=n(70828),l=n(49731),s=n(86523),c=n(39707),u=n(96682),f=n(85893);let d=["className","component"];var p=n(37078),h=n(1812),g=n(2548);let m=function(e={}){let{themeId:t,defaultTheme:n,defaultClassName:p="MuiBox-root",generateClassName:h}=e,g=(0,l.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z),m=i.forwardRef(function(e,i){let l=(0,u.Z)(n),s=(0,c.Z)(e),{className:m,component:v="div"}=s,y=(0,o.Z)(s,d);return(0,f.jsx)(g,(0,r.Z)({as:v,ref:i,className:(0,a.Z)(m,h?h(p):p),theme:t&&l[t]||l},y))});return m}({themeId:g.Z,defaultTheme:h.Z,defaultClassName:"MuiBox-root",generateClassName:p.Z.generate});var v=m},47556:function(e,t,n){"use strict";var r=n(63366),o=n(87462),i=n(67294),a=n(70758),l=n(94780),s=n(14142),c=n(33703),u=n(74312),f=n(20407),d=n(78653),p=n(30220),h=n(48699),g=n(11842),m=n(89996),v=n(85893);let y=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled","component","slots","slotProps"],b=e=>{let{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,fullWidth:i,size:a,variant:c,loading:u}=e,f={root:["root",n&&"disabled",r&&"focusVisible",i&&"fullWidth",c&&`variant${(0,s.Z)(c)}`,t&&`color${(0,s.Z)(t)}`,a&&`size${(0,s.Z)(a)}`,u&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},d=(0,l.Z)(f,g.F,{});return r&&o&&(d.root+=` ${o}`),d},x=(0,u.Z)("span",{name:"JoyButton",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),w=(0,u.Z)("span",{name:"JoyButton",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),C=(0,u.Z)("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})(({theme:e,ownerState:t})=>{var n,r;return(0,o.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(n=e.variants[t.variant])||null==(n=n[t.color])?void 0:n.color},t.disabled&&{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color})}),S=(0,u.Z)("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,r,i,a;return[(0,o.Z)({"--Icon-margin":"initial"},"sm"===t.size&&{"--Icon-fontSize":"1.25rem","--CircularProgress-size":"20px","--Button-gap":"0.375rem",minHeight:"var(--Button-minHeight, 2rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"2px",paddingInline:"0.75rem"},"md"===t.size&&{"--Icon-fontSize":"1.5rem","--CircularProgress-size":"24px","--Button-gap":"0.5rem",minHeight:"var(--Button-minHeight, 2.5rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"0.25rem",paddingInline:"1rem"},"lg"===t.size&&{"--Icon-fontSize":"1.75rem","--CircularProgress-size":"28px","--Button-gap":"0.75rem",minHeight:"var(--Button-minHeight, 3rem)",fontSize:e.vars.fontSize.md,paddingBlock:"0.375rem",paddingInline:"1.5rem"},{WebkitTapHighlightColor:"transparent",borderRadius:`var(--Button-radius, ${e.vars.radius.sm})`,margin:"var(--Button-margin)",border:"none",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",textDecoration:"none",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.lg,lineHeight:1},t.fullWidth&&{width:"100%"},{[e.focus.selector]:e.focus.default}),null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:hover":{"@media (hover: hover)":null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color]}},{"&:active":null==(i=e.variants[`${t.variant}Active`])?void 0:i[t.color]},(0,o.Z)({[`&.${g.Z.disabled}`]:null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]},"center"===t.loadingPosition&&{[`&.${g.Z.loading}`]:{color:"transparent"}})]}),E=i.forwardRef(function(e,t){var n;let l=(0,f.Z)({props:e,name:"JoyButton"}),{children:s,action:u,color:g="primary",variant:E="solid",size:k="md",fullWidth:Z=!1,startDecorator:O,endDecorator:$,loading:P=!1,loadingPosition:j="center",loadingIndicator:A,disabled:R,component:T,slots:I={},slotProps:L={}}=l,F=(0,r.Z)(l,y),_=i.useContext(m.Z),N=e.variant||_.variant||E,B=e.size||_.size||k,{getColor:M}=(0,d.VT)(N),z=M(e.color,_.color||g),D=null!=(n=e.disabled)?n:_.disabled||R||P,H=i.useRef(null),W=(0,c.Z)(H,t),{focusVisible:U,setFocusVisible:V,getRootProps:q}=(0,a.Z)((0,o.Z)({},l,{disabled:D,rootRef:W})),G=null!=A?A:(0,v.jsx)(h.Z,(0,o.Z)({},"context"!==z&&{color:z},{thickness:{sm:2,md:3,lg:4}[B]||3}));i.useImperativeHandle(u,()=>({focusVisible:()=>{var e;V(!0),null==(e=H.current)||e.focus()}}),[V]);let K=(0,o.Z)({},l,{color:z,fullWidth:Z,variant:N,size:B,focusVisible:U,loading:P,loadingPosition:j,disabled:D}),X=b(K),J=(0,o.Z)({},F,{component:T,slots:I,slotProps:L}),[Y,Q]=(0,p.Z)("root",{ref:t,className:X.root,elementType:S,externalForwardedProps:J,getSlotProps:q,ownerState:K}),[ee,et]=(0,p.Z)("startDecorator",{className:X.startDecorator,elementType:x,externalForwardedProps:J,ownerState:K}),[en,er]=(0,p.Z)("endDecorator",{className:X.endDecorator,elementType:w,externalForwardedProps:J,ownerState:K}),[eo,ei]=(0,p.Z)("loadingIndicatorCenter",{className:X.loadingIndicatorCenter,elementType:C,externalForwardedProps:J,ownerState:K});return(0,v.jsxs)(Y,(0,o.Z)({},Q,{children:[(O||P&&"start"===j)&&(0,v.jsx)(ee,(0,o.Z)({},et,{children:P&&"start"===j?G:O})),s,P&&"center"===j&&(0,v.jsx)(eo,(0,o.Z)({},ei,{children:G})),($||P&&"end"===j)&&(0,v.jsx)(en,(0,o.Z)({},er,{children:P&&"end"===j?G:$}))]}))});E.muiName="Button",t.Z=E},11842:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(26821);function o(e){return(0,r.d6)("MuiButton",e)}let i=(0,r.sI)("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);t.Z=i},89996:function(e,t,n){"use strict";var r=n(67294);let o=r.createContext({});t.Z=o},48699:function(e,t,n){"use strict";n.d(t,{Z:function(){return $}});var r=n(87462),o=n(63366),i=n(67294),a=n(86010),l=n(14142),s=n(94780),c=n(70917),u=n(74312),f=n(20407),d=n(78653),p=n(30220),h=n(26821);function g(e){return(0,h.d6)("MuiCircularProgress",e)}(0,h.sI)("MuiCircularProgress",["root","determinate","svg","track","progress","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);var m=n(85893);let v=e=>e,y,b=["color","backgroundColor"],x=["children","className","color","size","variant","thickness","determinate","value","component","slots","slotProps"],w=(0,c.F4)({"0%":{transform:"rotate(-90deg)"},"100%":{transform:"rotate(270deg)"}}),C=e=>{let{determinate:t,color:n,variant:r,size:o}=e,i={root:["root",t&&"determinate",n&&`color${(0,l.Z)(n)}`,r&&`variant${(0,l.Z)(r)}`,o&&`size${(0,l.Z)(o)}`],svg:["svg"],track:["track"],progress:["progress"]};return(0,s.Z)(i,g,{})},S=(0,u.Z)("span",{name:"JoyCircularProgress",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>{var n;let i=(null==(n=t.variants[e.variant])?void 0:n[e.color])||{},{color:a,backgroundColor:l}=i,s=(0,o.Z)(i,b);return(0,r.Z)({"--Icon-fontSize":"calc(0.4 * var(--_root-size))","--CircularProgress-trackColor":l,"--CircularProgress-progressColor":a,"--CircularProgress-percent":e.value,"--CircularProgress-linecap":"round"},"sm"===e.size&&{"--CircularProgress-trackThickness":"3px","--CircularProgress-progressThickness":"3px","--_root-size":"var(--CircularProgress-size, 24px)"},"sm"===e.instanceSize&&{"--CircularProgress-size":"24px"},"md"===e.size&&{"--CircularProgress-trackThickness":"6px","--CircularProgress-progressThickness":"6px","--_root-size":"var(--CircularProgress-size, 40px)"},"md"===e.instanceSize&&{"--CircularProgress-size":"40px"},"lg"===e.size&&{"--CircularProgress-trackThickness":"8px","--CircularProgress-progressThickness":"8px","--_root-size":"var(--CircularProgress-size, 64px)"},"lg"===e.instanceSize&&{"--CircularProgress-size":"64px"},e.thickness&&{"--CircularProgress-trackThickness":`${e.thickness}px`,"--CircularProgress-progressThickness":`${e.thickness}px`},{"--_thickness-diff":"calc(var(--CircularProgress-trackThickness) - var(--CircularProgress-progressThickness))","--_inner-size":"calc(var(--_root-size) - 2 * var(--variant-borderWidth, 0px))","--_outlined-inset":"max(var(--CircularProgress-trackThickness), var(--CircularProgress-progressThickness))",width:"var(--_root-size)",height:"var(--_root-size)",borderRadius:"var(--_root-size)",margin:"var(--CircularProgress-margin)",boxSizing:"border-box",display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,position:"relative",color:a},e.children&&{fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,fontSize:"calc(0.2 * var(--_root-size))"},s,"outlined"===e.variant&&{"&:before":(0,r.Z)({content:'""',display:"block",position:"absolute",borderRadius:"inherit",top:"var(--_outlined-inset)",left:"var(--_outlined-inset)",right:"var(--_outlined-inset)",bottom:"var(--_outlined-inset)"},s)})}),E=(0,u.Z)("svg",{name:"JoyCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({width:"inherit",height:"inherit",display:"inherit",boxSizing:"inherit",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))"}),k=(0,u.Z)("circle",{name:"JoyCircularProgress",slot:"track",overridesResolver:(e,t)=>t.track})({cx:"50%",cy:"50%",r:"calc(var(--_inner-size) / 2 - var(--CircularProgress-trackThickness) / 2 + min(0px, var(--_thickness-diff) / 2))",fill:"transparent",strokeWidth:"var(--CircularProgress-trackThickness)",stroke:"var(--CircularProgress-trackColor)"}),Z=(0,u.Z)("circle",{name:"JoyCircularProgress",slot:"progress",overridesResolver:(e,t)=>t.progress})({"--_progress-radius":"calc(var(--_inner-size) / 2 - var(--CircularProgress-progressThickness) / 2 - max(0px, var(--_thickness-diff) / 2))","--_progress-length":"calc(2 * 3.1415926535 * var(--_progress-radius))",cx:"50%",cy:"50%",r:"var(--_progress-radius)",fill:"transparent",strokeWidth:"var(--CircularProgress-progressThickness)",stroke:"var(--CircularProgress-progressColor)",strokeLinecap:"var(--CircularProgress-linecap, round)",strokeDasharray:"var(--_progress-length)",strokeDashoffset:"calc(var(--_progress-length) - var(--CircularProgress-percent) * var(--_progress-length) / 100)",transformOrigin:"center",transform:"rotate(-90deg)"},({ownerState:e})=>!e.determinate&&(0,c.iv)(y||(y=v` + animation: var(--CircularProgress-circulation, 0.8s linear 0s infinite normal none running) + ${0}; + `),w)),O=i.forwardRef(function(e,t){let n=(0,f.Z)({props:e,name:"JoyCircularProgress"}),{children:i,className:l,color:s="primary",size:c="md",variant:u="soft",thickness:h,determinate:g=!1,value:v=g?0:25,component:y,slots:b={},slotProps:w={}}=n,O=(0,o.Z)(n,x),{getColor:$}=(0,d.VT)(u),P=$(e.color,s),j=(0,r.Z)({},n,{color:P,size:c,variant:u,thickness:h,value:v,determinate:g,instanceSize:e.size}),A=C(j),R=(0,r.Z)({},O,{component:y,slots:b,slotProps:w}),[T,I]=(0,p.Z)("root",{ref:t,className:(0,a.Z)(A.root,l),elementType:S,externalForwardedProps:R,ownerState:j,additionalProps:(0,r.Z)({role:"progressbar",style:{"--CircularProgress-percent":v}},v&&g&&{"aria-valuenow":"number"==typeof v?Math.round(v):Math.round(Number(v||0))})}),[L,F]=(0,p.Z)("svg",{className:A.svg,elementType:E,externalForwardedProps:R,ownerState:j}),[_,N]=(0,p.Z)("track",{className:A.track,elementType:k,externalForwardedProps:R,ownerState:j}),[B,M]=(0,p.Z)("progress",{className:A.progress,elementType:Z,externalForwardedProps:R,ownerState:j});return(0,m.jsxs)(T,(0,r.Z)({},I,{children:[(0,m.jsxs)(L,(0,r.Z)({},F,{children:[(0,m.jsx)(_,(0,r.Z)({},N)),(0,m.jsx)(B,(0,r.Z)({},M))]})),i]}))});var $=O},14553:function(e,t,n){"use strict";n.d(t,{ZP:function(){return E}});var r=n(63366),o=n(87462),i=n(67294),a=n(14142),l=n(33703),s=n(70758),c=n(94780),u=n(74312),f=n(20407),d=n(78653),p=n(30220),h=n(26821);function g(e){return(0,h.d6)("MuiIconButton",e)}let m=(0,h.sI)("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg"]);var v=n(89996),y=n(85893);let b=["children","action","component","color","disabled","variant","size","slots","slotProps"],x=e=>{let{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,size:i,variant:l}=e,s={root:["root",n&&"disabled",r&&"focusVisible",l&&`variant${(0,a.Z)(l)}`,t&&`color${(0,a.Z)(t)}`,i&&`size${(0,a.Z)(i)}`]},u=(0,c.Z)(s,g,{});return r&&o&&(u.root+=` ${o}`),u},w=(0,u.Z)("button")(({theme:e,ownerState:t})=>{var n,r,i,a;return[(0,o.Z)({"--Icon-margin":"initial"},t.instanceSize&&{"--IconButton-size":({sm:"2rem",md:"2.5rem",lg:"3rem"})[t.instanceSize]},"sm"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.6)","--CircularProgress-size":"20px",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px"},"md"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.5rem) / 1.667)","--CircularProgress-size":"24px",minWidth:"var(--IconButton-size, 2.5rem)",minHeight:"var(--IconButton-size, 2.5rem)",fontSize:e.vars.fontSize.md,paddingInline:"0.25rem"},"lg"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 3rem) / 1.714)","--CircularProgress-size":"28px",minWidth:"var(--IconButton-size, 3rem)",minHeight:"var(--IconButton-size, 3rem)",fontSize:e.vars.fontSize.lg,paddingInline:"0.375rem"},{WebkitTapHighlightColor:"transparent",paddingBlock:0,fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,margin:"var(--IconButton-margin)",borderRadius:`var(--IconButton-radius, ${e.vars.radius.sm})`,border:"none",boxSizing:"border-box",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",[e.focus.selector]:e.focus.default}),null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:hover":{"@media (hover: hover)":null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color]}},{"&:active":null==(i=e.variants[`${t.variant}Active`])?void 0:i[t.color]},{[`&.${m.disabled}`]:null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]}]}),C=(0,u.Z)(w,{name:"JoyIconButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),S=i.forwardRef(function(e,t){var n;let a=(0,f.Z)({props:e,name:"JoyIconButton"}),{children:c,action:u,component:h="button",color:g="primary",disabled:m,variant:w="soft",size:S="md",slots:E={},slotProps:k={}}=a,Z=(0,r.Z)(a,b),O=i.useContext(v.Z),$=e.variant||O.variant||w,P=e.size||O.size||S,{getColor:j}=(0,d.VT)($),A=j(e.color,O.color||g),R=null!=(n=e.disabled)?n:O.disabled||m,T=i.useRef(null),I=(0,l.Z)(T,t),{focusVisible:L,setFocusVisible:F,getRootProps:_}=(0,s.Z)((0,o.Z)({},a,{disabled:R,rootRef:I}));i.useImperativeHandle(u,()=>({focusVisible:()=>{var e;F(!0),null==(e=T.current)||e.focus()}}),[F]);let N=(0,o.Z)({},a,{component:h,color:A,disabled:R,variant:$,size:P,focusVisible:L,instanceSize:e.size}),B=x(N),M=(0,o.Z)({},Z,{component:h,slots:E,slotProps:k}),[z,D]=(0,p.Z)("root",{ref:t,className:B.root,elementType:C,getSlotProps:_,externalForwardedProps:M,ownerState:N});return(0,y.jsx)(z,(0,o.Z)({},D,{children:c}))});S.muiName="IconButton";var E=S},62774:function(e,t,n){"use strict";var r=n(67294);let o=r.createContext(void 0);t.Z=o},43614:function(e,t,n){"use strict";var r=n(67294);let o=r.createContext(void 0);t.Z=o},11772:function(e,t,n){"use strict";n.d(t,{C:function(){return S},Z:function(){return Z}});var r=n(63366),o=n(87462),i=n(67294),a=n(86010),l=n(14142),s=n(94780),c=n(74312),u=n(20407),f=n(78653),d=n(26821);function p(e){return(0,d.d6)("MuiList",e)}(0,d.sI)("MuiList",["root","nesting","scoped","sizeSm","sizeMd","sizeLg","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","horizontal","vertical"]);var h=n(94593),g=n(62774),m=n(43614),v=n(51712);let y=i.createContext(void 0);var b=n(30220),x=n(85893);let w=["component","className","children","size","orientation","wrap","variant","color","role","slots","slotProps"],C=e=>{let{variant:t,color:n,size:r,nesting:o,orientation:i,instanceSize:a}=e,c={root:["root",i,t&&`variant${(0,l.Z)(t)}`,n&&`color${(0,l.Z)(n)}`,!a&&!o&&r&&`size${(0,l.Z)(r)}`,a&&`size${(0,l.Z)(a)}`,o&&"nesting"]};return(0,s.Z)(c,p,{})},S=(0,c.Z)("ul")(({theme:e,ownerState:t})=>{var n;function r(n){return"sm"===n?{"--ListDivider-gap":"0.25rem","--ListItem-minHeight":"2rem","--ListItem-paddingY":"0.25rem","--ListItem-paddingX":"0.5rem","--ListItem-fontSize":e.vars.fontSize.sm,"--ListItemDecorator-size":"horizontal"===t.orientation?"1.5rem":"2rem","--Icon-fontSize":"1.125rem"}:"md"===n?{"--ListDivider-gap":"0.375rem","--ListItem-minHeight":"2.5rem","--ListItem-paddingY":"0.375rem","--ListItem-paddingX":"0.75rem","--ListItem-fontSize":e.vars.fontSize.md,"--ListItemDecorator-size":"horizontal"===t.orientation?"1.75rem":"2.5rem","--Icon-fontSize":"1.25rem"}:"lg"===n?{"--ListDivider-gap":"0.5rem","--ListItem-minHeight":"3rem","--ListItem-paddingY":"0.5rem","--ListItem-paddingX":"1rem","--ListItem-fontSize":e.vars.fontSize.md,"--ListItemDecorator-size":"horizontal"===t.orientation?"2.25rem":"3rem","--Icon-fontSize":"1.5rem"}:{}}return[t.nesting&&(0,o.Z)({},r(t.instanceSize),{"--ListItem-paddingRight":"var(--ListItem-paddingX)","--ListItem-paddingLeft":"var(--NestedListItem-paddingLeft)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px",padding:0,marginInlineStart:"var(--NestedList-marginLeft)",marginInlineEnd:"var(--NestedList-marginRight)",marginBlockStart:"var(--List-gap)",marginBlockEnd:"initial"}),!t.nesting&&(0,o.Z)({},r(t.size),{"--List-gap":"0px","--ListItemDecorator-color":e.vars.palette.text.tertiary,"--List-nestedInsetStart":"0px","--ListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItem-paddingRight":"var(--ListItem-paddingX)","--unstable_List-childRadius":"calc(max(var(--List-radius) - var(--List-padding), min(var(--List-padding) / 2, var(--List-radius) / 2)) - var(--variant-borderWidth, 0px))","--ListItem-radius":"var(--unstable_List-childRadius)","--ListItem-startActionTranslateX":"calc(0.5 * var(--ListItem-paddingLeft))","--ListItem-endActionTranslateX":"calc(-0.5 * var(--ListItem-paddingRight))",margin:"initial"},"horizontal"===t.orientation?(0,o.Z)({},t.wrap?{padding:"var(--List-padding)",marginInlineStart:"calc(-1 * var(--List-gap))",marginBlockStart:"calc(-1 * var(--List-gap))"}:{paddingInline:"var(--List-padding, var(--ListDivider-gap))",paddingBlock:"var(--List-padding)"}):{paddingBlock:"var(--List-padding, var(--ListDivider-gap))",paddingInline:"var(--List-padding)"}),(0,o.Z)({boxSizing:"border-box",borderRadius:"var(--List-radius)",listStyle:"none",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"},t.wrap&&{flexWrap:"wrap"},{flexGrow:1,position:"relative"},null==(n=e.variants[t.variant])?void 0:n[t.color],{"--unstable_List-borderWidth":"var(--variant-borderWidth, 0px)"})]}),E=(0,c.Z)(S,{name:"JoyList",slot:"Root",overridesResolver:(e,t)=>t.root})({}),k=i.forwardRef(function(e,t){var n;let l;let s=i.useContext(h.Z),c=i.useContext(m.Z),d=i.useContext(y),p=(0,u.Z)({props:e,name:"JoyList"}),{component:S,className:k,children:Z,size:O,orientation:$="vertical",wrap:P=!1,variant:j="plain",color:A="neutral",role:R,slots:T={},slotProps:I={}}=p,L=(0,r.Z)(p,w),{getColor:F}=(0,f.VT)(j),_=F(e.color,A),N=O||(null!=(n=e.size)?n:"md");c&&(l="group"),d&&(l="presentation"),R&&(l=R);let B=(0,o.Z)({},p,{instanceSize:e.size,size:N,nesting:s,orientation:$,wrap:P,variant:j,color:_,role:l}),M=C(B),z=(0,o.Z)({},L,{component:S,slots:T,slotProps:I}),[D,H]=(0,b.Z)("root",{ref:t,className:(0,a.Z)(M.root,k),elementType:E,externalForwardedProps:z,ownerState:B,additionalProps:{as:S,role:l,"aria-labelledby":"string"==typeof s?s:void 0}});return(0,x.jsx)(D,(0,o.Z)({},H,{children:(0,x.jsx)(g.Z.Provider,{value:`${"string"==typeof S?S:""}:${l||""}`,children:(0,x.jsx)(v.Z,{row:"horizontal"===$,wrap:P,children:Z})})}))});var Z=k},51712:function(e,t,n){"use strict";n.d(t,{M:function(){return c}});var r=n(87462),o=n(67294),i=n(40780),a=n(30532),l=n(94593),s=n(85893);let c={"--NestedList-marginRight":"0px","--NestedList-marginLeft":"0px","--NestedListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px"};t.Z=function(e){let{children:t,nested:n,row:c=!1,wrap:u=!1}=e,f=(0,s.jsx)(i.Z.Provider,{value:c,children:(0,s.jsx)(a.Z.Provider,{value:u,children:o.Children.map(t,(e,t)=>o.isValidElement(e)?o.cloneElement(e,(0,r.Z)({},0===t&&{"data-first-child":""})):e)})});return void 0===n?f:(0,s.jsx)(l.Z.Provider,{value:n,children:f})}},94593:function(e,t,n){"use strict";var r=n(67294);let o=r.createContext(!1);t.Z=o},40780:function(e,t,n){"use strict";var r=n(67294);let o=r.createContext(!1);t.Z=o},30532:function(e,t,n){"use strict";var r=n(67294);let o=r.createContext(!1);t.Z=o},16079:function(e,t,n){"use strict";n.d(t,{r:function(){return S},Z:function(){return Z}});var r=n(63366),o=n(87462),i=n(67294),a=n(86010),l=n(14142),s=n(33703),c=n(94780),u=n(70758),f=n(74312),d=n(20407),p=n(78653),h=n(26821);function g(e){return(0,h.d6)("MuiListItemButton",e)}let m=(0,h.sI)("MuiListItemButton",["root","horizontal","vertical","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","variantPlain","variantSoft","variantOutlined","variantSolid"]);var v=n(41785),y=n(40780),b=n(30220),x=n(85893);let w=["children","className","action","component","orientation","role","selected","color","variant","slots","slotProps"],C=e=>{let{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,selected:i,variant:a}=e,s={root:["root",n&&"disabled",r&&"focusVisible",t&&`color${(0,l.Z)(t)}`,i&&"selected",a&&`variant${(0,l.Z)(a)}`]},u=(0,c.Z)(s,g,{});return r&&o&&(u.root+=` ${o}`),u},S=(0,f.Z)("div")(({theme:e,ownerState:t})=>{var n,r,i,a,l;return[(0,o.Z)({},t.selected&&{"--ListItemDecorator-color":"initial"},t.disabled&&{"--ListItemDecorator-color":null==(n=e.variants)||null==(n=n[`${t.variant}Disabled`])||null==(n=n[t.color])?void 0:n.color},{WebkitTapHighlightColor:"transparent",boxSizing:"border-box",position:"relative",display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"stretch"},"vertical"===t.orientation&&{flexDirection:"column",justifyContent:"center"},{textAlign:"initial",textDecoration:"initial",backgroundColor:"initial",cursor:"pointer",marginInline:"var(--ListItemButton-marginInline)",marginBlock:"var(--ListItemButton-marginBlock)"},void 0===t["data-first-child"]&&{marginInlineStart:t.row?"var(--List-gap)":void 0,marginBlockStart:t.row?void 0:"var(--List-gap)"},{paddingBlock:"calc(var(--ListItem-paddingY) - var(--variant-borderWidth, 0px))",paddingInlineStart:"calc(var(--ListItem-paddingLeft) + var(--ListItem-startActionWidth, var(--unstable_startActionWidth, 0px)))",paddingInlineEnd:"calc(var(--ListItem-paddingRight) + var(--ListItem-endActionWidth, var(--unstable_endActionWidth, 0px)))",minBlockSize:"var(--ListItem-minHeight)",border:"none",borderRadius:"var(--ListItem-radius)",flexGrow:t.row?0:1,flexBasis:t.row?"auto":"0%",flexShrink:0,minInlineSize:0,fontSize:"var(--ListItem-fontSize)",fontFamily:e.vars.fontFamily.body},t.selected&&{fontWeight:e.vars.fontWeight.md},{[e.focus.selector]:e.focus.default}),(0,o.Z)({},null==(r=e.variants[t.variant])?void 0:r[t.color],!t.selected&&{"&:hover":null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color],"&:active":null==(a=e.variants[`${t.variant}Active`])?void 0:a[t.color]}),{[`&.${m.disabled}`]:null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color]}]}),E=(0,f.Z)(S,{name:"JoyListItemButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),k=i.forwardRef(function(e,t){let n=(0,d.Z)({props:e,name:"JoyListItemButton"}),l=i.useContext(y.Z),{children:c,className:f,action:h,component:g="div",orientation:m="horizontal",role:S,selected:k=!1,color:Z=k?"primary":"neutral",variant:O="plain",slots:$={},slotProps:P={}}=n,j=(0,r.Z)(n,w),{getColor:A}=(0,p.VT)(O),R=A(e.color,Z),T=i.useRef(null),I=(0,s.Z)(T,t),{focusVisible:L,setFocusVisible:F,getRootProps:_}=(0,u.Z)((0,o.Z)({},n,{rootRef:I}));i.useImperativeHandle(h,()=>({focusVisible:()=>{var e;F(!0),null==(e=T.current)||e.focus()}}),[F]);let N=(0,o.Z)({},n,{component:g,color:R,focusVisible:L,orientation:m,row:l,selected:k,variant:O}),B=C(N),M=(0,o.Z)({},j,{component:g,slots:$,slotProps:P}),[z,D]=(0,b.Z)("root",{ref:t,className:(0,a.Z)(B.root,f),elementType:E,externalForwardedProps:M,ownerState:N,getSlotProps:_});return(0,x.jsx)(v.Z.Provider,{value:m,children:(0,x.jsx)(z,(0,o.Z)({},D,{role:null!=S?S:D.role,children:c}))})});var Z=k},41785:function(e,t,n){"use strict";var r=n(67294);let o=r.createContext("horizontal");t.Z=o},2549:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(63366),o=n(87462),i=n(67294),a=n(86010),l=n(14142),s=n(19032),c=n(92996),u=n(59948),f=n(99962),d=n(33703),p=n(94780),h=n(60769),g=n(74312),m=n(20407),v=n(30220),y=n(78653),b=n(26821);function x(e){return(0,b.d6)("MuiTooltip",e)}(0,b.sI)("MuiTooltip",["root","tooltipArrow","arrow","touch","placementLeft","placementRight","placementTop","placementBottom","colorPrimary","colorDanger","colorInfo","colorNeutral","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);var w=n(85893);let C=["children","className","component","arrow","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","disablePortal","direction","keepMounted","modifiers","placement","title","color","variant","size","slots","slotProps"],S=e=>{let{arrow:t,variant:n,color:r,size:o,placement:i,touch:a}=e,s={root:["root",t&&"tooltipArrow",a&&"touch",o&&`size${(0,l.Z)(o)}`,r&&`color${(0,l.Z)(r)}`,n&&`variant${(0,l.Z)(n)}`,`tooltipPlacement${(0,l.Z)(i.split("-")[0])}`],arrow:["arrow"]};return(0,p.Z)(s,x,{})},E=(0,g.Z)("div",{name:"JoyTooltip",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>{var n,r,i;let a=null==(n=t.variants[e.variant])?void 0:n[e.color];return(0,o.Z)({},"sm"===e.size&&{"--Icon-fontSize":"1rem","--Tooltip-arrowSize":"8px",padding:t.spacing(.5,.625),fontSize:t.vars.fontSize.xs},"md"===e.size&&{"--Icon-fontSize":"1.125rem","--Tooltip-arrowSize":"10px",padding:t.spacing(.625,.75),fontSize:t.vars.fontSize.sm},"lg"===e.size&&{"--Icon-fontSize":"1.25rem","--Tooltip-arrowSize":"12px",padding:t.spacing(.75,1),fontSize:t.vars.fontSize.md},{zIndex:t.vars.zIndex.tooltip,borderRadius:t.vars.radius.xs,boxShadow:t.shadow.sm,fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,lineHeight:t.vars.lineHeight.sm,wordWrap:"break-word",position:"relative"},e.disableInteractive&&{pointerEvents:"none"},a,!a.backgroundColor&&{backgroundColor:t.vars.palette.background.surface},{"&::before":{content:'""',display:"block",position:"absolute",width:null!=(r=e.placement)&&r.match(/(top|bottom)/)?"100%":"calc(10px + var(--variant-borderWidth, 0px))",height:null!=(i=e.placement)&&i.match(/(top|bottom)/)?"calc(10px + var(--variant-borderWidth, 0px))":"100%"},'&[data-popper-placement*="bottom"]::before':{top:0,left:0,transform:"translateY(-100%)"},'&[data-popper-placement*="left"]::before':{top:0,right:0,transform:"translateX(100%)"},'&[data-popper-placement*="right"]::before':{top:0,left:0,transform:"translateX(-100%)"},'&[data-popper-placement*="top"]::before':{bottom:0,left:0,transform:"translateY(100%)"}})}),k=(0,g.Z)("span",{name:"JoyTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e,ownerState:t})=>{var n,r,o;let i=null==(n=e.variants[t.variant])?void 0:n[t.color];return{"--unstable_Tooltip-arrowRotation":0,width:"var(--Tooltip-arrowSize)",height:"var(--Tooltip-arrowSize)",boxSizing:"border-box","&:before":{content:'""',display:"block",position:"absolute",width:0,height:0,border:"calc(var(--Tooltip-arrowSize) / 2) solid",borderLeftColor:"transparent",borderBottomColor:"transparent",borderTopColor:null!=(r=null==i?void 0:i.backgroundColor)?r:e.vars.palette.background.surface,borderRightColor:null!=(o=null==i?void 0:i.backgroundColor)?o:e.vars.palette.background.surface,borderRadius:"0px 2px 0px 0px",boxShadow:`var(--variant-borderWidth, 0px) calc(-1 * var(--variant-borderWidth, 0px)) 0px 0px ${i.borderColor}`,transformOrigin:"center center",transform:"rotate(calc(-45deg + 90deg * var(--unstable_Tooltip-arrowRotation)))"},'[data-popper-placement*="bottom"] &':{top:"calc(0.5px + var(--Tooltip-arrowSize) * -1 / 2)"},'[data-popper-placement*="top"] &':{"--unstable_Tooltip-arrowRotation":2,bottom:"calc(0.5px + var(--Tooltip-arrowSize) * -1 / 2)"},'[data-popper-placement*="left"] &':{"--unstable_Tooltip-arrowRotation":1,right:"calc(0.5px + var(--Tooltip-arrowSize) * -1 / 2)"},'[data-popper-placement*="right"] &':{"--unstable_Tooltip-arrowRotation":3,left:"calc(0.5px + var(--Tooltip-arrowSize) * -1 / 2)"}}}),Z=!1,O=null,$={x:0,y:0};function P(e,t){return n=>{t&&t(n),e(n)}}function j(e,t){return n=>{t&&t(n),e(n)}}let A=i.forwardRef(function(e,t){var n;let l=(0,m.Z)({props:e,name:"JoyTooltip"}),{children:p,className:g,component:b,arrow:x=!1,describeChild:A=!1,disableFocusListener:R=!1,disableHoverListener:T=!1,disableInteractive:I=!1,disableTouchListener:L=!1,enterDelay:F=100,enterNextDelay:_=0,enterTouchDelay:N=700,followCursor:B=!1,id:M,leaveDelay:z=0,leaveTouchDelay:D=1500,onClose:H,onOpen:W,open:U,disablePortal:V,direction:q,keepMounted:G,modifiers:K,placement:X="bottom",title:J,color:Y="neutral",variant:Q="solid",size:ee="md",slots:et={},slotProps:en={}}=l,er=(0,r.Z)(l,C),{getColor:eo}=(0,y.VT)(Q),ei=V?eo(e.color,Y):Y,[ea,el]=i.useState(),[es,ec]=i.useState(null),eu=i.useRef(!1),ef=I||B,ed=i.useRef(),ep=i.useRef(),eh=i.useRef(),eg=i.useRef(),[em,ev]=(0,s.Z)({controlled:U,default:!1,name:"Tooltip",state:"open"}),ey=em,eb=(0,c.Z)(M),ex=i.useRef(),ew=i.useCallback(()=>{void 0!==ex.current&&(document.body.style.WebkitUserSelect=ex.current,ex.current=void 0),clearTimeout(eg.current)},[]);i.useEffect(()=>()=>{clearTimeout(ed.current),clearTimeout(ep.current),clearTimeout(eh.current),ew()},[ew]);let eC=e=>{O&&clearTimeout(O),Z=!0,ev(!0),W&&!ey&&W(e)},eS=(0,u.Z)(e=>{O&&clearTimeout(O),O=setTimeout(()=>{Z=!1},800+z),ev(!1),H&&ey&&H(e),clearTimeout(ed.current),ed.current=setTimeout(()=>{eu.current=!1},150)}),eE=e=>{eu.current&&"touchstart"!==e.type||(ea&&ea.removeAttribute("title"),clearTimeout(ep.current),clearTimeout(eh.current),F||Z&&_?ep.current=setTimeout(()=>{eC(e)},Z?_:F):eC(e))},ek=e=>{clearTimeout(ep.current),clearTimeout(eh.current),eh.current=setTimeout(()=>{eS(e)},z)},{isFocusVisibleRef:eZ,onBlur:eO,onFocus:e$,ref:eP}=(0,f.Z)(),[,ej]=i.useState(!1),eA=e=>{eO(e),!1===eZ.current&&(ej(!1),ek(e))},eR=e=>{ea||el(e.currentTarget),e$(e),!0===eZ.current&&(ej(!0),eE(e))},eT=e=>{eu.current=!0;let t=p.props;t.onTouchStart&&t.onTouchStart(e)};i.useEffect(()=>{if(ey)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){("Escape"===e.key||"Esc"===e.key)&&eS(e)}},[eS,ey]);let eI=(0,d.Z)(el,t),eL=(0,d.Z)(eP,eI),eF=(0,d.Z)(p.ref,eL);"number"==typeof J||J||(ey=!1);let e_=i.useRef(null),eN={},eB="string"==typeof J;A?(eN.title=ey||!eB||T?null:J,eN["aria-describedby"]=ey?eb:null):(eN["aria-label"]=eB?J:null,eN["aria-labelledby"]=ey&&!eB?eb:null);let eM=(0,o.Z)({},eN,er,{component:b},p.props,{className:(0,a.Z)(g,p.props.className),onTouchStart:eT,ref:eF},B?{onMouseMove:e=>{let t=p.props;t.onMouseMove&&t.onMouseMove(e),$={x:e.clientX,y:e.clientY},e_.current&&e_.current.update()}}:{}),ez={};L||(eM.onTouchStart=e=>{eT(e),clearTimeout(eh.current),clearTimeout(ed.current),ew(),ex.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",eg.current=setTimeout(()=>{document.body.style.WebkitUserSelect=ex.current,eE(e)},N)},eM.onTouchEnd=e=>{p.props.onTouchEnd&&p.props.onTouchEnd(e),ew(),clearTimeout(eh.current),eh.current=setTimeout(()=>{eS(e)},D)}),T||(eM.onMouseOver=P(eE,eM.onMouseOver),eM.onMouseLeave=P(ek,eM.onMouseLeave),ef||(ez.onMouseOver=eE,ez.onMouseLeave=ek)),R||(eM.onFocus=j(eR,eM.onFocus),eM.onBlur=j(eA,eM.onBlur),ef||(ez.onFocus=eR,ez.onBlur=eA));let eD=(0,o.Z)({},l,{arrow:x,disableInteractive:ef,placement:X,touch:eu.current,color:ei,variant:Q,size:ee}),eH=S(eD),eW=(0,o.Z)({},er,{component:b,slots:et,slotProps:en}),eU=i.useMemo(()=>[{name:"arrow",enabled:!!es,options:{element:es,padding:6}},{name:"offset",options:{offset:[0,10]}},...K||[]],[es,K]),[eV,eq]=(0,v.Z)("root",{additionalProps:(0,o.Z)({id:eb,popperRef:e_,placement:X,anchorEl:B?{getBoundingClientRect:()=>({top:$.y,left:$.x,right:$.x,bottom:$.y,width:0,height:0})}:ea,open:!!ea&&ey,disablePortal:V,keepMounted:G,direction:q,modifiers:eU},ez),ref:null,className:eH.root,elementType:E,externalForwardedProps:eW,ownerState:eD}),[eG,eK]=(0,v.Z)("arrow",{ref:ec,className:eH.arrow,elementType:k,externalForwardedProps:eW,ownerState:eD}),eX=(0,w.jsxs)(eV,(0,o.Z)({},eq,!(null!=(n=l.slots)&&n.root)&&{as:h.Z,slots:{root:b||"div"}},{children:[J,x?(0,w.jsx)(eG,(0,o.Z)({},eK)):null]}));return(0,w.jsxs)(i.Fragment,{children:[i.isValidElement(p)&&i.cloneElement(p,eM),V?eX:(0,w.jsx)(y.ZP.Provider,{value:void 0,children:eX})]})});var R=A},40911:function(e,t,n){"use strict";n.d(t,{eu:function(){return x},FR:function(){return b},ZP:function(){return O}});var r=n(63366),o=n(87462),i=n(67294),a=n(14142),l=n(18719),s=n(39707),c=n(94780),u=n(74312),f=n(20407),d=n(78653),p=n(30220),h=n(26821);function g(e){return(0,h.d6)("MuiTypography",e)}(0,h.sI)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","body1","body2","body3","noWrap","gutterBottom","startDecorator","endDecorator","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var m=n(85893);let v=["color","textColor"],y=["component","gutterBottom","noWrap","level","levelMapping","children","endDecorator","startDecorator","variant","slots","slotProps"],b=i.createContext(!1),x=i.createContext(!1),w=e=>{let{gutterBottom:t,noWrap:n,level:r,color:o,variant:i}=e,l={root:["root",r,t&&"gutterBottom",n&&"noWrap",o&&`color${(0,a.Z)(o)}`,i&&`variant${(0,a.Z)(i)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,c.Z)(l,g,{})},C=(0,u.Z)("span",{name:"JoyTypography",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})(({ownerState:e})=>{var t;return(0,o.Z)({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||(null==(t=e.sx)?void 0:t.alignItems)==="flex-start")&&{marginTop:"2px"})}),S=(0,u.Z)("span",{name:"JoyTypography",slot:"endDecorator",overridesResolver:(e,t)=>t.endDecorator})(({ownerState:e})=>{var t;return(0,o.Z)({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.endDecorator&&("flex-start"===e.alignItems||(null==(t=e.sx)?void 0:t.alignItems)==="flex-start")&&{marginTop:"2px"})}),E=(0,u.Z)("span",{name:"JoyTypography",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,r,i,a;return(0,o.Z)({"--Icon-fontSize":"1.25em",margin:"var(--Typography-margin, 0px)"},t.nesting?{display:"inline"}:{fontFamily:e.vars.fontFamily.body,display:"block"},(t.startDecorator||t.endDecorator)&&(0,o.Z)({display:"flex",alignItems:"center"},t.nesting&&(0,o.Z)({display:"inline-flex"},t.startDecorator&&{verticalAlign:"bottom"})),t.level&&"inherit"!==t.level&&e.typography[t.level],{fontSize:`var(--Typography-fontSize, ${t.level&&"inherit"!==t.level&&null!=(n=null==(r=e.typography[t.level])?void 0:r.fontSize)?n:"inherit"})`},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.color&&"context"!==t.color&&{color:`rgba(${null==(i=e.vars.palette[t.color])?void 0:i.mainChannel} / 1)`},t.variant&&(0,o.Z)({borderRadius:e.vars.radius.xs,paddingBlock:"min(0.15em, 4px)",paddingInline:"0.375em"},!t.nesting&&{marginInline:"-0.375em"},null==(a=e.variants[t.variant])?void 0:a[t.color]))}),k={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",display1:"h1",display2:"h2",body1:"p",body2:"p",body3:"span",body4:"span",body5:"span",inherit:"p"},Z=i.forwardRef(function(e,t){let n=(0,f.Z)({props:e,name:"JoyTypography"}),{color:a,textColor:c}=n,u=(0,r.Z)(n,v),h=i.useContext(b),g=i.useContext(x),Z=(0,s.Z)((0,o.Z)({},u,{color:c})),{component:O,gutterBottom:$=!1,noWrap:P=!1,level:j="body1",levelMapping:A={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",body3:"p",inherit:"p"},children:R,endDecorator:T,startDecorator:I,variant:L,slots:F={},slotProps:_={}}=Z,N=(0,r.Z)(Z,y),{getColor:B}=(0,d.VT)(L),M=B(e.color,L?null!=a?a:"neutral":a),z=h||g?e.level||"inherit":j,D=O||(h?"span":A[z]||k[z]||"span"),H=(0,o.Z)({},Z,{level:z,component:D,color:M,gutterBottom:$,noWrap:P,nesting:h,variant:L}),W=w(H),U=(0,o.Z)({},N,{component:D,slots:F,slotProps:_}),[V,q]=(0,p.Z)("root",{ref:t,className:W.root,elementType:E,externalForwardedProps:U,ownerState:H}),[G,K]=(0,p.Z)("startDecorator",{className:W.startDecorator,elementType:C,externalForwardedProps:U,ownerState:H}),[X,J]=(0,p.Z)("endDecorator",{className:W.endDecorator,elementType:S,externalForwardedProps:U,ownerState:H});return(0,m.jsx)(b.Provider,{value:!0,children:(0,m.jsxs)(V,(0,o.Z)({},q,{children:[I&&(0,m.jsx)(G,(0,o.Z)({},K,{children:I})),(0,l.Z)(R,["Skeleton"])?i.cloneElement(R,{variant:R.props.variant||"inline"}):R,T&&(0,m.jsx)(X,(0,o.Z)({},J,{children:T}))]}))})});var O=Z},26821:function(e,t,n){"use strict";n.d(t,{d6:function(){return i},sI:function(){return a}});var r=n(34867),o=n(1588);let i=(e,t)=>(0,r.Z)(e,t,"Joy"),a=(e,t)=>(0,o.Z)(e,t,"Joy")},9818:function(e,t){"use strict";t.Z={grey:{50:"#F7F7F8",100:"#EBEBEF",200:"#D8D8DF",300:"#B9B9C6",400:"#8F8FA3",500:"#73738C",600:"#5A5A72",700:"#434356",800:"#25252D",900:"#131318"},blue:{50:"#F4FAFF",100:"#DDF1FF",200:"#ADDBFF",300:"#6FB6FF",400:"#3990FF",500:"#096BDE",600:"#054DA7",700:"#02367D",800:"#072859",900:"#00153C"},yellow:{50:"#FFF8C5",100:"#FAE17D",200:"#EAC54F",300:"#D4A72C",400:"#BF8700",500:"#9A6700",600:"#7D4E00",700:"#633C01",800:"#4D2D00",900:"#3B2300"},red:{50:"#FFF8F6",100:"#FFE9E8",200:"#FFC7C5",300:"#FF9192",400:"#FA5255",500:"#D3232F",600:"#A10E25",700:"#77061B",800:"#580013",900:"#39000D"},green:{50:"#F3FEF5",100:"#D7F5DD",200:"#77EC95",300:"#4CC76E",400:"#2CA24D",500:"#1A7D36",600:"#0F5D26",700:"#034318",800:"#002F0F",900:"#001D09"},purple:{50:"#FDF7FF",100:"#F4EAFF",200:"#E1CBFF",300:"#C69EFF",400:"#A374F9",500:"#814DDE",600:"#5F35AE",700:"#452382",800:"#301761",900:"#1D0A42"}}},78653:function(e,t,n){"use strict";n.d(t,{VT:function(){return s},do:function(){return c}});var r=n(67294),o=n(38629),i=n(1812),a=n(85893);let l=r.createContext(void 0),s=e=>{let t=r.useContext(l);return{getColor:(n,r)=>t&&e&&t.includes(e)?n||"context":n||r}};function c({children:e,variant:t}){var n;let r=(0,o.F)();return(0,a.jsx)(l.Provider,{value:t?(null!=(n=r.colorInversionConfig)?n:i.Z.colorInversionConfig)[t]:void 0,children:e})}t.ZP=l},56385:function(e,t,n){"use strict";n.d(t,{lL:function(){return S},tv:function(){return E}});var r=n(59766),o=n(87462),i=n(63366),a=n(71387),l=n(67294),s=n(70917),c=n(85893);function u(e){let{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>t(null==e||0===Object.keys(e).length?n:e):t;return(0,c.jsx)(s.xB,{styles:r})}var f=n(56760),d=n(71927);let p="mode",h="color-scheme",g="data-color-scheme";function m(e){if("undefined"!=typeof window&&"system"===e){let e=window.matchMedia("(prefers-color-scheme: dark)");return e.matches?"dark":"light"}}function v(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function y(e,t){let n;if("undefined"!=typeof window){try{(n=localStorage.getItem(e)||void 0)||localStorage.setItem(e,t)}catch(e){}return n||t}}let b=["colorSchemes","components","generateCssVars","cssVarPrefix"];var x=n(1812),w=n(13951),C=n(2548);let{CssVarsProvider:S,useColorScheme:E,getInitColorSchemeScript:k}=function(e){let{themeId:t,theme:n={},attribute:s=g,modeStorageKey:x=p,colorSchemeStorageKey:w=h,defaultMode:C="light",defaultColorScheme:S,disableTransitionOnChange:E=!1,resolveTheme:k,excludeVariablesFromRoot:Z}=e;n.colorSchemes&&("string"!=typeof S||n.colorSchemes[S])&&("object"!=typeof S||n.colorSchemes[null==S?void 0:S.light])&&("object"!=typeof S||n.colorSchemes[null==S?void 0:S.dark])||console.error(`MUI: \`${S}\` does not exist in \`theme.colorSchemes\`.`);let O=l.createContext(void 0),$="string"==typeof S?S:S.light,P="string"==typeof S?S:S.dark;return{CssVarsProvider:function({children:e,theme:a=n,modeStorageKey:g=x,colorSchemeStorageKey:$=w,attribute:P=s,defaultMode:j=C,defaultColorScheme:A=S,disableTransitionOnChange:R=E,storageWindow:T="undefined"==typeof window?void 0:window,documentNode:I="undefined"==typeof document?void 0:document,colorSchemeNode:L="undefined"==typeof document?void 0:document.documentElement,colorSchemeSelector:F=":root",disableNestedContext:_=!1,disableStyleSheetGeneration:N=!1}){let B=l.useRef(!1),M=(0,f.Z)(),z=l.useContext(O),D=!!z&&!_,H=a[t],W=H||a,{colorSchemes:U={},components:V={},generateCssVars:q=()=>({vars:{},css:{}}),cssVarPrefix:G}=W,K=(0,i.Z)(W,b),X=Object.keys(U),J="string"==typeof A?A:A.light,Y="string"==typeof A?A:A.dark,{mode:Q,setMode:ee,systemMode:et,lightColorScheme:en,darkColorScheme:er,colorScheme:eo,setColorScheme:ei}=function(e){let{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:i=[],modeStorageKey:a=p,colorSchemeStorageKey:s=h,storageWindow:c="undefined"==typeof window?void 0:window}=e,u=i.join(","),[f,d]=l.useState(()=>{let e=y(a,t),o=y(`${s}-light`,n),i=y(`${s}-dark`,r);return{mode:e,systemMode:m(e),lightColorScheme:o,darkColorScheme:i}}),g=v(f,e=>"light"===e?f.lightColorScheme:"dark"===e?f.darkColorScheme:void 0),b=l.useCallback(e=>{d(n=>{if(e===n.mode)return n;let r=e||t;try{localStorage.setItem(a,r)}catch(e){}return(0,o.Z)({},n,{mode:r,systemMode:m(r)})})},[a,t]),x=l.useCallback(e=>{e?"string"==typeof e?e&&!u.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):d(t=>{let n=(0,o.Z)({},t);return v(t,t=>{try{localStorage.setItem(`${s}-${t}`,e)}catch(e){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)}),n}):d(t=>{let i=(0,o.Z)({},t),a=null===e.light?n:e.light,l=null===e.dark?r:e.dark;if(a){if(u.includes(a)){i.lightColorScheme=a;try{localStorage.setItem(`${s}-light`,a)}catch(e){}}else console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)}if(l){if(u.includes(l)){i.darkColorScheme=l;try{localStorage.setItem(`${s}-dark`,l)}catch(e){}}else console.error(`\`${l}\` does not exist in \`theme.colorSchemes\`.`)}return i}):d(e=>{try{localStorage.setItem(`${s}-light`,n),localStorage.setItem(`${s}-dark`,r)}catch(e){}return(0,o.Z)({},e,{lightColorScheme:n,darkColorScheme:r})})},[u,s,n,r]),w=l.useCallback(e=>{"system"===f.mode&&d(t=>(0,o.Z)({},t,{systemMode:null!=e&&e.matches?"dark":"light"}))},[f.mode]),C=l.useRef(w);return C.current=w,l.useEffect(()=>{let e=(...e)=>C.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>t.removeListener(e)},[]),l.useEffect(()=>{let e=e=>{let n=e.newValue;"string"==typeof e.key&&e.key.startsWith(s)&&(!n||u.match(n))&&(e.key.endsWith("light")&&x({light:n}),e.key.endsWith("dark")&&x({dark:n})),e.key===a&&(!n||["light","dark","system"].includes(n))&&b(n||t)};if(c)return c.addEventListener("storage",e),()=>c.removeEventListener("storage",e)},[x,b,a,s,u,t,c]),(0,o.Z)({},f,{colorScheme:g,setMode:b,setColorScheme:x})}({supportedColorSchemes:X,defaultLightColorScheme:J,defaultDarkColorScheme:Y,modeStorageKey:g,colorSchemeStorageKey:$,defaultMode:j,storageWindow:T}),ea=Q,el=eo;D&&(ea=z.mode,el=z.colorScheme);let es=ea||("system"===j?C:j),ec=el||("dark"===es?Y:J),{css:eu,vars:ef}=q(),ed=(0,o.Z)({},K,{components:V,colorSchemes:U,cssVarPrefix:G,vars:ef,getColorSchemeSelector:e=>`[${P}="${e}"] &`}),ep={},eh={};Object.entries(U).forEach(([e,t])=>{let{css:n,vars:i}=q(e);ed.vars=(0,r.Z)(ed.vars,i),e===ec&&(Object.keys(t).forEach(e=>{t[e]&&"object"==typeof t[e]?ed[e]=(0,o.Z)({},ed[e],t[e]):ed[e]=t[e]}),ed.palette&&(ed.palette.colorScheme=e));let a="string"==typeof A?A:"dark"===j?A.dark:A.light;if(e===a){if(Z){let t={};Z(G).forEach(e=>{t[e]=n[e],delete n[e]}),ep[`[${P}="${e}"]`]=t}ep[`${F}, [${P}="${e}"]`]=n}else eh[`${":root"===F?"":F}[${P}="${e}"]`]=n}),ed.vars=(0,r.Z)(ed.vars,ef),l.useEffect(()=>{el&&L&&L.setAttribute(P,el)},[el,P,L]),l.useEffect(()=>{let e;if(R&&B.current&&I){let t=I.createElement("style");t.appendChild(I.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),I.head.appendChild(t),window.getComputedStyle(I.body),e=setTimeout(()=>{I.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[el,R,I]),l.useEffect(()=>(B.current=!0,()=>{B.current=!1}),[]);let eg=l.useMemo(()=>({mode:ea,systemMode:et,setMode:ee,lightColorScheme:en,darkColorScheme:er,colorScheme:el,setColorScheme:ei,allColorSchemes:X}),[X,el,er,en,ea,ei,ee,et]),em=!0;(N||D&&(null==M?void 0:M.cssVarPrefix)===G)&&(em=!1);let ev=(0,c.jsxs)(l.Fragment,{children:[em&&(0,c.jsxs)(l.Fragment,{children:[(0,c.jsx)(u,{styles:{[F]:eu}}),(0,c.jsx)(u,{styles:ep}),(0,c.jsx)(u,{styles:eh})]}),(0,c.jsx)(d.Z,{themeId:H?t:void 0,theme:k?k(ed):ed,children:e})]});return D?ev:(0,c.jsx)(O.Provider,{value:eg,children:ev})},useColorScheme:()=>{let e=l.useContext(O);if(!e)throw Error((0,a.Z)(19));return e},getInitColorSchemeScript:e=>(function(e){let{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=p,colorSchemeStorageKey:i=h,attribute:a=g,colorSchemeNode:l="document.documentElement"}=e||{};return(0,c.jsx)("script",{dangerouslySetInnerHTML:{__html:`(function() { +try { + var mode = localStorage.getItem('${o}') || '${t}'; + var colorScheme = ''; + if (mode === 'system') { + // handle system mode + var mql = window.matchMedia('(prefers-color-scheme: dark)'); + if (mql.matches) { + colorScheme = localStorage.getItem('${i}-dark') || '${r}'; + } else { + colorScheme = localStorage.getItem('${i}-light') || '${n}'; + } + } + if (mode === 'light') { + colorScheme = localStorage.getItem('${i}-light') || '${n}'; + } + if (mode === 'dark') { + colorScheme = localStorage.getItem('${i}-dark') || '${r}'; + } + if (colorScheme) { + ${l}.setAttribute('${a}', colorScheme); + } +} catch(e){}})();`}},"mui-color-scheme-init")})((0,o.Z)({attribute:s,colorSchemeStorageKey:w,defaultMode:C,defaultLightColorScheme:$,defaultDarkColorScheme:P,modeStorageKey:x},e))}}({themeId:C.Z,theme:x.Z,attribute:"data-joy-color-scheme",modeStorageKey:"joy-mode",colorSchemeStorageKey:"joy-color-scheme",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{let t=e.colorInversion;return e.colorInversion=(0,r.Z)({soft:(0,w.pP)(e),solid:(0,w.Lo)(e)},"function"==typeof t?t(e):t,{clone:!1}),e}})},38629:function(e,t,n){"use strict";n.d(t,{F:function(){return c},Z:function(){return u}}),n(67294);var r=n(96682),o=n(71927),i=n(1812),a=n(59077),l=n(2548),s=n(85893);let c=()=>{let e=(0,r.Z)(i.Z);return e[l.Z]||e};function u({children:e,theme:t}){let n=i.Z;return t&&(n=(0,a.Z)(l.Z in t?t[l.Z]:t)),(0,s.jsx)(o.Z,{theme:n,themeId:t&&l.Z in t?l.Z:void 0,children:e})}},1812:function(e,t,n){"use strict";var r=n(59077);let o=(0,r.Z)();t.Z=o},59077:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(87462),o=n(63366),i=n(59766),a=n(50159),l=n(41796),s=n(41512),c=n(98373);let u=(e,t,n,r=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])})},f=(e,t,n)=>{!function e(r,o=[],i=[]){Object.entries(r).forEach(([r,a])=>{n&&(!n||n([...o,r]))||null==a||("object"==typeof a&&Object.keys(a).length>0?e(a,[...o,r],Array.isArray(a)?[...i,r]:i):t([...o,r],a,i))})}(e)},d=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t)))return t;let n=e[e.length-1];return n.toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function p(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return f(e,(e,t,l)=>{if(("string"==typeof t||"number"==typeof t)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:""}${e.join("-")}`;Object.assign(o,{[r]:d(e,t)}),u(i,e,`var(${r})`,l),u(a,e,`var(${r}, ${t})`,l)}},e=>"vars"===e[0]),{css:o,vars:i,varsWithDefaults:a}}let h=["colorSchemes","components"],g=["light"];var m=function(e,t){let{colorSchemes:n={}}=e,a=(0,o.Z)(e,h),{vars:l,css:s,varsWithDefaults:c}=p(a,t),u=c,f={},{light:d}=n,m=(0,o.Z)(n,g);if(Object.entries(m||{}).forEach(([e,n])=>{let{vars:r,css:o,varsWithDefaults:a}=p(n,t);u=(0,i.Z)(u,a),f[e]={css:o,vars:r}}),d){let{css:e,vars:n,varsWithDefaults:r}=p(d,t);u=(0,i.Z)(u,r),f.light={css:e,vars:n}}return{vars:u,generateCssVars:e=>e?{css:(0,r.Z)({},f[e].css),vars:f[e].vars}:{css:(0,r.Z)({},s),vars:l}}},v=n(86523),y=n(44920);let b=(0,r.Z)({},y.Z,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});var x=n(9818);function w(e){var t;return!!e[0].match(/^(typography|variants|breakpoints|colorInversion|colorInversionConfig)$/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!(null!=(t=e[1])&&t.match(/^(mode)$/))||"focus"===e[0]&&"thickness"!==e[1]}var C=n(26821),S=n(13951);let E=["cssVarPrefix","breakpoints","spacing","components","variants","colorInversion","shouldSkipGeneratingVar"],k=["colorSchemes"],Z=(e="joy")=>(0,a.Z)(e);function O(e){var t,n,a,u,f,d,p,h,g,y,O,$,P,j,A,R,T,I,L,F,_,N,B,M,z,D,H,W,U,V,q,G,K,X,J,Y,Q,ee,et,en,er,eo,ei,ea,el,es,ec,eu,ef,ed,ep,eh,eg,em,ev,ey;let eb=e||{},{cssVarPrefix:ex="joy",breakpoints:ew,spacing:eC,components:eS,variants:eE,colorInversion:ek,shouldSkipGeneratingVar:eZ=w}=eb,eO=(0,o.Z)(eb,E),e$=Z(ex),eP={primary:x.Z.blue,neutral:x.Z.grey,danger:x.Z.red,info:x.Z.purple,success:x.Z.green,warning:x.Z.yellow,common:{white:"#FFF",black:"#09090D"}},ej=e=>{var t;let n=e.split("-"),r=n[1],o=n[2];return e$(e,null==(t=eP[r])?void 0:t[o])},eA=e=>({plainColor:ej(`palette-${e}-600`),plainHoverBg:ej(`palette-${e}-100`),plainActiveBg:ej(`palette-${e}-200`),plainDisabledColor:ej(`palette-${e}-200`),outlinedColor:ej(`palette-${e}-500`),outlinedBorder:ej(`palette-${e}-200`),outlinedHoverBg:ej(`palette-${e}-100`),outlinedHoverBorder:ej(`palette-${e}-300`),outlinedActiveBg:ej(`palette-${e}-200`),outlinedDisabledColor:ej(`palette-${e}-100`),outlinedDisabledBorder:ej(`palette-${e}-100`),softColor:ej(`palette-${e}-600`),softBg:ej(`palette-${e}-100`),softHoverBg:ej(`palette-${e}-200`),softActiveBg:ej(`palette-${e}-300`),softDisabledColor:ej(`palette-${e}-300`),softDisabledBg:ej(`palette-${e}-50`),solidColor:"#fff",solidBg:ej(`palette-${e}-500`),solidHoverBg:ej(`palette-${e}-600`),solidActiveBg:ej(`palette-${e}-700`),solidDisabledColor:"#fff",solidDisabledBg:ej(`palette-${e}-200`)}),eR=e=>({plainColor:ej(`palette-${e}-300`),plainHoverBg:ej(`palette-${e}-800`),plainActiveBg:ej(`palette-${e}-700`),plainDisabledColor:ej(`palette-${e}-800`),outlinedColor:ej(`palette-${e}-200`),outlinedBorder:ej(`palette-${e}-700`),outlinedHoverBg:ej(`palette-${e}-800`),outlinedHoverBorder:ej(`palette-${e}-600`),outlinedActiveBg:ej(`palette-${e}-900`),outlinedDisabledColor:ej(`palette-${e}-800`),outlinedDisabledBorder:ej(`palette-${e}-800`),softColor:ej(`palette-${e}-200`),softBg:ej(`palette-${e}-900`),softHoverBg:ej(`palette-${e}-800`),softActiveBg:ej(`palette-${e}-700`),softDisabledColor:ej(`palette-${e}-800`),softDisabledBg:ej(`palette-${e}-900`),solidColor:"#fff",solidBg:ej(`palette-${e}-600`),solidHoverBg:ej(`palette-${e}-700`),solidActiveBg:ej(`palette-${e}-800`),solidDisabledColor:ej(`palette-${e}-700`),solidDisabledBg:ej(`palette-${e}-900`)}),eT={palette:{mode:"light",primary:(0,r.Z)({},eP.primary,eA("primary")),neutral:(0,r.Z)({},eP.neutral,{plainColor:ej("palette-neutral-800"),plainHoverColor:ej("palette-neutral-900"),plainHoverBg:ej("palette-neutral-100"),plainActiveBg:ej("palette-neutral-200"),plainDisabledColor:ej("palette-neutral-300"),outlinedColor:ej("palette-neutral-800"),outlinedBorder:ej("palette-neutral-200"),outlinedHoverColor:ej("palette-neutral-900"),outlinedHoverBg:ej("palette-neutral-100"),outlinedHoverBorder:ej("palette-neutral-300"),outlinedActiveBg:ej("palette-neutral-200"),outlinedDisabledColor:ej("palette-neutral-300"),outlinedDisabledBorder:ej("palette-neutral-100"),softColor:ej("palette-neutral-800"),softBg:ej("palette-neutral-100"),softHoverColor:ej("palette-neutral-900"),softHoverBg:ej("palette-neutral-200"),softActiveBg:ej("palette-neutral-300"),softDisabledColor:ej("palette-neutral-300"),softDisabledBg:ej("palette-neutral-50"),solidColor:ej("palette-common-white"),solidBg:ej("palette-neutral-600"),solidHoverBg:ej("palette-neutral-700"),solidActiveBg:ej("palette-neutral-800"),solidDisabledColor:ej("palette-neutral-300"),solidDisabledBg:ej("palette-neutral-50")}),danger:(0,r.Z)({},eP.danger,eA("danger")),info:(0,r.Z)({},eP.info,eA("info")),success:(0,r.Z)({},eP.success,eA("success")),warning:(0,r.Z)({},eP.warning,eA("warning"),{solidColor:ej("palette-warning-800"),solidBg:ej("palette-warning-200"),solidHoverBg:ej("palette-warning-300"),solidActiveBg:ej("palette-warning-400"),solidDisabledColor:ej("palette-warning-200"),solidDisabledBg:ej("palette-warning-50"),softColor:ej("palette-warning-800"),softBg:ej("palette-warning-50"),softHoverBg:ej("palette-warning-100"),softActiveBg:ej("palette-warning-200"),softDisabledColor:ej("palette-warning-200"),softDisabledBg:ej("palette-warning-50"),outlinedColor:ej("palette-warning-800"),outlinedHoverBg:ej("palette-warning-50"),plainColor:ej("palette-warning-800"),plainHoverBg:ej("palette-warning-50")}),common:{white:"#FFF",black:"#09090D"},text:{primary:ej("palette-neutral-800"),secondary:ej("palette-neutral-600"),tertiary:ej("palette-neutral-500")},background:{body:ej("palette-common-white"),surface:ej("palette-common-white"),popup:ej("palette-common-white"),level1:ej("palette-neutral-50"),level2:ej("palette-neutral-100"),level3:ej("palette-neutral-200"),tooltip:ej("palette-neutral-800"),backdrop:"rgba(255 255 255 / 0.5)"},divider:`rgba(${e$("palette-neutral-mainChannel",(0,l.n8)(eP.neutral[500]))} / 0.28)`,focusVisible:ej("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"187 187 187"},eI={palette:{mode:"dark",primary:(0,r.Z)({},eP.primary,eR("primary")),neutral:(0,r.Z)({},eP.neutral,{plainColor:ej("palette-neutral-200"),plainHoverColor:ej("palette-neutral-50"),plainHoverBg:ej("palette-neutral-800"),plainActiveBg:ej("palette-neutral-700"),plainDisabledColor:ej("palette-neutral-700"),outlinedColor:ej("palette-neutral-200"),outlinedBorder:ej("palette-neutral-800"),outlinedHoverColor:ej("palette-neutral-50"),outlinedHoverBg:ej("palette-neutral-800"),outlinedHoverBorder:ej("palette-neutral-700"),outlinedActiveBg:ej("palette-neutral-800"),outlinedDisabledColor:ej("palette-neutral-800"),outlinedDisabledBorder:ej("palette-neutral-800"),softColor:ej("palette-neutral-200"),softBg:ej("palette-neutral-800"),softHoverColor:ej("palette-neutral-50"),softHoverBg:ej("palette-neutral-700"),softActiveBg:ej("palette-neutral-600"),softDisabledColor:ej("palette-neutral-700"),softDisabledBg:ej("palette-neutral-900"),solidColor:ej("palette-common-white"),solidBg:ej("palette-neutral-600"),solidHoverBg:ej("palette-neutral-700"),solidActiveBg:ej("palette-neutral-800"),solidDisabledColor:ej("palette-neutral-700"),solidDisabledBg:ej("palette-neutral-900")}),danger:(0,r.Z)({},eP.danger,eR("danger")),info:(0,r.Z)({},eP.info,eR("info")),success:(0,r.Z)({},eP.success,eR("success"),{solidColor:"#fff",solidBg:ej("palette-success-600"),solidHoverBg:ej("palette-success-700"),solidActiveBg:ej("palette-success-800")}),warning:(0,r.Z)({},eP.warning,eR("warning"),{solidColor:ej("palette-common-black"),solidBg:ej("palette-warning-300"),solidHoverBg:ej("palette-warning-400"),solidActiveBg:ej("palette-warning-500")}),common:{white:"#FFF",black:"#09090D"},text:{primary:ej("palette-neutral-100"),secondary:ej("palette-neutral-300"),tertiary:ej("palette-neutral-400")},background:{body:ej("palette-neutral-900"),surface:ej("palette-common-black"),popup:ej("palette-neutral-900"),level1:ej("palette-neutral-800"),level2:ej("palette-neutral-700"),level3:ej("palette-neutral-600"),tooltip:ej("palette-neutral-600"),backdrop:`rgba(${e$("palette-neutral-darkChannel",(0,l.n8)(eP.neutral[800]))} / 0.5)`},divider:`rgba(${e$("palette-neutral-mainChannel",(0,l.n8)(eP.neutral[500]))} / 0.24)`,focusVisible:ej("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0"},eL='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',eF=(0,r.Z)({body:`"Public Sans", ${e$(`fontFamily-fallback, ${eL}`)}`,display:`"Public Sans", ${e$(`fontFamily-fallback, ${eL}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:eL},eO.fontFamily),e_=(0,r.Z)({xs:200,sm:300,md:500,lg:600,xl:700,xl2:800,xl3:900},eO.fontWeight),eN=(0,r.Z)({xs3:"0.5rem",xs2:"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem",xl5:"3rem",xl6:"3.75rem",xl7:"4.5rem"},eO.fontSize),eB=(0,r.Z)({sm:1.25,md:1.5,lg:1.7},eO.lineHeight),eM=(0,r.Z)({sm:"-0.01em",md:"0.083em",lg:"0.125em"},eO.letterSpacing),ez={colorSchemes:{light:eT,dark:eI},fontSize:eN,fontFamily:eF,fontWeight:e_,focus:{thickness:"2px",selector:`&.${(0,C.d6)("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${e$("focus-thickness",null!=(t=null==(n=eO.focus)?void 0:n.thickness)?t:"2px")})`,outline:`${e$("focus-thickness",null!=(a=null==(u=eO.focus)?void 0:u.thickness)?a:"2px")} solid ${e$("palette-focusVisible",eP.primary[500])}`}},lineHeight:eB,letterSpacing:eM,radius:{xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"20px"},shadow:{xs:`${e$("shadowRing",null!=(f=null==(d=eO.colorSchemes)||null==(d=d.light)?void 0:d.shadowRing)?f:eT.shadowRing)}, 0 1px 2px 0 rgba(${e$("shadowChannel",null!=(p=null==(h=eO.colorSchemes)||null==(h=h.light)?void 0:h.shadowChannel)?p:eT.shadowChannel)} / 0.12)`,sm:`${e$("shadowRing",null!=(g=null==(y=eO.colorSchemes)||null==(y=y.light)?void 0:y.shadowRing)?g:eT.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e$("shadowChannel",null!=(O=null==($=eO.colorSchemes)||null==($=$.light)?void 0:$.shadowChannel)?O:eT.shadowChannel)} / 0.11), 0.5px 1.3px 1.8px -0.6px rgba(${e$("shadowChannel",null!=(P=null==(j=eO.colorSchemes)||null==(j=j.light)?void 0:j.shadowChannel)?P:eT.shadowChannel)} / 0.18), 1.1px 2.7px 3.8px -1.2px rgba(${e$("shadowChannel",null!=(A=null==(R=eO.colorSchemes)||null==(R=R.light)?void 0:R.shadowChannel)?A:eT.shadowChannel)} / 0.26)`,md:`${e$("shadowRing",null!=(T=null==(I=eO.colorSchemes)||null==(I=I.light)?void 0:I.shadowRing)?T:eT.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e$("shadowChannel",null!=(L=null==(F=eO.colorSchemes)||null==(F=F.light)?void 0:F.shadowChannel)?L:eT.shadowChannel)} / 0.12), 1.1px 2.8px 3.9px -0.4px rgba(${e$("shadowChannel",null!=(_=null==(N=eO.colorSchemes)||null==(N=N.light)?void 0:N.shadowChannel)?_:eT.shadowChannel)} / 0.17), 2.4px 6.1px 8.6px -0.8px rgba(${e$("shadowChannel",null!=(B=null==(M=eO.colorSchemes)||null==(M=M.light)?void 0:M.shadowChannel)?B:eT.shadowChannel)} / 0.23), 5.3px 13.3px 18.8px -1.2px rgba(${e$("shadowChannel",null!=(z=null==(D=eO.colorSchemes)||null==(D=D.light)?void 0:D.shadowChannel)?z:eT.shadowChannel)} / 0.29)`,lg:`${e$("shadowRing",null!=(H=null==(W=eO.colorSchemes)||null==(W=W.light)?void 0:W.shadowRing)?H:eT.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e$("shadowChannel",null!=(U=null==(V=eO.colorSchemes)||null==(V=V.light)?void 0:V.shadowChannel)?U:eT.shadowChannel)} / 0.11), 1.8px 4.5px 6.4px -0.2px rgba(${e$("shadowChannel",null!=(q=null==(G=eO.colorSchemes)||null==(G=G.light)?void 0:G.shadowChannel)?q:eT.shadowChannel)} / 0.13), 3.2px 7.9px 11.2px -0.4px rgba(${e$("shadowChannel",null!=(K=null==(X=eO.colorSchemes)||null==(X=X.light)?void 0:X.shadowChannel)?K:eT.shadowChannel)} / 0.16), 4.8px 12px 17px -0.5px rgba(${e$("shadowChannel",null!=(J=null==(Y=eO.colorSchemes)||null==(Y=Y.light)?void 0:Y.shadowChannel)?J:eT.shadowChannel)} / 0.19), 7px 17.5px 24.7px -0.7px rgba(${e$("shadowChannel",null!=(Q=null==(ee=eO.colorSchemes)||null==(ee=ee.light)?void 0:ee.shadowChannel)?Q:eT.shadowChannel)} / 0.21)`,xl:`${e$("shadowRing",null!=(et=null==(en=eO.colorSchemes)||null==(en=en.light)?void 0:en.shadowRing)?et:eT.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e$("shadowChannel",null!=(er=null==(eo=eO.colorSchemes)||null==(eo=eo.light)?void 0:eo.shadowChannel)?er:eT.shadowChannel)} / 0.11), 1.8px 4.5px 6.4px -0.2px rgba(${e$("shadowChannel",null!=(ei=null==(ea=eO.colorSchemes)||null==(ea=ea.light)?void 0:ea.shadowChannel)?ei:eT.shadowChannel)} / 0.13), 3.2px 7.9px 11.2px -0.4px rgba(${e$("shadowChannel",null!=(el=null==(es=eO.colorSchemes)||null==(es=es.light)?void 0:es.shadowChannel)?el:eT.shadowChannel)} / 0.16), 4.8px 12px 17px -0.5px rgba(${e$("shadowChannel",null!=(ec=null==(eu=eO.colorSchemes)||null==(eu=eu.light)?void 0:eu.shadowChannel)?ec:eT.shadowChannel)} / 0.19), 7px 17.5px 24.7px -0.7px rgba(${e$("shadowChannel",null!=(ef=null==(ed=eO.colorSchemes)||null==(ed=ed.light)?void 0:ed.shadowChannel)?ef:eT.shadowChannel)} / 0.21), 10.2px 25.5px 36px -0.9px rgba(${e$("shadowChannel",null!=(ep=null==(eh=eO.colorSchemes)||null==(eh=eh.light)?void 0:eh.shadowChannel)?ep:eT.shadowChannel)} / 0.24), 14.8px 36.8px 52.1px -1.1px rgba(${e$("shadowChannel",null!=(eg=null==(em=eO.colorSchemes)||null==(em=em.light)?void 0:em.shadowChannel)?eg:eT.shadowChannel)} / 0.27), 21px 52.3px 74px -1.2px rgba(${e$("shadowChannel",null!=(ev=null==(ey=eO.colorSchemes)||null==(ey=ey.light)?void 0:ey.shadowChannel)?ev:eT.shadowChannel)} / 0.29)`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,tooltip:1500},typography:{display1:{fontFamily:e$(`fontFamily-display, ${eF.display}`),fontWeight:e$(`fontWeight-xl, ${e_.xl}`),fontSize:e$(`fontSize-xl7, ${eN.xl7}`),lineHeight:e$(`lineHeight-sm, ${eB.sm}`),letterSpacing:e$(`letterSpacing-sm, ${eM.sm}`),color:e$("palette-text-primary",eT.palette.text.primary)},display2:{fontFamily:e$(`fontFamily-display, ${eF.display}`),fontWeight:e$(`fontWeight-xl, ${e_.xl}`),fontSize:e$(`fontSize-xl6, ${eN.xl6}`),lineHeight:e$(`lineHeight-sm, ${eB.sm}`),letterSpacing:e$(`letterSpacing-sm, ${eM.sm}`),color:e$("palette-text-primary",eT.palette.text.primary)},h1:{fontFamily:e$(`fontFamily-display, ${eF.display}`),fontWeight:e$(`fontWeight-lg, ${e_.lg}`),fontSize:e$(`fontSize-xl5, ${eN.xl5}`),lineHeight:e$(`lineHeight-sm, ${eB.sm}`),letterSpacing:e$(`letterSpacing-sm, ${eM.sm}`),color:e$("palette-text-primary",eT.palette.text.primary)},h2:{fontFamily:e$(`fontFamily-display, ${eF.display}`),fontWeight:e$(`fontWeight-lg, ${e_.lg}`),fontSize:e$(`fontSize-xl4, ${eN.xl4}`),lineHeight:e$(`lineHeight-sm, ${eB.sm}`),letterSpacing:e$(`letterSpacing-sm, ${eM.sm}`),color:e$("palette-text-primary",eT.palette.text.primary)},h3:{fontFamily:e$(`fontFamily-body, ${eF.body}`),fontWeight:e$(`fontWeight-md, ${e_.md}`),fontSize:e$(`fontSize-xl3, ${eN.xl3}`),lineHeight:e$(`lineHeight-sm, ${eB.sm}`),color:e$("palette-text-primary",eT.palette.text.primary)},h4:{fontFamily:e$(`fontFamily-body, ${eF.body}`),fontWeight:e$(`fontWeight-md, ${e_.md}`),fontSize:e$(`fontSize-xl2, ${eN.xl2}`),lineHeight:e$(`lineHeight-md, ${eB.md}`),color:e$("palette-text-primary",eT.palette.text.primary)},h5:{fontFamily:e$(`fontFamily-body, ${eF.body}`),fontWeight:e$(`fontWeight-md, ${e_.md}`),fontSize:e$(`fontSize-xl, ${eN.xl}`),lineHeight:e$(`lineHeight-md, ${eB.md}`),color:e$("palette-text-primary",eT.palette.text.primary)},h6:{fontFamily:e$(`fontFamily-body, ${eF.body}`),fontWeight:e$(`fontWeight-md, ${e_.md}`),fontSize:e$(`fontSize-lg, ${eN.lg}`),lineHeight:e$(`lineHeight-md, ${eB.md}`),color:e$("palette-text-primary",eT.palette.text.primary)},body1:{fontFamily:e$(`fontFamily-body, ${eF.body}`),fontSize:e$(`fontSize-md, ${eN.md}`),lineHeight:e$(`lineHeight-md, ${eB.md}`),color:e$("palette-text-primary",eT.palette.text.primary)},body2:{fontFamily:e$(`fontFamily-body, ${eF.body}`),fontSize:e$(`fontSize-sm, ${eN.sm}`),lineHeight:e$(`lineHeight-md, ${eB.md}`),color:e$("palette-text-secondary",eT.palette.text.secondary)},body3:{fontFamily:e$(`fontFamily-body, ${eF.body}`),fontSize:e$(`fontSize-xs, ${eN.xs}`),lineHeight:e$(`lineHeight-md, ${eB.md}`),color:e$("palette-text-tertiary",eT.palette.text.tertiary)},body4:{fontFamily:e$(`fontFamily-body, ${eF.body}`),fontSize:e$(`fontSize-xs2, ${eN.xs2}`),lineHeight:e$(`lineHeight-md, ${eB.md}`),color:e$("palette-text-tertiary",eT.palette.text.tertiary)},body5:{fontFamily:e$(`fontFamily-body, ${eF.body}`),fontSize:e$(`fontSize-xs3, ${eN.xs3}`),lineHeight:e$(`lineHeight-md, ${eB.md}`),color:e$("palette-text-tertiary",eT.palette.text.tertiary)}}},eD=eO?(0,i.Z)(ez,eO):ez,{colorSchemes:eH}=eD,eW=(0,o.Z)(eD,k),eU=(0,r.Z)({colorSchemes:eH},eW,{breakpoints:(0,s.Z)(null!=ew?ew:{}),components:(0,i.Z)({MuiSvgIcon:{defaultProps:{fontSize:"xl"},styleOverrides:{root:({ownerState:e,theme:t})=>{var n;let o=e.instanceFontSize;return(0,r.Z)({color:"var(--Icon-color)",margin:"var(--Icon-margin)"},e.fontSize&&"inherit"!==e.fontSize&&{fontSize:`var(--Icon-fontSize, ${t.vars.fontSize[e.fontSize]})`},e.color&&"inherit"!==e.color&&"context"!==e.color&&t.vars.palette[e.color]&&{color:`rgba(${null==(n=t.vars.palette[e.color])?void 0:n.mainChannel} / 1)`},"context"===e.color&&{color:t.vars.palette.text.secondary},o&&"inherit"!==o&&{"--Icon-fontSize":t.vars.fontSize[o]})}}}},eS),cssVarPrefix:ex,getCssVar:e$,spacing:(0,c.Z)(eC),colorInversionConfig:{soft:["plain","outlined","soft","solid"],solid:["plain","outlined","soft","solid"]}});Object.entries(eU.colorSchemes).forEach(([e,t])=>{!function(e,t){Object.keys(t).forEach(n=>{let r={main:"500",light:"200",dark:"800"};"dark"===e&&(r.main=400),!t[n].mainChannel&&t[n][r.main]&&(t[n].mainChannel=(0,l.n8)(t[n][r.main])),!t[n].lightChannel&&t[n][r.light]&&(t[n].lightChannel=(0,l.n8)(t[n][r.light])),!t[n].darkChannel&&t[n][r.dark]&&(t[n].darkChannel=(0,l.n8)(t[n][r.dark]))})}(e,t.palette)});let{vars:eV,generateCssVars:eq}=m((0,r.Z)({colorSchemes:eH},eW),{prefix:ex,shouldSkipGeneratingVar:eZ});eU.vars=eV,eU.generateCssVars=eq,eU.unstable_sxConfig=(0,r.Z)({},b,null==e?void 0:e.unstable_sxConfig),eU.unstable_sx=function(e){return(0,v.Z)({sx:e,theme:this})},eU.getColorSchemeSelector=e=>"light"===e?"&":`&[data-joy-color-scheme="${e}"], [data-joy-color-scheme="${e}"] &`;let eG={getCssVar:e$,palette:eU.colorSchemes.light.palette};return eU.variants=(0,i.Z)({plain:(0,S.Zm)("plain",eG),plainHover:(0,S.Zm)("plainHover",eG),plainActive:(0,S.Zm)("plainActive",eG),plainDisabled:(0,S.Zm)("plainDisabled",eG),outlined:(0,S.Zm)("outlined",eG),outlinedHover:(0,S.Zm)("outlinedHover",eG),outlinedActive:(0,S.Zm)("outlinedActive",eG),outlinedDisabled:(0,S.Zm)("outlinedDisabled",eG),soft:(0,S.Zm)("soft",eG),softHover:(0,S.Zm)("softHover",eG),softActive:(0,S.Zm)("softActive",eG),softDisabled:(0,S.Zm)("softDisabled",eG),solid:(0,S.Zm)("solid",eG),solidHover:(0,S.Zm)("solidHover",eG),solidActive:(0,S.Zm)("solidActive",eG),solidDisabled:(0,S.Zm)("solidDisabled",eG)},eE),eU.palette=(0,r.Z)({},eU.colorSchemes.light.palette,{colorScheme:"light"}),eU.shouldSkipGeneratingVar=eZ,eU.colorInversion="function"==typeof ek?ek:(0,i.Z)({soft:(0,S.pP)(eU,!0),solid:(0,S.Lo)(eU,!0)},ek||{},{clone:!1}),eU}},2548:function(e,t){"use strict";t.Z="$$joy"},74312:function(e,t,n){"use strict";var r=n(70182),o=n(1812),i=n(2548);let a=(0,r.ZP)({defaultTheme:o.Z,themeId:i.Z});t.Z=a},20407:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(39214),i=n(1812),a=n(2548);function l({props:e,name:t}){return(0,o.Z)({props:e,name:t,defaultTheme:(0,r.Z)({},i.Z,{components:{}}),themeId:a.Z})}},13951:function(e,t,n){"use strict";n.d(t,{Lo:function(){return f},Zm:function(){return c},pP:function(){return u}});var r=n(87462),o=n(50159);let i=e=>e&&"object"==typeof e&&Object.keys(e).some(e=>{var t;return null==(t=e.match)?void 0:t.call(e,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)}),a=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},l=(e,t,n)=>{let r={};return Object.entries(t||{}).forEach(([t,o])=>{if(t.match(RegExp(`${e}(color|bg|border)`,"i"))&&o){let e=n?n(t):o;t.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default"),t.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),t.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),a(r,t,e)}}),r},s=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,c=(e,t)=>{let n={};if(t){let{getCssVar:o,palette:a}=t;Object.entries(a).forEach(t=>{let[s,c]=t;i(c)&&"object"==typeof c&&(n=(0,r.Z)({},n,{[s]:l(e,c,e=>o(`palette-${s}-${e}`,a[s][e]))}))})}return n.context=l(e,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverColor:"var(--variant-solidHoverColor)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),n},u=(e,t)=>{let n=(0,o.Z)(e.cssVarPrefix),r=s(e.cssVarPrefix),a={},l=t?t=>{var r;let o=t.split("-"),i=o[1],a=o[2];return n(t,null==(r=e.palette)||null==(r=r[i])?void 0:r[a])}:n;return Object.entries(e.palette).forEach(t=>{let[n,o]=t;i(o)&&(a[n]={"--Badge-ringColor":l(`palette-${n}-softBg`),[r("--shadowChannel")]:l(`palette-${n}-darkChannel`),[e.getColorSchemeSelector("dark")]:{[r("--palette-focusVisible")]:l(`palette-${n}-300`),[r("--palette-background-body")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.4)`,[r("--palette-background-level3")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.6)`,[r("--palette-text-primary")]:l(`palette-${n}-100`),[r("--palette-text-secondary")]:`rgba(${l(`palette-${n}-lightChannel`)} / 0.72)`,[r("--palette-text-tertiary")]:`rgba(${l(`palette-${n}-lightChannel`)} / 0.6)`,[r("--palette-divider")]:`rgba(${l(`palette-${n}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${l(`palette-${n}-lightChannel`)} / 1)`,"--variant-plainHoverColor":l(`palette-${n}-50`),"--variant-plainHoverBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${l(`palette-${n}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":l(`palette-${n}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${l(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":l(`palette-${n}-600`),"--variant-outlinedHoverBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${l(`palette-${n}-mainChannel`)} / 0.2)`,"--variant-softColor":l(`palette-${n}-100`),"--variant-softBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":l(`palette-${n}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":l(`palette-${n}-400`),"--variant-solidActiveBg":l(`palette-${n}-400`),"--variant-solidDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.12)`},[e.getColorSchemeSelector("light")]:{[r("--palette-focusVisible")]:l(`palette-${n}-500`),[r("--palette-background-body")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.32)`,[r("--palette-background-level3")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.48)`,[r("--palette-text-primary")]:l(`palette-${n}-700`),[r("--palette-text-secondary")]:`rgba(${l(`palette-${n}-darkChannel`)} / 0.8)`,[r("--palette-text-tertiary")]:`rgba(${l(`palette-${n}-darkChannel`)} / 0.68)`,[r("--palette-divider")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${l(`palette-${n}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${l(`palette-${n}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${l(`palette-${n}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${l(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":l(`palette-${n}-600`),"--variant-outlinedHoverBorder":l(`palette-${n}-300`),"--variant-outlinedHoverBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${l(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-softColor":l(`palette-${n}-600`),"--variant-softBg":`rgba(${l(`palette-${n}-lightChannel`)} / 0.72)`,"--variant-softHoverColor":l(`palette-${n}-700`),"--variant-softHoverBg":l(`palette-${n}-200`),"--variant-softActiveBg":l(`palette-${n}-300`),"--variant-softDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.08)`,"--variant-solidColor":l("palette-common-white"),"--variant-solidBg":l(`palette-${n}-600`),"--variant-solidHoverColor":l("palette-common-white"),"--variant-solidHoverBg":l(`palette-${n}-500`),"--variant-solidActiveBg":l(`palette-${n}-500`),"--variant-solidDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.08)`}})}),a},f=(e,t)=>{let n=(0,o.Z)(e.cssVarPrefix),r=s(e.cssVarPrefix),a={},l=t?t=>{let r=t.split("-"),o=r[1],i=r[2];return n(t,e.palette[o][i])}:n;return Object.entries(e.palette).forEach(e=>{let[t,n]=e;i(n)&&("warning"===t?a.warning={"--Badge-ringColor":l(`palette-${t}-solidBg`),[r("--shadowChannel")]:l(`palette-${t}-darkChannel`),[r("--palette-focusVisible")]:l(`palette-${t}-700`),[r("--palette-background-body")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.16)`,[r("--palette-background-surface")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.1)`,[r("--palette-background-popup")]:l(`palette-${t}-100`),[r("--palette-background-level1")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.36)`,[r("--palette-background-level3")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.6)`,[r("--palette-text-primary")]:l(`palette-${t}-900`),[r("--palette-text-secondary")]:l(`palette-${t}-700`),[r("--palette-text-tertiary")]:l(`palette-${t}-500`),[r("--palette-divider")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.2)`,"--variant-plainColor":l(`palette-${t}-700`),"--variant-plainHoverColor":l(`palette-${t}-800`),"--variant-plainHoverBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":l(`palette-${t}-700`),"--variant-outlinedBorder":`rgba(${l(`palette-${t}-mainChannel`)} / 0.5)`,"--variant-outlinedHoverColor":l(`palette-${t}-800`),"--variant-outlinedHoverBorder":`rgba(${l(`palette-${t}-mainChannel`)} / 0.6)`,"--variant-outlinedHoverBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${l(`palette-${t}-mainChannel`)} / 0.2)`,"--variant-softColor":l(`palette-${t}-800`),"--variant-softHoverColor":l(`palette-${t}-900`),"--variant-softBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.2)`,"--variant-softHoverBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.28)`,"--variant-softActiveBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.12)`,"--variant-softDisabledColor":`rgba(${l(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.08)`,"--variant-solidColor":"#fff","--variant-solidBg":l(`palette-${t}-600`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":l(`palette-${t}-700`),"--variant-solidActiveBg":l(`palette-${t}-800`),"--variant-solidDisabledColor":`rgba(${l(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.08)`}:a[t]={colorScheme:"dark","--Badge-ringColor":l(`palette-${t}-solidBg`),[r("--shadowChannel")]:l(`palette-${t}-darkChannel`),[r("--palette-focusVisible")]:l(`palette-${t}-200`),[r("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[r("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[r("--palette-background-popup")]:l(`palette-${t}-700`),[r("--palette-background-level1")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.36)`,[r("--palette-background-level3")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.6)`,[r("--palette-text-primary")]:l("palette-common-white"),[r("--palette-text-secondary")]:l(`palette-${t}-100`),[r("--palette-text-tertiary")]:l(`palette-${t}-200`),[r("--palette-divider")]:`rgba(${l(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-plainColor":l(`palette-${t}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":l(`palette-${t}-50`),"--variant-outlinedBorder":`rgba(${l(`palette-${t}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":l(`palette-${t}-300`),"--variant-outlinedHoverBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":l("palette-common-white"),"--variant-softHoverColor":l("palette-common-white"),"--variant-softBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.16)`,"--variant-softDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.1)`,"--variant-solidColor":l(`palette-${t}-${"neutral"===t?"600":"500"}`),"--variant-solidBg":l("palette-common-white"),"--variant-solidHoverColor":l(`palette-${t}-700`),"--variant-solidHoverBg":l("palette-common-white"),"--variant-solidActiveBg":l(`palette-${t}-200`),"--variant-solidDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.1)`})}),a}},30220:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(87462),o=n(63366),i=n(33703),a=n(71276),l=n(24407),s=n(5922),c=n(78653);let u=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],f=["component","slots","slotProps"],d=["component"],p=["disableColorInversion"];function h(e,t){let{className:n,elementType:h,ownerState:g,externalForwardedProps:m,getSlotOwnerState:v,internalForwardedProps:y}=t,b=(0,o.Z)(t,u),{component:x,slots:w={[e]:void 0},slotProps:C={[e]:void 0}}=m,S=(0,o.Z)(m,f),E=w[e]||h,k=(0,a.Z)(C[e],g),Z=(0,l.Z)((0,r.Z)({className:n},b,{externalForwardedProps:"root"===e?S:void 0,externalSlotProps:k})),{props:{component:O},internalRef:$}=Z,P=(0,o.Z)(Z.props,d),j=(0,i.Z)($,null==k?void 0:k.ref,t.ref),A=v?v(P):{},{disableColorInversion:R=!1}=A,T=(0,o.Z)(A,p),I=(0,r.Z)({},g,T),{getColor:L}=(0,c.VT)(I.variant);if("root"===e){var F;I.color=null!=(F=P.color)?F:g.color}else R||(I.color=L(P.color,I.color));let _="root"===e?O||x:O,N=(0,s.Z)(E,(0,r.Z)({},"root"===e&&!x&&!w[e]&&y,"root"!==e&&!w[e]&&y,P,_&&{as:_},{ref:j}),I);return Object.keys(T).forEach(e=>{delete N[e]}),[E,N]}},14698:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return o},createChainedFunction:function(){return i},createSvgIcon:function(){return ee},debounce:function(){return et},deprecatedPropType:function(){return en},isMuiElement:function(){return er},ownerDocument:function(){return eo},ownerWindow:function(){return ei},requirePropFactory:function(){return ea},setRef:function(){return el},unstable_ClassNameGenerator:function(){return eg},unstable_useEnhancedEffect:function(){return es},unstable_useId:function(){return ec},unsupportedProp:function(){return eu},useControlled:function(){return ef},useEventCallback:function(){return ed},useForkRef:function(){return ep},useIsFocusVisible:function(){return eh}});var r=n(37078),o=n(14142).Z,i=function(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})},a=n(87462),l=n(67294),s=n(63366),c=function(){for(var e,t,n=0,r="";n=n?$.text.primary:O.text.primary;return t}let m=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=(0,a.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,d.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,d.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return P(e,"light",o,r),P(e,"dark",i,r),e.contrastText||(e.contrastText=g(e.main)),e},j=(0,p.Z)((0,a.Z)({common:(0,a.Z)({},y),mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:h,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:g,augmentColor:m,tonalOffset:r},{dark:$,light:O}[t]),o);return j}(r),u=(0,h.Z)(e),f=(0,p.Z)(u,{mixins:(t=u.breakpoints,(0,a.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:I.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:r=R,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:f=16,allVariants:d,pxToRem:h}=n,g=(0,s.Z)(n,j),m=o/14,v=h||(e=>`${e/f*m}rem`),y=(e,t,n,o,i)=>(0,a.Z)({fontFamily:r,fontWeight:e,fontSize:v(t),lineHeight:n},r===R?{letterSpacing:`${Math.round(1e5*(o/t))/1e5}em`}:{},i,d),b={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,A),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,A),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,p.Z)((0,a.Z)({htmlFontSize:f,pxToRem:v,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},b),g,{clone:!1})}(c,i),transitions:function(e){let t=(0,a.Z)({},F,e.easing),n=(0,a.Z)({},_,e.duration);return(0,a.Z)({getAutoHeightDuration:B,create:(e=["all"],r={})=>{let{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return(0,s.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:N(o)} ${i} ${"string"==typeof a?a:N(a)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,a.Z)({},M)});return(f=[].reduce((e,t)=>(0,p.Z)(e,t),f=(0,p.Z)(f,l))).unstable_sxConfig=(0,a.Z)({},g.Z,null==l?void 0:l.unstable_sxConfig),f.unstable_sx=function(e){return(0,m.Z)({sx:e,theme:this})},f}();var H="$$material",W=n(70182);let U=(0,W.ZP)({themeId:H,defaultTheme:D,rootShouldForwardProp:e=>(0,W.x9)(e)&&"classes"!==e});var V=n(1588),q=n(34867);function G(e){return(0,q.Z)("MuiSvgIcon",e)}(0,V.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var K=n(85893);let X=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],J=e=>{let{color:t,fontSize:n,classes:r}=e,i={root:["root","inherit"!==t&&`color${o(t)}`,`fontSize${o(n)}`]};return(0,u.Z)(i,G,r)},Y=U("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${o(n.color)}`],t[`fontSize${o(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,a,l,s,c,u,f,d,p,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(f=null==(d=(e.vars||e).palette)||null==(d=d[t.color])?void 0:d.main)?f:({action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),Q=l.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,f.Z)({props:e,name:t,defaultTheme:D,themeId:H})}({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:u="svg",fontSize:d="medium",htmlColor:p,inheritViewBox:h=!1,titleAccess:g,viewBox:m="0 0 24 24"}=n,v=(0,s.Z)(n,X),y=l.isValidElement(r)&&"svg"===r.type,b=(0,a.Z)({},n,{color:i,component:u,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:m,hasSvgAsChild:y}),x={};h||(x.viewBox=m);let w=J(b);return(0,K.jsxs)(Y,(0,a.Z)({as:u,className:c(w.root,o),focusable:"false",color:p,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},x,v,y&&r.props,{ownerState:b,children:[y?r.props.children:r,g?(0,K.jsx)("title",{children:g}):null]}))});function ee(e,t){function n(n,r){return(0,K.jsx)(Q,(0,a.Z)({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=Q.muiName,l.memo(l.forwardRef(n))}Q.muiName="SvgIcon";var et=n(39336).Z,en=function(e,t){return()=>null},er=n(18719).Z,eo=n(82690).Z,ei=n(74161).Z,ea=function(e,t){return()=>null},el=n(7960).Z,es=n(73546).Z,ec=n(92996).Z,eu=function(e,t,n,r,o){return null},ef=n(19032).Z,ed=n(59948).Z,ep=n(33703).Z,eh=n(99962).Z;let eg={configure:e=>{r.Z.configure(e)}}},44819:function(e,t,n){"use strict";var r=n(67294);let o=r.createContext(null);t.Z=o},56760:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(44819);function i(){let e=r.useContext(o.Z);return e}},49731:function(e,t,n){"use strict";n.d(t,{ZP:function(){return v},Co:function(){return y}});var r=n(87462),o=n(67294),i=n(45042),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,i.Z)(function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),s=n(75260),c=n(70444),u=n(48137),f=n(27278),d=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:d},h=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},g=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.hC)(t,n,r),(0,f.L)(function(){return(0,c.My)(t,n,r)}),null},m=(function e(t,n){var i,a,l=t.__emotion_real===t,f=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var d=h(t,n,l),m=d||p(f),v=!m("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var x=y.length,w=1;w{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},71927:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(87462),o=n(67294),i=n(56760),a=n(44819);let l="function"==typeof Symbol&&Symbol.for;var s=l?Symbol.for("mui.nested"):"__THEME_NESTED__",c=n(85893),u=function(e){let{children:t,theme:n}=e,l=(0,i.Z)(),u=o.useMemo(()=>{let e=null===l?n:function(e,t){if("function"==typeof t){let n=t(e);return n}return(0,r.Z)({},e,t)}(l,n);return null!=e&&(e[s]=null!==l),e},[n,l]);return(0,c.jsx)(a.Z.Provider,{value:u,children:t})},f=n(75260),d=n(34168);let p={};function h(e,t,n,i=!1){return o.useMemo(()=>{let o=e&&t[e]||t;if("function"==typeof n){let a=n(o),l=e?(0,r.Z)({},t,{[e]:a}):a;return i?()=>l:l}return e?(0,r.Z)({},t,{[e]:n}):(0,r.Z)({},t,n)},[e,t,n,i])}var g=function(e){let{children:t,theme:n,themeId:r}=e,o=(0,d.Z)(p),a=(0,i.Z)()||p,l=h(r,o,n),s=h(r,a,n,!0);return(0,c.jsx)(u,{theme:s,children:(0,c.jsx)(f.T.Provider,{value:l,children:t})})}},95408:function(e,t,n){"use strict";n.d(t,{L7:function(){return s},P$:function(){return u},VO:function(){return o},W8:function(){return l},dt:function(){return c},k9:function(){return a}});var r=n(59766);let o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`};function a(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||i;return t.reduce((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r),{})}if("object"==typeof t){let e=r.breakpoints||i;return Object.keys(t).reduce((r,i)=>{if(-1!==Object.keys(e.values||o).indexOf(i)){let o=e.up(i);r[o]=n(t[i],i)}else r[i]=t[i];return r},{})}let a=n(t);return a}function l(e={}){var t;let n=null==(t=e.keys)?void 0:t.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{});return n||{}}function s(e,t){return e.reduce((e,t)=>{let n=e[t],r=!n||0===Object.keys(n).length;return r&&delete e[t],e},t)}function c(e,...t){let n=l(e),o=[n,...t].reduce((e,t)=>(0,r.Z)(e,t),{});return s(Object.keys(n),o)}function u({values:e,breakpoints:t,base:n}){let r;let o=n||function(e,t){if("object"!=typeof e)return{};let n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r{null!=e[t]&&(n[t]=!0)}),n}(e,t),i=Object.keys(o);return 0===i.length?e:i.reduce((t,n,o)=>(Array.isArray(e)?(t[n]=null!=e[o]?e[o]:e[r],r=o):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[r],r=n):t[n]=e,t),{})}},41796:function(e,t,n){"use strict";n.d(t,{$n:function(){return f},_j:function(){return u},mi:function(){return c},n8:function(){return a}});var r=n(71387);function o(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function i(e){let t;if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),o=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw Error((0,r.Z)(9,e));let a=e.substring(n+1,e.length-1);if("color"===o){if(t=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,r.Z)(10,t))}else a=a.split(",");return{type:o,values:a=a.map(e=>parseFloat(e)),colorSpace:t}}let a=e=>{let t=i(e);return t.values.slice(0,3).map((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e).join(" ")};function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function s(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){e=i(e);let{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),s=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){let n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function f(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}},70182:function(e,t,n){"use strict";n.d(t,{ZP:function(){return x},x9:function(){return m}});var r=n(63366),o=n(87462),i=n(49731),a=n(88647),l=n(14142);let s=["variant"];function c(e){return 0===e.length}function u(e){let{variant:t}=e,n=(0,r.Z)(e,s),o=t||"";return Object.keys(n).sort().forEach(t=>{"color"===t?o+=c(o)?e[t]:(0,l.Z)(e[t]):o+=`${c(o)?t:(0,l.Z)(t)}${(0,l.Z)(e[t].toString())}`}),o}var f=n(86523);let d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],p=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,h=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);let r={};return n.forEach(e=>{let t=u(e.props);r[t]=e.style}),r},g=(e,t,n,r)=>{var o;let{ownerState:i={}}=e,a=[],l=null==n||null==(o=n.components)||null==(o=o[r])?void 0:o.variants;return l&&l.forEach(n=>{let r=!0;Object.keys(n.props).forEach(t=>{i[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)}),r&&a.push(t[u(n.props)])}),a};function m(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let v=(0,a.Z)(),y=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function x(e={}){let{themeId:t,defaultTheme:n=v,rootShouldForwardProp:a=m,slotShouldForwardProp:l=m}=e,s=e=>(0,f.Z)((0,o.Z)({},e,{theme:b((0,o.Z)({},e,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(e,c={})=>{var u;let f;(0,i.Co)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:v,slot:x,skipVariantsResolver:w,skipSx:C,overridesResolver:S=(u=y(x))?(e,t)=>t[u]:null}=c,E=(0,r.Z)(c,d),k=void 0!==w?w:x&&"Root"!==x&&"root"!==x||!1,Z=C||!1,O=m;"Root"===x||"root"===x?O=a:x?O=l:"string"==typeof e&&e.charCodeAt(0)>96&&(O=void 0);let $=(0,i.ZP)(e,(0,o.Z)({shouldForwardProp:O,label:f},E)),P=(r,...i)=>{let a=i?i.map(e=>"function"==typeof e&&e.__emotion_real!==e?r=>e((0,o.Z)({},r,{theme:b((0,o.Z)({},r,{defaultTheme:n,themeId:t}))})):e):[],l=r;v&&S&&a.push(e=>{let r=b((0,o.Z)({},e,{defaultTheme:n,themeId:t})),i=p(v,r);if(i){let t={};return Object.entries(i).forEach(([n,i])=>{t[n]="function"==typeof i?i((0,o.Z)({},e,{theme:r})):i}),S(e,t)}return null}),v&&!k&&a.push(e=>{let r=b((0,o.Z)({},e,{defaultTheme:n,themeId:t}));return g(e,h(v,r),r,v)}),Z||a.push(s);let c=a.length-i.length;if(Array.isArray(r)&&c>0){let e=Array(c).fill("");(l=[...r,...e]).raw=[...r.raw,...e]}else"function"==typeof r&&r.__emotion_real!==r&&(l=e=>r((0,o.Z)({},e,{theme:b((0,o.Z)({},e,{defaultTheme:n,themeId:t}))})));let u=$(l,...a);return e.muiName&&(u.muiName=e.muiName),u};return $.withConfig&&(P.withConfig=$.withConfig),P}}},41512:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(63366),o=n(87462);let i=["values","unit","step"],a=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>(0,o.Z)({},e,{[t.key]:t.val}),{})};function l(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:l=5}=e,s=(0,r.Z)(e,i),c=a(t),u=Object.keys(c);function f(e){let r="number"==typeof t[e]?t[e]:e;return`@media (min-width:${r}${n})`}function d(e){let r="number"==typeof t[e]?t[e]:e;return`@media (max-width:${r-l/100}${n})`}function p(e,r){let o=u.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:r)-l/100}${n})`}return(0,o.Z)({keys:u,values:c,up:f,down:d,between:p,only:function(e){return u.indexOf(e)+1{let n=0===e.length?[1]:e;return n.map(e=>{let n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ")};return n.mui=!0,n}},88647:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(87462),o=n(63366),i=n(59766),a=n(41512),l={borderRadius:4},s=n(98373),c=n(86523),u=n(44920);let f=["breakpoints","palette","spacing","shape"];var d=function(e={},...t){let{breakpoints:n={},palette:d={},spacing:p,shape:h={}}=e,g=(0,o.Z)(e,f),m=(0,a.Z)(n),v=(0,s.Z)(p),y=(0,i.Z)({breakpoints:m,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},d),spacing:v,shape:(0,r.Z)({},l,h)},g);return(y=t.reduce((e,t)=>(0,i.Z)(e,t),y)).unstable_sxConfig=(0,r.Z)({},u.Z,null==g?void 0:g.unstable_sxConfig),y.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},y}},50159:function(e,t,n){"use strict";function r(e=""){return(t,...n)=>`var(--${e?`${e}-`:""}${t}${function t(...n){if(!n.length)return"";let r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}(...n)})`}n.d(t,{Z:function(){return r}})},47730:function(e,t,n){"use strict";var r=n(59766);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},98700:function(e,t,n){"use strict";n.d(t,{hB:function(){return h},eI:function(){return p},NA:function(){return g},e6:function(){return v},o3:function(){return y}});var r=n(95408),o=n(54844),i=n(47730);let a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){let t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}let[t,n]=e.split(""),r=a[t],o=l[n]||"";return Array.isArray(o)?o.map(e=>r+e):[r+o]}),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...f];function p(e,t,n,r){var i;let a=null!=(i=(0,o.DW)(e,t,!1))?i:n;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>void 0}function h(e){return p(e,"spacing",8,"spacing")}function g(e,t){if("string"==typeof t||null==t)return t;let n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function m(e,t){let n=h(e.theme);return Object.keys(e).map(o=>(function(e,t,n,o){if(-1===t.indexOf(n))return null;let i=c(n),a=e[n];return(0,r.k9)(e,a,e=>i.reduce((t,n)=>(t[n]=g(o,e),t),{}))})(e,t,o,n)).reduce(i.Z,{})}function v(e){return m(e,u)}function y(e){return m(e,f)}function b(e){return m(e,d)}v.propTypes={},v.filterProps=u,y.propTypes={},y.filterProps=f,b.propTypes={},b.filterProps=d},54844:function(e,t,n){"use strict";n.d(t,{DW:function(){return i},Jq:function(){return a}});var r=n(14142),o=n(95408);function i(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:i(e,n)||r,t&&(o=t(o,r,e)),o}t.ZP=function(e){let{prop:t,cssProperty:n=e.prop,themeKey:l,transform:s}=e,c=e=>{if(null==e[t])return null;let c=e[t],u=e.theme,f=i(u,l)||{};return(0,o.k9)(e,c,e=>{let o=a(f,s,e);return(e===o&&"string"==typeof e&&(o=a(f,s,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===n)?o:{[n]:o}})};return c.propTypes={},c.filterProps=[t],c}},44920:function(e,t,n){"use strict";n.d(t,{Z:function(){return U}});var r=n(98700),o=n(54844),i=n(47730),a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?(0,i.Z)(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n},l=n(95408);function s(e){return"number"!=typeof e?e:`${e}px solid`}let c=(0,o.ZP)({prop:"border",themeKey:"borders",transform:s}),u=(0,o.ZP)({prop:"borderTop",themeKey:"borders",transform:s}),f=(0,o.ZP)({prop:"borderRight",themeKey:"borders",transform:s}),d=(0,o.ZP)({prop:"borderBottom",themeKey:"borders",transform:s}),p=(0,o.ZP)({prop:"borderLeft",themeKey:"borders",transform:s}),h=(0,o.ZP)({prop:"borderColor",themeKey:"palette"}),g=(0,o.ZP)({prop:"borderTopColor",themeKey:"palette"}),m=(0,o.ZP)({prop:"borderRightColor",themeKey:"palette"}),v=(0,o.ZP)({prop:"borderBottomColor",themeKey:"palette"}),y=(0,o.ZP)({prop:"borderLeftColor",themeKey:"palette"}),b=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,r.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,e=>({borderRadius:(0,r.NA)(t,e)}))}return null};b.propTypes={},b.filterProps=["borderRadius"],a(c,u,f,d,p,h,g,m,v,y,b);let x=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,r.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,e=>({gap:(0,r.NA)(t,e)}))}return null};x.propTypes={},x.filterProps=["gap"];let w=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,r.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,e=>({columnGap:(0,r.NA)(t,e)}))}return null};w.propTypes={},w.filterProps=["columnGap"];let C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,r.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,e=>({rowGap:(0,r.NA)(t,e)}))}return null};C.propTypes={},C.filterProps=["rowGap"];let S=(0,o.ZP)({prop:"gridColumn"}),E=(0,o.ZP)({prop:"gridRow"}),k=(0,o.ZP)({prop:"gridAutoFlow"}),Z=(0,o.ZP)({prop:"gridAutoColumns"}),O=(0,o.ZP)({prop:"gridAutoRows"}),$=(0,o.ZP)({prop:"gridTemplateColumns"}),P=(0,o.ZP)({prop:"gridTemplateRows"}),j=(0,o.ZP)({prop:"gridTemplateAreas"}),A=(0,o.ZP)({prop:"gridArea"});function R(e,t){return"grey"===t?t:e}a(x,w,C,S,E,k,Z,O,$,P,j,A);let T=(0,o.ZP)({prop:"color",themeKey:"palette",transform:R}),I=(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:R}),L=(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:R});function F(e){return e<=1&&0!==e?`${100*e}%`:e}a(T,I,L);let _=(0,o.ZP)({prop:"width",transform:F}),N=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.k9)(e,e.maxWidth,t=>{var n,r;let o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||l.VO[t];return o?(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:F(t)}}):null;N.filterProps=["maxWidth"];let B=(0,o.ZP)({prop:"minWidth",transform:F}),M=(0,o.ZP)({prop:"height",transform:F}),z=(0,o.ZP)({prop:"maxHeight",transform:F}),D=(0,o.ZP)({prop:"minHeight",transform:F});(0,o.ZP)({prop:"size",cssProperty:"width",transform:F}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:F});let H=(0,o.ZP)({prop:"boxSizing"});a(_,N,B,M,z,D,H);let W={border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:b},color:{themeKey:"palette",transform:R},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:R},backgroundColor:{themeKey:"palette",transform:R},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:x},rowGap:{style:C},columnGap:{style:w},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:F},maxWidth:{style:N},minWidth:{transform:F},height:{transform:F},maxHeight:{transform:F},minHeight:{transform:F},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};var U=W},39707:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(87462),o=n(63366),i=n(59766),a=n(44920);let l=["sx"],s=e=>{var t,n;let r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:a.Z;return Object.keys(e).forEach(t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]}),r};function c(e){let t;let{sx:n}=e,a=(0,o.Z)(e,l),{systemProps:c,otherProps:u}=s(a);return t=Array.isArray(n)?[c,...n]:"function"==typeof n?(...e)=>{let t=n(...e);return(0,i.P)(t)?(0,r.Z)({},c,t):c}:(0,r.Z)({},c,n),(0,r.Z)({},u,{sx:t})}},86523:function(e,t,n){"use strict";var r=n(14142),o=n(47730),i=n(54844),a=n(95408),l=n(44920);let s=function(){function e(e,t,n,o){let l={[e]:t,theme:n},s=o[e];if(!s)return{[e]:t};let{cssProperty:c=e,themeKey:u,transform:f,style:d}=s;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};let p=(0,i.DW)(n,u)||{};return d?d(l):(0,a.k9)(l,t,t=>{let n=(0,i.Jq)(p,f,t);return(t===n&&"string"==typeof t&&(n=(0,i.Jq)(p,f,`${e}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===c)?n:{[c]:n}})}return function t(n){var r;let{sx:i,theme:s={}}=n||{};if(!i)return null;let c=null!=(r=s.unstable_sxConfig)?r:l.Z;function u(n){let r=n;if("function"==typeof n)r=n(s);else if("object"!=typeof n)return n;if(!r)return null;let i=(0,a.W8)(s.breakpoints),l=Object.keys(i),u=i;return Object.keys(r).forEach(n=>{var i;let l="function"==typeof(i=r[n])?i(s):i;if(null!=l){if("object"==typeof l){if(c[n])u=(0,o.Z)(u,e(n,l,s,c));else{let e=(0,a.k9)({theme:s},l,e=>({[n]:e}));(function(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)})(e,l)?u[n]=t({sx:l,theme:s}):u=(0,o.Z)(u,e)}}else u=(0,o.Z)(u,e(n,l,s,c))}}),(0,a.L7)(l,u)}return Array.isArray(i)?i.map(u):u(i)}}();s.filterProps=["sx"],t.Z=s},96682:function(e,t,n){"use strict";var r=n(88647),o=n(34168);let i=(0,r.Z)();t.Z=function(e=i){return(0,o.Z)(e)}},39214:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(96682);function i({props:e,name:t,defaultTheme:n,themeId:i}){let a=(0,o.Z)(n);i&&(a=a[i]||a);let l=function(e){let{theme:t,name:n,props:o}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?function e(t,n){let o=(0,r.Z)({},n);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))o[i]=(0,r.Z)({},t[i],o[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let a=t[i]||{},l=n[i];o[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(o[i]=(0,r.Z)({},l),Object.keys(a).forEach(t=>{o[i][t]=e(a[t],l[t])})):o[i]=l:o[i]=a}else void 0===o[i]&&(o[i]=t[i])}),o}(t.components[n].defaultProps,o):o}({theme:a,name:t,props:e});return l}},34168:function(e,t,n){"use strict";var r=n(67294),o=n(75260);t.Z=function(e=null){let t=r.useContext(o.T);return t&&0!==Object.keys(t).length?t:e}},37078:function(e,t){"use strict";let n;let r=e=>e,o=(n=r,{configure(e){n=e},generate:e=>n(e),reset(){n=r}});t.Z=o},14142:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(71387);function o(e){if("string"!=typeof e)throw Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},94780:function(e,t,n){"use strict";function r(e,t,n){let r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((e,r)=>{if(r){let o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e},[]).join(" ")}),r}n.d(t,{Z:function(){return r}})},39336:function(e,t,n){"use strict";function r(e,t=166){let n;function r(...o){clearTimeout(n),n=setTimeout(()=>{e.apply(this,o)},t)}return r.clear=()=>{clearTimeout(n)},r}n.d(t,{Z:function(){return r}})},59766:function(e,t,n){"use strict";n.d(t,{P:function(){return o},Z:function(){return function e(t,n,i={clone:!0}){let a=i.clone?(0,r.Z)({},t):t;return o(t)&&o(n)&&Object.keys(n).forEach(r=>{"__proto__"!==r&&(o(n[r])&&r in t&&o(t[r])?a[r]=e(t[r],n[r],i):i.clone?a[r]=o(n[r])?function e(t){if(!o(t))return t;let n={};return Object.keys(t).forEach(r=>{n[r]=e(t[r])}),n}(n[r]):n[r]:a[r]=n[r])}),a}}});var r=n(87462);function o(e){return null!==e&&"object"==typeof e&&e.constructor===Object}},71387:function(e,t,n){"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e{o[t]=(0,r.Z)(e,t,n)}),o}},18719:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},82690:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},74161:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(82690);function o(e){let t=(0,r.Z)(e);return t.defaultView||window}},7960:function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},19032:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o({controlled:e,default:t,name:n,state:o="value"}){let{current:i}=r.useRef(void 0!==e),[a,l]=r.useState(t),s=i?e:a,c=r.useCallback(e=>{i||l(e)},[]);return[s,c]}},73546:function(e,t,n){"use strict";var r=n(67294);let o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;t.Z=o},59948:function(e,t,n){"use strict";var r=n(67294),o=n(73546);t.Z=function(e){let t=r.useRef(e);return(0,o.Z)(()=>{t.current=e}),r.useCallback((...e)=>(0,t.current)(...e),[])}},33703:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(7960);function i(...e){return r.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,o.Z)(e,t)})},e)}},92996:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r,o=n(67294);let i=0,a=(r||(r=n.t(o,2)))["useId".toString()];function l(e){if(void 0!==a){let t=a();return null!=e?e:t}return function(e){let[t,n]=o.useState(e),r=e||t;return o.useEffect(()=>{null==t&&n(`mui-${i+=1}`)},[t]),r}(e)}},99962:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return f}});var o=n(67294);let i=!0,a=!1,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function u(){"hidden"===this.visibilityState&&a&&(i=!0)}function f(){let e=o.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",u,!0)}},[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){let{type:t,tagName:n}=e;return"INPUT"===n&&!!l[t]&&!e.readOnly||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(r),r=window.setTimeout(()=>{a=!1},100),t.current=!1,!0)},ref:e}}},54535:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r,o=n(97685),i=n(67294),a=n(73935),l=n(98924);n(80334);var s=n(42550),c=i.createContext(null),u=n(74902),f=n(8410),d=[],p=n(44958);function h(e){var t=e.match(/^(.*)px$/),n=Number(null==t?void 0:t[1]);return Number.isNaN(n)?function(e){if("undefined"==typeof document)return 0;if(void 0===r){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),o=n.style;o.position="absolute",o.top="0",o.left="0",o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var i=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;i===a&&(a=n.clientWidth),document.body.removeChild(n),r=i-a}return r}():n}var g="rc-util-locker-".concat(Date.now()),m=0,v=!1,y=function(e){return!1!==e&&((0,l.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},b=i.forwardRef(function(e,t){var n,r,b,x,w=e.open,C=e.autoLock,S=e.getContainer,E=(e.debug,e.autoDestroy),k=void 0===E||E,Z=e.children,O=i.useState(w),$=(0,o.Z)(O,2),P=$[0],j=$[1],A=P||w;i.useEffect(function(){(k||w)&&j(w)},[w,k]);var R=i.useState(function(){return y(S)}),T=(0,o.Z)(R,2),I=T[0],L=T[1];i.useEffect(function(){var e=y(S);L(null!=e?e:null)});var F=function(e,t){var n=i.useState(function(){return(0,l.Z)()?document.createElement("div"):null}),r=(0,o.Z)(n,1)[0],a=i.useRef(!1),s=i.useContext(c),p=i.useState(d),h=(0,o.Z)(p,2),g=h[0],m=h[1],v=s||(a.current?void 0:function(e){m(function(t){return[e].concat((0,u.Z)(t))})});function y(){r.parentElement||document.body.appendChild(r),a.current=!0}function b(){var e;null===(e=r.parentElement)||void 0===e||e.removeChild(r),a.current=!1}return(0,f.Z)(function(){return e?s?s(y):y():b(),b},[e]),(0,f.Z)(function(){g.length&&(g.forEach(function(e){return e()}),m(d))},[g]),[r,v]}(A&&!I,0),_=(0,o.Z)(F,2),N=_[0],B=_[1],M=null!=I?I:N;n=!!(C&&w&&(0,l.Z)()&&(M===N||M===document.body)),r=i.useState(function(){return m+=1,"".concat(g,"_").concat(m)}),b=(0,o.Z)(r,1)[0],(0,f.Z)(function(){if(n){var e=function(e){if("undefined"==typeof document||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:h(n),height:h(r)}}(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,p.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),b)}else(0,p.jL)(b);return function(){(0,p.jL)(b)}},[n,b]);var z=null;Z&&(0,s.Yr)(Z)&&t&&(z=Z.ref);var D=(0,s.x1)(z,t);if(!A||!(0,l.Z)()||void 0===I)return null;var H=!1===M||("boolean"==typeof x&&(v=x),v),W=Z;return t&&(W=i.cloneElement(Z,{ref:D})),i.createElement(c.Provider,{value:B},H?W:(0,a.createPortal)(W,M))})},577:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r,o=n(97582),i=n(67294),a=(r=i.useEffect,function(e,t){var n=(0,i.useRef)(!1);r(function(){return function(){n.current=!1}},[]),r(function(){if(n.current)return e();n.current=!0},t)}),l=function(e,t){var n=t.manual,r=t.ready,l=void 0===r||r,s=t.defaultParams,c=void 0===s?[]:s,u=t.refreshDeps,f=void 0===u?[]:u,d=t.refreshDepsAction,p=(0,i.useRef)(!1);return p.current=!1,a(function(){!n&&l&&(p.current=!0,e.run.apply(e,(0,o.ev)([],(0,o.CR)(c),!1)))},[l]),a(function(){!p.current&&(n||(p.current=!0,d?d():e.refresh()))},(0,o.ev)([],(0,o.CR)(f),!1)),{onBefore:function(){if(!l)return{stopNow:!0}}}};function s(e,t){var n=(0,i.useRef)({deps:t,obj:void 0,initialized:!1}).current;return(!1===n.initialized||!function(e,t){if(e===t)return!0;for(var n=0;n-1&&(i=setTimeout(function(){d.delete(e)},t)),d.set(e,(0,o.pi)((0,o.pi)({},n),{timer:i}))},h=new Map,g=function(e,t){h.set(e,t),t.then(function(t){return h.delete(e),t}).catch(function(){h.delete(e)})},m={},v=function(e,t){m[e]&&m[e].forEach(function(e){return e(t)})},y=function(e,t){return m[e]||(m[e]=[]),m[e].push(t),function(){var n=m[e].indexOf(t);m[e].splice(n,1)}},b=function(e,t){var n=t.cacheKey,r=t.cacheTime,a=void 0===r?3e5:r,l=t.staleTime,c=void 0===l?0:l,u=t.setCache,m=t.getCache,b=(0,i.useRef)(),x=(0,i.useRef)(),w=function(e,t){u?u(t):p(e,a,t),v(e,t.data)},C=function(e,t){return(void 0===t&&(t=[]),m)?m(t):d.get(e)};return(s(function(){if(n){var t=C(n);t&&Object.hasOwnProperty.call(t,"data")&&(e.state.data=t.data,e.state.params=t.params,(-1===c||new Date().getTime()-t.time<=c)&&(e.state.loading=!1)),b.current=y(n,function(t){e.setState({data:t})})}},[]),f(function(){var e;null===(e=b.current)||void 0===e||e.call(b)}),n)?{onBefore:function(e){var t=C(n,e);return t&&Object.hasOwnProperty.call(t,"data")?-1===c||new Date().getTime()-t.time<=c?{loading:!1,data:null==t?void 0:t.data,error:void 0,returnNow:!0}:{data:null==t?void 0:t.data,error:void 0}:{}},onRequest:function(e,t){var r=h.get(n);return r&&r!==x.current||(r=e.apply(void 0,(0,o.ev)([],(0,o.CR)(t),!1)),x.current=r,g(n,r)),{servicePromise:r}},onSuccess:function(t,r){var o;n&&(null===(o=b.current)||void 0===o||o.call(b),w(n,{data:t,params:r,time:new Date().getTime()}),b.current=y(n,function(t){e.setState({data:t})}))},onMutate:function(t){var r;n&&(null===(r=b.current)||void 0===r||r.call(b),w(n,{data:t,params:e.state.params,time:new Date().getTime()}),b.current=y(n,function(t){e.setState({data:t})}))}}:{}},x=n(23279),w=n.n(x),C=function(e,t){var n=t.debounceWait,r=t.debounceLeading,a=t.debounceTrailing,l=t.debounceMaxWait,s=(0,i.useRef)(),c=(0,i.useMemo)(function(){var e={};return void 0!==r&&(e.leading=r),void 0!==a&&(e.trailing=a),void 0!==l&&(e.maxWait=l),e},[r,a,l]);return((0,i.useEffect)(function(){if(n){var t=e.runAsync.bind(e);return s.current=w()(function(e){e()},n,c),e.runAsync=function(){for(var e=[],n=0;n-1&&$.splice(e,1)})}return function(){s()}},[n,a]),f(function(){s()}),{}},A=function(e,t){var n=t.retryInterval,r=t.retryCount,o=(0,i.useRef)(),a=(0,i.useRef)(0),l=(0,i.useRef)(!1);return r?{onBefore:function(){l.current||(a.current=0),l.current=!1,o.current&&clearTimeout(o.current)},onSuccess:function(){a.current=0},onError:function(){if(a.current+=1,-1===r||a.current<=r){var t=null!=n?n:Math.min(1e3*Math.pow(2,a.current),3e4);o.current=setTimeout(function(){l.current=!0,e.refresh()},t)}else a.current=0},onCancel:function(){a.current=0,o.current&&clearTimeout(o.current)}}:{}},R=n(23493),T=n.n(R),I=function(e,t){var n=t.throttleWait,r=t.throttleLeading,a=t.throttleTrailing,l=(0,i.useRef)(),s={};return(void 0!==r&&(s.leading=r),void 0!==a&&(s.trailing=a),(0,i.useEffect)(function(){if(n){var t=e.runAsync.bind(e);return l.current=T()(function(e){e()},n,s),e.runAsync=function(){for(var e=[],n=0;n{if(m(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;d(t.offsetHeight+8),h(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(y)}`:`.${y}-dropdown`,i=null===(r=u.current)||void 0===r?void 0:r.querySelector(o);i&&(clearInterval(t),e.observe(i))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let b=Object.assign(Object.assign({},l),{style:Object.assign(Object.assign({},c),{margin:0}),open:g,visible:g,getPopupContainer:()=>u.current});return i&&(b=i(b)),o.createElement("div",{ref:u,style:{paddingBottom:f,position:"relative",minWidth:p}},o.createElement(e,Object.assign({},b)))})}},69760:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(97937),o=n(67294);function i(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.createElement(r.Z,null),a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l="boolean"==typeof e?e:void 0===t?!!a:!1!==t&&null!==t;if(!l)return[!1,null];let s="boolean"==typeof t||null==t?i:t;return[!0,n?n(s):s]}},33603:function(e,t,n){"use strict";n.d(t,{m:function(){return l}});let r=()=>({height:0,opacity:0}),o=e=>{let{scrollHeight:t}=e;return{height:t,opacity:1}},i=e=>({height:e?e.offsetHeight:0}),a=(e,t)=>(null==t?void 0:t.deadline)===!0||"height"===t.propertyName,l=(e,t,n)=>void 0!==n?n:`${e}-${t}`;t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ant";return{motionName:`${e}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:o,onEnterActive:o,onLeaveStart:i,onLeaveActive:r,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}}},96159:function(e,t,n){"use strict";n.d(t,{M2:function(){return a},Tm:function(){return l},l$:function(){return i}});var r,o=n(67294);let{isValidElement:i}=r||(r=n.t(o,2));function a(e){return e&&i(e)&&e.type===o.Fragment}function l(e,t){return i(e)?o.cloneElement(e,"function"==typeof t?t(e.props||{}):t):e}},80029:function(e,t,n){"use strict";n.d(t,{n:function(){return em},Z:function(){return ey}});var r=n(67294),o=n(94184),i=n.n(o),a=n(98423),l=n(42550),s=n(5110),c=n(53124),u=n(96159),f=n(67968);let d=e=>{let{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:`box-shadow 0.4s ${e.motionEaseOutCirc},opacity 2s ${e.motionEaseOutCirc}`,"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:`box-shadow 0.3s ${e.motionEaseInOut},opacity 0.35s ${e.motionEaseInOut}`}}}}};var p=(0,f.Z)("Wave",e=>[d(e)]),h=n(56790),g=n(75164),m=n(82225),v=n(38135);function y(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){let t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!t||!t[1]||!t[2]||!t[3]||!(t[1]===t[2]&&t[2]===t[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}let b="ant-wave-target";function x(e){return Number.isNaN(e)?0:e}let w=e=>{let{className:t,target:n,component:o}=e,a=r.useRef(null),[l,s]=r.useState(null),[c,u]=r.useState([]),[f,d]=r.useState(0),[p,h]=r.useState(0),[w,C]=r.useState(0),[S,E]=r.useState(0),[k,Z]=r.useState(!1),O={left:f,top:p,width:w,height:S,borderRadius:c.map(e=>`${e}px`).join(" ")};function $(){let e=getComputedStyle(n);s(function(e){let{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return y(t)?t:y(n)?n:y(r)?r:null}(n));let t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;d(t?n.offsetLeft:x(-parseFloat(r))),h(t?n.offsetTop:x(-parseFloat(o))),C(n.offsetWidth),E(n.offsetHeight);let{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:c}=e;u([i,a,c,l].map(e=>x(parseFloat(e))))}if(l&&(O["--wave-color"]=l),r.useEffect(()=>{if(n){let e;let t=(0,g.Z)(()=>{$(),Z(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver($)).observe(n),()=>{g.Z.cancel(t),null==e||e.disconnect()}}},[]),!k)return null;let P=("Checkbox"===o||"Radio"===o)&&(null==n?void 0:n.classList.contains(b));return r.createElement(m.ZP,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){let e=null===(n=a.current)||void 0===n?void 0:n.parentElement;(0,v.v)(e).then(()=>{null==e||e.remove()})}return!1}},e=>{let{className:n}=e;return r.createElement("div",{ref:a,className:i()(t,{"wave-quick":P},n),style:O})})};var C=(e,t)=>{var n;let{component:o}=t;if("Checkbox"===o&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;let i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",null==e||e.insertBefore(i,null==e?void 0:e.firstChild),(0,v.s)(r.createElement(w,Object.assign({},t,{target:e})),i)},S=n(46605),E=e=>{let{children:t,disabled:n,component:o}=e,{getPrefixCls:a}=(0,r.useContext)(c.E_),f=(0,r.useRef)(null),d=a("wave"),[,m]=p(d),v=function(e,t,n){let{wave:o}=r.useContext(c.E_),[,i,a]=(0,S.Z)(),l=(0,h.zX)(r=>{let l=e.current;if((null==o?void 0:o.disabled)||!l)return;let s=l.querySelector(`.${b}`)||l,{showEffect:c}=o||{};(c||C)(s,{className:t,token:i,component:n,event:r,hashId:a})}),s=r.useRef();return e=>{g.Z.cancel(s.current),s.current=(0,g.Z)(()=>{l(e)})}}(f,i()(d,m),o);if(r.useEffect(()=>{let e=f.current;if(!e||1!==e.nodeType||n)return;let t=t=>{!(0,s.Z)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||v(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[n]),!r.isValidElement(t))return null!=t?t:null;let y=(0,l.Yr)(t)?(0,l.sQ)(t.ref,f):f;return(0,u.Tm)(t,{ref:y})},k=n(98866),Z=n(98675),O=n(4173),$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let P=r.createContext(void 0),j=/^[\u4e00-\u9fa5]{2}$/,A=j.test.bind(j);function R(e){return"string"==typeof e}function T(e){return"text"===e||"link"===e}let I=(0,r.forwardRef)((e,t)=>{let{className:n,style:o,children:a,prefixCls:l}=e,s=i()(`${l}-icon`,n);return r.createElement("span",{ref:t,className:s,style:o},a)});var L=n(50888);let F=(0,r.forwardRef)((e,t)=>{let{prefixCls:n,className:o,style:a,iconClassName:l}=e,s=i()(`${n}-loading-icon`,o);return r.createElement(I,{prefixCls:n,className:s,style:a,ref:t},r.createElement(L.Z,{className:l}))}),_=()=>({width:0,opacity:0,transform:"scale(0)"}),N=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"});var B=e=>{let{prefixCls:t,loading:n,existIcon:o,className:i,style:a}=e;return o?r.createElement(F,{prefixCls:t,className:i,style:a}):r.createElement(m.ZP,{visible:!!n,motionName:`${t}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:_,onAppearActive:N,onEnterStart:_,onEnterActive:N,onLeaveStart:N,onLeaveActive:_},(e,n)=>{let{className:o,style:l}=e;return r.createElement(F,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),l),ref:n,iconClassName:o})})},M=n(14747),z=n(45503);let D=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}});var H=e=>{let{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,[`&:hover, + &:focus, + &:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},D(`${t}-primary`,o),D(`${t}-danger`,i)]}};let W=e=>{let{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,M.Qy)(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${2*e.lineWidth}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${2*e.lineWidth}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},U=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),V=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),q=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),G=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),K=(e,t,n,r,o,i,a,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,backgroundColor:t,borderColor:r||void 0,boxShadow:"none"},U(e,Object.assign({backgroundColor:t},a),Object.assign({backgroundColor:t},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),X=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},G(e))}),J=e=>Object.assign({},X(e)),Y=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),Q=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},J(e)),{backgroundColor:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),U(e.componentCls,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),K(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},U(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),K(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),X(e))}),ee=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},J(e)),{color:e.primaryColor,backgroundColor:e.colorPrimary,boxShadow:e.primaryShadow}),U(e.componentCls,{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),K(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},U(e.componentCls,{backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),K(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),X(e))}),et=e=>Object.assign(Object.assign({},Q(e)),{borderStyle:"dashed"}),en=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},U(e.componentCls,{color:e.colorLinkHover,backgroundColor:e.linkHoverBg},{color:e.colorLinkActive})),Y(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},U(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Y(e))}),er=e=>Object.assign(Object.assign(Object.assign({},U(e.componentCls,{color:e.colorText,backgroundColor:e.textHoverBg},{color:e.colorText,backgroundColor:e.colorBgTextActive})),Y(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Y(e)),U(e.componentCls,{color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),eo=e=>{let{componentCls:t}=e;return{[`${t}-default`]:Q(e),[`${t}-primary`]:ee(e),[`${t}-dashed`]:et(e),[`${t}-link`]:en(e),[`${t}-text`]:er(e),[`${t}-ghost`]:K(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},ei=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,lineWidth:a,borderRadius:l,buttonPaddingHorizontal:s,iconCls:c}=e,u=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:o,height:r,padding:`${Math.max(0,(r-o*i)/2-a)}px ${s}px`,borderRadius:l,[`&${u}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},[c]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:V(e)},{[`${n}${n}-round${t}`]:q(e)}]},ea=e=>ei((0,z.TS)(e,{fontSize:e.contentFontSize})),el=e=>{let t=(0,z.TS)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return ei(t,`${e.componentCls}-sm`)},es=e=>{let t=(0,z.TS)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return ei(t,`${e.componentCls}-lg`)},ec=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},eu=e=>{let{paddingInline:t,onlyIconSize:n}=e,r=(0,z.TS)(e,{buttonPaddingHorizontal:t,buttonIconOnlyFontSize:n});return r},ef=e=>({fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,contentFontSize:e.fontSize,contentFontSizeSM:e.fontSize,contentFontSizeLG:e.fontSizeLG});var ed=(0,f.Z)("Button",e=>{let t=eu(e);return[W(t),el(t),ea(t),es(t),ec(t),eo(t),H(t)]},ef),ep=n(80110),eh=(0,f.b)(["Button","compact"],e=>{let t=eu(e);return[(0,ep.c)(t),function(e){var t;let n=`${e.componentCls}-compact-vertical`;return{[n]:Object.assign(Object.assign({},{[`&-item:not(${n}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}),(t=e.componentCls,{[`&-item:not(${n}-first-item):not(${n}-last-item)`]:{borderRadius:0},[`&-item${n}-first-item:not(${n}-last-item)`]:{[`&, &${t}-sm, &${t}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${n}-last-item:not(${n}-first-item)`]:{[`&, &${t}-sm, &${t}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))}}(t)]},ef),eg=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function em(e){return"danger"===e?{danger:!0}:{type:e}}let ev=(0,r.forwardRef)((e,t)=>{var n,o;let{loading:s=!1,prefixCls:f,type:d="default",danger:p,shape:h="default",size:g,styles:m,disabled:v,className:y,rootClassName:b,children:x,icon:w,ghost:C=!1,block:S=!1,htmlType:$="button",classNames:j,style:L={}}=e,F=eg(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:_,autoInsertSpaceInButton:N,direction:M,button:z}=(0,r.useContext)(c.E_),D=_("btn",f),[H,W]=ed(D),U=(0,r.useContext)(k.Z),V=null!=v?v:U,q=(0,r.useContext)(P),G=(0,r.useMemo)(()=>(function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay,n=!Number.isNaN(t)&&"number"==typeof t;return{loading:!1,delay:n?t:0}}return{loading:!!e,delay:0}})(s),[s]),[K,X]=(0,r.useState)(G.loading),[J,Y]=(0,r.useState)(!1),Q=(0,r.createRef)(),ee=(0,l.sQ)(t,Q),et=1===r.Children.count(x)&&!w&&!T(d);(0,r.useEffect)(()=>{let e=null;return G.delay>0?e=setTimeout(()=>{e=null,X(!0)},G.delay):X(G.loading),function(){e&&(clearTimeout(e),e=null)}},[G]),(0,r.useEffect)(()=>{if(!ee||!ee.current||!1===N)return;let e=ee.current.textContent;et&&A(e)?J||Y(!0):J&&Y(!1)},[ee]);let en=t=>{let{onClick:n}=e;if(K||V){t.preventDefault();return}null==n||n(t)},er=!1!==N,{compactSize:eo,compactItemClassnames:ei}=(0,O.ri)(D,M),ea=(0,Z.Z)(e=>{var t,n;return null!==(n=null!==(t=null!=g?g:eo)&&void 0!==t?t:q)&&void 0!==n?n:e}),el=ea&&({large:"lg",small:"sm",middle:void 0})[ea]||"",es=K?"loading":w,ec=(0,a.Z)(F,["navigate"]),eu=i()(D,W,{[`${D}-${h}`]:"default"!==h&&h,[`${D}-${d}`]:d,[`${D}-${el}`]:el,[`${D}-icon-only`]:!x&&0!==x&&!!es,[`${D}-background-ghost`]:C&&!T(d),[`${D}-loading`]:K,[`${D}-two-chinese-chars`]:J&&er&&!K,[`${D}-block`]:S,[`${D}-dangerous`]:!!p,[`${D}-rtl`]:"rtl"===M},ei,y,b,null==z?void 0:z.className),ef=Object.assign(Object.assign({},null==z?void 0:z.style),L),ep=i()(null==j?void 0:j.icon,null===(n=null==z?void 0:z.classNames)||void 0===n?void 0:n.icon),em=Object.assign(Object.assign({},(null==m?void 0:m.icon)||{}),(null===(o=null==z?void 0:z.styles)||void 0===o?void 0:o.icon)||{}),ev=w&&!K?r.createElement(I,{prefixCls:D,className:ep,style:em},w):r.createElement(B,{existIcon:!!w,prefixCls:D,loading:!!K}),ey=x||0===x?function(e,t){let n=!1,o=[];return r.Children.forEach(e,e=>{let t=typeof e,r="string"===t||"number"===t;if(n&&r){let t=o.length-1,n=o[t];o[t]=`${n}${e}`}else o.push(e);n=r}),r.Children.map(o,e=>(function(e,t){if(null==e)return;let n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&R(e.type)&&A(e.props.children)?(0,u.Tm)(e,{children:e.props.children.split("").join(n)}):R(e)?A(e)?r.createElement("span",null,e.split("").join(n)):r.createElement("span",null,e):(0,u.M2)(e)?r.createElement("span",null,e):e})(e,t))}(x,et&&er):null;if(void 0!==ec.href)return H(r.createElement("a",Object.assign({},ec,{className:i()(eu,{[`${D}-disabled`]:V}),style:ef,onClick:en,ref:ee}),ev,ey));let eb=r.createElement("button",Object.assign({},F,{type:$,className:eu,style:ef,onClick:en,disabled:V,ref:ee}),ev,ey,ei&&r.createElement(eh,{key:"compact",prefixCls:D}));return T(d)||(eb=r.createElement(E,{component:"Button",disabled:!!K},eb)),H(eb)});ev.Group=e=>{let{getPrefixCls:t,direction:n}=r.useContext(c.E_),{prefixCls:o,size:a,className:l}=e,s=$(e,["prefixCls","size","className"]),u=t("btn-group",o),[,,f]=(0,S.Z)(),d="";switch(a){case"large":d="lg";break;case"small":d="sm"}let p=i()(u,{[`${u}-${d}`]:d,[`${u}-rtl`]:"rtl"===n},l,f);return r.createElement(P.Provider,{value:a},r.createElement("div",Object.assign({},s,{className:p})))},ev.__ANT_BUTTON=!0;var ey=ev},71577:function(e,t,n){"use strict";var r=n(80029);t.ZP=r.Z},98866:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(67294);let o=r.createContext(!1),i=e=>{let{children:t,disabled:n}=e,i=r.useContext(o);return r.createElement(o.Provider,{value:null!=n?n:i},t)};t.Z=o},97647:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(67294);let o=r.createContext(void 0),i=e=>{let{children:t,size:n}=e,i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)};t.Z=o},53124:function(e,t,n){"use strict";n.d(t,{E_:function(){return i},oR:function(){return o}});var r=n(67294);let o="anticon",i=r.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o}),{Consumer:a}=i},98675:function(e,t,n){"use strict";var r=n(67294),o=n(97647);t.Z=e=>{let t=r.useContext(o.Z),n=r.useMemo(()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t,[e,t]);return n}},46735:function(e,t,n){"use strict";let r,o,i;n.d(t,{ZP:function(){return N},w6:function(){return L}});var a=n(76325),l=n(63017),s=n(56982),c=n(8880),u=n(67294),f=n(37920),d=n(83008),p=n(76745),h=e=>{let{locale:t={},children:n,_ANT_MARK__:r}=e;u.useEffect(()=>{let e=(0,d.f)(t&&t.Modal);return e},[t]);let o=u.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return u.createElement(p.Z.Provider,{value:o},n)},g=n(88526),m=n(49617),v=n(2790),y=n(53124),b=n(16397),x=n(10274),w=n(98924),C=n(44958);let S=`-ant-${Date.now()}-${Math.random()}`;var E=n(98866),k=n(97647),Z=n(91881),O=n(82225),$=n(46605);function P(e){let{children:t}=e,[,n]=(0,$.Z)(),{motion:r}=n,o=u.useRef(!1);return(o.current=o.current||!1===r,o.current)?u.createElement(O.zt,{motion:r},t):t}var j=n(53269),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let R=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"];function T(){return r||"ant"}function I(){return o||y.oR}let L=()=>({getPrefixCls:(e,t)=>t||(e?`${T()}-${e}`:T()),getIconPrefixCls:I,getRootPrefixCls:()=>r||T(),getTheme:()=>i}),F=e=>{let{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:d,locale:p,componentSize:b,direction:x,space:w,virtual:C,dropdownMatchSelectWidth:S,popupMatchSelectWidth:O,popupOverflow:$,legacyLocale:T,parentContext:I,iconPrefixCls:L,theme:F,componentDisabled:_,segmented:N,statistic:B,spin:M,calendar:z,carousel:D,cascader:H,collapse:W,typography:U,checkbox:V,descriptions:q,divider:G,drawer:K,skeleton:X,steps:J,image:Y,layout:Q,list:ee,mentions:et,modal:en,progress:er,result:eo,slider:ei,breadcrumb:ea,menu:el,pagination:es,input:ec,empty:eu,badge:ef,radio:ed,rate:ep,switch:eh,transfer:eg,avatar:em,message:ev,tag:ey,table:eb,card:ex,tabs:ew,timeline:eC,timePicker:eS,upload:eE,notification:ek,tree:eZ,colorPicker:eO,datePicker:e$,wave:eP}=e,ej=u.useCallback((t,n)=>{let{prefixCls:r}=e;if(n)return n;let o=r||I.getPrefixCls("");return t?`${o}-${t}`:o},[I.getPrefixCls,e.prefixCls]),eA=L||I.iconPrefixCls||y.oR,eR=eA!==I.iconPrefixCls,eT=n||I.csp,eI=(0,j.Z)(eA,eT),eL=function(e,t){let n=e||{},r=!1!==n.inherit&&t?t:m.u_;return(0,s.Z)(()=>{if(!e)return t;let o=Object.assign({},r.components);return Object.keys(e.components||{}).forEach(t=>{o[t]=Object.assign(Object.assign({},o[t]),e.components[t])}),Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:o})},[n,r],(e,t)=>e.some((e,n)=>{let r=t[n];return!(0,Z.Z)(e,r,!0)}))}(F,I.theme),eF={csp:eT,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:p||T,direction:x,space:w,virtual:C,popupMatchSelectWidth:null!=O?O:S,popupOverflow:$,getPrefixCls:ej,iconPrefixCls:eA,theme:eL,segmented:N,statistic:B,spin:M,calendar:z,carousel:D,cascader:H,collapse:W,typography:U,checkbox:V,descriptions:q,divider:G,drawer:K,skeleton:X,steps:J,image:Y,input:ec,layout:Q,list:ee,mentions:et,modal:en,progress:er,result:eo,slider:ei,breadcrumb:ea,menu:el,pagination:es,empty:eu,badge:ef,radio:ed,rate:ep,switch:eh,transfer:eg,avatar:em,message:ev,tag:ey,table:eb,card:ex,tabs:ew,timeline:eC,timePicker:eS,upload:eE,notification:ek,tree:eZ,colorPicker:eO,datePicker:e$,wave:eP},e_=Object.assign({},I);Object.keys(eF).forEach(e=>{void 0!==eF[e]&&(e_[e]=eF[e])}),R.forEach(t=>{let n=e[t];n&&(e_[t]=n)});let eN=(0,s.Z)(()=>e_,e_,(e,t)=>{let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(n=>e[n]!==t[n])}),eB=u.useMemo(()=>({prefixCls:eA,csp:eT}),[eA,eT]),eM=eR?eI(t):t,ez=u.useMemo(()=>{var e,t,n,r;return(0,c.T)((null===(e=g.Z.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=eN.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=eN.form)||void 0===r?void 0:r.validateMessages)||{},(null==d?void 0:d.validateMessages)||{})},[eN,null==d?void 0:d.validateMessages]);Object.keys(ez).length>0&&(eM=u.createElement(f.Z.Provider,{value:ez},t)),p&&(eM=u.createElement(h,{locale:p,_ANT_MARK__:"internalMark"},eM)),(eA||eT)&&(eM=u.createElement(l.Z.Provider,{value:eB},eM)),b&&(eM=u.createElement(k.q,{size:b},eM)),eM=u.createElement(P,null,eM);let eD=u.useMemo(()=>{let e=eL||{},{algorithm:t,token:n,components:r}=e,o=A(e,["algorithm","token","components"]),i=t&&(!Array.isArray(t)||t.length>0)?(0,a.jG)(t):m.uH,l={};return Object.entries(r||{}).forEach(e=>{let[t,n]=e,r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=i:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,a.jG)(r.algorithm)),delete r.algorithm),l[t]=r}),Object.assign(Object.assign({},o),{theme:i,token:Object.assign(Object.assign({},v.Z),n),components:l})},[eL]);return F&&(eM=u.createElement(m.Mj.Provider,{value:eD},eM)),void 0!==_&&(eM=u.createElement(E.n,{disabled:_},eM)),u.createElement(y.E_.Provider,{value:eN},eM)},_=e=>{let t=u.useContext(y.E_),n=u.useContext(p.Z);return u.createElement(F,Object.assign({parentContext:t,legacyLocale:n},e))};_.ConfigContext=y.E_,_.SizeContext=k.Z,_.config=e=>{let{prefixCls:t,iconPrefixCls:n,theme:a}=e;void 0!==t&&(r=t),void 0!==n&&(o=n),a&&(Object.keys(a).some(e=>e.endsWith("Color"))?function(e,t){let n=function(e,t){let n={},r=(e,t)=>{let n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},o=(e,t)=>{let o=new x.C(e),i=(0,b.R_)(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");let e=new x.C(t.primaryColor),i=(0,b.R_)(e.toRgbString());i.forEach((e,t)=>{n[`primary-${t+1}`]=e}),n["primary-color-deprecated-l-35"]=r(e,e=>e.lighten(35)),n["primary-color-deprecated-l-20"]=r(e,e=>e.lighten(20)),n["primary-color-deprecated-t-20"]=r(e,e=>e.tint(20)),n["primary-color-deprecated-t-50"]=r(e,e=>e.tint(50)),n["primary-color-deprecated-f-12"]=r(e,e=>e.setAlpha(.12*e.getAlpha()));let a=new x.C(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,e=>e.setAlpha(.3*e.getAlpha())),n["primary-color-active-deprecated-d-02"]=r(a,e=>e.darken(2))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");let i=Object.keys(n).map(t=>`--${e}-${t}: ${n[t]};`);return` + :root { + ${i.join("\n")} + } + `.trim()}(e,t);(0,w.Z)()&&(0,C.hq)(n,`${S}-dynamic-theme`)}(T(),a):i=a)},_.useConfig=function(){let e=(0,u.useContext)(E.Z),t=(0,u.useContext)(k.Z);return{componentDisabled:e,componentSize:t}},Object.defineProperty(_,"SizeContext",{get:()=>k.Z});var N=_},65223:function(e,t,n){"use strict";n.d(t,{RV:function(){return s},Rk:function(){return c},Ux:function(){return f},aM:function(){return u},q3:function(){return a},qI:function(){return l}});var r=n(67294),o=n(43589),i=n(98423);let a=r.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),l=r.createContext(null),s=e=>{let t=(0,i.Z)(e,["prefixCls"]);return r.createElement(o.RV,Object.assign({},t))},c=r.createContext({prefixCls:""}),u=r.createContext({}),f=e=>{let{children:t,status:n,override:o}=e,i=(0,r.useContext)(u),a=(0,r.useMemo)(()=>{let e=Object.assign({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[n,o,i]);return r.createElement(u.Provider,{value:a},t)}},37920:function(e,t,n){"use strict";var r=n(67294);t.Z=(0,r.createContext)(void 0)},76745:function(e,t,n){"use strict";var r=n(67294);let o=(0,r.createContext)(void 0);t.Z=o},88526:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(62906),o={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};let i={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Object.assign({},o)},a="${label} is not a valid ${type}",l={locale:"en",Pagination:r.Z,DatePicker:i,TimePicker:o,Calendar:i,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};var s=l},10110:function(e,t,n){"use strict";var r=n(67294),o=n(76745),i=n(88526);t.Z=(e,t)=>{let n=r.useContext(o.Z),a=r.useMemo(()=>{var r;let o=t||i.Z[e],a=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),a||{})},[e,t,n]),l=r.useMemo(()=>{let e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?i.Z.locale:e},[n]);return[a,l]}},12678:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return ez}});var o=n(74902),i=n(38135),a=n(67294),l=n(46735),s=n(89739),c=n(4340),u=n(21640),f=n(78860),d=n(94184),p=n.n(d),h=n(33603),g=n(10110),m=n(30470),v=n(71577),y=n(80029),b=e=>{let{type:t,children:n,prefixCls:r,buttonProps:o,close:i,autoFocus:l,emitEvent:s,isSilent:c,quitOnNullishReturnValue:u,actionFn:f}=e,d=a.useRef(!1),p=a.useRef(null),[h,g]=(0,m.Z)(!1),b=function(){null==i||i.apply(void 0,arguments)};a.useEffect(()=>{let e=null;return l&&(e=setTimeout(()=>{var e;null===(e=p.current)||void 0===e||e.focus()})),()=>{e&&clearTimeout(e)}},[]);let x=e=>{e&&e.then&&(g(!0),e.then(function(){g(!1,!0),b.apply(void 0,arguments),d.current=!1},e=>{if(g(!1,!0),d.current=!1,null==c||!c())return Promise.reject(e)}))};return a.createElement(v.ZP,Object.assign({},(0,y.n)(t),{onClick:e=>{let t;if(!d.current){if(d.current=!0,!f){b();return}if(s){var n;if(t=f(e),u&&!((n=t)&&n.then)){d.current=!1,b(e);return}}else if(f.length)t=f(i),d.current=!1;else if(!(t=f())){b();return}x(t)}},loading:h,prefixCls:r},o,{ref:p}),n)};let x=a.createContext({}),{Provider:w}=x;var C=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:o,rootPrefixCls:i,close:l,onCancel:s,onConfirm:c}=(0,a.useContext)(x);return o?a.createElement(b,{isSilent:r,actionFn:s,close:function(){null==l||l.apply(void 0,arguments),null==c||c(!1)},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${i}-btn`},n):null},S=()=>{let{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:o,okTextLocale:i,okType:l,onConfirm:s,onOk:c}=(0,a.useContext)(x);return a.createElement(b,{isSilent:n,type:l||"primary",actionFn:c,close:function(){null==t||t.apply(void 0,arguments),null==s||s(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${o}-btn`},i)},E=n(97937),k=n(87462),Z=n(97685),O=n(54535),$=a.createContext({}),P=n(1413),j=n(94999),A=n(7028),R=n(15105),T=n(64217);function I(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function L(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}var F=n(82225),_=n(42550),N=a.memo(function(e){return e.children},function(e,t){return!t.shouldUpdate}),B={width:0,height:0,overflow:"hidden",outline:"none"},M=a.forwardRef(function(e,t){var n,r,o,i=e.prefixCls,l=e.className,s=e.style,c=e.title,u=e.ariaId,f=e.footer,d=e.closable,h=e.closeIcon,g=e.onClose,m=e.children,v=e.bodyStyle,y=e.bodyProps,b=e.modalRender,x=e.onMouseDown,w=e.onMouseUp,C=e.holderRef,S=e.visible,E=e.forceRender,Z=e.width,O=e.height,j=a.useContext($).panel,A=(0,_.x1)(C,j),R=(0,a.useRef)(),T=(0,a.useRef)();a.useImperativeHandle(t,function(){return{focus:function(){var e;null===(e=R.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===T.current?R.current.focus():e||t!==R.current||T.current.focus()}}});var I={};void 0!==Z&&(I.width=Z),void 0!==O&&(I.height=O),f&&(n=a.createElement("div",{className:"".concat(i,"-footer")},f)),c&&(r=a.createElement("div",{className:"".concat(i,"-header")},a.createElement("div",{className:"".concat(i,"-title"),id:u},c))),d&&(o=a.createElement("button",{type:"button",onClick:g,"aria-label":"Close",className:"".concat(i,"-close")},h||a.createElement("span",{className:"".concat(i,"-close-x")})));var L=a.createElement("div",{className:"".concat(i,"-content")},o,r,a.createElement("div",(0,k.Z)({className:"".concat(i,"-body"),style:v},y),m),n);return a.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":c?u:null,"aria-modal":"true",ref:A,style:(0,P.Z)((0,P.Z)({},s),I),className:p()(i,l),onMouseDown:x,onMouseUp:w},a.createElement("div",{tabIndex:0,ref:R,style:B,"aria-hidden":"true"}),a.createElement(N,{shouldUpdate:S||E},b?b(L):L),a.createElement("div",{tabIndex:0,ref:T,style:B,"aria-hidden":"true"}))}),z=a.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,i=e.className,l=e.visible,s=e.forceRender,c=e.destroyOnClose,u=e.motionName,f=e.ariaId,d=e.onVisibleChanged,h=e.mousePosition,g=(0,a.useRef)(),m=a.useState(),v=(0,Z.Z)(m,2),y=v[0],b=v[1],x={};function w(){var e,t,n,r,o,i=(n={left:(t=(e=g.current).getBoundingClientRect()).left,top:t.top},o=(r=e.ownerDocument).defaultView||r.parentWindow,n.left+=L(o),n.top+=L(o,!0),n);b(h?"".concat(h.x-i.left,"px ").concat(h.y-i.top,"px"):"")}return y&&(x.transformOrigin=y),a.createElement(F.ZP,{visible:l,onVisibleChanged:d,onAppearPrepare:w,onEnterPrepare:w,forceRender:s,motionName:u,removeOnLeave:c,ref:g},function(l,s){var c=l.className,u=l.style;return a.createElement(M,(0,k.Z)({},e,{ref:t,title:r,ariaId:f,prefixCls:n,holderRef:s,style:(0,P.Z)((0,P.Z)((0,P.Z)({},u),o),x),className:p()(i,c)}))})});function D(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,i=e.motionName;return a.createElement(F.ZP,{key:"mask",visible:r,motionName:i,leavedClassName:"".concat(t,"-mask-hidden")},function(e,r){var i=e.className,l=e.style;return a.createElement("div",(0,k.Z)({ref:r,style:(0,P.Z)((0,P.Z)({},l),n),className:p()("".concat(t,"-mask"),i)},o))})}function H(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,r=e.zIndex,o=e.visible,i=void 0!==o&&o,l=e.keyboard,s=void 0===l||l,c=e.focusTriggerAfterClose,u=void 0===c||c,f=e.wrapStyle,d=e.wrapClassName,h=e.wrapProps,g=e.onClose,m=e.afterOpenChange,v=e.afterClose,y=e.transitionName,b=e.animation,x=e.closable,w=e.mask,C=void 0===w||w,S=e.maskTransitionName,E=e.maskAnimation,O=e.maskClosable,$=e.maskStyle,L=e.maskProps,F=e.rootClassName,_=(0,a.useRef)(),N=(0,a.useRef)(),B=(0,a.useRef)(),M=a.useState(i),H=(0,Z.Z)(M,2),W=H[0],U=H[1],V=(0,A.Z)();function q(e){null==g||g(e)}var G=(0,a.useRef)(!1),K=(0,a.useRef)(),X=null;return(void 0===O||O)&&(X=function(e){G.current?G.current=!1:N.current===e.target&&q(e)}),(0,a.useEffect)(function(){i&&(U(!0),(0,j.Z)(N.current,document.activeElement)||(_.current=document.activeElement))},[i]),(0,a.useEffect)(function(){return function(){clearTimeout(K.current)}},[]),a.createElement("div",(0,k.Z)({className:p()("".concat(n,"-root"),F)},(0,T.Z)(e,{data:!0})),a.createElement(D,{prefixCls:n,visible:C&&i,motionName:I(n,S,E),style:(0,P.Z)({zIndex:r},$),maskProps:L}),a.createElement("div",(0,k.Z)({tabIndex:-1,onKeyDown:function(e){if(s&&e.keyCode===R.Z.ESC){e.stopPropagation(),q(e);return}i&&e.keyCode===R.Z.TAB&&B.current.changeActive(!e.shiftKey)},className:p()("".concat(n,"-wrap"),d),ref:N,onClick:X,style:(0,P.Z)((0,P.Z)({zIndex:r},f),{},{display:W?null:"none"})},h),a.createElement(z,(0,k.Z)({},e,{onMouseDown:function(){clearTimeout(K.current),G.current=!0},onMouseUp:function(){K.current=setTimeout(function(){G.current=!1})},ref:B,closable:void 0===x||x,ariaId:V,prefixCls:n,visible:i&&W,onClose:q,onVisibleChanged:function(e){if(e)!function(){if(!(0,j.Z)(N.current,document.activeElement)){var e;null===(e=B.current)||void 0===e||e.focus()}}();else{if(U(!1),C&&_.current&&u){try{_.current.focus({preventScroll:!0})}catch(e){}_.current=null}W&&(null==v||v())}null==m||m(e)},motionName:I(n,y,b)}))))}z.displayName="Content";var W=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,i=void 0!==o&&o,l=e.afterClose,s=e.panelRef,c=a.useState(t),u=(0,Z.Z)(c,2),f=u[0],d=u[1],p=a.useMemo(function(){return{panel:s}},[s]);return(a.useEffect(function(){t&&d(!0)},[t]),r||!i||f)?a.createElement($.Provider,{value:p},a.createElement(O.Z,{open:t||r||f,autoDestroy:!1,getContainer:n,autoLock:t||f},a.createElement(H,(0,k.Z)({},e,{destroyOnClose:i,afterClose:function(){null==l||l(),d(!1)}})))):null};W.displayName="Dialog";var U=n(69760),V=n(98924),q=n(53124),G=n(65223),K=n(4173),X=n(16569),J=n(98866),Y=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,a.useContext)(x);return a.createElement(v.ZP,Object.assign({onClick:n},e),t)},Q=()=>{let{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:o}=(0,a.useContext)(x);return a.createElement(v.ZP,Object.assign({},(0,y.n)(n),{loading:e,onClick:o},t),r)},ee=n(83008);function et(e,t){return a.createElement("span",{className:`${e}-close-x`},t||a.createElement(E.Z,{className:`${e}-close-icon`}))}let en=e=>{let t;let{okText:n,okType:r="primary",cancelText:i,confirmLoading:l,onOk:s,onCancel:c,okButtonProps:u,cancelButtonProps:f,footer:d}=e,[p]=(0,g.Z)("Modal",(0,ee.A)()),h=n||(null==p?void 0:p.okText),m=i||(null==p?void 0:p.cancelText),v={confirmLoading:l,okButtonProps:u,cancelButtonProps:f,okTextLocale:h,cancelTextLocale:m,okType:r,onOk:s,onCancel:c},y=a.useMemo(()=>v,(0,o.Z)(Object.values(v)));return"function"==typeof d||void 0===d?(t=a.createElement(w,{value:y},a.createElement(Y,null),a.createElement(Q,null)),"function"==typeof d&&(t=d(t,{OkBtn:Q,CancelBtn:Y}))):t=d,a.createElement(J.n,{disabled:!1},t)};var er=n(14747),eo=n(16932),ei=n(50438),ea=n(45503),el=n(67968);function es(e){return{position:e,inset:0}}let ec=e=>{let{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},es("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},es("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${t}${n}-zoom-enter), &:has(${t}${n}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${t}-root`]:(0,eo.J$)(e)}]},eu=e=>{let{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,er.Wf)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${2*e.margin}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:Object.assign({position:"absolute",top:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},(0,er.Qy)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, + ${t}-body, + ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},ef=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[r]:{[`${n}-modal-body`]:{padding:`${2*e.padding}px ${2*e.padding}px ${e.paddingLG}px`},[`${r}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${r}-title + ${r}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${r}-btns`]:{marginTop:e.marginLG}}}},ed=e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},ep=e=>{let t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5,o=(0,ea.TS)(e,{modalBodyPadding:e.paddingLG,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderHeight:r*n+2*t,modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontSize*e.lineHeight,modalConfirmIconSize:e.fontSize*e.lineHeight});return o},eh=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading});var eg=(0,el.Z)("Modal",e=>{let t=ep(e);return[eu(t),ed(t),ec(t),e.wireframe&&ef(t),(0,ei._y)(t,"zoom")]},eh),em=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};(0,V.Z)()&&window.document.documentElement&&document.documentElement.addEventListener("click",e=>{r={x:e.pageX,y:e.pageY},setTimeout(()=>{r=null},100)},!0);var ev=e=>{var t;let{getPopupContainer:n,getPrefixCls:o,direction:i,modal:l}=a.useContext(q.E_),s=t=>{let{onCancel:n}=e;null==n||n(t)},{prefixCls:c,className:u,rootClassName:f,open:d,wrapClassName:g,centered:m,getContainer:v,closeIcon:y,closable:b,focusTriggerAfterClose:x=!0,style:w,visible:C,width:S=520,footer:k}=e,Z=em(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),O=o("modal",c),$=o(),[P,j]=eg(O),A=p()(g,{[`${O}-centered`]:!!m,[`${O}-wrap-rtl`]:"rtl"===i}),R=null!==k&&a.createElement(en,Object.assign({},e,{onOk:t=>{let{onOk:n}=e;null==n||n(t)},onCancel:s})),[T,I]=(0,U.Z)(b,y,e=>et(O,e),a.createElement(E.Z,{className:`${O}-close-icon`}),!0),L=(0,X.H)(`.${O}-content`);return P(a.createElement(K.BR,null,a.createElement(G.Ux,{status:!0,override:!0},a.createElement(W,Object.assign({width:S},Z,{getContainer:void 0===v?n:v,prefixCls:O,rootClassName:p()(j,f),wrapClassName:A,footer:R,visible:null!=d?d:C,mousePosition:null!==(t=Z.mousePosition)&&void 0!==t?t:r,onClose:s,closable:T,closeIcon:I,focusTriggerAfterClose:x,transitionName:(0,h.m)($,"zoom",e.transitionName),maskTransitionName:(0,h.m)($,"fade",e.maskTransitionName),className:p()(j,u,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),w),panelRef:L})))))};let ey=e=>{let{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a}=e,l=`${t}-confirm`;return{[l]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${l}-body-wrapper`]:Object.assign({},(0,er.dF)()),[`${l}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.marginSM,marginTop:(Math.round(i*a)-o)/2},[`&-has-title > ${e.iconCls}`]:{marginTop:(Math.round(n*r)-o)/2}},[`${l}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${l}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${l}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${l}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${l}-error ${l}-body > ${e.iconCls}`]:{color:e.colorError},[`${l}-warning ${l}-body > ${e.iconCls}, + ${l}-confirm ${l}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${l}-info ${l}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${l}-success ${l}-body > ${e.iconCls}`]:{color:e.colorSuccess}}};var eb=(0,el.b)(["Modal","confirm"],e=>{let t=ep(e);return[ey(t)]},eh,{order:-1e3}),ex=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function ew(e){let{prefixCls:t,icon:n,okText:r,cancelText:i,confirmPrefixCls:l,type:d,okCancel:h,footer:m,locale:v}=e,y=ex(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]),b=n;if(!n&&null!==n)switch(d){case"info":b=a.createElement(f.Z,null);break;case"success":b=a.createElement(s.Z,null);break;case"error":b=a.createElement(c.Z,null);break;default:b=a.createElement(u.Z,null)}let x=null!=h?h:"confirm"===d,E=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[k]=(0,g.Z)("Modal"),Z=v||k,O=r||(x?null==Z?void 0:Z.okText:null==Z?void 0:Z.justOkText),$=i||(null==Z?void 0:Z.cancelText),P=Object.assign({autoFocusButton:E,cancelTextLocale:$,okTextLocale:O,mergedOkCancel:x},y),j=a.useMemo(()=>P,(0,o.Z)(Object.values(P))),A=a.createElement(a.Fragment,null,a.createElement(C,null),a.createElement(S,null)),R=void 0!==e.title&&null!==e.title,T=`${l}-body`;return a.createElement("div",{className:`${l}-body-wrapper`},a.createElement("div",{className:p()(T,{[`${T}-has-title`]:R})},b,a.createElement("div",{className:`${l}-paragraph`},R&&a.createElement("span",{className:`${l}-title`},e.title),a.createElement("div",{className:`${l}-content`},e.content))),void 0===m||"function"==typeof m?a.createElement(w,{value:j},a.createElement("div",{className:`${l}-btns`},"function"==typeof m?m(A,{OkBtn:S,CancelBtn:C}):A)):m,a.createElement(eb,{prefixCls:t}))}var eC=e=>{let{close:t,zIndex:n,afterClose:r,visible:o,open:i,keyboard:s,centered:c,getContainer:u,maskStyle:f,direction:d,prefixCls:g,wrapClassName:m,rootPrefixCls:v,iconPrefixCls:y,theme:b,bodyStyle:x,closable:w=!1,closeIcon:C,modalRender:S,focusTriggerAfterClose:E,onConfirm:k}=e,Z=`${g}-confirm`,O=e.width||416,$=e.style||{},P=void 0===e.mask||e.mask,j=void 0!==e.maskClosable&&e.maskClosable,A=p()(Z,`${Z}-${e.type}`,{[`${Z}-rtl`]:"rtl"===d},e.className);return a.createElement(l.ZP,{prefixCls:v,iconPrefixCls:y,direction:d,theme:b},a.createElement(ev,{prefixCls:g,className:A,wrapClassName:p()({[`${Z}-centered`]:!!e.centered},m),onCancel:()=>{null==t||t({triggerCancel:!0}),null==k||k(!1)},open:i,title:"",footer:null,transitionName:(0,h.m)(v||"","zoom",e.transitionName),maskTransitionName:(0,h.m)(v||"","fade",e.maskTransitionName),mask:P,maskClosable:j,maskStyle:f,style:$,bodyStyle:x,width:O,zIndex:n,afterClose:r,keyboard:s,centered:c,getContainer:u,closable:w,closeIcon:C,modalRender:S,focusTriggerAfterClose:E},a.createElement(ew,Object.assign({},e,{confirmPrefixCls:Z}))))},eS=[],eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let ek="";function eZ(e){let t;let n=document.createDocumentFragment(),r=Object.assign(Object.assign({},e),{close:u,open:!0});function s(){for(var t=arguments.length,r=Array(t),a=0;ae&&e.triggerCancel);e.onCancel&&l&&e.onCancel.apply(e,[()=>{}].concat((0,o.Z)(r.slice(1))));for(let e=0;e{let e=(0,ee.A)(),{getPrefixCls:t,getIconPrefixCls:f,getTheme:d}=(0,l.w6)(),p=t(void 0,ek),h=s||`${p}-modal`,g=f(),m=d(),v=c;!1===v&&(v=void 0),(0,i.s)(a.createElement(eC,Object.assign({},u,{getContainer:v,prefixCls:h,rootPrefixCls:p,iconPrefixCls:g,okText:r,locale:e,theme:m,cancelText:o||e.cancelText})),n)})}function u(){for(var t=arguments.length,n=Array(t),o=0;o{"function"==typeof e.afterClose&&e.afterClose(),s.apply(this,n)}})).visible&&delete r.visible,c(r)}return c(r),eS.push(u),{destroy:u,update:function(e){c(r="function"==typeof e?e(r):Object.assign(Object.assign({},r),e))}}}function eO(e){return Object.assign(Object.assign({},e),{type:"warning"})}function e$(e){return Object.assign(Object.assign({},e),{type:"info"})}function eP(e){return Object.assign(Object.assign({},e),{type:"success"})}function ej(e){return Object.assign(Object.assign({},e),{type:"error"})}function eA(e){return Object.assign(Object.assign({},e),{type:"confirm"})}var eR=n(8745),eT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},eI=(0,eR.i)(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:l,children:s}=e,c=eT(e,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:u}=a.useContext(q.E_),f=u(),d=t||u("modal"),[,h]=eg(d),g=`${d}-confirm`,m={};return m=i?{closable:null!=o&&o,title:"",footer:"",children:a.createElement(ew,Object.assign({},e,{prefixCls:d,confirmPrefixCls:g,rootPrefixCls:f,content:s}))}:{closable:null==o||o,title:l,footer:void 0===e.footer?a.createElement(en,Object.assign({},e)):e.footer,children:s},a.createElement(M,Object.assign({prefixCls:d,className:p()(h,`${d}-pure-panel`,i&&g,i&&`${g}-${i}`,n)},c,{closeIcon:et(d,r),closable:o},m))}),eL=n(88526),eF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},e_=a.forwardRef((e,t)=>{var n,{afterClose:r,config:i}=e,l=eF(e,["afterClose","config"]);let[s,c]=a.useState(!0),[u,f]=a.useState(i),{direction:d,getPrefixCls:p}=a.useContext(q.E_),h=p("modal"),m=p(),v=function(){c(!1);for(var e=arguments.length,t=Array(e),n=0;ne&&e.triggerCancel);u.onCancel&&r&&u.onCancel.apply(u,[()=>{}].concat((0,o.Z)(t.slice(1))))};a.useImperativeHandle(t,()=>({destroy:v,update:e=>{f(t=>Object.assign(Object.assign({},t),e))}}));let y=null!==(n=u.okCancel)&&void 0!==n?n:"confirm"===u.type,[b]=(0,g.Z)("Modal",eL.Z.Modal);return a.createElement(eC,Object.assign({prefixCls:h,rootPrefixCls:m},u,{close:v,open:s,afterClose:()=>{var e;r(),null===(e=u.afterClose)||void 0===e||e.call(u)},okText:u.okText||(y?null==b?void 0:b.okText:null==b?void 0:b.justOkText),direction:u.direction||d,cancelText:u.cancelText||(null==b?void 0:b.cancelText)},l))});let eN=0,eB=a.memo(a.forwardRef((e,t)=>{let[n,r]=function(){let[e,t]=a.useState([]),n=a.useCallback(e=>(t(t=>[].concat((0,o.Z)(t),[e])),()=>{t(t=>t.filter(t=>t!==e))}),[]);return[e,n]}();return a.useImperativeHandle(t,()=>({patchElement:r}),[]),a.createElement(a.Fragment,null,n)}));function eM(e){return eZ(eO(e))}ev.useModal=function(){let e=a.useRef(null),[t,n]=a.useState([]);a.useEffect(()=>{if(t.length){let e=(0,o.Z)(t);e.forEach(e=>{e()}),n([])}},[t]);let r=a.useCallback(t=>function(r){var i;let l,s;eN+=1;let c=a.createRef(),u=new Promise(e=>{l=e}),f=!1,d=a.createElement(e_,{key:`modal-${eN}`,config:t(r),ref:c,afterClose:()=>{null==s||s()},isSilent:()=>f,onConfirm:e=>{l(e)}});return(s=null===(i=e.current)||void 0===i?void 0:i.patchElement(d))&&eS.push(s),{destroy:()=>{function e(){var e;null===(e=c.current)||void 0===e||e.destroy()}c.current?e():n(t=>[].concat((0,o.Z)(t),[e]))},update:e=>{function t(){var t;null===(t=c.current)||void 0===t||t.update(e)}c.current?t():n(e=>[].concat((0,o.Z)(e),[t]))},then:e=>(f=!0,u.then(e))}},[]),i=a.useMemo(()=>({info:r(e$),success:r(eP),error:r(ej),warning:r(eO),confirm:r(eA)}),[]);return[i,a.createElement(eB,{key:"modal-holder",ref:e})]},ev.info=function(e){return eZ(e$(e))},ev.success=function(e){return eZ(eP(e))},ev.error=function(e){return eZ(ej(e))},ev.warning=eM,ev.warn=eM,ev.confirm=function(e){return eZ(eA(e))},ev.destroyAll=function(){for(;eS.length;){let e=eS.pop();e&&e()}},ev.config=function(e){let{rootPrefixCls:t}=e;ek=t},ev._InternalPanelDoNotUseOrYouWillBeFired=eI;var ez=ev},83008:function(e,t,n){"use strict";n.d(t,{A:function(){return s},f:function(){return l}});var r=n(88526);let o=Object.assign({},r.Z.Modal),i=[],a=()=>i.reduce((e,t)=>Object.assign(Object.assign({},e),t),r.Z.Modal);function l(e){if(e){let t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter(e=>e!==t),o=a()}}o=Object.assign({},r.Z.Modal)}function s(){return o}},4173:function(e,t,n){"use strict";n.d(t,{BR:function(){return s},ri:function(){return l}});var r=n(94184),o=n.n(r);n(50344);var i=n(67294);let a=i.createContext(null),l=(e,t)=>{let n=i.useContext(a),r=i.useMemo(()=>{if(!n)return"";let{compactDirection:r,isFirstItem:i,isLastItem:a}=n,l="vertical"===r?"-vertical-":"-";return o()(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:i,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:"rtl"===t})},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},s=e=>{let{children:t}=e;return i.createElement(a.Provider,{value:null},t)}},80110:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},function(e,t,n){let{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",l=["hover",o?"focus":null,"active"].filter(Boolean).map(e=>`&:${e} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}(e,r,t)),function(e,t,n){let{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}(n,r,t))}}n.d(t,{c:function(){return r}})},14747:function(e,t,n){"use strict";n.d(t,{Lx:function(){return l},Qy:function(){return u},Ro:function(){return i},Wf:function(){return o},dF:function(){return a},du:function(){return s},oN:function(){return c},vS:function(){return r}});let r={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},o=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),i=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),a=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},[`&:active, + &:hover`]:{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),s=(e,t)=>{let{fontFamily:n,fontSize:r}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},c=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),u=e=>({"&:focus-visible":Object.assign({},c(e))})},16932:function(e,t,n){"use strict";n.d(t,{J$:function(){return l}});var r=n(76325),o=n(93590);let i=new r.E4("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),a=new r.E4("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{antCls:n}=e,r=`${n}-fade`,l=t?"&":"";return[(0,o.R)(r,i,a,e.motionDurationMid,t),{[` + ${l}${r}-enter, + ${l}${r}-appear + `]:{opacity:0,animationTimingFunction:"linear"},[`${l}${r}-leave`]:{animationTimingFunction:"linear"}}]}},93590:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});let r=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,n,i){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=a?"&":"";return{[` + ${l}${e}-enter, + ${l}${e}-appear + `]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),[`${l}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[` + ${l}${e}-enter${e}-enter-active, + ${l}${e}-appear${e}-appear-active + `]:{animationName:t,animationPlayState:"running"},[`${l}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},50438:function(e,t,n){"use strict";n.d(t,{_y:function(){return y},kr:function(){return i}});var r=n(76325),o=n(93590);let i=new r.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new r.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),l=new r.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),s=new r.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),c=new r.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new r.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),f=new r.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),d=new r.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),p=new r.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),h=new r.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),g=new r.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),m=new r.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),v={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:l,outKeyframes:s},"zoom-big-fast":{inKeyframes:l,outKeyframes:s},"zoom-left":{inKeyframes:f,outKeyframes:d},"zoom-right":{inKeyframes:p,outKeyframes:h},"zoom-up":{inKeyframes:c,outKeyframes:u},"zoom-down":{inKeyframes:g,outKeyframes:m}},y=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=v[t];return[(0,o.R)(r,i,a,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},49617:function(e,t,n){"use strict";n.d(t,{Mj:function(){return v},u_:function(){return m},uH:function(){return g}});var r=n(76325),o=n(67294),i=n(16397),a=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}},l=n(2790),s=n(10274),c=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};let u=(e,t)=>new s.C(e).setAlpha(t).toRgbString(),f=(e,t)=>{let n=new s.C(e);return n.darken(t).toHexString()},d=e=>{let t=(0,i.R_)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},p=(e,t)=>{let n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:u(r,.88),colorTextSecondary:u(r,.65),colorTextTertiary:u(r,.45),colorTextQuaternary:u(r,.25),colorFill:u(r,.15),colorFillSecondary:u(r,.06),colorFillTertiary:u(r,.04),colorFillQuaternary:u(r,.02),colorBgLayout:f(n,4),colorBgContainer:f(n,0),colorBgElevated:f(n,0),colorBgSpotlight:u(r,.85),colorBorder:f(n,15),colorBorderSecondary:f(n,6)}};var h=e=>{let t=function(e){let t=Array(10).fill(null).map((t,n)=>{let r=e*Math.pow(2.71828,(n-1)/5);return 2*Math.floor((n>1?Math.floor(r):Math.ceil(r))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:(e+8)/e}))}(e),n=t.map(e=>e.size),r=t.map(e=>e.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};let g=(0,r.jG)(function(e){let t=Object.keys(l.M).map(t=>{let n=(0,i.R_)(e[t]);return Array(10).fill(1).reduce((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),function(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t,{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:l,colorPrimary:c,colorBgBase:u,colorTextBase:f}=e,d=n(c),p=n(o),h=n(i),g=n(a),m=n(l),v=r(u,f),y=e.colorLink||e.colorInfo,b=n(y);return Object.assign(Object.assign({},v),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:m[1],colorInfoBgHover:m[2],colorInfoBorder:m[3],colorInfoBorderHover:m[4],colorInfoHover:m[4],colorInfo:m[6],colorInfoActive:m[7],colorInfoTextHover:m[8],colorInfoText:m[9],colorInfoTextActive:m[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new s.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}(e,{generateColorPalettes:d,generateNeutralColorPalettes:p})),h(e.fontSize)),function(e){let{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),a(e)),function(e){let{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},c(r))}(e))}),m={token:l.Z,hashed:!0},v=o.createContext(m)},2790:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', +'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});t.Z=o},46605:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(76325),o=n(67294),i=n(49617),a=n(2790),l=n(10274);function s(e){return e>=0&&e<=255}var c=function(e,t){let{r:n,g:r,b:o,a:i}=new l.C(e).toRgb();if(i<1)return e;let{r:a,g:c,b:u}=new l.C(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((n-a*(1-e))/e),i=Math.round((r-c*(1-e))/e),f=Math.round((o-u*(1-e))/e);if(s(t)&&s(i)&&s(f))return new l.C({r:t,g:i,b:f,a:Math.round(100*e)/100}).toRgbString()}return new l.C({r:n,g:r,b:o,a:1}).toRgbString()},u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function f(e){let{override:t}=e,n=u(e,["override"]),r=Object.assign({},t);Object.keys(a.Z).forEach(e=>{delete r[e]});let o=Object.assign(Object.assign({},n),r);!1===o.motion&&(o.motionDurationFast="0s",o.motionDurationMid="0s",o.motionDurationSlow="0s");let i=Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:c(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:c(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:c(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:4*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:c(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowSecondary:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` + 0 1px 2px -2px ${new l.C("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new l.C("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new l.C("rgba(0, 0, 0, 0.09)").toRgbString()} + `,boxShadowDrawerRight:` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerDown:` + 0 -6px 16px 0 rgba(0, 0, 0, 0.08), + 0 -3px 6px -4px rgba(0, 0, 0, 0.12), + 0 -9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r);return i}var d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let p=(e,t,n)=>{let r=n.getDerivativeToken(e),{override:o}=t,i=d(t,["override"]),a=Object.assign(Object.assign({},r),{override:o});return a=f(a),i&&Object.entries(i).forEach(e=>{let[t,n]=e,{theme:r}=n,o=d(n,["theme"]),i=o;r&&(i=p(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i}),a};function h(){let{token:e,hashed:t,theme:n,components:l}=o.useContext(i.Mj),s=`5.9.0-${t||""}`,c=n||i.uH,[u,d]=(0,r.fp)(c,[a.Z,e],{salt:s,override:Object.assign({override:e},l),getComputedToken:p,formatToken:f});return[c,u,t?d:""]}},67968:function(e,t,n){"use strict";n.d(t,{Z:function(){return u},b:function(){return f}});var r=n(67294),o=n(76325);n(56790);var i=n(53124),a=n(14747),l=n(46605),s=n(45503),c=n(53269);function u(e,t,n){let u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},f=Array.isArray(e)?e:[e,e],[d]=f,p=f.join("-");return e=>{let[f,h,g]=(0,l.Z)(),{getPrefixCls:m,iconPrefixCls:v,csp:y}=(0,r.useContext)(i.E_),b=m(),x={theme:f,token:h,hashId:g,nonce:()=>null==y?void 0:y.nonce,clientOnly:u.clientOnly,order:u.order||-999};return(0,o.xy)(Object.assign(Object.assign({},x),{clientOnly:!1,path:["Shared",b]}),()=>[{"&":(0,a.Lx)(h)}]),(0,c.Z)(v),[(0,o.xy)(Object.assign(Object.assign({},x),{path:[p,e,v]}),()=>{let{token:r,flush:o}=(0,s.ZP)(h),i=Object.assign({},h[d]);if(u.deprecatedTokens){let{deprecatedTokens:e}=u;e.forEach(e=>{var t;let[n,r]=e;((null==i?void 0:i[n])||(null==i?void 0:i[r]))&&(null!==(t=i[r])&&void 0!==t||(i[r]=null==i?void 0:i[n]))})}let l="function"==typeof n?n((0,s.TS)(r,null!=i?i:{})):n,c=Object.assign(Object.assign({},l),i),f=`.${e}`,p=(0,s.TS)(r,{componentCls:f,prefixCls:e,iconCls:`.${v}`,antCls:`.${b}`},c),m=t(p,{hashId:g,prefixCls:e,rootPrefixCls:b,iconPrefixCls:v,overrideComponentToken:i});return o(d,c),[!1===u.resetStyle?null:(0,a.du)(h,e),m]}),g]}}let f=(e,t,n,r)=>{let o=u(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return e=>{let{prefixCls:t}=e;return o(t),null}}},45503:function(e,t,n){"use strict";n.d(t,{TS:function(){return i},ZP:function(){return s}});let r="undefined"!=typeof CSSINJS_STATISTIC,o=!0;function i(){for(var e=arguments.length,t=Array(e),n=0;n{let t=Object.keys(e);t.forEach(t=>{Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t]})})}),o=!0,i}let a={};function l(){}function s(e){let t;let n=e,i=l;return r&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(o&&t.add(n),e[n])}),i=(e,n)=>{var r;a[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(r=a[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:i}}},53269:function(e,t,n){"use strict";var r=n(76325),o=n(14747),i=n(46605);t.Z=(e,t)=>{let[n,a]=(0,i.Z)();return(0,r.xy)({theme:n,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,o.Ro)()),{[`.${e} .${e}-icon`]:{display:"block"}})}])}},16569:function(e,t,n){"use strict";n.d(t,{H:function(){return l}});var r=n(56790),o=n(67294);function i(){}let a=o.createContext({add:i,remove:i});function l(e){let t=o.useContext(a),n=o.useRef(),i=(0,r.zX)(r=>{if(r){let o=e?r.querySelector(e):r;t.add(o),n.current=o}else t.remove(n.current)});return i}},94184:function(e,t){var n;/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t=t||n<0||m&&r>=u}function x(){var e,n,r,i=o();if(b(i))return w(i);d=setTimeout(x,(e=i-p,n=i-h,r=t-e,m?l(r,u-n):r))}function w(e){return(d=void 0,v&&s)?y(e):(s=c=void 0,f)}function C(){var e,n=o(),r=b(n);if(s=arguments,c=this,p=n,r){if(void 0===d)return h=e=p,d=setTimeout(x,t),g?y(e):f;if(m)return clearTimeout(d),d=setTimeout(x,t),y(p)}return void 0===d&&(d=setTimeout(x,t)),f}return t=i(t)||0,r(n)&&(g=!!n.leading,u=(m="maxWait"in n)?a(i(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),C.cancel=function(){void 0!==d&&clearTimeout(d),h=0,s=p=c=d=void 0},C.flush=function(){return void 0===d?f:w(o())},C}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},23493:function(e,t,n){var r=n(23279),o=n(13218);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},14841:function(e,t,n){var r=n(27561),o=n(13218),i=n(33448),a=0/0,l=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):l.test(e)?a:+e}},83454:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(77663)},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(49688)}])},41468:function(e,t,n){"use strict";n.d(t,{R:function(){return c},p:function(){return s}});var r=n(85893),o=n(67294),i=n(50489),a=n(39332),l=n(577);let s=(0,o.createContext)({scene:"",chatId:"",modelList:[],model:"",setModel:()=>{},dialogueList:[],setIsContract:()=>{},setIsMenuExpand:()=>{},queryDialogueList:()=>{},refreshDialogList:()=>{}}),c=e=>{var t,n;let{children:c}=e,u=(0,a.useSearchParams)(),[f,d]=(0,o.useState)(!1),p=null!==(t=null==u?void 0:u.get("id"))&&void 0!==t?t:"",h=null!==(n=null==u?void 0:u.get("scene"))&&void 0!==n?n:"",[g,m]=(0,o.useState)(""),[v,y]=(0,o.useState)("chat_dashboard"!==h),{run:b,data:x=[],refresh:w}=(0,l.Z)(async()=>{let[,e]=await (0,i.Vx)((0,i.Js)());return null!=e?e:[]},{manual:!0}),{data:C=[]}=(0,l.Z)(async()=>{let[,e]=await (0,i.Vx)((0,i.fZ)());return null!=e?e:[]});(0,o.useEffect)(()=>{m(C[0])},[C,null==C?void 0:C.length]);let S=(0,o.useMemo)(()=>x.find(e=>e.conv_uid===p),[p,x]);return(0,r.jsx)(s.Provider,{value:{isContract:f,isMenuExpand:v,scene:h,chatId:p,modelList:C,model:g,setModel:m,dialogueList:x,setIsContract:d,setIsMenuExpand:y,queryDialogueList:b,refreshDialogList:w,currentDialogue:S},children:c})}},50489:function(e,t,n){"use strict";n.d(t,{HT:function(){return ei},a4:function(){return ea},Vx:function(){return H},MX:function(){return en},XN:function(){return V},BJ:function(){return q},Js:function(){return J},$i:function(){return ee},fZ:function(){return Y},sW:function(){return U},rw:function(){return X},LM:function(){return G},G9:function(){return K},qn:function(){return et},vD:function(){return Q},CU:function(){return W}});var r,o=n(6154),i=n(67294),a=n(38135),l=n(46735),s=n(89739),c=n(4340),u=n(97937),f=n(21640),d=n(78860),p=n(50888),h=n(94184),g=n.n(h),m=n(86621),v=n(53124),y=n(76325),b=n(14747),x=n(67968),w=n(45503),C=e=>{let{componentCls:t,width:n,notificationMarginEdge:r}=e,o=new y.E4("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),i=new y.E4("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),a=new y.E4("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:r,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}}}};let S=e=>{let{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:o,notificationMarginBottom:i,borderRadiusLG:a,colorSuccess:l,colorInfo:s,colorWarning:c,colorError:u,colorTextHeading:f,notificationBg:d,notificationPadding:p,notificationMarginEdge:h,motionDurationMid:g,motionEaseInOut:m,fontSize:v,lineHeight:x,width:w,notificationIconSize:S,colorText:E}=e,k=`${n}-notice`,Z=new y.E4("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:w},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),O=new y.E4("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:i,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),$={position:"relative",width:w,maxWidth:`calc(100vw - ${2*h}px)`,marginBottom:i,marginInlineStart:"auto",padding:p,overflow:"hidden",lineHeight:x,wordWrap:"break-word",background:d,borderRadius:a,boxShadow:r,[`${n}-close-icon`]:{fontSize:v,cursor:"pointer"},[`${k}-message`]:{marginBottom:e.marginXS,color:f,fontSize:o,lineHeight:e.lineHeightLG},[`${k}-description`]:{fontSize:v,color:E},[`&${k}-closable ${k}-message`]:{paddingInlineEnd:e.paddingLG},[`${k}-with-icon ${k}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+S,fontSize:o},[`${k}-with-icon ${k}-description`]:{marginInlineStart:e.marginSM+S,fontSize:v},[`${k}-icon`]:{position:"absolute",fontSize:S,lineHeight:0,[`&-success${t}`]:{color:l},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:c},[`&-error${t}`]:{color:u}},[`${k}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${k}-btn`]:{float:"right",marginTop:e.marginSM}};return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,b.Wf)(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:h,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[k]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[k]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:m,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:m,animationFillMode:"both",animationDuration:g,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:Z,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:O,animationPlayState:"running"}}),C(e)),{"&-rtl":{direction:"rtl",[`${k}-btn`]:{float:"left"}}})},{[n]:{[k]:Object.assign({},$)}},{[`${k}-pure-panel`]:Object.assign(Object.assign({},$),{margin:0})}]};var E=(0,x.Z)("Notification",e=>{let t=e.paddingMD,n=e.paddingLG,r=(0,w.TS)(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:.55*e.controlHeightLG,notificationMarginBottom:e.margin,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginEdge:e.marginLG,animationMaxHeight:150});return[S(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50,width:384})),k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function Z(e,t){return null===t||!1===t?null:t||i.createElement("span",{className:`${e}-close-x`},i.createElement(u.Z,{className:`${e}-close-icon`}))}d.Z,s.Z,c.Z,f.Z,p.Z;let O={success:s.Z,info:d.Z,error:c.Z,warning:f.Z},$=e=>{let{prefixCls:t,icon:n,type:r,message:o,description:a,btn:l,role:s="alert"}=e,c=null;return n?c=i.createElement("span",{className:`${t}-icon`},n):r&&(c=i.createElement(O[r]||null,{className:g()(`${t}-icon`,`${t}-icon-${r}`)})),i.createElement("div",{className:g()({[`${t}-with-icon`]:c}),role:s},c,i.createElement("div",{className:`${t}-message`},o),i.createElement("div",{className:`${t}-description`},a),l&&i.createElement("div",{className:`${t}-btn`},l))};var P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let j=e=>{let{children:t,prefixCls:n}=e,[,r]=E(n);return i.createElement(m.JB,{classNames:{list:r,notice:r}},t)},A=(e,t)=>{let{prefixCls:n,key:r}=t;return i.createElement(j,{prefixCls:n,key:r},e)},R=i.forwardRef((e,t)=>{let{top:n,bottom:r,prefixCls:o,getContainer:a,maxCount:l,rtl:s,onAllRemoved:c}=e,{getPrefixCls:u,getPopupContainer:f,notification:d}=i.useContext(v.E_),p=o||u("notification"),[h,y]=(0,m.lm)({prefixCls:p,style:e=>(function(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n}}return r})(e,null!=n?n:24,null!=r?r:24),className:()=>g()({[`${p}-rtl`]:s}),motion:()=>({motionName:`${p}-fade`}),closable:!0,closeIcon:Z(p),duration:4.5,getContainer:()=>(null==a?void 0:a())||(null==f?void 0:f())||document.body,maxCount:l,onAllRemoved:c,renderNotifications:A});return i.useImperativeHandle(t,()=>Object.assign(Object.assign({},h),{prefixCls:p,notification:d})),y});function T(e){let t=i.useRef(null),n=i.useMemo(()=>{let n=n=>{var r;if(!t.current)return;let{open:o,prefixCls:a,notification:l}=t.current,s=`${a}-notice`,{message:c,description:u,icon:f,type:d,btn:p,className:h,style:m,role:v="alert",closeIcon:y}=n,b=P(n,["message","description","icon","type","btn","className","style","role","closeIcon"]),x=Z(s,y);return o(Object.assign(Object.assign({placement:null!==(r=null==e?void 0:e.placement)&&void 0!==r?r:"topRight"},b),{content:i.createElement($,{prefixCls:s,icon:f,type:d,message:c,description:u,btn:p,role:v}),className:g()(d&&`${s}-${d}`,h,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),m),closeIcon:x,closable:!!x}))},r={open:n,destroy:e=>{var n,r;void 0!==e?null===(n=t.current)||void 0===n||n.close(e):null===(r=t.current)||void 0===r||r.destroy()}};return["success","info","warning","error"].forEach(e=>{r[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))}),r},[]);return[n,i.createElement(R,Object.assign({key:"notification-holder"},e,{ref:t}))]}let I=null,L=e=>e(),F=[],_={};function N(){let{prefixCls:e,getContainer:t,rtl:n,maxCount:r,top:o,bottom:i}=_,a=null!=e?e:(0,l.w6)().getPrefixCls("notification"),s=(null==t?void 0:t())||document.body;return{prefixCls:a,getContainer:()=>s,rtl:n,maxCount:r,top:o,bottom:i}}let B=i.forwardRef((e,t)=>{let[n,r]=i.useState(N),[o,a]=T(n),s=(0,l.w6)(),c=s.getRootPrefixCls(),u=s.getIconPrefixCls(),f=s.getTheme(),d=()=>{r(N)};return i.useEffect(d,[]),i.useImperativeHandle(t,()=>{let e=Object.assign({},o);return Object.keys(e).forEach(t=>{e[t]=function(){return d(),o[t].apply(o,arguments)}}),{instance:e,sync:d}}),i.createElement(l.ZP,{prefixCls:c,iconPrefixCls:u,theme:f},a)});function M(){if(!I){let e=document.createDocumentFragment(),t={fragment:e};I=t,L(()=>{(0,a.s)(i.createElement(B,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,M())})}}),e)});return}I.instance&&(F.forEach(e=>{switch(e.type){case"open":L(()=>{I.instance.open(Object.assign(Object.assign({},_),e.config))});break;case"destroy":L(()=>{null==I||I.instance.destroy(e.key)})}}),F=[])}function z(e){F.push({type:"open",config:e}),M()}let D={open:z,destroy:function(e){F.push({type:"destroy",key:e}),M()},config:function(e){_=Object.assign(Object.assign({},_),e),L(()=>{var e;null===(e=null==I?void 0:I.sync)||void 0===e||e.call(I)})},useNotification:function(e){return T(e)},_InternalPanelDoNotUseOrYouWillBeFired:e=>{let{prefixCls:t,className:n,icon:r,type:o,message:a,description:l,btn:s,closable:c=!0,closeIcon:u}=e,f=k(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:d}=i.useContext(v.E_),p=t||d("notification"),h=`${p}-notice`,[,y]=E(p);return i.createElement(m.qX,Object.assign({},f,{prefixCls:p,className:g()(n,y,`${h}-pure-panel`),eventKey:"pure",duration:null,closable:c,closeIcon:Z(p,u),content:i.createElement($,{prefixCls:h,icon:r,type:o,message:a,description:l,btn:s})}))}};["success","info","warning","error"].forEach(e=>{D[e]=t=>z(Object.assign(Object.assign({},t),{type:e}))});let H=(e,t)=>e.then(e=>{let{data:n}=e;if(!n)throw Error("Network Error!");if(!n.success){if(t&&"*"!==t&&n.err_code&&t.includes(n.err_code));else{var r,o;throw D.error({message:"Request error",description:null!==(r=null==n?void 0:n.err_msg)&&void 0!==r?r:""}),Error(null!==(o=n.err_msg)&&void 0!==o?o:"")}}return[null,n.data,n,e]}).catch(e=>[e,null,null,null]),W=()=>ea("/chat/dialogue/scenes"),U=e=>ea("/chat/dialogue/new",e),V=()=>ei("/chat/db/list"),q=()=>ei("/chat/db/support/type"),G=e=>ea("/chat/db/delete?db_name=".concat(e),void 0),K=e=>ea("/chat/db/edit",e),X=e=>ea("/chat/db/add",e),J=()=>ei("/chat/dialogue/list"),Y=()=>ei("/model/types"),Q=e=>ea("/chat/mode/params/list?chat_mode=".concat(e)),ee=e=>ei("/chat/dialogue/messages/history?con_uid=".concat(e)),et=e=>{let{convUid:t,chatMode:n,data:r,config:o,model:i}=e;return ea("/chat/mode/params/file/load?conv_uid=".concat(t,"&chat_mode=").concat(n,"&model_name=").concat(i),r,{headers:{"Content-Type":"multipart/form-data"},...o})},en=e=>ea("/chat/dialogue/delete?con_uid=".concat(e));var er=n(83454);let eo=o.Z.create({baseURL:"".concat(null!==(r=er.env.API_BASE_URL)&&void 0!==r?r:"","/api/v1"),timeout:1e4}),ei=(e,t,n)=>eo.get(e,{params:t,...n}),ea=(e,t,n)=>eo.post(e,t,n)},32665:function(e,t,n){"use strict";function r(e){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clientHookInServerComponentError",{enumerable:!0,get:function(){return r}}),n(38754),n(67294),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41219:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return p},useSearchParams:function(){return h},usePathname:function(){return g},ServerInsertedHTMLContext:function(){return s.ServerInsertedHTMLContext},useServerInsertedHTML:function(){return s.useServerInsertedHTML},useRouter:function(){return m},useParams:function(){return v},useSelectedLayoutSegments:function(){return y},useSelectedLayoutSegment:function(){return b},redirect:function(){return c.redirect},notFound:function(){return u.notFound}});let r=n(67294),o=n(27473),i=n(35802),a=n(32665),l=n(43512),s=n(98751),c=n(96885),u=n(86323),f=Symbol("internal for urlsearchparams readonly");function d(){return Error("ReadonlyURLSearchParams cannot be modified")}class p{[Symbol.iterator](){return this[f][Symbol.iterator]()}append(){throw d()}delete(){throw d()}set(){throw d()}sort(){throw d()}constructor(e){this[f]=e,this.entries=e.entries.bind(e),this.forEach=e.forEach.bind(e),this.get=e.get.bind(e),this.getAll=e.getAll.bind(e),this.has=e.has.bind(e),this.keys=e.keys.bind(e),this.values=e.values.bind(e),this.toString=e.toString.bind(e)}}function h(){(0,a.clientHookInServerComponentError)("useSearchParams");let e=(0,r.useContext)(i.SearchParamsContext),t=(0,r.useMemo)(()=>e?new p(e):null,[e]);return t}function g(){return(0,a.clientHookInServerComponentError)("usePathname"),(0,r.useContext)(i.PathnameContext)}function m(){(0,a.clientHookInServerComponentError)("useRouter");let e=(0,r.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function v(){(0,a.clientHookInServerComponentError)("useParams");let e=(0,r.useContext)(o.GlobalLayoutRouterContext);return e?function e(t,n){void 0===n&&(n={});let r=t[1];for(let t of Object.values(r)){let r=t[0],o=Array.isArray(r),i=o?r[1]:r;!i||i.startsWith("__PAGE__")||(o&&(n[r[0]]=r[1]),n=e(t,n))}return n}(e.tree):null}function y(e){void 0===e&&(e="children"),(0,a.clientHookInServerComponentError)("useSelectedLayoutSegments");let{tree:t}=(0,r.useContext)(o.LayoutRouterContext);return function e(t,n,r,o){let i;if(void 0===r&&(r=!0),void 0===o&&(o=[]),r)i=t[1][n];else{var a;let e=t[1];i=null!=(a=e.children)?a:Object.values(e)[0]}if(!i)return o;let s=i[0],c=(0,l.getSegmentValue)(s);return!c||c.startsWith("__PAGE__")?o:(o.push(c),e(i,n,!1,o))}(t,e)}function b(e){void 0===e&&(e="children"),(0,a.clientHookInServerComponentError)("useSelectedLayoutSegment");let t=y(e);return 0===t.length?null:t[0]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86323:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{notFound:function(){return r},isNotFoundError:function(){return o}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return(null==e?void 0:e.digest)===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96885:function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return r},getRedirectError:function(){return l},redirect:function(){return s},isRedirectError:function(){return c},getURLFromRedirectError:function(){return u},getRedirectTypeFromError:function(){return f}});let i=n(68214),a="NEXT_REDIRECT";function l(e,t){let n=Error(a);n.digest=a+";"+t+";"+e;let r=i.requestAsyncStorage.getStore();return r&&(n.mutableCookies=r.mutableCookies),n}function s(e,t){throw void 0===t&&(t="replace"),l(e,t)}function c(e){if("string"!=typeof(null==e?void 0:e.digest))return!1;let[t,n,r]=e.digest.split(";",3);return t===a&&("replace"===n||"push"===n)&&"string"==typeof r}function u(e){return c(e)?e.digest.split(";",3)[2]:null}function f(e){if(!c(e))throw Error("Not a redirect error");return e.digest.split(";",3)[1]}(o=r||(r={})).push="push",o.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43512:function(e,t){"use strict";function n(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29382:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PrefetchKind:function(){return n},ACTION_REFRESH:function(){return o},ACTION_NAVIGATE:function(){return i},ACTION_RESTORE:function(){return a},ACTION_SERVER_PATCH:function(){return l},ACTION_PREFETCH:function(){return s},ACTION_FAST_REFRESH:function(){return c},ACTION_SERVER_ACTION:function(){return u}});let o="refresh",i="navigate",a="restore",l="server-patch",s="prefetch",c="fast-refresh",u="server-action";(r=n||(n={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75476:function(e,t){"use strict";function n(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69873:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let r=n(38754),o=n(61757),i=o._(n(67294)),a=r._(n(68965)),l=n(38083),s=n(2478),c=n(76226);n(59941);let u=r._(n(31720)),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function d(e){return void 0!==e.default}function p(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function h(e,t,n,r,o,i,a){if(!e||e["data-loaded-src"]===t)return;e["data-loaded-src"]=t;let l="decode"in e?e.decode():Promise.resolve();l.catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("blur"===n&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==o?void 0:o.current)&&o.current(e)}})}function g(e){let[t,n]=i.version.split("."),r=parseInt(t,10),o=parseInt(n,10);return r>18||18===r&&o>=3?{fetchPriority:e}:{fetchpriority:e}}let m=(0,i.forwardRef)((e,t)=>{let{imgAttributes:n,heightInt:r,widthInt:o,qualityInt:a,className:l,imgStyle:s,blurStyle:c,isLazy:u,fetchPriority:f,fill:d,placeholder:p,loading:m,srcString:v,config:y,unoptimized:b,loader:x,onLoadRef:w,onLoadingCompleteRef:C,setBlurComplete:S,setShowAltText:E,onLoad:k,onError:Z,...O}=e;return m=u?"lazy":m,i.default.createElement("img",{...O,...g(f),loading:m,width:o,height:r,decoding:"async","data-nimg":d?"fill":"1",className:l,style:{...s,...c},...n,ref:(0,i.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(Z&&(e.src=e.src),e.complete&&h(e,v,p,w,C,S,b))},[v,p,w,C,S,Z,b,t]),onLoad:e=>{let t=e.currentTarget;h(t,v,p,w,C,S,b)},onError:e=>{E(!0),"blur"===p&&S(!0),Z&&Z(e)}})}),v=(0,i.forwardRef)((e,t)=>{var n;let r,o,{src:h,sizes:v,unoptimized:y=!1,priority:b=!1,loading:x,className:w,quality:C,width:S,height:E,fill:k,style:Z,onLoad:O,onLoadingComplete:$,placeholder:P="empty",blurDataURL:j,fetchPriority:A,layout:R,objectFit:T,objectPosition:I,lazyBoundary:L,lazyRoot:F,..._}=e,N=(0,i.useContext)(c.ImageConfigContext),B=(0,i.useMemo)(()=>{let e=f||N||s.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[N]),M=_.loader||u.default;delete _.loader;let z="__next_img_default"in M;if(z){if("custom"===B.loader)throw Error('Image with src "'+h+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=M;M=t=>{let{config:n,...r}=t;return e(r)}}if(R){"fill"===R&&(k=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[R];e&&(Z={...Z,...e});let t={responsive:"100vw",fill:"100vw"}[R];t&&!v&&(v=t)}let D="",H=p(S),W=p(E);if("object"==typeof(n=h)&&(d(n)||void 0!==n.src)){let e=d(h)?h.default:h;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(r=e.blurWidth,o=e.blurHeight,j=j||e.blurDataURL,D=e.src,!k){if(H||W){if(H&&!W){let t=H/e.width;W=Math.round(e.height*t)}else if(!H&&W){let t=W/e.height;H=Math.round(e.width*t)}}else H=e.width,W=e.height}}let U=!b&&("lazy"===x||void 0===x);(!(h="string"==typeof h?h:D)||h.startsWith("data:")||h.startsWith("blob:"))&&(y=!0,U=!1),B.unoptimized&&(y=!0),z&&h.endsWith(".svg")&&!B.dangerouslyAllowSVG&&(y=!0),b&&(A="high");let[V,q]=(0,i.useState)(!1),[G,K]=(0,i.useState)(!1),X=p(C),J=Object.assign(k?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:T,objectPosition:I}:{},G?{}:{color:"transparent"},Z),Y="blur"===P&&j&&!V?{backgroundSize:J.objectFit||"cover",backgroundPosition:J.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'+(0,l.getImageBlurSvg)({widthInt:H,heightInt:W,blurWidth:r,blurHeight:o,blurDataURL:j,objectFit:J.objectFit})+'")'}:{},Q=function(e){let{config:t,src:n,unoptimized:r,width:o,quality:i,sizes:a,loader:l}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:s,kind:c}=function(e,t,n){let{deviceSizes:r,allSizes:o}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:o,kind:"w"}}if("number"!=typeof t)return{widths:r,kind:"w"};let i=[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))];return{widths:i,kind:"x"}}(t,o,a),u=s.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:s.map((e,r)=>l({config:t,src:n,quality:i,width:e})+" "+("w"===c?e:r+1)+c).join(", "),src:l({config:t,src:n,quality:i,width:s[u]})}}({config:B,src:h,unoptimized:y,width:H,quality:X,sizes:v,loader:M}),ee=h,et=(0,i.useRef)(O);(0,i.useEffect)(()=>{et.current=O},[O]);let en=(0,i.useRef)($);(0,i.useEffect)(()=>{en.current=$},[$]);let er={isLazy:U,imgAttributes:Q,heightInt:W,widthInt:H,qualityInt:X,className:w,imgStyle:J,blurStyle:Y,loading:x,config:B,fetchPriority:A,fill:k,unoptimized:y,placeholder:P,loader:M,srcString:ee,onLoadRef:et,onLoadingCompleteRef:en,setBlurComplete:q,setShowAltText:K,..._};return i.default.createElement(i.default.Fragment,null,i.default.createElement(m,{...er,ref:t}),b?i.default.createElement(a.default,null,i.default.createElement("link",{key:"__nimg-"+Q.src+Q.srcSet+Q.sizes,rel:"preload",as:"image",href:Q.srcSet?void 0:Q.src,imageSrcSet:Q.srcSet,imageSizes:Q.sizes,crossOrigin:_.crossOrigin,referrerPolicy:_.referrerPolicy,...g(A)})):null)}),y=v;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9940:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});let r=n(38754),o=r._(n(67294)),i=n(65722),a=n(65723),l=n(28904),s=n(95514),c=n(27521),u=n(44293),f=n(27473),d=n(81307),p=n(75476),h=n(66318),g=n(29382),m=new Set;function v(e,t,n,r,o,i){if(!i&&!(0,a.isLocalURL)(t))return;if(!r.bypassPrefetchedCheck){let o=void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0,i=t+"%"+n+"%"+o;if(m.has(i))return;m.add(i)}let l=i?e.prefetch(t,o):e.prefetch(t,n,r);Promise.resolve(l).catch(e=>{})}function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let b=o.default.forwardRef(function(e,t){let n,r;let{href:l,as:m,children:b,prefetch:x=null,passHref:w,replace:C,shallow:S,scroll:E,locale:k,onClick:Z,onMouseEnter:O,onTouchStart:$,legacyBehavior:P=!1,...j}=e;n=b,P&&("string"==typeof n||"number"==typeof n)&&(n=o.default.createElement("a",null,n));let A=!1!==x,R=null===x?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,T=o.default.useContext(u.RouterContext),I=o.default.useContext(f.AppRouterContext),L=null!=T?T:I,F=!T,{href:_,as:N}=o.default.useMemo(()=>{if(!T){let e=y(l);return{href:e,as:m?y(m):e}}let[e,t]=(0,i.resolveHref)(T,l,!0);return{href:e,as:m?(0,i.resolveHref)(T,m):t||e}},[T,l,m]),B=o.default.useRef(_),M=o.default.useRef(N);P&&(r=o.default.Children.only(n));let z=P?r&&"object"==typeof r&&r.ref:t,[D,H,W]=(0,d.useIntersection)({rootMargin:"200px"}),U=o.default.useCallback(e=>{(M.current!==N||B.current!==_)&&(W(),M.current=N,B.current=_),D(e),z&&("function"==typeof z?z(e):"object"==typeof z&&(z.current=e))},[N,z,_,W,D]);o.default.useEffect(()=>{L&&H&&A&&v(L,_,N,{locale:k},{kind:R},F)},[N,_,H,k,A,null==T?void 0:T.locale,L,F,R]);let V={ref:U,onClick(e){P||"function"!=typeof Z||Z(e),P&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),L&&!e.defaultPrevented&&function(e,t,n,r,i,l,s,c,u,f){let{nodeName:d}=e.currentTarget,p="A"===d.toUpperCase();if(p&&(function(e){let t=e.currentTarget,n=t.getAttribute("target");return n&&"_self"!==n||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!u&&!(0,a.isLocalURL)(n)))return;e.preventDefault();let h=()=>{"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:l,locale:c,scroll:s}):t[i?"replace":"push"](r||n,{forceOptimisticNavigation:!f})};u?o.default.startTransition(h):h()}(e,L,_,N,C,S,E,k,F,A)},onMouseEnter(e){P||"function"!=typeof O||O(e),P&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),L&&(A||!F)&&v(L,_,N,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:R},F)},onTouchStart(e){P||"function"!=typeof $||$(e),P&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),L&&(A||!F)&&v(L,_,N,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:R},F)}};if((0,s.isAbsoluteUrl)(N))V.href=N;else if(!P||w||"a"===r.type&&!("href"in r.props)){let e=void 0!==k?k:null==T?void 0:T.locale,t=(null==T?void 0:T.isLocaleDomain)&&(0,p.getDomainLocale)(N,e,null==T?void 0:T.locales,null==T?void 0:T.domainLocales);V.href=t||(0,h.addBasePath)((0,c.addLocale)(N,e,null==T?void 0:T.defaultLocale))}return P?o.default.cloneElement(r,V):o.default.createElement("a",{...j,...V},n)}),x=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81307:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let r=n(67294),o=n(82997),i="function"==typeof IntersectionObserver,a=new Map,l=[];function s(e){let{rootRef:t,rootMargin:n,disabled:s}=e,c=s||!i,[u,f]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);(0,r.useEffect)(()=>{if(i){if(c||u)return;let e=d.current;if(e&&e.tagName){let r=function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=l.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:i,elements:o},l.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let e=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n});return r}}else if(!u){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[c,n,t,u,d.current]);let h=(0,r.useCallback)(()=>{f(!1)},[]);return[p,u,h]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38083:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:o,blurDataURL:i,objectFit:a}=e,l=r||t,s=o||n,c=i.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return l&&s?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 "+l+" "+s+"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+(r&&o?"1":"20")+"'/%3E"+c+"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='"+i+"'/%3E%3C/svg%3E":"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' preserveAspectRatio='"+("contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' x='0' y='0' height='100%25' width='100%25' href='"+i+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},31720:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:o}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(o||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},98751:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return a}});let r=n(61757),o=r._(n(67294)),i=o.default.createContext(null);function a(e){let t=(0,o.useContext)(i);t&&t(e)}},49688:function(e,t,n){"use strict";let r,o;n.r(t),n.d(t,{default:function(){return to}});var i=n(85893),a=n(67294),l=n(39332),s=n(41664),c=n.n(s),u=n(12678),f=n(56385),d=n(48665),p=n(47556),h=n(11772),g=n(63366),m=n(87462),v=n(86010),y=n(14142),b=n(18719),x=n(94780),w=n(74312),C=n(20407),S=n(78653),E=n(30220),k=n(26821);function Z(e){return(0,k.d6)("MuiListItem",e)}(0,k.sI)("MuiListItem",["root","startAction","endAction","nested","nesting","sticky","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);var O=n(94593),$=n(40780),P=n(30532),j=n(62774);let A=a.createContext(void 0);var R=n(43614);let T=["component","className","children","nested","sticky","variant","color","startAction","endAction","role","slots","slotProps"],I=e=>{let{sticky:t,nested:n,nesting:r,variant:o,color:i}=e,a={root:["root",n&&"nested",r&&"nesting",t&&"sticky",i&&`color${(0,y.Z)(i)}`,o&&`variant${(0,y.Z)(o)}`],startAction:["startAction"],endAction:["endAction"]};return(0,x.Z)(a,Z,{})},L=(0,w.Z)("li",{name:"JoyListItem",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n;return[!t.nested&&{"--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItemButton-marginBlock":"calc(-1 * var(--ListItem-paddingY))",alignItems:"center",marginInline:"var(--ListItem-marginInline)"},t.nested&&{"--NestedList-marginRight":"calc(-1 * var(--ListItem-paddingRight))","--NestedList-marginLeft":"calc(-1 * var(--ListItem-paddingLeft))","--NestedListItem-paddingLeft":"calc(var(--ListItem-paddingLeft) + var(--List-nestedInsetStart))","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItem-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))",flexDirection:"column"},(0,m.Z)({"--unstable_actionRadius":"calc(var(--ListItem-radius) - var(--variant-borderWidth, 0px))"},t.startAction&&{"--unstable_startActionWidth":"2rem"},t.endAction&&{"--unstable_endActionWidth":"2.5rem"},{boxSizing:"border-box",borderRadius:"var(--ListItem-radius)",display:"flex",flex:"none",position:"relative",paddingBlockStart:t.nested?0:"var(--ListItem-paddingY)",paddingBlockEnd:t.nested?0:"var(--ListItem-paddingY)",paddingInlineStart:"var(--ListItem-paddingLeft)",paddingInlineEnd:"var(--ListItem-paddingRight)"},void 0===t["data-first-child"]&&(0,m.Z)({},t.row?{marginInlineStart:"var(--List-gap)"}:{marginBlockStart:"var(--List-gap)"}),t.row&&t.wrap&&{marginInlineStart:"var(--List-gap)",marginBlockStart:"var(--List-gap)"},{minBlockSize:"var(--ListItem-minHeight)",fontSize:"var(--ListItem-fontSize)",fontFamily:e.vars.fontFamily.body},t.sticky&&{position:"sticky",top:"var(--ListItem-stickyTop, 0px)",zIndex:1,background:"var(--ListItem-stickyBackground)"}),null==(n=e.variants[t.variant])?void 0:n[t.color]]}),F=(0,w.Z)("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})(({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",left:0,transform:"translate(var(--ListItem-startActionTranslateX), -50%)",zIndex:1})),_=(0,w.Z)("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})(({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",right:0,transform:"translate(var(--ListItem-endActionTranslateX), -50%)"})),N=a.forwardRef(function(e,t){let n=(0,C.Z)({props:e,name:"JoyListItem"}),r=a.useContext(R.Z),o=a.useContext(j.Z),l=a.useContext($.Z),s=a.useContext(P.Z),c=a.useContext(O.Z),{component:u,className:f,children:d,nested:p=!1,sticky:h=!1,variant:y="plain",color:x="neutral",startAction:w,endAction:k,role:Z,slots:N={},slotProps:B={}}=n,M=(0,g.Z)(n,T),{getColor:z}=(0,S.VT)(y),D=z(e.color,x),[H,W]=a.useState(""),[U,V]=(null==o?void 0:o.split(":"))||["",""],q=u||(U&&!U.match(/^(ul|ol|menu)$/)?"div":void 0),G="menu"===r?"none":void 0;o&&(G=({menu:"none",menubar:"none",group:"presentation"})[V]),Z&&(G=Z);let K=(0,m.Z)({},n,{sticky:h,startAction:w,endAction:k,row:l,wrap:s,variant:y,color:D,nesting:c,nested:p,component:q,role:G}),X=I(K),J=(0,m.Z)({},M,{component:q,slots:N,slotProps:B}),[Y,Q]=(0,E.Z)("root",{additionalProps:{role:G},ref:t,className:(0,v.Z)(X.root,f),elementType:L,externalForwardedProps:J,ownerState:K}),[ee,et]=(0,E.Z)("startAction",{className:X.startAction,elementType:F,externalForwardedProps:J,ownerState:K}),[en,er]=(0,E.Z)("endAction",{className:X.endAction,elementType:_,externalForwardedProps:J,ownerState:K});return(0,i.jsx)(A.Provider,{value:W,children:(0,i.jsx)(O.Z.Provider,{value:!!p&&(H||!0),children:(0,i.jsxs)(Y,(0,m.Z)({},Q,{children:[w&&(0,i.jsx)(ee,(0,m.Z)({},et,{children:w})),a.Children.map(d,(e,t)=>a.isValidElement(e)?a.cloneElement(e,(0,m.Z)({},0===t&&{"data-first-child":""},(0,b.Z)(e,["ListItem"])&&{component:e.props.component||"div"})):e),k&&(0,i.jsx)(en,(0,m.Z)({},er,{children:k}))]}))})})});N.muiName="ListItem";var B=n(16079);function M(e){return(0,k.d6)("MuiListItemContent",e)}(0,k.sI)("MuiListItemContent",["root"]);let z=["component","className","children","slots","slotProps"],D=()=>(0,x.Z)({root:["root"]},M,{}),H=(0,w.Z)("div",{name:"JoyListItemContent",slot:"Root",overridesResolver:(e,t)=>t.root})({flex:"1 1 auto",minWidth:0}),W=a.forwardRef(function(e,t){let n=(0,C.Z)({props:e,name:"JoyListItemContent"}),{component:r,className:o,children:a,slots:l={},slotProps:s={}}=n,c=(0,g.Z)(n,z),u=(0,m.Z)({},n),f=D(),d=(0,m.Z)({},c,{component:r,slots:l,slotProps:s}),[p,h]=(0,E.Z)("root",{ref:t,className:(0,v.Z)(f.root,o),elementType:H,externalForwardedProps:d,ownerState:u});return(0,i.jsx)(p,(0,m.Z)({},h,{children:a}))});var U=n(40911),V=n(14553);function q(e){return(0,k.d6)("MuiListItemDecorator",e)}(0,k.sI)("MuiListItemDecorator",["root"]);var G=n(41785);let K=["component","className","children","slots","slotProps"],X=()=>(0,x.Z)({root:["root"]},q,{}),J=(0,w.Z)("span",{name:"JoyListItemDecorator",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>(0,m.Z)({boxSizing:"border-box",display:"inline-flex",color:"var(--ListItemDecorator-color)"},"horizontal"===e.parentOrientation?{minInlineSize:"var(--ListItemDecorator-size)",alignItems:"center"}:{minBlockSize:"var(--ListItemDecorator-size)",justifyContent:"center"})),Y=a.forwardRef(function(e,t){let n=(0,C.Z)({props:e,name:"JoyListItemDecorator"}),{component:r,className:o,children:l,slots:s={},slotProps:c={}}=n,u=(0,g.Z)(n,K),f=a.useContext(G.Z),d=(0,m.Z)({parentOrientation:f},n),p=X(),h=(0,m.Z)({},u,{component:r,slots:s,slotProps:c}),[y,b]=(0,E.Z)("root",{ref:t,className:(0,v.Z)(p.root,o),elementType:J,externalForwardedProps:h,ownerState:d});return(0,i.jsx)(y,(0,m.Z)({},b,{children:l}))});var Q=n(2549),ee=n(31523),et=n(99078),en=n(48953),er=n(66418),eo=n(52778),ei=n(25675),ea=n.n(ei),el=n(94184),es=n.n(el),ec=n(326),eu=n(28223),ef=n(79453),ed=n(80087),ep=n(67421),eh=n(41468),eg=n(50489),em=()=>{let e=(0,l.usePathname)(),{t,i18n:n}=(0,ep.$G)();(0,l.useSearchParams)();let r=(0,l.useRouter)(),[o,s]=(0,a.useState)("/LOGO_1.png"),{dialogueList:g,chatId:m,queryDialogueList:v,refreshDialogList:y,isMenuExpand:b,setIsMenuExpand:x}=(0,a.useContext)(eh.p),{mode:w,setMode:C}=(0,f.tv)(),S=(0,a.useMemo)(()=>[{label:t("Data_Source"),route:"/database",icon:(0,i.jsx)(eu.Z,{fontSize:"small"}),tooltip:"Database",active:"/database"===e},{label:t("Knowledge_Space"),route:"/datastores",icon:(0,i.jsx)(ee.Z,{fontSize:"small"}),tooltip:"Knowledge",active:"/datastores"===e}],[e,n.language]);function E(){"light"===w?C("dark"):C("light")}return(0,a.useEffect)(()=>{"light"===w?s("/LOGO_1.png"):s("/WHITE_LOGO.png")},[w]),(0,a.useEffect)(()=>{(async()=>{await v()})()},[]),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("nav",{className:es()("grid max-h-screen h-full max-md:hidden"),children:(0,i.jsx)(d.Z,{className:"flex flex-col border-r border-divider max-h-screen sticky left-0 top-0 overflow-hidden",children:b?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.Z,{className:"p-2 gap-2 flex flex-row justify-between items-center",children:(0,i.jsx)("div",{className:"flex items-center gap-3",children:(0,i.jsx)(c(),{href:"/",children:(0,i.jsx)(ea(),{src:o,alt:"DB-GPT",width:633,height:157,className:"w-full max-w-full"})})})}),(0,i.jsx)(d.Z,{className:"px-2",children:(0,i.jsx)(c(),{href:"/",children:(0,i.jsx)(p.Z,{color:"primary",className:"w-full bg-gradient-to-r from-[#31afff] to-[#1677ff] dark:bg-gradient-to-r dark:from-[#6a6a6a] dark:to-[#80868f]",style:{color:"#fff"},children:"+ New Chat"})})}),(0,i.jsx)(d.Z,{className:"p-2 hidden xs:block sm:inline-block max-h-full overflow-auto",children:(0,i.jsx)(h.Z,{size:"sm",sx:{"--ListItem-radius":"8px"},children:(0,i.jsx)(N,{nested:!0,children:(0,i.jsx)(h.Z,{size:"sm","aria-labelledby":"nav-list-browse",sx:{"& .JoyListItemButton-root":{p:"8px"},gap:"4px"},children:(g||[]).map(t=>{let n=("/chat"===e||"/chat/"===e)&&m===t.conv_uid;return(0,i.jsx)(N,{children:(0,i.jsx)(B.Z,{selected:n,variant:n?"soft":"plain",sx:{"&:hover .del-btn":{visibility:"visible"}},children:(0,i.jsx)(W,{children:(0,i.jsxs)(c(),{href:"/chat?id=".concat(t.conv_uid,"&scene=").concat(null==t?void 0:t.chat_mode),className:"flex items-center justify-between",children:[(0,i.jsxs)(U.ZP,{fontSize:14,noWrap:!0,children:[(0,i.jsx)(er.Z,{style:{marginRight:"0.5rem"}}),(null==t?void 0:t.user_name)||(null==t?void 0:t.user_input)||"undefined"]}),(0,i.jsx)(V.ZP,{color:"neutral",variant:"plain",size:"sm",onClick:n=>{n.preventDefault(),n.stopPropagation(),u.Z.confirm({title:"Delete Chat",content:"Are you sure delete this chat?",width:"276px",centered:!0,async onOk(){await (0,eg.Vx)((0,eg.MX)(t.conv_uid)),await y(),"/chat"===e&&m===t.conv_uid&&r.push("/")}})},className:"del-btn invisible",children:(0,i.jsx)(eo.Z,{})})]})})})},t.conv_uid)})})})})}),(0,i.jsx)("div",{className:"flex flex-col justify-end flex-1",children:(0,i.jsx)(d.Z,{className:"p-2 pt-3 pb-6 border-t border-divider xs:block sticky bottom-0 z-100",children:(0,i.jsxs)(h.Z,{size:"sm",sx:{"--ListItem-radius":"8px"},children:[(0,i.jsx)(N,{nested:!0,children:(0,i.jsx)(h.Z,{size:"sm","aria-labelledby":"nav-list-browse",sx:{"& .JoyListItemButton-root":{p:"8px"}},children:S.map(e=>(0,i.jsx)(c(),{href:e.route,children:(0,i.jsx)(N,{children:(0,i.jsxs)(B.Z,{color:"neutral",sx:{marginBottom:1,height:"2.5rem"},selected:e.active,variant:e.active?"soft":"plain",children:[(0,i.jsx)(Y,{sx:{color:e.active?"inherit":"neutral.500"},children:e.icon}),(0,i.jsx)(W,{children:e.label})]})})},e.route))})}),(0,i.jsx)(N,{children:(0,i.jsxs)(B.Z,{className:"h-10",onClick:E,children:[(0,i.jsx)(Q.Z,{title:"Theme",children:(0,i.jsx)(Y,{children:"dark"===w?(0,i.jsx)(et.Z,{fontSize:"small"}):(0,i.jsx)(en.Z,{fontSize:"small"})})}),(0,i.jsx)(W,{children:t("Theme")})]})}),(0,i.jsx)(N,{children:(0,i.jsxs)(B.Z,{className:"h-10",onClick:()=>{let e="en"===n.language?"zh":"en";n.changeLanguage(e),window.localStorage.setItem("db_gpt_lng",e)},children:[(0,i.jsx)(Q.Z,{title:"Language",children:(0,i.jsx)(Y,{className:"text-2xl",children:(0,i.jsx)(ed.Z,{fontSize:"small"})})}),(0,i.jsx)(W,{children:t("language")})]})}),(0,i.jsx)(N,{children:(0,i.jsxs)(B.Z,{className:"h-10",onClick:()=>{x(!1)},children:[(0,i.jsx)(Q.Z,{title:"Close Sidebar",children:(0,i.jsx)(Y,{className:"text-2xl",children:(0,i.jsx)(ef.Z,{className:"transform rotate-90",fontSize:"small"})})}),(0,i.jsx)(W,{children:t("Close_Sidebar")})]})})]})})})]}):(0,i.jsxs)(d.Z,{className:"h-full py-6 flex flex-col justify-between",children:[(0,i.jsx)(d.Z,{className:"flex justify-center items-center",children:(0,i.jsx)(Q.Z,{title:"Menu",children:(0,i.jsx)(ec.Z,{className:"cursor-pointer text-2xl",onClick:()=>{x(!0)}})})}),(0,i.jsxs)(d.Z,{className:"flex flex-col gap-4 justify-center items-center",children:[S.map((e,t)=>(0,i.jsx)("div",{className:"flex justify-center text-2xl cursor-pointer",children:(0,i.jsx)(Q.Z,{title:e.tooltip,children:e.icon})},"menu_".concat(t))),(0,i.jsx)(N,{children:(0,i.jsx)(B.Z,{onClick:E,children:(0,i.jsx)(Q.Z,{title:"Theme",children:(0,i.jsx)(Y,{className:"text-2xl",children:"dark"===w?(0,i.jsx)(et.Z,{fontSize:"small"}):(0,i.jsx)(en.Z,{fontSize:"small"})})})})}),(0,i.jsx)(N,{children:(0,i.jsx)(B.Z,{onClick:()=>{x(!0)},children:(0,i.jsx)(Q.Z,{title:"Unfold",children:(0,i.jsx)(Y,{className:"text-2xl",children:(0,i.jsx)(ef.Z,{className:"transform rotate-90",fontSize:"small"})})})})})]})]})})})})},ev=n(38629),ey=n(59077),eb=n(9818);let ex=(0,ey.Z)({colorSchemes:{light:{palette:{mode:"dark",primary:{...eb.Z.grey,solidBg:"#e6f4ff",solidColor:"#1677ff",solidHoverBg:"#e6f4ff"},neutral:{plainColor:"#4d4d4d",plainHoverColor:"#131318",plainHoverBg:"#EBEBEF",plainActiveBg:"#D8D8DF",plainDisabledColor:"#B9B9C6"},background:{body:"#fff",surface:"#fff"},text:{primary:"#505050"}}},dark:{palette:{mode:"light",primary:{...eb.Z.grey,softBg:"#353539",softHoverBg:"#35353978",softDisabledBg:"#353539",solidBg:"#51525beb",solidHoverBg:"#51525beb"},neutral:{plainColor:"#D8D8DF",plainHoverColor:"#F7F7F8",plainHoverBg:"#353539",plainActiveBg:"#434356",plainDisabledColor:"#434356",outlinedBorder:"#353539",outlinedHoverBorder:"#454651"},text:{primary:"#EBEBEF"},background:{body:"#212121",surface:"#51525beb"}}}},fontFamily:{body:"Josefin Sans, sans-serif",display:"Josefin Sans, sans-serif"},typography:{display1:{background:"linear-gradient(-30deg, var(--joy-palette-primary-900), var(--joy-palette-primary-400))",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}},zIndex:{modal:1001}});var ew=n(11163),eC=n.n(ew),eS=n(74865),eE=n.n(eS);let ek=0;function eZ(){"loading"!==o&&(o="loading",r=setTimeout(function(){eE().start()},250))}function eO(){ek>0||(o="stop",clearTimeout(r),eE().done())}if(eC().events.on("routeChangeStart",eZ),eC().events.on("routeChangeComplete",eO),eC().events.on("routeChangeError",eO),"function"==typeof(null==window?void 0:window.fetch)){let e=window.fetch;window.fetch=async function(){for(var t=arguments.length,n=Array(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||eP,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),n=0;n{this.observers[e]=this.observers[e]||[],this.observers[e].push(t)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(e=>e!==t)}}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{e(...n)})}if(this.observers["*"]){let t=[].concat(this.observers["*"]);t.forEach(t=>{t.apply(t,[e,...n])})}}}function eT(){let e,t;let n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function eI(e){return null==e?"":""+e}function eL(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}let i="string"!=typeof t?[].concat(t):t.split(".");for(;i.length>1;){if(o())return{};let t=r(i.shift());!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function eF(e,t,n){let{obj:r,k:o}=eL(e,t,Object);r[o]=n}function e_(e,t){let{obj:n,k:r}=eL(e,t);if(n)return n[r]}function eN(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var eB={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function eM(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,e=>eB[e]):e}let ez=[" ",",","?","!",";"];function eD(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];let r=t.split(n),o=e;for(let e=0;ee+i;)i++,l=o[a=r.slice(e,e+i).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(a)){if("string"==typeof l)return l;if(a&&"string"==typeof l[a])return l[a]}let s=r.slice(e+i).join(n);if(s)return eD(l,s,n);return}o=o[r[e]]}return o}function eH(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class eW extends eR{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));let l=e_(this.data,a);return l||!i||"string"!=typeof n?l:eD(this.data&&this.data[e]&&this.data[e][t],n,o)}addResource(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),eF(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let r in n)("string"==typeof n[r]||"[object Array]"===Object.prototype.toString.apply(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let l=e_(this.data,a)||{};r?function e(t,n,r){for(let o in n)"__proto__"!==o&&"constructor"!==o&&(o in t?"string"==typeof t[o]||t[o]instanceof String||"string"==typeof n[o]||n[o]instanceof String?r&&(t[o]=n[o]):e(t[o],n[o],r):t[o]=n[o]);return t}(l,n,o):l={...l,...n},eF(this.data,a,l),i.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e),n=t&&Object.keys(t)||[];return!!n.find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var eU={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,o))}),t}};let eV={};class eq extends eR{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(e,t,n){e.forEach(e=>{t[e]&&(n[e]=t[e])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=eA.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";let r=ez.filter(e=>0>t.indexOf(e)&&0>n.indexOf(e));if(0===r.length)return!0;let o=RegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`),i=!o.test(e);if(!i){let t=e.indexOf(n);t>0&&!o.test(e.substring(0,t))&&(i=!0)}return i}(e,n,r);if(i&&!a){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:o};let i=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),e=i.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:i,namespaces:a}=this.extractFromKey(e[e.length-1],t),l=a[a.length-1],s=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(s&&"cimode"===s.toLowerCase()){if(c){let e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${l}${e}${i}`,usedKey:i,exactUsedKey:i,usedLng:s,usedNS:l}:`${l}${e}${i}`}return r?{res:i,usedKey:i,exactUsedKey:i,usedLng:s,usedNS:l}:i}let u=this.resolve(e,t),f=u&&u.res,d=u&&u.usedKey||i,p=u&&u.exactUsedKey||i,h=Object.prototype.toString.apply(f),g=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject,v="string"!=typeof f&&"boolean"!=typeof f&&"number"!=typeof f;if(m&&f&&v&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(h)&&!("string"==typeof g&&"[object Array]"===h)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(d,f,{...t,ns:a}):`key '${i} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u):e}if(o){let e="[object Array]"===h,n=e?[]:{},r=e?p:d;for(let e in f)if(Object.prototype.hasOwnProperty.call(f,e)){let i=`${r}${o}${e}`;n[e]=this.translate(i,{...t,joinArrays:!1,ns:a}),n[e]===i&&(n[e]=f[e])}f=n}}else if(m&&"string"==typeof g&&"[object Array]"===h)(f=f.join(g))&&(f=this.extendTranslation(f,e,t,n));else{let r=!1,a=!1,c=void 0!==t.count&&"string"!=typeof t.count,d=eq.hasDefaultValue(t),p=c?this.pluralResolver.getSuffix(s,t.count,t):"",h=t.ordinal&&c?this.pluralResolver.getSuffix(s,t.count,{ordinal:!1}):"",g=t[`defaultValue${p}`]||t[`defaultValue${h}`]||t.defaultValue;!this.isValidLookup(f)&&d&&(r=!0,f=g),this.isValidLookup(f)||(a=!0,f=i);let m=t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,v=m&&a?void 0:f,y=d&&g!==f&&this.options.updateMissing;if(a||r||y){if(this.logger.log(y?"updateKey":"missingKey",s,l,i,y?g:f),o){let e=this.resolve(i,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t{let o=d&&r!==f?r:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,n,o,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,n,o,y,t),this.emit("missingKey",e,l,n,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach(e=>{this.pluralResolver.getSuffixes(e,t).forEach(n=>{r([e],i+n,t[`defaultValue${n}`]||g)})}):r(e,i,g))}f=this.extendTranslation(f,e,t,u,n),a&&f===i&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${i}`),(a||r)&&this.options.parseMissingKeyHandler&&(f="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${i}`:i,r?f:void 0):this.options.parseMissingKeyHandler(f))}return r?(u.res=f,u):f}extendTranslation(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){let a;n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let l="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){let t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let s=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language,n),l){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;a1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let l=this.extractFromKey(e,a),s=l.key;n=s;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let u=void 0!==a.count&&"string"!=typeof a.count,f=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),d=void 0!==a.context&&("string"==typeof a.context||"number"==typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach(e=>{this.isValidLookup(t)||(i=e,!eV[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&(eV[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(n=>{let i;if(this.isValidLookup(t))return;o=n;let l=[s];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(l,s,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));let t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(l.push(s+e),a.ordinal&&0===e.indexOf(r)&&l.push(s+e.replace(r,this.options.pluralSeparator)),f&&l.push(s+t)),d){let n=`${s}${this.options.contextSeparator}${a.context}`;l.push(n),u&&(l.push(n+e),a.ordinal&&0===e.indexOf(r)&&l.push(n+e.replace(r,this.options.pluralSeparator)),f&&l.push(n+t))}}for(;i=l.pop();)this.isValidLookup(t)||(r=i,t=this.getResource(n,e,i,a))}))})}),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}static hasDefaultValue(e){let t="defaultValue";for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}function eG(e){return e.charAt(0).toUpperCase()+e.slice(1)}class eK{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=eA.create("languageUtils")}getScriptPartFromCode(e){if(!(e=eH(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=eH(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){let t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(e=>e.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=eG(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=eG(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=eG(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>{if(e===n||!(0>e.indexOf("-")&&0>n.indexOf("-"))&&0===e.indexOf(n))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],o=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),n.forEach(e=>{0>r.indexOf(e)&&o(this.formatLanguageCode(e))}),r}}let eX=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],eJ={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},eY=["v1","v2","v3"],eQ=["v4"],e0={zero:0,one:1,two:2,few:3,many:4,other:5};class e1{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=eA.create("pluralResolver"),(!this.options.compatibilityJSON||eQ.includes(this.options.compatibilityJSON))&&("undefined"==typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){let e={};return eX.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:eJ[t.fc]}})}),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(eH(e),{type:t.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((e,t)=>e0[e]-e0[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):n.numbers.map(n=>this.getSuffix(e,n,t)):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){let n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));let o=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!eY.includes(this.options.compatibilityJSON)}}function e2(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4)||void 0===arguments[4]||arguments[4],i=function(e,t,n){let r=e_(e,n);return void 0!==r?r:e_(t,n)}(e,t,n);return!i&&o&&"string"==typeof n&&void 0===(i=eD(e,n,r))&&(i=eD(t,n,r)),i}class e4{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=eA.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let t=e.interpolation;this.escape=void 0!==t.escape?t.escape:eM,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?eN(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?eN(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?eN(t.nestingPrefix):t.nestingPrefixEscaped||eN("$t("),this.nestingSuffix=t.nestingSuffix?eN(t.nestingSuffix):t.nestingSuffixEscaped||eN(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=`${this.prefix}(.+?)${this.suffix}`;this.regexp=RegExp(e,"g");let t=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=RegExp(t,"g");let n=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=RegExp(n,"g")}interpolate(e,t,n,r){let o,i,a;let l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function s(e){return e.replace(/\$/g,"$$$$")}let c=e=>{if(0>e.indexOf(this.formatSeparator)){let o=e2(t,l,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,n,{...r,...t,interpolationkey:e}):o}let o=e.split(this.formatSeparator),i=o.shift().trim(),a=o.join(this.formatSeparator).trim();return this.format(e2(t,l,i,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:i})};this.resetRegExp();let u=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,d=[{regex:this.regexpUnescape,safeValue:e=>s(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?s(this.escape(e)):s(e)}];return d.forEach(t=>{for(a=0;o=t.regex.exec(e);){let n=o[1].trim();if(void 0===(i=c(n))){if("function"==typeof u){let t=u(e,o,r);i="string"==typeof t?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else if(f){i=o[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),i=""}else"string"==typeof i||this.useRawValueToEscape||(i=eI(i));let l=t.safeValue(i);if(e=e.replace(o[0],l),f?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=this.maxReplaces)break}}),e}nest(e,t){let n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function a(e,t){let n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;let r=e.split(RegExp(`${n}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,o);let a=i.match(/'/g),l=i.match(/"/g);(a&&a.length%2==0&&!l||l.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return delete o.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){let l=[];(o=(o={...i}).replace&&"string"!=typeof o.replace?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let s=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){let e=n[1].split(this.formatSeparator).map(e=>e.trim());n[1]=e.shift(),l=e,s=!0}if((r=t(a.call(this,n[1].trim(),o),o))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=eI(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),s&&(r=l.reduce((e,t)=>this.format(e,t,i.lng,{...i,interpolationkey:n[1].trim()}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}function e5(e){let t={};return function(n,r,o){let i=r+JSON.stringify(o),a=t[i];return a||(a=e(eH(r),o),t[i]=a),a(n)}}class e6{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=eA.create("formatter"),this.options=e,this.formats={number:e5((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:e5((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:e5((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:e5((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:e5((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=e5(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.split(this.formatSeparator),i=o.reduce((e,t)=>{let{formatName:o,formatOptions:i}=function(e){let t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){let r=e.split("(");t=r[0].toLowerCase().trim();let o=r[1].substring(0,r[1].length-1);if("currency"===t&&0>o.indexOf(":"))n.currency||(n.currency=o.trim());else if("relativetime"===t&&0>o.indexOf(":"))n.range||(n.range=o.trim());else{let e=o.split(";");e.forEach(e=>{if(!e)return;let[t,...r]=e.split(":"),o=r.join(":").trim().replace(/^'+|'+$/g,"");n[t.trim()]||(n[t.trim()]=o),"false"===o&&(n[t.trim()]=!1),"true"===o&&(n[t.trim()]=!0),isNaN(o)||(n[t.trim()]=parseInt(o,10))})}}return{formatName:t,formatOptions:n}}(t);if(this.formats[o]){let t=e;try{let a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},l=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[o](e,l,{...i,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${o}`),e},e);return i}}class e3 extends eR{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=eA.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){let o={},i={},a={},l={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===i[a]&&(i[a]=!0):(this.state[a]=1,r=!1,void 0===i[a]&&(i[a]=!0),void 0===o[a]&&(o[a]=!0),void 0===l[t]&&(l[t]=!0)))}),r||(a[e]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(l)}}loaded(e,t,n){let r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;let a={};this.queue.forEach(n=>{(function(e,t,n,r){let{obj:o,k:i}=eL(e,t,Object);o[i]=o[i]||[],r&&(o[i]=o[i].concat(n)),r||o[i].push(n)})(n.loaded,[o],i),void 0!==n.pending[e]&&(delete n.pending[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{a[e]||(a[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:o,callback:i});return}this.readingCalls++;let a=(a,l)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(a&&l&&r{this.read.call(this,e,t,n,r+1,2*o,i)},o);return}i(a,l)},l=this.backend[n].bind(this.backend);if(2===l.length){try{let n=l(e,t);n&&"function"==typeof n.then?n.then(e=>a(null,e)).catch(a):a(null,n)}catch(e){a(e)}return}return l(e,t,a)}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);let o=this.queueLoad(e,t,n,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.split("|"),r=n[0],o=n[1];this.read(r,o,"read",void 0,void 0,(n,i)=>{n&&this.logger.warn(`${t}loading namespace ${o} for language ${r} failed`,n),!n&&i&&this.logger.log(`${t}loaded namespace ${o} for language ${r}`,i),this.loaded(e,n,i)})}saveMissing(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=n&&""!==n){if(this.backend&&this.backend.create){let l={...i,isUpdate:o},s=this.backend.create.bind(this.backend);if(s.length<6)try{let o;(o=5===s.length?s(e,t,n,r,l):s(e,t,n,r))&&"function"==typeof o.then?o.then(e=>a(null,e)).catch(a):a(null,o)}catch(e){a(e)}else s(e,t,n,r,a,l)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}function e8(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:(e,t,n,r)=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function e7(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function e9(){}class te extends eR{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=e7(e),this.services={},this.logger=eA,this.modules={external:[]},!function(e){let t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let r=e8();function o(e){return e?"function"==typeof e?new e:e:null}if(this.options={...r,...this.options,...e7(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?eA.init(o(this.modules.logger),this.options):eA.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=e6);let n=new eK(this.options);this.store=new eW(this.options.resources,this.options);let i=this.services;i.logger=eA,i.resourceStore=this.store,i.languageUtils=n,i.pluralResolver=new e1(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(i.formatter=o(t),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new e4(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new e3(o(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o1?n-1:0),o=1;o{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,n||(n=e9),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let i=eT(),a=()=>{let e=(e,t)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),i}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e9,n=t,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();let e=[],t=t=>{if(!t||"cimode"===t)return;let n=this.services.languageUtils.toResolveHierarchy(t);n.forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};if(r)t(r);else{let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.forEach(e=>t(e))}this.options.preload&&this.options.preload.forEach(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=eT();return e||(e=this.languages),t||(t=this.options.ns),n||(n=e9),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&eU.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;let r=eT();this.emit("languageChanging",e);let o=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(e,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve(function(){return n.t(...arguments)}),t&&t(e,function(){return n.t(...arguments)})},a=t=>{e||t||!this.services.languageDetector||(t=[]);let n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,e=>{i(e,n)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;let o=function(e,t){let i,a;if("object"!=typeof t){for(var l=arguments.length,s=Array(l>2?l-2:0),c=2;c`${i.keyPrefix}${u}${e}`):i.keyPrefix?`${i.keyPrefix}${u}${e}`:e,r.t(a,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let i=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return -1===n||2===n};if(t.precheck){let e=t.precheck(this,i);if(void 0!==e)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(n,e)&&(!r||i(o,e)))}loadNamespaces(e,t){let n=eT();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=eT();"string"==typeof e&&(e=[e]);let r=this.options.preload||[],o=e.filter(e=>0>r.indexOf(e));return o.length?(this.options.preload=r.concat(o),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";let t=this.services&&this.services.languageUtils||new eK(e8());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new te(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e9,n=e.forkResourceStore;n&&delete e.forkResourceStore;let r={...this.options,...e,isClone:!0},o=new te(r);return(void 0!==e.debug||void 0!==e.prefix)&&(o.logger=o.logger.clone(e)),["store","services","language"].forEach(e=>{o[e]=this[e]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n&&(o.store=new eW(this.store.data,r),o.services.resourceStore=o.store),o.translator=new eq(o.services,r),o.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{if((null==o?void 0:o.current)&&r){var e,t,n,i,a,l;null==o||null===(e=o.current)||void 0===e||null===(t=e.classList)||void 0===t||t.add(r),"light"===r?null==o||null===(n=o.current)||void 0===n||null===(i=n.classList)||void 0===i||i.remove("dark"):null==o||null===(a=o.current)||void 0===a||null===(l=a.classList)||void 0===l||l.remove("light")}},[o,r]),(0,a.useEffect)(()=>{n.changeLanguage&&n.changeLanguage(window.localStorage.getItem("db_gpt_lng")||"en")},[n]),(0,i.jsxs)("div",{ref:o,children:[(0,i.jsx)(e$,{}),(0,i.jsx)(eh.R,{children:t})]})}function tr(e){let{children:t}=e,{isMenuExpand:n}=(0,a.useContext)(eh.p);return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"flex w-screen h-screen overflow-hidden",children:[(0,i.jsx)("div",{className:es()("transition-[width]",n?"w-[240px]":"w-[60px]","hidden","md:block"),children:(0,i.jsx)(em,{})}),(0,i.jsx)("div",{className:"flex flex-col flex-1 relative overflow-hidden",children:t})]})})}tt.createInstance=te.createInstance,tt.createInstance,tt.dir,tt.init,tt.loadResources,tt.reloadResources,tt.use,tt.changeLanguage,tt.getFixedT,tt.t,tt.exists,tt.setDefaultNamespace,tt.hasLoadedNamespace,tt.loadNamespaces,tt.loadLanguages,tt.use(ep.Db).init({resources:{en:{translation:{Knowledge_Space:"Knowledge Space",space:"space",Vector:"Vector",Owner:"Owner",Docs:"Docs",Knowledge_Space_Config:"Knowledge Space Config",Choose_a_Datasource_type:"Choose a Datasource type",Setup_the_Datasource:"Setup the Datasource",Knowledge_Space_Name:"Knowledge Space Name",Please_input_the_name:"Please input the name",Please_input_the_owner:"Please input the owner",Description:"Description",Please_input_the_description:"Please input the description",Next:"Next",the_name_can_only_contain:'the name can only contain numbers, letters, Chinese characters, "-" and "_"',Text:"Text","Fill your raw text":"Fill your raw text",URL:"URL",Fetch_the_content_of_a_URL:"Fetch the content of a URL",Document:"Document",Upload_a_document:"Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown",Name:"Name",Text_Source:"Text Source(Optional)",Please_input_the_text_source:"Please input the text source",Synch:"Synch",Back:"Back",Finish:"Finish",Web_Page_URL:"Web Page URL",Please_input_the_Web_Page_URL:"Please input the Web Page URL",Select_or_Drop_file:"Select or Drop file",Documents:"Documents",Chat:"Chat",Add_Datasource:"Add Datasource",Arguments:"Arguments",Type:"Type",Size:"Size",Last_Synch:"Last Synch",Status:"Status",Result:"Result",Details:"Details",Delete:"Delete",Operation:"Operation",Submit:"Submit",Chunks:"Chunks",Content:"Content",Meta_Data:"Meta Data",Please_select_a_file:"Please select a file",Please_input_the_text:"Please input the text",Embedding:"Embedding",topk:"topk",the_top_k_vectors:"the top k vectors based on similarity score",recall_score:"recall_score",Set_a_threshold_score:"Set a threshold score for the retrieval of similar vectors",recall_type:"recall_type",Recall_Type:"recall type",model:"model",A_model_used:"A model used to create vector representations of text or other data",chunk_size:"chunk_size",The_size_of_the_data_chunks:"The size of the data chunks used in processing",chunk_overlap:"chunk_overlap",The_amount_of_overlap:"The amount of overlap between adjacent data chunks",Prompt:"Prompt",scene:"scene",A_contextual_parameter:"A contextual parameter used to define the setting or environment in which the prompt is being used",template:"template",structure_or_format:"A pre-defined structure or format for the prompt, which can help ensure that the AI system generates responses that are consistent with the desired style or tone.",max_token:"max_token",The_maximum_number_of_tokens:"The maximum number of tokens or words allowed in a prompt",Theme:"Theme",Port:"Port",Username:"Username",Password:"Password",Remark:"Remark",Edit:"Edit",Database:"Database",Data_Source:"Data Source",Close_Sidebar:"Fold",language:"Language",choose_model:"Please choose a model"}},zh:{translation:{Knowledge_Space:"知识库",space:"知识库",Vector:"向量",Owner:"创建人",Docs:"文档数",Knowledge_Space_Config:"知识库配置",Choose_a_Datasource_type:"选择数据源类型",Setup_the_Datasource:"设置数据源",Knowledge_Space_Name:"知识库名称",Please_input_the_name:"请输入名称",Please_input_the_owner:"请输入创建人",Description:"描述",Please_input_the_description:"请输入描述",Next:"下一步",the_name_can_only_contain:"名称只能包含数字、字母、中文字符、-或_",Text:"文本","Fill your raw text":"填写您的原始文本",URL:"网址",Fetch_the_content_of_a_URL:"获取 URL 的内容",Document:"文档",Upload_a_document:"上传文档,文档类型可以是PDF、CSV、Text、PowerPoint、Word、Markdown",Name:"名称",Text_Source:"文本来源(可选)",Please_input_the_text_source:"请输入文本来源",Synch:"同步",Back:"上一步",Finish:"完成",Web_Page_URL:"网页网址",Please_input_the_Web_Page_URL:"请输入网页网址",Select_or_Drop_file:"选择或拖拽文件",Documents:"文档",Chat:"对话",Add_Datasource:"添加数据源",Arguments:"参数",Type:"类型",Size:"切片",Last_Synch:"上次同步时间",Status:"状态",Result:"结果",Details:"明细",Delete:"删除",Operation:"操作",Submit:"提交",Chunks:"切片",Content:"内容",Meta_Data:"元数据",Please_select_a_file:"请上传一个文件",Please_input_the_text:"请输入文本",Embedding:"嵌入",topk:"球",the_top_k_vectors:"基于相似度得分的前 k 个向量",recall_score:"召回分数",Set_a_threshold_score:"设置相似向量检索的阈值分数",recall_type:"回忆类型",Recall_Type:"回忆类型",model:"模型",A_model_used:"用于创建文本或其他数据的矢量表示的模型",chunk_size:"块大小",The_size_of_the_data_chunks:"处理中使用的数据块的大小",chunk_overlap:"块重叠",The_amount_of_overlap:"相邻数据块之间的重叠量",Prompt:"迅速的",scene:"场景",A_contextual_parameter:"用于定义使用提示的设置或环境的上下文参数",template:"模板",structure_or_format:"预定义的提示结构或格式,有助于确保人工智能系统生成与所需风格或语气一致的响应。",max_token:"最大令牌",The_maximum_number_of_tokens:"提示中允许的最大标记或单词数",Theme:"主题",Port:"端口",Username:"用户名",Password:"密码",Remark:"备注",Edit:"编辑",Database:"数据库",Data_Source:"数据源",Close_Sidebar:"收起",language:"语言",choose_model:"请选择一个模型"}}},lng:"en",interpolation:{escapeValue:!1}});var to=function(e){let{Component:t,pageProps:n}=e;return(0,i.jsx)(ev.Z,{theme:ex,children:(0,i.jsx)(f.lL,{theme:ex,defaultMode:"light",children:(0,i.jsx)(tn,{children:(0,i.jsx)(tr,{children:(0,i.jsx)(t,{...n})})})})})}},21876:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,i=s(e),a=i[0],l=i[1],c=new o((a+l)*3/4-l),u=0,f=l>0?a-4:a;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,l=r-o;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}(e,a,a+16383>l?l:a+16383));return 1===o?i.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===o&&i.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},72:function(e,t,n){"use strict";/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */var r=n(675),o=n(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return s(e,t,n)}function s(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!l.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|p(e,t),r=a(n),o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return f(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(P(e,ArrayBuffer)||e&&P(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(P(e,SharedArrayBuffer)||e&&P(e.buffer,SharedArrayBuffer)))return function(e,t,n){var r;if(t<0||e.byteLength=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||P(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return O(e).length;default:if(o)return r?-1:k(e).length;t=(""+t).toLowerCase(),o=!0}}function h(e,t,n){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(i=n=+n)!=i&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return -1;n=e.length-1}else if(n<0){if(!o)return -1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){var i,a=1,l=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,l/=2,s/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;il&&(n=l-s),i=n;i>=0;i--){for(var f=!0,d=0;d239?4:c>223?3:c>191?2:1;if(o+f<=n)switch(f){case 1:c<128&&(u=c);break;case 2:(192&(i=e[o+1]))==128&&(s=(31&c)<<6|63&i)>127&&(u=s);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(s=(15&c)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(u=s);break;case 4:i=e[o+1],a=e[o+2],l=e[o+3],(192&i)==128&&(192&a)==128&&(192&l)==128&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&l)>65535&&s<1114112&&(u=s)}null===u?(u=65533,f=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rn)throw RangeError("Trying to access beyond buffer length")}function x(e,t,n,r,o,i){if(!l.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function w(e,t,n,r,o,i){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function C(e,t,n,r,i){return t=+t,n>>>=0,i||w(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function S(e,t,n,r,i){return t=+t,n>>>=0,i||w(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return s(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return(c(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},l.allocUnsafe=function(e){return u(e)},l.allocUnsafeSlow=function(e){return u(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(P(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),P(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);on&&(e+=" ... "),""},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,o){if(P(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,a=n-t,s=Math.min(i,a),c=this.slice(r,o),u=e.slice(t,n),f=0;f>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,l,s,c,u,f,d,p,h,g,m=this.length-t;if((void 0===n||n>m)&&(n=m),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var v=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a>8,o.push(n%256),o.push(r);return o}(e,this.length-h),this,h,g);default:if(v)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),v=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e],o=1,i=0;++i>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;x(this,e,t,n,o,0)}var i=1,a=0;for(this[t]=255&e;++a>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;x(this,e,t,n,o,0)}var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);x(this,e,t,n,o-1,-o)}var i=0,a=1,l=0;for(this[t]=255&e;++i>0)-l&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);x(this,e,t,n,o-1,-o)}var i=n-1,a=1,l=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===l&&0!==this[t+i+1]&&(l=1),this[t+i]=(e/a>>0)-l&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,n){return C(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return C(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return S(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return S(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return o},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!o){if(n>56319||a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return i}function Z(e){for(var t=[],n=0;n=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function P(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var j=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},783:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,n,r,o){var i,a,l=8*o-r-1,s=(1<>1,u=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-u)-1,p>>=-u,u+=l;u>0;i=256*i+e[t+f],f+=d,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+f],f+=d,u-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:(p?-1:1)*(1/0);a+=Math.pow(2,r),i-=c}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,l,s,c=8*i-o-1,u=(1<>1,d=23===o?5960464477539062e-23:0,p=r?0:i-1,h=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(l=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),a+f>=1?t+=d/s:t+=d*Math.pow(2,1-f),t*s>=2&&(a++,s/=2),a+f>=u?(l=0,a=u):a+f>=1?(l=(t*s-1)*Math.pow(2,o),a+=f):(l=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&l,p+=h,l/=256,o-=8);for(a=a<0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*g}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(72);e.exports=o}()},90833:function(){},80864:function(){},77663:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s=[],c=!1,u=-1;function f(){c&&r&&(c=!1,r.length?s=r.concat(s):u=-1,s.length&&d())}function d(){if(!c){var e=l(f);c=!0;for(var t=s.length;t;){for(r=s,s=[];++u1)for(var n=1;n
      '};function i(e,t,n){return en?n:e}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(o[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();e=i(e,o.minimum,1),r.status=1===e?null:e;var n=r.render(!t),s=n.querySelector(o.barSelector),c=o.speed,u=o.easing;return n.offsetWidth,a(function(t){var i,a;""===o.positionUsing&&(o.positionUsing=r.getPositioningCSS()),l(s,(i=e,(a="translate3d"===o.positionUsing?{transform:"translate3d("+(-1+i)*100+"%,0,0)"}:"translate"===o.positionUsing?{transform:"translate("+(-1+i)*100+"%,0)"}:{"margin-left":(-1+i)*100+"%"}).transition="all "+c+"ms "+u,a)),1===e?(l(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){l(n,{transition:"all "+c+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},c)},c)):setTimeout(t,c)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},o.trickleSpeed)};return o.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*i(Math.random()*t,.1,.95)),t=i(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*o.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()&&(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=o.template;var n,i,a=t.querySelector(o.barSelector),s=e?"-100":(-1+(r.status||0))*100,u=document.querySelector(o.parent);return l(a,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),!o.showSpinner&&(i=t.querySelector(o.spinnerSelector))&&d(i),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},r.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(o.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective" in e?"translate3d":t+"Transform" in e?"translate":"margin"};var a=(n=[],function(e){n.push(e),1==n.length&&function e(){var t=n.shift();t&&t(e)}()}),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,o){var i;r=t[i=(i=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[i]=function(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+i)in n)return r;return t}(i)),n.style[r]=o}return function(e,t){var r,o,i=arguments;if(2==i.length)for(r in t)void 0!==(o=t[r])&&t.hasOwnProperty(r)&&n(e,r,o);else n(e,i[1],i[2])}}();function s(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function u(e,t){var n,r=f(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r})?r.call(t,n,t,e):r)&&(e.exports=o)},43589:function(e,t,n){"use strict";n.d(t,{gN:function(){return em},zb:function(){return C},RV:function(){return eZ},aV:function(){return ev},ZM:function(){return S},ZP:function(){return eR},cI:function(){return eE},qo:function(){return ej}});var r,o=n(67294),i=n(87462),a=n(45987),l=n(74165),s=n(15861),c=n(1413),u=n(74902),f=n(15671),d=n(43144),p=n(97326),h=n(32531),g=n(73568),m=n(4942),v=n(50344),y=n(91881),b=n(80334),x="RC_FORM_INTERNAL_HOOKS",w=function(){(0,b.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},C=o.createContext({getFieldValue:w,getFieldsValue:w,getFieldError:w,getFieldWarning:w,getFieldsError:w,isFieldsTouched:w,isFieldTouched:w,isFieldValidating:w,isFieldsValidating:w,resetFields:w,setFields:w,setFieldValue:w,setFieldsValue:w,validateFields:w,submit:w,getInternalHooks:function(){return w(),{dispatch:w,initEntityValue:w,registerField:w,useSubscribe:w,setInitialValues:w,destroyForm:w,setCallbacks:w,registerWatch:w,getFields:w,setValidateMessages:w,setPreserve:w,getInitialValue:w}}}),S=o.createContext(null);function E(e){return null==e?[]:Array.isArray(e)?e:[e]}var k=n(83454);function Z(){return(Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(e){return"[Circular]"}break;default:return e}}):e}function I(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length)||("string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t)&&"string"==typeof e&&!e}function L(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length){n(a);return}var l=r;r+=1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},D={integer:function(e){return D.number(e)&&parseInt(e,10)===e},float:function(e){return D.number(e)&&!D.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return new RegExp(e),!0}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!D.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(z.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(M())},hex:function(e){return"string"==typeof e&&!!e.match(z.hex)}},H="enum",W={required:B,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(T(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t){B(e,t,n,r,o);return}var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?D[i](t)||r.push(T(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(T(o.messages.types[i],e.fullField,e.type))},range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,l="number"==typeof e.max,s=t,c=null,u="number"==typeof t,f="string"==typeof t,d=Array.isArray(t);if(u?c="number":f?c="string":d&&(c="array"),!c)return!1;d&&(s=t.length),f&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?s!==e.len&&r.push(T(o.messages[c].len,e.fullField,e.len)):a&&!l&&se.max?r.push(T(o.messages[c].max,e.fullField,e.max)):a&&l&&(se.max)&&r.push(T(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[H]=Array.isArray(e[H])?e[H]:[],-1===e[H].indexOf(t)&&r.push(T(o.messages[H],e.fullField,e[H].join(", ")))},pattern:function(e,t,n,r,o){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(T(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||new RegExp(e.pattern).test(t)||r.push(T(o.messages.pattern.mismatch,e.fullField,t,e.pattern)))}},U=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(I(t,i)&&!e.required)return n();W.required(e,t,r,a,o,i),I(t,i)||W.type(e,t,r,a,o)}n(a)},V={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(I(t,"string")&&!e.required)return n();W.required(e,t,r,i,o,"string"),I(t,"string")||(W.type(e,t,r,i,o),W.range(e,t,r,i,o),W.pattern(e,t,r,i,o),!0===e.whitespace&&W.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(I(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&W.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),I(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&(W.type(e,t,r,i,o),W.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(I(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&W.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(I(t)&&!e.required)return n();W.required(e,t,r,i,o),I(t)||W.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(I(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&(W.type(e,t,r,i,o),W.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(I(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&(W.type(e,t,r,i,o),W.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();W.required(e,t,r,i,o,"array"),null!=t&&(W.type(e,t,r,i,o),W.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(I(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&W.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(I(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&W.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(I(t,"string")&&!e.required)return n();W.required(e,t,r,i,o),I(t,"string")||W.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(I(t,"date")&&!e.required)return n();W.required(e,t,r,a,o),!I(t,"date")&&(i=t instanceof Date?t:new Date(t),W.type(e,i,r,a,o),i&&W.range(e,i.getTime(),r,a,o))}n(a)},url:U,hex:U,email:U,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;W.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(I(t)&&!e.required)return n();W.required(e,t,r,i,o)}n(i)}};function q(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var G=q(),K=function(){function e(e){this.rules=null,this._messages=G,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})},t.messages=function(e){return e&&(this._messages=N(q(),e)),this._messages},t.validate=function(t,n,r){var o=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var i=t,a=n,l=r;if("function"==typeof a&&(l=a,a={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,i),Promise.resolve(i);if(a.messages){var s=this.messages();s===G&&(s=q()),N(s,a.messages),a.messages=s}else a.messages=this.messages();var c={};(a.keys||Object.keys(this.rules)).forEach(function(e){var n=o.rules[e],r=i[e];n.forEach(function(n){var a=n;"function"==typeof a.transform&&(i===t&&(i=Z({},i)),r=i[e]=a.transform(r)),(a="function"==typeof a?{validator:a}:Z({},a)).validator=o.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=o.getType(a),c[e]=c[e]||[],c[e].push({rule:a,value:r,source:i,field:e}))})});var u={};return function(e,t,n,r,o){if(t.first){var i=new Promise(function(t,i){var a;L((a=[],Object.keys(e).forEach(function(t){a.push.apply(a,e[t]||[])}),a),n,function(e){return r(e),e.length?i(new F(e,R(e))):t(o)})});return i.catch(function(e){return e}),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],l=Object.keys(e),s=l.length,c=0,u=[],f=new Promise(function(t,i){var f=function(e){if(u.push.apply(u,e),++c===s)return r(u),u.length?i(new F(u,R(u))):t(o)};l.length||(r(u),t(o)),l.forEach(function(t){var r=e[t];-1!==a.indexOf(t)?L(r,n,f):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,e||[]),++o===i&&n(r)}e.forEach(function(e){t(e,a)})}(r,n,f)})});return f.catch(function(e){return e}),f}(c,a,function(t,n){var r,o=t.rule,l=("object"===o.type||"array"===o.type)&&("object"==typeof o.fields||"object"==typeof o.defaultField);function s(e,t){return Z({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function c(r){void 0===r&&(r=[]);var c=Array.isArray(r)?r:[r];!a.suppressWarning&&c.length&&e.warning("async-validator:",c),c.length&&void 0!==o.message&&(c=[].concat(o.message));var f=c.map(_(o,i));if(a.first&&f.length)return u[o.field]=1,n(f);if(l){if(o.required&&!t.value)return void 0!==o.message?f=[].concat(o.message).map(_(o,i)):a.error&&(f=[a.error(o,T(a.messages.required,o.field))]),n(f);var d={};o.defaultField&&Object.keys(t.value).map(function(e){d[e]=o.defaultField});var p={};Object.keys(d=Z({},d,t.rule.fields)).forEach(function(e){var t=d[e],n=Array.isArray(t)?t:[t];p[e]=n.map(s.bind(null,e))});var h=new e(p);h.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),h.validate(t.value,t.rule.options||a,function(e){var t=[];f&&f.length&&t.push.apply(t,f),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)})}else n(f)}if(l=l&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)r=o.asyncValidator(o,t.value,c,t.source,a);else if(o.validator){try{r=o.validator(o,t.value,c,t.source,a)}catch(e){null==console.error||console.error(e),a.suppressValidatorError||setTimeout(function(){throw e},0),c(e.message)}!0===r?c():!1===r?c("function"==typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):r instanceof Array?c(r):r instanceof Error&&c(r.message)}r&&r.then&&r.then(function(){return c()},function(e){return c(e)})},function(e){!function(e){for(var t=[],n={},r=0;r2&&void 0!==arguments[2]&&arguments[2];return e&&e.some(function(e){return ec(t,e,n)})}function ec(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&!!t&&(!!n||e.length===t.length)&&t.every(function(t,n){return e[n]===t})}function eu(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,eo.Z)(t.target)&&e in t.target?t.target[e]:t}function ef(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,u.Z)(e.slice(0,n)),[o],(0,u.Z)(e.slice(n,t)),(0,u.Z)(e.slice(t+1,r))):i<0?[].concat((0,u.Z)(e.slice(0,t)),(0,u.Z)(e.slice(t+1,n+1)),[o],(0,u.Z)(e.slice(n+1,r))):e}var ed=["name"],ep=[];function eh(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var eg=function(e){(0,h.Z)(n,e);var t=(0,g.Z)(n);function n(e){var r;return(0,f.Z)(this,n),r=t.call(this,e),(0,m.Z)((0,p.Z)(r),"state",{resetCount:0}),(0,m.Z)((0,p.Z)(r),"cancelRegisterFunc",null),(0,m.Z)((0,p.Z)(r),"mounted",!1),(0,m.Z)((0,p.Z)(r),"touched",!1),(0,m.Z)((0,p.Z)(r),"dirty",!1),(0,m.Z)((0,p.Z)(r),"validatePromise",void 0),(0,m.Z)((0,p.Z)(r),"prevValidating",void 0),(0,m.Z)((0,p.Z)(r),"errors",ep),(0,m.Z)((0,p.Z)(r),"warnings",ep),(0,m.Z)((0,p.Z)(r),"cancelRegister",function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,ea(o)),r.cancelRegisterFunc=null}),(0,m.Z)((0,p.Z)(r),"getNamePath",function(){var e=r.props,t=e.name,n=e.fieldContext.prefixName,o=void 0===n?[]:n;return void 0!==t?[].concat((0,u.Z)(o),(0,u.Z)(t)):[]}),(0,m.Z)((0,p.Z)(r),"getRules",function(){var e=r.props,t=e.rules,n=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(n):e})}),(0,m.Z)((0,p.Z)(r),"refresh",function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})}),(0,m.Z)((0,p.Z)(r),"metaCache",null),(0,m.Z)((0,p.Z)(r),"triggerMetaEvent",function(e){var t=r.props.onMetaChange;if(t){var n=(0,c.Z)((0,c.Z)({},r.getMeta()),{},{destroy:e});(0,y.Z)(r.metaCache,n)||t(n),r.metaCache=n}else r.metaCache=null}),(0,m.Z)((0,p.Z)(r),"onStoreChange",function(e,t,n){var o=r.props,i=o.shouldUpdate,a=o.dependencies,l=void 0===a?[]:a,s=o.onReset,c=n.store,u=r.getNamePath(),f=r.getValue(e),d=r.getValue(c),p=t&&es(t,u);switch("valueUpdate"===n.type&&"external"===n.source&&f!==d&&(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=ep,r.warnings=ep,r.triggerMetaEvent()),n.type){case"reset":if(!t||p){r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=ep,r.warnings=ep,r.triggerMetaEvent(),null==s||s(),r.refresh();return}break;case"remove":if(i){r.reRender();return}break;case"setField":if(p){var h=n.data;"touched"in h&&(r.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(r.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(r.errors=h.errors||ep),"warnings"in h&&(r.warnings=h.warnings||ep),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if(i&&!u.length&&eh(i,e,c,f,d,n)){r.reRender();return}break;case"dependenciesUpdate":if(l.map(ea).some(function(e){return es(n.relatedFields,e)})){r.reRender();return}break;default:if(p||(!l.length||u.length||i)&&eh(i,e,c,f,d,n)){r.reRender();return}}!0===i&&r.reRender()}),(0,m.Z)((0,p.Z)(r),"validateRules",function(e){var t=r.getNamePath(),n=r.getValue(),o=e||{},i=o.triggerName,a=o.validateOnly,f=Promise.resolve().then((0,s.Z)((0,l.Z)().mark(function o(){var a,d,p,h,g,m,v;return(0,l.Z)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(r.mounted){o.next=2;break}return o.abrupt("return",[]);case 2:if(p=void 0!==(d=(a=r.props).validateFirst)&&d,h=a.messageVariables,g=a.validateDebounce,m=r.getRules(),i&&(m=m.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||E(t).includes(i)})),!(g&&i)){o.next=10;break}return o.next=8,new Promise(function(e){setTimeout(e,g)});case 8:if(!(r.validatePromise!==f)){o.next=10;break}return o.abrupt("return",[]);case 10:return(v=function(e,t,n,r,o,i){var a,u,f=e.join("."),d=n.map(function(e,t){var n=e.validator,r=(0,c.Z)((0,c.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:ep;if(r.validatePromise===f){r.validatePromise=null;var t,n=[],o=[];null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,r=e.errors,i=void 0===r?ep:r;t?o.push.apply(o,(0,u.Z)(i)):n.push.apply(n,(0,u.Z)(i))}),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender()}}),o.abrupt("return",v);case 13:case"end":return o.stop()}},o)})));return void 0!==a&&a||(r.validatePromise=f,r.dirty=!0,r.errors=ep,r.warnings=ep,r.triggerMetaEvent(),r.reRender()),f}),(0,m.Z)((0,p.Z)(r),"isFieldValidating",function(){return!!r.validatePromise}),(0,m.Z)((0,p.Z)(r),"isFieldTouched",function(){return r.touched}),(0,m.Z)((0,p.Z)(r),"isFieldDirty",function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(x).getInitialValue)(r.getNamePath())}),(0,m.Z)((0,p.Z)(r),"getErrors",function(){return r.errors}),(0,m.Z)((0,p.Z)(r),"getWarnings",function(){return r.warnings}),(0,m.Z)((0,p.Z)(r),"isListField",function(){return r.props.isListField}),(0,m.Z)((0,p.Z)(r),"isList",function(){return r.props.isList}),(0,m.Z)((0,p.Z)(r),"isPreserve",function(){return r.props.preserve}),(0,m.Z)((0,p.Z)(r),"getMeta",function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}}),(0,m.Z)((0,p.Z)(r),"getOnlyChild",function(e){if("function"==typeof e){var t=r.getMeta();return(0,c.Z)((0,c.Z)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=(0,v.Z)(e);return 1===n.length&&o.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}}),(0,m.Z)((0,p.Z)(r),"getValue",function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return(0,ei.Z)(e||t(!0),n)}),(0,m.Z)((0,p.Z)(r),"getControlled",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.trigger,o=t.validateTrigger,i=t.getValueFromEvent,a=t.normalize,l=t.valuePropName,s=t.getValueProps,u=t.fieldContext,f=void 0!==o?o:u.validateTrigger,d=r.getNamePath(),p=u.getInternalHooks,h=u.getFieldsValue,g=p(x).dispatch,v=r.getValue(),y=s||function(e){return(0,m.Z)({},l,e)},b=e[n],w=(0,c.Z)((0,c.Z)({},e),y(v));return w[n]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var e,t=arguments.length,n=Array(t),o=0;o=0&&t<=n.length?(d.keys=[].concat((0,u.Z)(d.keys.slice(0,t)),[d.id],(0,u.Z)(d.keys.slice(t))),o([].concat((0,u.Z)(n.slice(0,t)),[e],(0,u.Z)(n.slice(t))))):(d.keys=[].concat((0,u.Z)(d.keys),[d.id]),o([].concat((0,u.Z)(n),[e]))),d.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(d.keys=d.keys.filter(function(e,t){return!n.has(t)}),o(t.filter(function(e,t){return!n.has(t)})))},move:function(e,t){if(e!==t){var n=a();e<0||e>=n.length||t<0||t>=n.length||(d.keys=ef(d.keys,e,t),o(ef(n,e,t)))}}},t)})))},ey=n(97685),eb="__@field_split__";function ex(e){return e.map(function(e){return"".concat((0,eo.Z)(e),":").concat(e)}).join(eb)}var ew=function(){function e(){(0,f.Z)(this,e),(0,m.Z)(this,"kvs",new Map)}return(0,d.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(ex(e),t)}},{key:"get",value:function(e){return this.kvs.get(ex(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(ex(e))}},{key:"map",value:function(e){return(0,u.Z)(this.kvs.entries()).map(function(t){var n=(0,ey.Z)(t,2),r=n[0],o=n[1];return e({key:r.split(eb).map(function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,ey.Z)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o}),value:o})})}},{key:"toJSON",value:function(){var e={};return this.map(function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null}),e}}]),e}(),eC=["name"],eS=(0,d.Z)(function e(t){var n=this;(0,f.Z)(this,e),(0,m.Z)(this,"formHooked",!1),(0,m.Z)(this,"forceRootUpdate",void 0),(0,m.Z)(this,"subscribable",!0),(0,m.Z)(this,"store",{}),(0,m.Z)(this,"fieldEntities",[]),(0,m.Z)(this,"initialValues",{}),(0,m.Z)(this,"callbacks",{}),(0,m.Z)(this,"validateMessages",null),(0,m.Z)(this,"preserve",null),(0,m.Z)(this,"lastValidatePromise",null),(0,m.Z)(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),(0,m.Z)(this,"getInternalHooks",function(e){return e===x?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):((0,b.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,m.Z)(this,"useSubscribe",function(e){n.subscribable=e}),(0,m.Z)(this,"prevWithoutPreserves",null),(0,m.Z)(this,"setInitialValues",function(e,t){if(n.initialValues=e||{},t){var r,o=(0,Y.T)(e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map(function(t){var n=t.key;o=(0,Y.Z)(o,n,(0,ei.Z)(e,n))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),(0,m.Z)(this,"destroyForm",function(){var e=new ew;n.getFieldEntities(!0).forEach(function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)}),n.prevWithoutPreserves=e}),(0,m.Z)(this,"getInitialValue",function(e){var t=(0,ei.Z)(n.initialValues,e);return e.length?(0,Y.T)(t):t}),(0,m.Z)(this,"setCallbacks",function(e){n.callbacks=e}),(0,m.Z)(this,"setValidateMessages",function(e){n.validateMessages=e}),(0,m.Z)(this,"setPreserve",function(e){n.preserve=e}),(0,m.Z)(this,"watchList",[]),(0,m.Z)(this,"registerWatch",function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter(function(t){return t!==e})}}),(0,m.Z)(this,"notifyWatch",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach(function(n){n(t,r,e)})}}),(0,m.Z)(this,"timeoutId",null),(0,m.Z)(this,"warningUnhooked",function(){}),(0,m.Z)(this,"updateStore",function(e){n.store=e}),(0,m.Z)(this,"getFieldEntities",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter(function(e){return e.getNamePath().length}):n.fieldEntities}),(0,m.Z)(this,"getFieldsMap",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new ew;return n.getFieldEntities(e).forEach(function(e){var n=e.getNamePath();t.set(n,e)}),t}),(0,m.Z)(this,"getFieldEntitiesForNamePathList",function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map(function(e){var n=ea(e);return t.get(n)||{INVALIDATE_NAME_PATH:ea(e)}})}),(0,m.Z)(this,"getFieldsValue",function(e,t){if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===(0,eo.Z)(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var r,o,i,a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),l=[];return a.forEach(function(e){var t,n,a,s="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=e.isList)&&void 0!==a&&a.call(e))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;o?o("getMeta"in e?e.getMeta():null)&&l.push(s):l.push(s)}),el(n.store,l.map(ea))}),(0,m.Z)(this,"getFieldValue",function(e){n.warningUnhooked();var t=ea(e);return(0,ei.Z)(n.store,t)}),(0,m.Z)(this,"getFieldsError",function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map(function(t,n){return!t||"INVALIDATE_NAME_PATH"in t?{name:ea(e[n]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})}),(0,m.Z)(this,"getFieldError",function(e){n.warningUnhooked();var t=ea(e);return n.getFieldsError([t])[0].errors}),(0,m.Z)(this,"getFieldWarning",function(e){n.warningUnhooked();var t=ea(e);return n.getFieldsError([t])[0].warnings}),(0,m.Z)(this,"isFieldsTouched",function(){n.warningUnhooked();for(var e,t=arguments.length,r=Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},r=new ew,o=n.getFieldEntities(!0);o.forEach(function(e){var t=e.props.initialValue,n=e.getNamePath();if(void 0!==t){var o=r.get(n)||new Set;o.add({entity:e,value:t}),r.set(n,o)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var n,o=r.get(t);o&&(n=e).push.apply(n,(0,u.Z)((0,u.Z)(o).map(function(e){return e.entity})))})):e=o,function(e){e.forEach(function(e){if(void 0!==e.props.initialValue){var o=e.getNamePath();if(void 0!==n.getInitialValue(o))(0,b.ZP)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=r.get(o);if(i&&i.size>1)(0,b.ZP)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);t.skipExist&&void 0!==a||n.updateStore((0,Y.Z)(n.store,o,(0,u.Z)(i)[0].value))}}}})}(e)}),(0,m.Z)(this,"resetFields",function(e){n.warningUnhooked();var t=n.store;if(!e){n.updateStore((0,Y.T)(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),n.notifyWatch();return}var r=e.map(ea);r.forEach(function(e){var t=n.getInitialValue(e);n.updateStore((0,Y.Z)(n.store,e,t))}),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)}),(0,m.Z)(this,"setFields",function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach(function(e){var o=e.name,i=(0,a.Z)(e,eC),l=ea(o);r.push(l),"value"in i&&n.updateStore((0,Y.Z)(n.store,l,i.value)),n.notifyObservers(t,[l],{type:"setField",data:e})}),n.notifyWatch(r)}),(0,m.Z)(this,"getFields",function(){return n.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,c.Z)((0,c.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o})}),(0,m.Z)(this,"initEntityValue",function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,ei.Z)(n.store,r)&&n.updateStore((0,Y.Z)(n.store,r,t))}}),(0,m.Z)(this,"isMergedPreserve",function(e){var t=void 0!==e?e:n.preserve;return null==t||t}),(0,m.Z)(this,"registerField",function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(t){return t!==e}),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every(function(e){return!ec(e.getNamePath(),t)})){var l=n.store;n.updateStore((0,Y.Z)(l,t,a,!0)),n.notifyObservers(l,[t],{type:"remove"}),n.triggerDependenciesUpdate(l,t)}}n.notifyWatch([t])}}),(0,m.Z)(this,"dispatch",function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}}),(0,m.Z)(this,"notifyObservers",function(e,t,r){if(n.subscribable){var o=(0,c.Z)((0,c.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(n){(0,n.onStoreChange)(e,t,o)})}else n.forceRootUpdate()}),(0,m.Z)(this,"triggerDependenciesUpdate",function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,u.Z)(r))}),r}),(0,m.Z)(this,"updateValue",function(e,t){var r=ea(e),o=n.store;n.updateStore((0,Y.Z)(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(el(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat((0,u.Z)(i)))}),(0,m.Z)(this,"setFieldsValue",function(e){n.warningUnhooked();var t=n.store;if(e){var r=(0,Y.T)(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),(0,m.Z)(this,"setFieldValue",function(e,t){n.setFields([{name:e,value:t}])}),(0,m.Z)(this,"getDependencyChildrenFields",function(e){var t=new Set,r=[],o=new ew;return n.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var n=ea(t);o.update(n,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),function e(n){(o.get(n)||new Set).forEach(function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}})}(e),r}),(0,m.Z)(this,"triggerOnFieldsChange",function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new ew;t.forEach(function(e){var t=e.name,n=e.errors;i.set(t,n)}),o.forEach(function(e){e.errors=i.get(e.name)||e.errors})}var a=o.filter(function(t){return es(e,t.name)});a.length&&r(a,o)}}),(0,m.Z)(this,"validateFields",function(e,t){n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(l=e,s=t):s=e;var r,o,i,a,l,s,f=!!l,d=f?l.map(ea):[],p=[],h=String(Date.now()),g=new Set,m=null===(a=s)||void 0===a?void 0:a.recursive;n.getFieldEntities(!0).forEach(function(e){if(f||d.push(e.getNamePath()),e.props.rules&&e.props.rules.length){var t=e.getNamePath();if(g.add(t.join(h)),!f||es(d,t,m)){var r=e.validateRules((0,c.Z)({validateMessages:(0,c.Z)((0,c.Z)({},J),n.validateMessages)},s));p.push(r.then(function(){return{name:t,errors:[],warnings:[]}}).catch(function(e){var n,r=[],o=[];return(null===(n=e.forEach)||void 0===n||n.call(e,function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,(0,u.Z)(n)):r.push.apply(r,(0,u.Z)(n))}),r.length)?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}}))}}});var v=(r=!1,o=p.length,i=[],p.length?new Promise(function(e,t){p.forEach(function(n,a){n.catch(function(e){return r=!0,e}).then(function(n){o-=1,i[a]=n,o>0||(r&&t(i),e(i))})})}):Promise.resolve([]));n.lastValidatePromise=v,v.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)});var y=v.then(function(){return n.lastValidatePromise===v?Promise.resolve(n.getFieldsValue(d)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:n.getFieldsValue(d),errorFields:t,outOfDate:n.lastValidatePromise!==v})});y.catch(function(e){return e});var b=d.filter(function(e){return g.has(e.join(h))});return n.triggerOnFieldsChange(b),y}),(0,m.Z)(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}}).catch(function(e){var t=n.callbacks.onFinishFailed;t&&t(e)})}),this.forceRootUpdate=t}),eE=function(e){var t=o.useRef(),n=o.useState({}),r=(0,ey.Z)(n,2)[1];if(!t.current){if(e)t.current=e;else{var i=new eS(function(){r({})});t.current=i.getForm()}}return[t.current]},ek=o.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eZ=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,i=e.children,a=o.useContext(ek),l=o.useRef({});return o.createElement(ek.Provider,{value:(0,c.Z)((0,c.Z)({},a),{},{validateMessages:(0,c.Z)((0,c.Z)({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:l.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:l.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(l.current=(0,c.Z)((0,c.Z)({},l.current),{},(0,m.Z)({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=(0,c.Z)({},l.current);delete t[e],l.current=t,a.unregisterForm(e)}})},i)},eO=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"];function e$(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var eP=function(){},ej=function(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,X.Z)(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i},t]},Y=[R,T,I,"end"],Q=[R,L];function ee(e){return e===I||"end"===e}var et=function(e,t,n){var r=(0,Z.Z)(A),o=(0,u.Z)(r,2),i=o[0],a=o[1],l=J(),s=(0,u.Z)(l,2),c=s[0],f=s[1],d=t?Q:Y;return K(function(){if(i!==A&&"end"!==i){var e=d.indexOf(i),t=d[e+1],r=n(i);!1===r?a(t,!0):t&&c(function(e){function n(){e.isCanceled()||a(t,!0)}!0===r?n():Promise.resolve(r).then(n)})}},[e,i]),m.useEffect(function(){return function(){f()}},[]),[function(){a(R,!0)},i]},en=(a=W,"object"===(0,f.Z)(W)&&(a=W.transitionSupport),(l=m.forwardRef(function(e,t){var n=e.visible,r=void 0===n||n,o=e.removeOnLeave,i=void 0===o||o,l=e.forceRender,f=e.children,d=e.motionName,v=e.leavedClassName,y=e.eventProps,x=m.useContext(b).motion,w=!!(e.motionName&&a&&!1!==x),C=(0,m.useRef)(),S=(0,m.useRef)(),E=function(e,t,n,r){var o=r.motionEnter,i=void 0===o||o,a=r.motionAppear,l=void 0===a||a,f=r.motionLeave,d=void 0===f||f,p=r.motionDeadline,h=r.motionLeaveImmediately,g=r.onAppearPrepare,v=r.onEnterPrepare,y=r.onLeavePrepare,b=r.onAppearStart,x=r.onEnterStart,w=r.onLeaveStart,C=r.onAppearActive,S=r.onEnterActive,E=r.onLeaveActive,k=r.onAppearEnd,A=r.onEnterEnd,F=r.onLeaveEnd,_=r.onVisibleChanged,N=(0,Z.Z)(),B=(0,u.Z)(N,2),M=B[0],z=B[1],D=(0,Z.Z)(O),H=(0,u.Z)(D,2),W=H[0],U=H[1],V=(0,Z.Z)(null),q=(0,u.Z)(V,2),X=q[0],J=q[1],Y=(0,m.useRef)(!1),Q=(0,m.useRef)(null),en=(0,m.useRef)(!1);function er(){U(O,!0),J(null,!0)}function eo(e){var t,r=n();if(!e||e.deadline||e.target===r){var o=en.current;W===$&&o?t=null==k?void 0:k(r,e):W===P&&o?t=null==A?void 0:A(r,e):W===j&&o&&(t=null==F?void 0:F(r,e)),W!==O&&o&&!1!==t&&er()}}var ei=G(eo),ea=(0,u.Z)(ei,1)[0],el=function(e){var t,n,r;switch(e){case $:return t={},(0,s.Z)(t,R,g),(0,s.Z)(t,T,b),(0,s.Z)(t,I,C),t;case P:return n={},(0,s.Z)(n,R,v),(0,s.Z)(n,T,x),(0,s.Z)(n,I,S),n;case j:return r={},(0,s.Z)(r,R,y),(0,s.Z)(r,T,w),(0,s.Z)(r,I,E),r;default:return{}}},es=m.useMemo(function(){return el(W)},[W]),ec=et(W,!e,function(e){if(e===R){var t,r=es[R];return!!r&&r(n())}return ed in es&&J((null===(t=es[ed])||void 0===t?void 0:t.call(es,n(),null))||null),ed===I&&(ea(n()),p>0&&(clearTimeout(Q.current),Q.current=setTimeout(function(){eo({deadline:!0})},p))),ed===L&&er(),!0}),eu=(0,u.Z)(ec,2),ef=eu[0],ed=eu[1],ep=ee(ed);en.current=ep,K(function(){z(t);var n,r=Y.current;Y.current=!0,!r&&t&&l&&(n=$),r&&t&&i&&(n=P),(r&&!t&&d||!r&&h&&!t&&d)&&(n=j);var o=el(n);n&&(e||o[R])?(U(n),ef()):U(O)},[t]),(0,m.useEffect)(function(){(W!==$||l)&&(W!==P||i)&&(W!==j||d)||U(O)},[l,i,d]),(0,m.useEffect)(function(){return function(){Y.current=!1,clearTimeout(Q.current)}},[]);var eh=m.useRef(!1);(0,m.useEffect)(function(){M&&(eh.current=!0),void 0!==M&&W===O&&((eh.current||M)&&(null==_||_(M)),eh.current=!0)},[M,W]);var eg=X;return es[R]&&ed===T&&(eg=(0,c.Z)({transition:"none"},eg)),[W,ed,eg,null!=M?M:t]}(w,r,function(){try{return C.current instanceof HTMLElement?C.current:(0,h.Z)(S.current)}catch(e){return null}},e),A=(0,u.Z)(E,4),F=A[0],_=A[1],N=A[2],B=A[3],M=m.useRef(B);B&&(M.current=!0);var z=m.useCallback(function(e){C.current=e,(0,g.mH)(t,e)},[t]),D=(0,c.Z)((0,c.Z)({},y),{},{visible:r});if(f){if(F===O)H=B?f((0,c.Z)({},D),z):!i&&M.current&&v?f((0,c.Z)((0,c.Z)({},D),{},{className:v}),z):!l&&(i||v)?null:f((0,c.Z)((0,c.Z)({},D),{},{style:{display:"none"}}),z);else{_===R?U="prepare":ee(_)?U="active":_===T&&(U="start");var H,W,U,V=q(d,"".concat(F,"-").concat(U));H=f((0,c.Z)((0,c.Z)({},D),{},{className:p()(q(d,F),(W={},(0,s.Z)(W,V,V&&U),(0,s.Z)(W,d,"string"==typeof d),W)),style:N}),z)}}else H=null;return m.isValidElement(H)&&(0,g.Yr)(H)&&!H.ref&&(H=m.cloneElement(H,{ref:z})),m.createElement(k,{ref:S},H)})).displayName="CSSMotion",l),er=n(87462),eo=n(97326),ei="keep",ea="remove",el="removed";function es(e){var t;return t=e&&"object"===(0,f.Z)(e)&&"key"in e?e:{key:e},(0,c.Z)((0,c.Z)({},t),{},{key:String(t.key)})}function ec(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(es)}var eu=["component","children","onVisibleChanged","onAllRemoved"],ef=["status"],ed=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],ep=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:en,n=function(e){(0,S.Z)(r,e);var n=(0,E.Z)(r);function r(){var e;(0,w.Z)(this,r);for(var t=arguments.length,o=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=ec(e),a=ec(t);i.forEach(function(e){for(var t=!1,i=r;i1}).forEach(function(e){(n=n.filter(function(t){var n=t.key,r=t.status;return n!==e||r!==ea})).forEach(function(t){t.key===e&&(t.status=ei)})}),n})(r,ec(n)).filter(function(e){var t=r.find(function(t){var n=t.key;return e.key===n});return!t||t.status!==el||e.status!==ea})}}}]),r}(m.Component);return(0,s.Z)(n,"defaultProps",{component:"div"}),n}(W),eh=en},86621:function(e,t,n){"use strict";n.d(t,{qX:function(){return g},JB:function(){return v},lm:function(){return S}});var r=n(74902),o=n(97685),i=n(45987),a=n(67294),l=n(1413),s=n(73935),c=n(87462),u=n(94184),f=n.n(u),d=n(82225),p=n(4942),h=n(15105),g=a.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.className,l=e.duration,s=void 0===l?4.5:l,u=e.eventKey,d=e.content,g=e.closable,m=e.closeIcon,v=void 0===m?"x":m,y=e.props,b=e.onClick,x=e.onNoticeClose,w=e.times,C=a.useState(!1),S=(0,o.Z)(C,2),E=S[0],k=S[1],Z=function(){x(u)};a.useEffect(function(){if(!E&&s>0){var e=setTimeout(function(){Z()},1e3*s);return function(){clearTimeout(e)}}},[s,E,w]);var O="".concat(n,"-notice");return a.createElement("div",(0,c.Z)({},y,{ref:t,className:f()(O,i,(0,p.Z)({},"".concat(O,"-closable"),g)),style:r,onMouseEnter:function(){k(!0)},onMouseLeave:function(){k(!1)},onClick:b}),a.createElement("div",{className:"".concat(O,"-content")},d),g&&a.createElement("a",{tabIndex:0,className:"".concat(O,"-close"),onKeyDown:function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===h.Z.ENTER)&&Z()},onClick:function(e){e.preventDefault(),e.stopPropagation(),Z()}},v))}),m=a.createContext({}),v=function(e){var t=e.children,n=e.classNames;return a.createElement(m.Provider,{value:{classNames:n}},t)},y=function(e){var t=e.configList,n=e.placement,r=e.prefixCls,o=e.className,i=e.style,s=e.motion,u=e.onAllNoticeRemoved,p=e.onNoticeClose,h=(0,a.useContext)(m).classNames,v=t.map(function(e){return{config:e,key:e.key}}),y="function"==typeof s?s(n):s;return a.createElement(d.V4,(0,c.Z)({key:n,className:f()(r,"".concat(r,"-").concat(n),null==h?void 0:h.list,o),style:i,keys:v,motionAppear:!0},y,{onAllRemoved:function(){u(n)}}),function(e,t){var n=e.config,o=e.className,i=e.style,s=n.key,u=n.times,d=n.className,m=n.style;return a.createElement(g,(0,c.Z)({},n,{ref:t,prefixCls:r,className:f()(o,d,null==h?void 0:h.notice),style:(0,l.Z)((0,l.Z)({},i),m),times:u,key:s,eventKey:s,onNoticeClose:p}))})},b=a.forwardRef(function(e,t){var n=e.prefixCls,i=void 0===n?"rc-notification":n,c=e.container,u=e.motion,f=e.maxCount,d=e.className,p=e.style,h=e.onAllRemoved,g=e.renderNotifications,m=a.useState([]),v=(0,o.Z)(m,2),b=v[0],x=v[1],w=function(e){var t,n=b.find(function(t){return t.key===e});null==n||null===(t=n.onClose)||void 0===t||t.call(n),x(function(t){return t.filter(function(t){return t.key!==e})})};a.useImperativeHandle(t,function(){return{open:function(e){x(function(t){var n,o=(0,r.Z)(t),i=o.findIndex(function(t){return t.key===e.key}),a=(0,l.Z)({},e);return i>=0?(a.times=((null===(n=t[i])||void 0===n?void 0:n.times)||0)+1,o[i]=a):(a.times=0,o.push(a)),f>0&&o.length>f&&(o=o.slice(-f)),o})},close:function(e){w(e)},destroy:function(){x([])}}});var C=a.useState({}),S=(0,o.Z)(C,2),E=S[0],k=S[1];a.useEffect(function(){var e={};b.forEach(function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))}),Object.keys(E).forEach(function(t){e[t]=e[t]||[]}),k(e)},[b]);var Z=function(e){k(function(t){var n=(0,l.Z)({},t);return(n[e]||[]).length||delete n[e],n})},O=a.useRef(!1);if(a.useEffect(function(){Object.keys(E).length>0?O.current=!0:O.current&&(null==h||h(),O.current=!1)},[E]),!c)return null;var $=Object.keys(E);return(0,s.createPortal)(a.createElement(a.Fragment,null,$.map(function(e){var t=E[e],n=a.createElement(y,{key:e,configList:t,placement:e,prefixCls:i,className:null==d?void 0:d(e),style:null==p?void 0:p(e),motion:u,onNoticeClose:w,onAllNoticeRemoved:Z});return g?g(n,{prefixCls:i,key:e}):n})),c)}),x=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],w=function(){return document.body},C=0;function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,n=void 0===t?w:t,l=e.motion,s=e.prefixCls,c=e.maxCount,u=e.className,f=e.style,d=e.onAllRemoved,p=e.renderNotifications,h=(0,i.Z)(e,x),g=a.useState(),m=(0,o.Z)(g,2),v=m[0],y=m[1],S=a.useRef(),E=a.createElement(b,{container:v,ref:S,prefixCls:s,motion:l,maxCount:c,className:u,style:f,onAllRemoved:d,renderNotifications:p}),k=a.useState([]),Z=(0,o.Z)(k,2),O=Z[0],$=Z[1],P=a.useMemo(function(){return{open:function(e){var t=function(){for(var e={},t=arguments.length,n=Array(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:{},i=[];return r.Children.forEach(t,function(t){(null!=t||n.keepEmpty)&&(Array.isArray(t)?i=i.concat(e(t)):(0,o.isFragment)(t)&&t.props?i=i.concat(e(t.props.children,n)):i.push(t))}),i}}});var r=n(67294),o=n(11805)},98924:function(e,t,n){"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}n.d(t,{Z:function(){return r}})},94999:function(e,t,n){"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{Z:function(){return r}})},44958:function(e,t,n){"use strict";n.d(t,{hq:function(){return h},jL:function(){return p}});var r=n(98924),o=n(94999),i="data-rc-order",a="data-rc-priority",l=new Map;function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):"rc-util-key"}function c(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function u(e){return Array.from((l.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,r.Z)())return null;var n=t.csp,o=t.prepend,l=t.priority,s=void 0===l?0:l,f="queue"===o?"prependQueue":o?"prepend":"append",d="prependQueue"===f,p=document.createElement("style");p.setAttribute(i,f),d&&s&&p.setAttribute(a,"".concat(s)),null!=n&&n.nonce&&(p.nonce=null==n?void 0:n.nonce),p.innerHTML=e;var h=c(t),g=h.firstChild;if(o){if(d){var m=u(h).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(i))&&s>=Number(e.getAttribute(a)||0)});if(m.length)return h.insertBefore(p,m[m.length-1].nextSibling),p}h.insertBefore(p,g)}else h.appendChild(p);return p}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u(c(t)).find(function(n){return n.getAttribute(s(t))===e})}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(e,t);n&&c(t).removeChild(n)}function h(e,t){var n,r,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var n=l.get(e);if(!n||!(0,o.Z)(document,n)){var r=f("",t),i=r.parentNode;l.set(e,i),e.removeChild(r)}}(c(a),a);var u=d(t,a);if(u)return null!==(n=a.csp)&&void 0!==n&&n.nonce&&u.nonce!==(null===(r=a.csp)||void 0===r?void 0:r.nonce)&&(u.nonce=null===(i=a.csp)||void 0===i?void 0:i.nonce),u.innerHTML!==e&&(u.innerHTML=e),u;var p=f(e,a);return p.setAttribute(s(a),t),p}},34203:function(e,t,n){"use strict";n.d(t,{S:function(){return i},Z:function(){return a}});var r=n(67294),o=n(73935);function i(e){return e instanceof HTMLElement||e instanceof SVGElement}function a(e){return i(e)?e:e instanceof r.Component?o.findDOMNode(e):null}},5110:function(e,t){"use strict";t.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},27571:function(e,t,n){"use strict";function r(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return r(e) instanceof ShadowRoot?r(e):null}n.d(t,{A:function(){return o}})},15105:function(e,t){"use strict";var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE||e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY||e>=n.A&&e<=n.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=n},38135:function(e,t,n){"use strict";n.d(t,{s:function(){return m},v:function(){return y}});var r,o,i=n(74165),a=n(15861),l=n(71002),s=n(1413),c=n(73935),u=(0,s.Z)({},r||(r=n.t(c,2))),f=u.version,d=u.render,p=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=u.createRoot)}catch(e){}function h(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,l.Z)(t)&&(t.usingClientEntryPoint=e)}var g="__rc_react_root__";function m(e,t){if(o){var n;h(!0),n=t[g]||o(t),h(!1),n.render(e),t[g]=n;return}d(e,t)}function v(){return(v=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null===(e=t[g])||void 0===e||e.unmount(),delete t[g]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function y(e){return b.apply(this,arguments)}function b(){return(b=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==o)){e.next=2;break}return e.abrupt("return",function(e){return v.apply(this,arguments)}(t));case 2:p(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},66680:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=i.has(t);if((0,o.ZP)(!s,"Warning: There may be circular references"),s)return!1;if(t===a)return!0;if(n&&l>1)return!1;i.add(t);var c=l+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u